Getting the dreaded 'Record has been changed error...
# suitescript
m
Getting the dreaded 'Record has been changed error'... Trying to understand which scripts/WF's could impact this.. 1. Restlet vs user event - getting record has been changed for the restlet.. my question is, can an update to a transaction via the restlet and a UE script on the same transaction before submit - all event types, could they clash with one another? 2. Other than removing all the script deployments and adding them one by one - does anyone else know another way to debug this? All thoughts welcome
b
most common cause is usually an after submit user event script (or more rare a workflow action scrip) that is using N/task to craete a task that eventually modifies the same record
then any other user event or workflow running after submit that saves the same record has a chance to cause a record has been changed error
a
In my experience, 90% of the time will be a workflow manipulating a record afterSubmit.
m
thanks all.. I'll review based on the above advice