2017-02-27 3 views

答えて

0

これは間違いありません。 Netsuiteがフードの下で使用するテンプレートエンジンはApache FreeMarkerです。詳細はdocumentationをご覧ください。

<#assign tax1subtotal = 0 > 
<#assign tax2subtotal = 0 > 
<#assign tax3subtotal = 0 > 

<#list record.item as item> 

    <#if item.taxcode == [taxcode1]> 
    <#assign tax1subtotal = tax1subtotal + item.tax1amt> 
    </#if> 

    <#if item.taxcode == [taxcode2]> 
    <#assign tax2subtotal = tax2subtotal + item.tax1amt> 
    </#if> 

    <#if item.taxcode == [taxcode3]> 
    <#assign tax3subtotal = tax3subtotal + item.tax1amt> 
    </#if> 

</#list> 

Tax Type 1 Subtotal: ${tax1subtotal}<br/> 
Tax Type 2 Subtotal: ${tax2subtotal}<br/> 
Tax Type 3 Subtotal: ${tax3subtotal}<br/> 
+0

これはNetsuiteの中で私の仕事:ここ

は、あなたが開始するために使用できるいくつかの基本的なテストされていないコードです。あなたはmichoelありがとう。 – user7395254

関連する問題