show customer primary contact in invoice pdf
# ask-stanley-ai
n
show customer primary contact in invoice pdf
c
AI generated answer (using internal Slack threads):
To show the primary contact of a customer in the invoice PDF, you can use the Advanced PDF/HTML templates in NetSuite. Here are the steps to do it: 1. Navigate to
Customization > Forms > Advanced PDF/HTML Templates
. 2. Click on
Customize
beside the Invoice Template. 3. In the template code, you can add a reference to the primary contact field. For example, you can use the following syntax to display the primary contact's name:
Copy code
code
${record.entity.primarycontact}
If you want to display more details about the primary contact, you can use the dot notation to access other fields. For example, to display the primary contact's email, you can use:
Copy code
code
${record.entity.primarycontact.email}
Please note that the exact field names may vary depending on your NetSuite setup. You can check the field names by going to
Lists > Relationships > Contacts
, then click on
Edit
on a contact record and check the field IDs. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846017957
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834036052
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.83333993
Please provide your feedback on this answer.