When the data used in a PDF/HTML Template come from the Record-object one can sort the data in the items table by adding a sort statement to the declaration of the item list.:
<#list record.item?sort_by(["inventorydetail"]) as item>
We recently upgraded to NS WMS (Bundle 294240 2019.2.0.4). This contains a pick ticket (Standard Pick Ticket/Pick Report PDF/HTML Template) we would like to customize. The only change we would like to make is the sorting of the item table.
But the data syntax to get the data is differently. instead of using record.item the syntax utilized =:
<#list wavedata as picktasks><#if picktasks_index gt 0><pbr></pbr> </#if><!-- start items --> <#list picktasks as lineitem>
Does anyone know how we could order the lineitem-list on ${lineitem.binName1} ascending?
Thanks for reading this post. Any suggestion is more than welcome.