“Best practices: To set a field on a record or mak...
# suitescript
c
“Best practices: To set a field on a record or make any changes to a record that is being submitted, do so on a beforeSubmit operation, not an afterSubmit operation. If you set a field on an afterSubmit, you duplicate a record whose data has already been committed to the database.”