Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netsuite Formula - "blank" or "null" field

I'm trying to use a formula to get a field populated with the word "false" in NetSuite, but currently when I use this I get nothing showing up. If I modify it slightly to say "null" or "blank" or leave it as just a space, it returns an error.

The code I'm using is

CASE WHEN {custitem_upc_number} = 'null' THEN 'FALSE' END
like image 648
user2793912 Avatar asked Sep 19 '13 04:09

user2793912


People also ask

What is NVL in netsuite formula?

The Oracle NVL() function allows you to replace null with a more meaningful alternative in the results of a query.

What does NULL mean netsuite?

Null values are useful when a field has been assigned a default value that you do not wish to propagate across all of the records that you are importing. For example, if you are a sales representative and enter a lead record in the UI, the Sales Rep field automatically defaults to be you.


1 Answers

Try

CASE WHEN {custitem_upc_number} is NULL THEN 'FALSE' END

Also, for NetSuite Null check related formulas - give NVL and NVL2 a try

Syntax :

NVL({expression1}, {expression2})

NVL2({expression1}, {expression2}, {expression3})

like image 186
Nitish Avatar answered Oct 06 '22 01:10

Nitish