Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Nested statements in Saved Search results
Has anyone else had difficulty putting nested statements in the results of a Saved Search? We're trying to include a Case When inside of another Case When. Any alternatives would be very much appreciated.
Thank you!
example below:
CASE WHEN {CASE WHEN {custentity_original_slx_budget_hours}>0 THEN {custentity_original_slx_budget_hours}-{actualtime}-{custentity_legacy_billed_hours} ELSE {custentity_implementation_hours}+{custentity_training_hours}-{actualtime}}<0 THEN ‘0’ ELSE {CASE WHEN {custentity_original_slx_budget_hours}>0 THEN {custentity_original_slx_budget_hours}-{actualtime}-{custentity_legacy_billed_hours} ELSE {custentity_implementation_hours}+{custentity_training_hours}-{actualtime}} END