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!
Create a freemarker list from selected items of another list
Hi There
I am trying to work out where to start in terms of trying to do the following:
I have a transaction record such as a sales order.
The item sublist has varying number of items (for example 10 line items).
In an advanced pdf template, I want to display a subset of the list of items
This subset will be based on if they meet a certain criteria.
Where I am getting stuck is, I know how to create a list in freemarker (i.e. <#list transaction.item as itemlist>)
though I don't know how to filter this list and apply criteria?
Tagged:
0