Hi the value on the memo field is not setting in a...
# suitescript
r
Hi the value on the memo field is not setting in after submit in sales order, my job is to take value from SO and take value from Project and set it to SO, i was able to do SO to P but P to SO isnt happening.. although it is retrieving the value of pm from (debug) from the project record. But not even string is setting
āœ… 1
d
In the
afterSubmit
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)
r
Okay, makes sense. I'll try thanks
šŸ‘ 1