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 'OR' statement in formulae
I'd like to simplify this formula which I've tested works:
case when {custentity_strat_house.id}=26 OR {custentity_strat_house.id}=2 or {custentity_strat_house.id}=27 or {custentity_strat_house.id}=28 then 'other consulting' else {custentity_strat_house} enddown to something like this which gives an error:
case when {custentity_strat_house.id}=(26 OR 2 OR 27 OR 28) then 'other consulting' else {custentity_strat_house} endany ideas on if that's possible / where my syntax is wrong? - mainly so it's neater and shorter.
0