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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
NSC | Print Only the Lot Number for Inventory Detail Using Advanced PDF/HTML
Printing the Lot Number on Transaction is important for other Users. Adding the column Inventory Detail on Advanced PDF/HTML Template of Transaction records will also print other values. The expected output for our sample scenario is to just print the Lot Number only. To do this, we need to apply the code below:
<td align="right" colspan="6">${item.inventorydetail?keep_before("(")}</td>
This will be placed on the Body part of the code. Here is a sample code and its placement:
Here is the printed output before applying the code:
Here is the printed output after applying the code:
@Kristoffer Viray-Oracle | Ask A Guru | Let us know what contents you like to see in the Community. You can vote here.
0
