Announcements
No record found.
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
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.
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?
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.
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.
So many times I encountered this problem... Thank you for reminding about this simple solution!
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.
As per my case this issue i found issue in salelines table because code update field in multiple area.
Saleslines->returnLineResetToExpected(Method)
For example:
Solution for this:
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Joris dG 5
Andrew Jones a1x 2
GL-01081504-0 1