Announcements
Hello All
When I'm trying to create a purchase order from released purchase order --> consolidation opportunities .
I got this error - [ Cannot edit a record in Purchase orders (PurchTable).
An update conflict occurred due to another user process deleting the record or changing one or more fields in the record. ]
this error only shown up when I select any vendor have an purchase agreement.
Can any one help please ?
search for any update() or delete() methods and add reread() method before it for example:
purchTable.reread(); //--> try this before update method
purchTable.selectForUpdate(true);
ttsBegin;
purchTable.update(); //Update method
ttsCommit;
Try to debug to code to find which process will update purchtable.
BTW , you also can log a service request to working with Microsoft support team to find the RCA together
Try to debug to code to find which process will update purchtable.
BTW , you also can log a service request to working with Microsoft support team to find the RCA together
there's no code and customization at this cycle, also it's only happened when I choose any vendor having a purchase agreement only.
but with any vendor doesn't have purchase agreement it's working normally
There's no any customization there for this cycle.
Did you try to debug the code to find the RCA? Does this happened for all purchase orders?
are there any customization done ? can you check is there any update code written?
Hello Ludwig,
Yes, we using the latest version and all of latest hotfixes are installed.
Hello Ahmed,
Are you running the latest AX2012 version and have all of the latest hotfixes been installed?
Best regards,
Ludwig
Yes, the blog is described about sales order scenario. please look at the provided sample and take necessary measures accordingly.
let me know if that helps to resolve the issue
André Arnaud de Cal...
293,304
Super User 2025 Season 1
Martin Dráb
232,149
Most Valuable Professional
nmaenpaa
101,156
Moderator