today I got this error while running a custom report.
Cannot edit a record in Table
An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.
I found that this error occurs due to concurrent access to table is allowed. And we did not need concurrent access.
I change the ccEnabled to no
If this error occur on table that can be used on concurrent mode, then write tableBuffer.reread() before adding or modify data.
Reference: https://community.dynamics.com/ax/f/33/t/95177