trying to do some normal stuff on beforeSubmit for...
# suitescript
v
trying to do some normal stuff on beforeSubmit for a sales order on create, generate a reason code there, and get it over to afterSubmit so I can create a userNote and attach to the sales order. i could just store it to a hidden field i suppose but they hate when we add new fields here 😛