Developing with Freemarker in NetSuite.
I have a List of Items on an Invoice… all items with the same 2nd value (Package) are to be grouped. I have not found a way to skip an item (<#CONTINUE> not working) so I thought of creating a copy the list record, step through it and add only the ones I want:
*
<#assign mylist = record.item>
<#list record.item?sort_by("custcolzab_comp_name","custcolzab_ev_supp_plan","item") as item>
<#if item.custcol_ev_package != cPackage>
<#assign mylist = mylist + item>
</#if>
<#assign cPackage = item.custcol_ev_package>
</#list>
*
The above SEEMS to work, mylist is a HASH, although a List would be better. But now I cannot get mylist to print