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.
If condition statement in a sales orderAdvanced PDF/HTML Template
I am trying to add an If condition statement in a sales orderAdvanced PDF/HTML Template.
If the quantity committed is 0 then I want to print Backorder'.
I tried the following but it did not work :
- <#if item.quantitycommitted == 0> <td style="width: 75px;">Backorder</td></#if>
- <#if ${item.quantitycommitted} == 0> <td style="width: 75px;">Backorder</td></#if>
- <#if record.item.quantitycommitted == 0> <td style="width: 75px;">Backorder</td></#if>
Any idea how to do this ?
0