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!
BeforeLoad on edit record not capturing edits
I am running a server-side beforeLoad event and setting a field.
I call nlapiGetNewRecord and then apply the value to the field.
Works fine for new records (create mode) but not when editing. Even though I can check the field using getFieldValue in server-side script to see if the value is in there, it does not show up when loaded in the client side.
Is it necessary to submitRecord first or loadRecord first when editing records? I never had to do this before but now my script only works on new records and not on modified records.
-Steve
0