on an advanced PDF, what field can be used to dete...
# ask-stanley-ai
n
on an advanced PDF, what field can be used to determine if the printed line is part of a kit or if it is the kit parent?
c
AI generated answer (using internal Slack threads):
In an Advanced PDF, the
item.type
field can be used to determine if the printed line is part of a kit or if it is the kit parent. The
item.type
field will return 'Kit/Package' for the kit parent and 'InvtPart' for the individual components of the kit. You can use this field in a conditional statement in your Advanced PDF template to control how kit items and their components are displayed. For example:
Copy code
xml
<#if item.type == "Kit/Package">
    <!-- Code to display kit parent -->
<#elseif item.type == "InvtPart">
    <!-- Code to display kit components -->
</#if>
Please note that this is a general approach and might need to be adjusted based on your specific requirements and NetSuite setup. ****** 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.801635742
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799194396
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.795471191
Please provide your feedback on this answer.