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

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Microsoft.Dynamics.Ax....
Finance forum

Microsoft.Dynamics.Ax.Xpp.ErrorException: Cannot edit a record in Batch job (BatchJob).

(0) ShareShare
ReportReport
Posted on by 25
Microsoft.Dynamics.Ax.Xpp.ErrorException: Cannot edit a record in Batch job (BatchJob). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.
 at Dynamics.AX.Application.RetailCDXScheduleRunner.`run() in xppSource://Source/Foundation\AxClass_RetailCDXScheduleRunner.xpp:line 471
 at Dynamics.AX.Application.RetailCDXScheduleRunner.run()
 at Dynamics.AX.Application.BatchRun.runJobStaticCodeFromBuffer(Batch buffer) in xppSource://Source/ApplicationPlatform\AxClass_BatchRun.xpp:line 847
 at Dynamics.AX.Application.BatchRun.runJobStaticFromBuffer(Batch buffer) in xppSource://Source/ApplicationPlatform\AxClass_BatchRun.xpp:line 769
 at Microsoft.Dynamics.AX.Batch.Batch.ExecuteOneBatchJobTask(BatchTaskInfoWrapper taskInfo)
The above error occurs during P-0001 job processing. 
Can anyone explain what is the reason of this error, and how we can avoid this in future ? 
I have the same question (0)
  • Blue Wang Profile Picture
    on at
    RE: Microsoft.Dynamics.Ax.Xpp.ErrorException: Cannot edit a record in Batch job (BatchJob).

    Hi Shubh,

    Restore and try to save batch job records from exceptions.

    Changes in the patch program prevent statement publishing from failing in the event of update conflict errors.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans