RE: Cannot edit a record in Inventory transactions (InventTrans). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record
Hi Every body, I got exactly the same error in AX 2012 R2 CU7.
Cannot edit a record in Inventory transactions (InventTrans).
An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.
I found this
Solution 742864 Error when recalculate stock (update conflict)
AX VERSION
Microsoft Dynamics AX 2012
PROBLEM
When running Inventory recalcuation, the following error message is being displayed:“Cannot edit a record in Stock transactions (InventTrans). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.”
MITIGATION
1. This error might be caused by locking. On the InventTrans table, the Property “OCCEnabled” is currently set to “Yes”. Temporarily set this property = “No” and run the Recalculation when there is minimal activity on the system. Preferably, get all users to logoff and then re-run the Recalculation. By setting this property = “No”, locking will still occur but the system will prevent other users from updating the record until you have released your lock. After running the Recalculation and if the error no longer occurs, you can reset this parameter to its original value.
2. The error message that you receive: “Cannot edit a record in Inventory transactions (InventTrans). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record” might be caused by Marking when you have a receipt transaction marked to multiple issue transactions. Please check if you have Marking on any of the concerned items. Then remove the marking on this item and re-run the Recalculation.
3. Restart the AOS to clear any caching issues that may be causing this error.
4. Cancel the previous Recalculation and then run again together.