Emily S
11/13/2024, 3:54 PMCeligo AI
11/13/2024, 3:54 PMAI generated answer (using internal Slack threads):To include a custom sublist in a packing slip, you would need to modify the Advanced PDF/HTML template of the packing slip. Here are the steps: 1. Navigate to
Customization > Forms > Advanced PDF/HTML Templates
.
2. Find the packing slip form you want to modify and click Edit
.
3. In the Template Content
section, you can add your custom sublist.
The sublist can be added using the #list
directive in the Freemarker language used by NetSuite for these templates. Here's an example of how you might add a custom sublist:
freemarker
<#list record.custpage_package_content as line>
<tr>
<td>${line.include_in_package}</td>
</tr>
</#list>
In this example, custpage_package_content
is the ID of the custom sublist and include_in_package
is a field in that sublist. Replace these with your actual sublist and field IDs.
Remember, the data you want to include in the packing slip must be available on the record at the time the packing slip is generated. If the data is not available, you may need to use SuiteScript to populate the necessary fields on the record before the packing slip is generated.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
11/13/2024, 3:54 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.805662394
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.797698915
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.785673499
Celigo AI
11/13/2024, 3:54 PM