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.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Strange result with CASE statement
OK, it's been a lon day already but this should be a no brainer. I have a customer who wants to send a report to her dealers BUT if the location quantity available is more than 100 to just display 100+. Easy right?
I created a formula field (Text) and used the following:
CASE WHEN {locationquantityavailable} >100 THEN '100+' ELSE {locationquantityavailable} END
I get ERROR: Invalid Expression. To make sure I get the syntax correct I changed it to (just to test):
CASE WHEN {locationquantityavailable} >100 THEN '100+' ELSE 'Less than 100' END
Now I do not get the Invalid Expression and the results are correct. So I really Need to get the {locationquantityavailable} to work.
John Cirocco
Sr. NetSuite Administrator