This is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.
I have been asked many times how to have different company logos and details on invoice documents depending on the company you are logged into.
Changing company details is easy as they are stored as Global fields and can be added to a report from the Globals section. It is the logos that are more difficult.
If you are using SOP have four companies or less, it is possible to use the four document types (blank, short, long, and other) each with a different logo. But not all documents offer the same multiple document types.
If you only have a few logos that do not need to be in the same position on the report, you can use the technique discussed in the example posting RW – Conditional Logos Example.
If you are unable to use the above solutions, there is another great solution. Using a third party product called FinePrint (http://www.FinePrint.com/) or equivalent. FinePrint is reasonably priced and allows for the creation of pseudo printers, which then redirect the print jobs to a physical printer. The cool bit is that these intermediate drivers can add logos and text to the print job before they pass the job on.
If you create a FinePrint printer for each company which in turn points to the appropriate physical printer, you can then use Named Printers with Company Class Printer IDs to automatically direct the printer tasks to the appropriate FinePrint printer.
[Edit] Microsoft Dynamics GP 2010 adds Word Template functionality which can be used to print reports to different Word Document Templates based on the company. This allows for different logos for each company without using Report Writer or third party tools.
That’s all folks, the company logo problem is solved.
Note: Please refer to the following Knowledge Base (KB) article when adding graphics to a report:
- How to prevent the image quality of a graphic from being reduced when you print a graphic from Report Writer in Microsoft Dynamics GP (KB 854470)
07-May-2012: Added note about Word Templates added in Microsoft Dynamics GP 2010.
This article was originally posted on the Developing for Dynamics GP Blog and has been reposted on http://www.winthropdc.com/blog.