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.
Quantity Remaining on Pick Ticket
Hi all
I am designing a new advanced layout pick ticket and am having diffculty getting the quantity remaining to show.
Can anyone help?
I did see the below on StackOverflow but this hasn't worked for me:
<#list salesorder.item as tranline> <#assign shipped=0> <#assign prevShipped=tranline.quantityfulfilled> <#assign qtyRemaining=tranline.quantity - prevShipped> <#if (tranline.quantitybackordered gt 0)> <#assign qtyRemaining=tranline.quantitybackordered></#if> <#list record.item as item><#if tranline.line==item.orderline> <#assign shipped=item.quantity> <#assign prevShipped=tranline.quantityfulfilled-item.quantity> </#if></#list> <tr> <td colspan="12"><span class="itemname">${tranline.item}</span><#if tranline.itemtype =='NonInvtPart'>**<#assign anyNonInvt='T'></#if><br />${tranline.description?html}</td> <td align="center" colspan="3"><#if shipped gt 0><b>${shipped}</b><#else>0</#if></td> <td align="center" colspan="3">${tranline.quantity}</td> <td align="center" colspan="3">${prevShipped}</td> <td align="center" colspan="3">${qtyRemaining}</td> <td colspan="4">${tranline.options?html}</td> </tr> </#list> </#if> Any help would be great