Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Confused on server side writing of field values
I have an interesting situation.
On a server-side user event beforeLoad, if the record is new ('create' type) then I can call nlapiGetNewRecord() and set various fields. If the record exists ('edit' type), I can call nlapiGetNewRecord() but I am unable to set field values. I get no errors, but the fields do not set.
Is this how it is supposed to work or am I missing something?
Thanks.
-Steve
0