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.
SQL 'CASE WHEN' Formula
I'm trying to filter a list to show availability which summarises quantity, the CASE formula looked a good solution, but I get "ERROR: Invalid Expression"
My formula is
CASE WHEN ({locationquantityavailable}*{custitem_distie_availability_ratio} > 20) THEN '20plus' ELSE ({locationquantityavailable}*{custitem_distie_availability_ratio}) END
0