Show Net Amount on Advanced PDF Template if Mark Up is Applied
Published on
December 27, 2023 at 7:48:45 AM PST December 27, 2023 at 7:48:45 AM PSTth, December 27, 2023 at 7:48:45 AM PST
Scenario:
Show the Net Amount in the Advanced PDF/HTML Template if Mark Up is applied.
Solution:
1. Navigate toCustomization>Forms>Advanced PDF/HTML Templates
2.Preferred Transaction PDF/HTML Template:ClickEditorCustomize
3. Use the code below to show the Net Amount of the Item:
${item.netamount}Example:
With the code above, below is the sample code that will display the Net Amount in place of theItem Amountif Mark up is applied:
<#list record.item as item>
<#if item.itemtype!="Markup">
${item.quantity}
${item.item}
${item.description
<#list record.item as item>
<#if item.itemtype!="Markup">
${item.quantity}
${item.item}
${item.description
${item.options}
${item.rate}
${item.netamount?replace('(','')?replace(')','')}
${item.amount}
${item.rate}
${item.netamount?replace('(','')?replace(')','')}
${item.amount}
Note:The sample code is based from the Standard Service Invoice PDF Template.
4. Click Save
Disclaimer:
The sample code described herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent permitted by law. Oracle + NetSuite Inc. does not warrant or guarantee the individual success developers may have in implementing the sample code on their development platforms or in using their own Web server configurations.
Oracle + NetSuite Inc. does not warrant, guarantee or make any representations regarding the use, results of use, accuracy, timeliness or completeness of any data or information relating to the sample code. Oracle + NetSuite Inc. disclaims all warranties, express or implied, and in particular, disclaims all warranties of merchantability, fitness for a particular purpose, and warranties related to the code, or any service or software related thereto.
Oracle + NetSuite Inc. shall not be liable for any direct, indirect or consequential damages or costs of any type arising out of any action taken by you or others related to the sample code.
Oracle + NetSuite Inc. does not warrant, guarantee or make any representations regarding the use, results of use, accuracy, timeliness or completeness of any data or information relating to the sample code. Oracle + NetSuite Inc. disclaims all warranties, express or implied, and in particular, disclaims all warranties of merchantability, fitness for a particular purpose, and warranties related to the code, or any service or software related thereto.
Oracle + NetSuite Inc. shall not be liable for any direct, indirect or consequential damages or costs of any type arising out of any action taken by you or others related to the sample code.