Netsuite Advanced PDF/HTML code ifelse statement

前端 未结 1 1016
谎友^
谎友^ 2021-01-27 02:35

I need some assistance in the correct way to format this code for a item fulfillment in Netsuite;

  <#if item.units != null>Units<#else>${t         


        
相关标签:
1条回答
  • 2021-01-27 02:55

    Your example looks correct to me, aside from the values being in the wrong places. In my PDF templates, I do not use NULL, either. Below is how I have a similar item written.

    <#if item.units=="">
      Units
    <#else>
      ${tranline.units}
    </#if>
    
    0 讨论(0)
提交回复
热议问题