Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Transaction Field value based on subtotal
Hi,
I would to add a field that display a percentage of subtotal based on subtotal value:
If subtotal is greater than 1000 then display 8% of subtotal
If subtotal is between 500 & 1000 then display 10% of subtotal
If subtotal is lass than 500 then display 12% of subtotal
I tried to add the following as default value, but an error displayed in a percent body field
CASE WHEN {subtotal}>1000 THEN ROUND(({subtotal}*.0008), 4) ELSE CASE WHEN {subtotal}<500 THEN ROUND(({subtotal}*.0012), 4) ELSE ROUND(({subtotal}*.001),4) END ENDCan anyone help me in this
0