Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
NSC | Use Customer Type in Customer Record as a Condition in Advanced PDF/Template of Sales Order
User wants to use the Customer Type in a Customer record as a Condition when printing Sales Order. Customer Type can be determined in the Customer record. Types of the Customer consists of Individual and Company.
In this scenario, the user wants to print a text when the Customer Type of the Customer in Sales Order is Company. To do this, we need to use the following code:
<#assign customer = record.entity> <#if customer.isperson == false> <!-- do something if customer type is company --> <#else> <!-- do something if customer type is individual --> </#if>
Note: Change false into true if the condition requires the Customer to be Individual.
@Kristoffer Viray-Oracle | Ask A Guru | Let us know what contents you like to see in the Community. You can vote here.
0
