CASE {amount} WHEN 'null' THEN '0' ELSE {amount} ...
# suitescript
s
CASE {amount} WHEN 'null' THEN '0' ELSE {amount} END ERROR: Field Not Found