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
Michael Pope
03/23/2022, 4:57 PM
How is the Invoice being generated? From the Print button or from a custom button?
Michael Pope
03/23/2022, 6:09 PM
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
Artur_K
03/24/2022, 7:56 AM
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