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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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