Hi everyone,
I’m facing an issue in Dynamics AX 2012 when trying to cancel a PO Product Receipt/GRN
Whenever I attempt to cancel the Product Receipt/GRN, I receive the following error message:
- Cannot edit a record in Purchase order - update table (PurchParmTable).
An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.
This same error repeats multiple times, followed by the exception:
Posting-
Purchase order: PO-0555678
Microsoft.Dynamics.Ax.Xpp.UpdateConflictNotRecoveredException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.UpdateConflictNotRecoveredException' was thrown.
at Dynamics.Ax.Application.FormletterService.Run() in FormletterService.run.xpp:line 149
at Dynamics.Ax.Application.FormletterService.Postpurchaseorderpackingslip(PurchFormLetterPackingSlipContract _contract) in FormletterService.postPurchaseOrderPackingSlip.xpp:line 15
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.DictClass.Callobject(String _methodName, XppObjectBase _Called, Object[] varArgs)
at Dynamics.Ax.Application.SysOperationServiceController.Runoperation(Boolean _async) in SysOperationServiceController.runOperation.xpp:line 93
at Dynamics.Ax.Application.SysOperationServiceController.runServiceOperation(Object[] parameters) in SysOperationServiceController.runServiceOperation.xpp:line 25
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)
When does the error occur?
- If I try to cancel the GRN after updating the Unit Price in PurchLine.
- Sometimes the error occurs even without making any changes to the PurchLine.
- Basically, canceling a posted GRN throws this update conflict on PurchParmTable.
- Even after verifying that on-hand inventory is available before canceling the GRN, the system still throws this update conflict.
- On-hand inventory exists before cancellation (so it's not an inventory shortage issue).
Any fix or workaround would be highly appreciated.
Thanks in advance!

Report
All responses (
Answers (