Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Display Specific Transaction Lines an Email Template
I'm trying to create an email template that will only display line items from the current transaction (Sales Order) with a quantity of 0. How can I achieve this?
In the template, we have a table with the following body:
<table align="center" border="1" cellpadding="4" cellspacing="1" style="width: 700px; font-size: 12px; font-family: arial;">
<thead>
<tr>
<th>Item Name</th>
<th>Item Description</th>
<th>Quantity</th>
<th>Amount</th>
</tr>
</thead>
<#list transaction.item as listItem>
<tbody>
<tr>
<td>${listItem.item}</td>
<td>${listItem.description}</td>
<td style="text-align: center;">${listItem.quantity}</td>
<td style="text-align: right;">${listItem.amount}</td>
</tr>