In a User Event Script - afterSubmit, to set a fie...
# suitescript
m
In a User Event Script - afterSubmit, to set a field value, do we need to load the record and save it or can set it using the currentRecord?
c
load + save or record.submitFields
👍 1
m
Thanks
b
beforeSubmit is where you can use the newRecord
👍 1
which means you dont need to do another save
❤️ 1