I have two fields _courier and _trackingnumber.
I would like to create in results nested CASE WHEN formula (text) under the following conditions:
- the courier is = 'NAME' and
- if the
_trackingnumberof this courier does not start with0then add00else add_trackingnumber&
I have tried this CASE WHEN option and I realize that AND function does not exist in Functions list in Netsuite
CASE WHEN {_courier} = 'NAME' AND ({_trackingnumber},'0'THEN ('00' || {_trackingnumber}) ELSE ('&' || {_trackingnumber}) END
And I got this error message:
I got this error: ERROR: Invalid Expression
Can you please advise how to fix it?