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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Multiple Sort on Transactions Lines of Custom Statement
Hello,
I have created a new Advanced PDF/HTML Template for a new Statement type, and have a requirement to sort the transactions lines by date and then by description (invoice number).
I have attempted various combinations of the below syntax but to no avail:
<#list statement.lines?sort_by('datecol', 'description') as line><#if line_index==0>
I would be extremely grateful for any assistance?
Many thanks in advance
Kind regards
Christopher
0