Anyone else seeing formula custom fields stop retu...
# suitescript
j
Anyone else seeing formula custom fields stop returning calculated values through
record.load().getValue()
? Store Value is unchecked and the value still displays/searches correctly, but SuiteScript load is returning blank/null. This appears to have started in the last couple days. Curious if this is account-specific or a wider NetSuite regression.
👀 1
Well - I had to modify my code to use the search module to get the formula field values. Still wondering if anyone else can share any pitfalls with formula fields not pulling values in a simple record.load. One thing seems evident to me after years of doing this.., when consultants who may not code or be allowed to, get really clever with formula fields, it sometimes becomes a real problem down the road.
a
Did you tried:
Copy code
record.load({
    type: 'record_type',
    id: record_Id,
    isDynamic: true
});
Copy code
isDynamic: true
???
j
no. I had false. Why would it work for so long then suddenly quit however?
a
NetSuite gremlins; no the first time they update things under the hood/internal validation etc...
👍 1