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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
CASE statement in Saved Search results field question
I have a custom item field that represents a divisor to go from the Purchasing units back to eaches. I am doing this as I cannot find visibility to the Unit of Measure table data.
My custom field (DIVISOR) is Integer and is either NULL or contains a number. What I am trying to do is to create a column that says if the field DIVISOR is greater than 0 use that number, Else use 1
CASE {divisor} WHEN > 0 THEN {divisor} ELSE 1 END
Would one of you saved search experts mind pointing me in the right direction?
As an FYI my next step is to embed this into another formula to divide the Purchase Price by this divisor to get unit costs but I need to take baby steps...
John Cirocco
Sr. NetSuite Administrator
0