Why Does the Company Logo Not Print on a Form?

Questions and Answers

Q: The company logo does not print on a forms, for example a  Purchase Order Blanket Orders. This article explains the cause and provides a solution for this issue.

A: In Sage Pro ERP 7.3, company numbers were expanded from two numeric digits to ten alpha-numeric digits. Most forms, reports, and programming has been changed to accept the new format, however forms such as blanket orders do not work with the new format. This has been documented under PTR 84719.

 

Solution

Generally to add logos to forms, save the logo as “logo##.bmp” (where ## is the company number). Place this file in the root directory of the Sage Pro installation. Embedded code in the form then searches for this file and prints it on the form if located.

In this situation, the blanket order form (POBDBW) can be customized to look for the exact file rather than using the code built into the stock form to find the logo:

  1. Open Purchase Orders.
  2. Under the Maintain menu, click Customize Forms.
  3. Open the POBDBW form.
  4. There is a gray box on the top left corner of the form, with an X in the middle. Delete this box from the form.
  5. Under Report menu, point to Insert Control and click Picture/ActiveX Bound.
  6. Create a new box on the form, for the logo placement.
  7. Select the File radio button and browse for the logo file in the root installation folder from the File field.
  8. Select the appropriate picture and frame size option.
  9. Click OK. The logo should appear in the new box.
  10. Click on the Print When button.
  11. In the Print only when expression is true replace the existing code “NOT EMPTY(a_tmplogo->logo)”
    with ” ” (quote space quote) and click OK, OK to save changes
  12. Under Report menu, verify that Printer Environment is selected.
  13. Press Ctrl + W to save.

The logo should now print on the blanket order and will continue to work for all other forms.

© Copyright Sage Software

Leave A Comment?