Dynamics AX 2009 : Cannot create a record in Sales order header - Updating table (SalesParmSubTable)

During Sales order posting I encountered an issue which was being generated due to below error message:

"Cannot create a record in Sales order header - Updating table (SalesParmSubTable). Sales order:*, *. The record already exists."

After some analysis and searching this issue I found that this issue sometimes occurs due to database logging enabled on some tables related to Sales Order i.e. SalesParmSubTable, SalesParmSubLine, SalesParmTable,SalesParmUpdate ....

Removing these tables from that specific Company Database log setup resolved the issue.

Note: For similar issue related to PO I also found a Microsoft fix which may also be helpful in similar scenarios:
https://support.microsoft.com/en-us/kb/961909

Comments

Popular posts from this blog

D365: SSRS Report Development/ Customization

D365: Modifying check report along with the slip text

D365/ Ax2012: X++ code for custom lookup to show customer account and Name