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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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