Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Saved Search: Result Formula for Case When under Case When
Hi all,
I wanted to display a formula result where a Case When is under a Case When, may i know is this something doable?
Tried below code but it is not working:
CASE WHEN (CASE WHEN {custrecord_deprhistdate} = {custrecord_deprhistasset.custrecord_assetpurchasedate} THEN {custrecord_deprhistasset.custrecord_assetcost} ELSE 0 END) IS 0 THEN {custrecord_deprhistbookvalue} ELSE 0 END
Actually i wanted to based on another formula field in the saved search, which is:
CASE WHEN {custrecord_deprhistdate} = {custrecord_deprhistasset.custrecord_assetpurchasedate} THEN {custrecord_deprhistasset.custrecord_assetcost} ELSE 0 END
And set this new formula field value to {custrecord_deprhistbookvalue} if the result from above formula field is 0.