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.
Easy SQL Formula question I'm sure. But I'm an idiot. So....
Ok so I have a field (this field is for finishes on the lighting fixtures we offer. For example: Chrome, Stainless Steel, etc) that uses a formula for the default value:
Thanks for the help in advance guys!
CASE WHEN ({itemid} LIKE '%-CH-WI-%') THEN 'Chrome & White' WHEN ({itemid} LIKE '%-CH-BK-%') THEN 'Chrome & Black' ELSE '' ENDExample itemid's:
1) R0-KAA00-L02WA-CH-BK-13-0000
2) R0-KAA00-L02WA-CH-WI-13-0000
So for this example 1) would have a finish of "Chrome & Black" and 2) "White & Black". Easy enough, that works great. No help needed there, I managed this one all on my own... cheers are welcome...
0