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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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