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!
Convert Negative Value to Zero (0)
Hi team, do you know the correct formula to convert a negative value to zero?
I created a custom field and set up a workflow to auto-calculate the value in the Invoice record using the formula below, but it didn't work. When I tried entering an amount, the field kept blinking, and I couldn't proceed.
CASE WHEN nullif({custbody6},0) - nullif({custbodymac1_},0) < 0 THEN 0 ELSE nullif({custbody6},0) - nullif({custbodymac1_},0) END.
Thank you.
0