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.
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