Add Company Logo to Sales Invoice

luaml
Member Posts: 27
Hi there, I am trying to add a picture (which is the company logo) to the sales invoice (Report 206 Sales - Invoice). Following are the steps which i have done to add the picture to the invoice:
1) Add a picture box at the PageLoop, Header (1) section
2) Then, I set SourceExpr = CompanyInfo.Picture
But when i compiled and tried to preview the report, the company logo never show up in the invoice. What have i miss here?
Help pls..... I am just very very new with this navision....
Thanks in advance.....
1) Add a picture box at the PageLoop, Header (1) section
2) Then, I set SourceExpr = CompanyInfo.Picture
But when i compiled and tried to preview the report, the company logo never show up in the invoice. What have i miss here?
Help pls..... I am just very very new with this navision....
Thanks in advance.....
0
Comments
-
pls include the following in the OnAfterGetRecord of Sales Invoice Header data item of your report:
CompanyInfo.get;
//-- Add the following
companyinfo.calcfields("Picture");1 -
Thanks a lot ya.. It works perfectly well..0
-
I see how you can add the company picture to the Sales Invoice, but is there a way I can add it to other documents? I have several companies in the same database and they all have different logos.0
-
Hi Stamron,
as long as your Logos are stored in the "Company Setup" then the correct logo will appear using this function.
It is also possible to use multiple logos within the same company, all you need is a little bit of different code and a unique identifier.
Regards
DeanRemember: Keep it simple0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions