Invoice Advanced PDF/HTML Template with Subsidiary Address

To print the subsidiary address on an invoice Advanced PDF/HTML template, instead of the company address information, follow these steps:

  1. Create a Custom Transaction Body Field with sourced address information:
  2. Navigate to Customization > Lists, Records & Fields >  Transaction Body Fields > New.
  3. Provide Label (e.g. Subsidiary Address). Set ID to _subsidiary_address.
  4. Set Type to Text Area.
  5. Un-check Store Value.
  6. In the Applies To tab, check Sale.
  7. In the Sourcing & Filtering tab, set Source List to Subsidiary (Main) and Source FromAddress.
  8. Click Save.
  9. Edit the Advanced PDF Template:
  10. Navigate to Customization Forms > Advanced PDF/HTML Templates.
  11. Customize the Standard Invoice PDF/HTML Template.
  12. Change the Name.
  13. Locate ${companyInformation.addressText} and change this to ${record.custbody_subsidiary_address}
  14. Click Save.

Note: If the field is not displayed on the Invoice page, make sure that the field is set to be displayed on the specific transaction form.

Leave a comment

Your email address will not be published. Required fields are marked *