How can make a field from a custom record show on ...
# ask-stanley-ai
a
How can make a field from a custom record show on a statement pdf template in netsuite?
c
AI generated answer (using internal Slack threads):
To make a field from a custom record show on a statement PDF template in NetSuite, you can use the Advanced PDF/HTML templates feature. This feature allows you to customize the layout and content of printed records and PDFs in NetSuite. Here are the steps to do this: 1. Navigate to
Customization > Forms > Advanced PDF/HTML Templates
. 2. Click
New Template
or
Customize
an existing one. 3. In the
Source Code
section, you can add the custom field using the syntax
${record.CUSTOM_FIELD_ID}
. Replace
CUSTOM_FIELD_ID
with the actual ID of your custom field. For example, if you have a custom field with the ID
custbody_my_custom_field
, you would add it to the template like this:
${record.custbody_my_custom_field}
. If you want to add custom fields from line items, you can do this inside the
#list
tag in the template. For example:
Copy code
<#list record.item as item>
    ${item.custcol_my_custom_column}
</#list>
In the case of a statement, you can access custom fields from the invoice inside the
statement.line
sequence as
${line.CUSTOM_FIELD_ID}
. Remember to save your changes and apply the template to the appropriate record type. ****** 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.855102539
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.851867795
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.849182129
Please provide your feedback on this answer.