Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

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.

Posted on by 25

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 ?

  • Suggested answer
    RE: 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.

    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;

  • Suggested answer
    Xusheng Profile Picture
    Xusheng on at
    RE: 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.

    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

  • Suggested answer
    Xusheng Profile Picture
    Xusheng on at
    RE: 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.

    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

  • Ahmed Saad Profile Picture
    Ahmed Saad 25 on at
    RE: 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.

    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  

  • Ahmed Saad Profile Picture
    Ahmed Saad 25 on at
    RE: 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.

    There's no any customization there for this cycle.

  • Xusheng Profile Picture
    Xusheng on at
    RE: 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.

    Did you try to debug the code to find the RCA? Does this happened for all purchase orders?

  • MuthukumaranAX Profile Picture
    MuthukumaranAX 2,907 on at
    RE: 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.

    are there any customization done ? can you check is there any update code written?

  • Ahmed Saad Profile Picture
    Ahmed Saad 25 on at
    RE: 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.

    Hello Ludwig,

    Yes, we using the latest version and all of latest hotfixes are installed.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: 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.

    Hello Ahmed,

    Are you running the latest AX2012 version and have all of the latest hotfixes been installed?

    Best regards,

    Ludwig

  • MuthukumaranAX Profile Picture
    MuthukumaranAX 2,907 on at
    RE: 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.

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans