0
Netsuite Advanced PDF/HTMLで同じ税コードに対応する値の小計を作成したいとします。それも可能ですか?私の目標を達成するための他の方法は何ですか?Netsuite Advanced PDF/HTMLテンプレートの列の合計値を計算しますか?
Netsuite Advanced PDF/HTMLで同じ税コードに対応する値の小計を作成したいとします。それも可能ですか?私の目標を達成するための他の方法は何ですか?Netsuite Advanced PDF/HTMLテンプレートの列の合計値を計算しますか?
これは間違いありません。 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/>
これはNetsuiteの中で私の仕事:ここ
は、あなたが開始するために使用できるいくつかの基本的なテストされていないコードです。あなたはmichoelありがとう。 – user7395254