Skip to main content

Posts

Showing posts with the label Error Cannot create a record in Purchase orders in axapta 2012

Error Cannot create a record in Purchase orders in axapta 2012

If you are facing this troubleshooting in ax 2012 You may face  the below error while creating new Purchase order in AX 2012. If This error is coming in only one company and you are not able to create PO in same company. ... Cannot create a record in Purchase orders (PurchTable). Purchase order: COM-0000XX, COM-00XXXX. The record already exists. Microsoft.Dynamics.Ax.Xpp.DuplicateKeyException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.DuplicateKeyException' was thrown. at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue) at Microsoft.Dynamics.Ax.MSIL.cqlCursorIL.insert(IntPtr table) at Microsoft.Dynamics.Ax.Xpp.Common.doInsert() at Dynamics.Ax.Application.PurchTableType.Insert(Boolean _interCompanySilent, Date _accountingDate, Boolean , Boolean ) in PurchTableType.insert.xpp:line 21 at Dynamics.Ax.Application.PurchTable.Insert(Boolean _interCompanySilent, Date _accountingDate, Boolean , Boolean ) in PurchTable.insert.xpp:li