could also replace the wrapping CASE with DECODE
# suitescript
a
could also replace the wrapping CASE with DECODE