In case this trips anyone up in 2026.1, it appears that getSublistValue on a currency field is now returning null if the field value is empty. Prior to 2026.1, it was returning empty string. This seems like a breaking change that should have been communicated.
🫠1
a
alien4u
02/17/2026, 3:59 PM
Is a bad move on NetSuite side, don't get me wrong but I don't understand why that should be a breaking change?
JavaScript can handle empty string and null in conditions the same way:
Copy code
if (!sMyVarName) {}
That works for empty string and null.
c
Craig Haroldson
02/17/2026, 4:02 PM
I agree. The code was checking for empty string, because it needed to handle 0 differently than empty/null, and not realizing at the time the code was written that 0 would come through as "0.00" for currency.