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