Join Slack
Powered by
In a User Event Script - afterSubmit, to set a fie...
# suitescript
m
mg2017
08/16/2023, 10:01 PM
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
Clay Roper
08/16/2023, 10:01 PM
load + save or record.submitFields
👍 1
m
mg2017
08/16/2023, 10:02 PM
Thanks
b
battk
08/16/2023, 10:02 PM
beforeSubmit is where you can use the newRecord
👍 1
battk
08/16/2023, 10:03 PM
which means you dont need to do another save
❤️ 1
4
Views
Open in Slack
Previous
Next