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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
How to display an field value of each item in the Purchase Order template?
Hello Gurus,
I created a custom Advanced PDF/HTML Template for the Purchase Order (customized from Standard Purchase PDF/HTML Template), and I would like to display the UPC Code of each item in the template.
I get the upccode field for the item as below but every different item shows the same upc code value of the first item in the list:
<table class="itemtable" style="width: 100%; border: 1;"><!-- start items --><#list record.item as item><#if item_index==0>
<thead>
<tr>
<th colspan="2">Vendor Name</th>
<th colspan="4">${item.item@label}</th>
<th colspan="2">${item.item.upccode@label}</th>
0