How to Display unit of measure on a custom Packing...
# ask-stanley-ai
m
How to Display unit of measure on a custom Packing Slip
c
AI generated answer (using internal Slack threads):
To display the unit of measure on a custom Packing Slip, you would need to modify the Advanced PDF/HTML template used for the Packing Slip. Here are the steps to do so: 1. Navigate to
Customization > Forms > Advanced PDF/HTML Templates
. 2. Find the template used for your Packing Slip and click
Edit
. 3. In the template code, locate the section where the item details are being printed. This is typically within a
#list
loop that iterates over the
item
object. 4. Within this loop, add a new line to print the unit of measure. The field for unit of measure is typically
item.units
. 5. The code might look something like this:
Copy code
code
<#list record.item as item>
    <tr>
        <td>${item.item}</td>
        <td>${item.description}</td>
        <td>${item.quantity}</td>
        <td>${item.units}</td> <!-- This line prints the unit of measure -->
    </tr>
</#list>
6. Save your changes and test the template by printing a Packing Slip. Please note that the exact field name for the unit of measure might vary depending on your NetSuite setup. If
item.units
does not work, you might need to check the schema of your
item
object to find the correct field name. ****** 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.826207697
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82615906
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823807597
Please provide your feedback on this answer.