Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Freemarker Email Template-if logic
Hi There
I have a scriptable email template that I am using with sales order transactions.
I have the following freemarker code:
<#--FM:BEGIN--><#if transaction.item?has_content ><#--FM:END--> <#--FM:BEGIN--><#list transaction.item as itemlist ><#--FM:END--> <#--FM:BEGIN--><#if itemlist.quantitybackordered>0><#--FM:END--><br />
<br /><strong>List 1:</strong>
<#--FM:BEGIN-->${itemlist.item} </#if><#--FM:END--> <#--FM:BEGIN--></#list><#--FM:END--><br />
<#--FM:BEGIN--></#if><#--FM:END--><br />
<span style="font-size:11.0pt"><span style="font-family:"Calibri",sans-serif">.<br />
<br /><strong>List 2:</strong>
<#--FM:BEGIN--><#if transaction.item?has_content ><#--FM:END--> <#--FM:BEGIN--><#list transaction.item as itemlist ><#--FM:END--><#--FM:BEGIN--><#if itemlist.custcol_discontinued_item><#--FM:END--><br />