Problem Posting Intercompany Sales Order Packing Slip

This question has suggested answer(s)

On occasion we get this error when trying to post the packing slip on an intercompany sales order.

"Cannot edit a record in Sales order - update table (SalesParmTable).

An update conflict occurred due to another user process deleting the record or changing one or more fields in the record."

We have found articles and info on other forums where people have had this issue and suggested "go to "SalesPackingSlipJournalpost" class in that goto "UpdateSourcetable" Method and reread(); the database again just before you update the table".  

We've done this but it has not corrected our issue.  Any ideas?

All Replies
  • I think you have some customization around this functionality.

    this is due to inappropriate use of TTBegin and TTCommit

    try to review the code.

    ttsBegin and ttsCommit should be just before the table update() method

    and reread() method should be before ttsBegin

    Please verify, and update with your findings so that we can discuss more and fix the issue.

    Please update with your feedback.

    If this post helps you, Please verify this answer and earn Thank you Badge for yourself (Follow this link for more details

    Regards, NITESH RANAJN (PMP) | Dynamics AX Consultant