How can I include the primary contact of an invoic...
# general
a
How can I include the primary contact of an invoice in the email template? ${contact.salutation} - ${contact.lastName} - ${contact.entityid} Any of these show just a blank result for an invoice transaction
m
How is the Invoice being generated? From the Print button or from a custom button?
Reason I'm asking is from the print button, it should work automatically I think. If it's from a custom button that you scripted, you have to attach the contact record to an object and use it in the template generating function.
a
In this case I didnt mean the print version of the invoice but the invoice record itself. After approval we want to send an automated email with the invoice as PDF. In the email I wanted the dynamic field of the primary contact of each company we invoice