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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
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