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!
SQL Question - How to return 'null'
I am using the following in a currency formula. It works great without the ELSE statement. What we need is if nether expression 1 or 2 are true then we want to return 'null'. When I use Else I get an invalid expression. Any ideas?
CASE WHEN ({customer.custentity_is_serv_cust} = 'T') THEN {costestimaterate} WHEN ({customer.custentity_is_sales_cust}='T') THEN {rate} ELSE 'NULL' END
0