In my after submit I'm receiving an error RCRD_DSN...
# suitescript
c
In my after submit I'm receiving an error RCRD_DSNT_EXIST, and the record id of the transaction created appears to be context.newRecord.id+1. What would cause this?
m
If you're user event script doesn't account for the DELETE UE Type, your script may be trying to run on a deleted record.
c
I'm creating a copy of a sales order. Would that trigger a delete at any stage? I am gating the UE afterSubmit with a if (context.UserEventType.CREATE === context.type) {