ディスカッション
NetSuiteの保存検索やレポートをマスターするための究極のガイドである分析センターを使用して、データの力を最大限に活用しましょう。複雑さを単純化し、組織の真の可能性を解き放ちます。今すぐ分析センターに参加して、新たな高みを目指しましょう!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
条件付きのアドバンストPDFテンプレートで金額とレートを除外する方法
適用
製品: NetSuite 2025.1
シナリオ
ユーザーは、品目コードが特定の文字列で始まる場合に、印刷中のフィールドを除外します。
解決策
- 品目コードがLIC,WAR,DISで始まる場合、または小計の場合のみレートを印刷してください:
<#if> (item.item?starts_with("LIC")) || (item.item??starts_with("WAR")) || (item.item??starts_with("DIS")) || (item.item??starts_with('Sub Total'))>
<td style="align: right;border-top: 0px solid;border-bottom: 0px solid;;border-left: 0px solid;border-right: 0px solid;">
<p style="text-align:right;">${item.rate}</p>
</td>
<#/if>
- アイテムコードがLIC、WAR、DIS、小計で始まる場合のみアイテム金額を出力:
<#if> (item.item?starts_with("LIC")) || (item.item??starts_with("WAR")) || (item.item??starts_with("DIS")) || (item.item??starts_with('Sub Total'))>
<td style="align: right;border-top: 0px solid;border-left: 1px solid;border-right: 1px solid;border-bottom: 0px solid;">
<p style="text-align:right;">${item.amount}</p>
</td>
</#if>
タグ付けされた:
0