razer456
07/05/2021, 1:50 AMDavid B
07/05/2021, 3:40 AMafterSubmit entry point, the Sales Order has already been saved to the database.
You would either need to load then save the SO too, or move this logic into the beforeSubmit entry point.
Have a read of the differences between:
⢠beforeSubmit(scriptContext)
⢠afterSubmit(scriptContext)razer456
07/05/2021, 3:43 AM