web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Update conflict in posting packing slip

(0) ShareShare
ReportReport
Posted on by

I am getting the following error while "Posting a Packing Slip" of this particular sales order, its happening for some particular sales order but not for all sales orders.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    Finally i got the solution for this and its working perfectly, here i share.

    Just go to "SalesPackingSlipJournalpost" class in that goto "UpdateSourcetable" Method and reread(); the database again just before you update the table, following screenshot shows how to do that.

     

     

    Reason for this is:

    With OCC table property is set to "Yes" and When the update is executed, the system checks if the recversion of the record in the database is equal to the recversion on the moment(Buffer) the records was selected. If that was the case. The update succeed if not following error is thrown.

  • RaulVillaronga Profile Picture
    95 on at

    I'm having the same problem but the client is still running AX 4.0 - does someone have any input into how/where to apply this type of fix in that release?

  • Klaas Deforche Profile Picture
    2,433 on at

    The exact same problem on the same code?

    You could fix the code in the same way by adding a reread I guess. I can confirm that in 2012 the code is modified as demonstrated above.

  • imran ul haq Profile Picture
    4,025 on at

    Hi All

    I have the same issue but i checked the class defined above, the statement is already defined in the class.

    Can u please tell me how i can resolve the same issue.

  • Alex Voytsekhovskiy Profile Picture
    on at

    So many times I encountered this problem... Thank you for reminding about this simple solution!

  • Community Member Profile Picture
    on at

    Even I checked for the code and found it to be at the place where you have mentioned but still encountering this issue. Hopefully there ought to be any other way out to the same issue.

  • Suggested answer
    Ahsan Akhtar Profile Picture
    70 on at

    As per my case this issue i found issue in salelines table because code update field in multiple area. 

    Saleslines->returnLineResetToExpected(Method)

    For example:

    1856.Error-Report-By.png

    Solution for this:

    8308.Code-for-slution.png

    i hope. its help you. thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
GL-01081504-0 Profile Picture

GL-01081504-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans