My Stuff
Share Your SuiteWorld Experience & Earn a Special Badge!
Comments
-
try anyof, not is. Thanks, but the search itself is working correctly. The customer record's entityid field is text type, so according to the search operator documentation, is is the correct operator. The problem is that nlapiGetFieldValue doesn't return the new value, and nlapiSetFieldValue doesn't persist the value being…
-
No, I'm editing a record through the form, and the customer number I'm entering for testing definitely exists. The script completes execution without throwing any exceptions.
-
Found that nlapiGetOldRecord() was returning null, which finally led me to check the script deployment--deriveFields was being called as the Before Load function instead of Before Submit. Fixed that and it's working now. Sorry for the mistake! :o