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!
Nested/Multiple CASE Statement Syntax
I can't quite figure this out. I'm setting up some rules and overrides for a currency field, and the result seems to ignore every statement besides the ELSE at the end.
CASE WHEN {checkboxvalue}='T' and {field1} IS NOT NULL THEN {field1} WHEN {checkboxvalue}='F' and {comparisonfield}<50 and {valuefield}<({comparisonfield}+2.5) THEN {valuefield}+2.5 ELSE {valuefield} ENDNo matter how many of those conditions are true, all that happens is the ELSE part of the statement. What am I doing wrong? How can I nest or condense my conditions so that this works properly?
0