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)

Order Invoice Through Batch Job

(0) ShareShare
ReportReport
Posted on by

We are getting this error for some sales order when we run Order Invoice batch job, but if we run manually everything works fine.

Infolog for task Generating posting data (5638545881)
Cannot edit a record in Sales order header - updating table (SalesParmSubTable).
An update conflict occurred due to another user process deleting the record or changing one or more fields in the record.
Removal of suspension of recId allocation for table SalesParmLine has failed.
Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
   at Dynamics.Ax.Application.SysRecIdSequence.Removerecidsuspension(Int32 _tableId) in SysRecIdSequence.removeRecIdSuspension.xpp:line 23
   at Dynamics.Ax.Application.formletterParmData.Removerecidsuspension() in formletterParmData.removeRecIdSuspension.xpp:line 15
   at Dynamics.Ax.Application.formletterParmData.Catchall() in formletterParmData.catchAll.xpp:line 9
   at Dynamics.Ax.Application.formletterParmData.Createdata(Boolean _append, Boolean ) in formletterParmData.createData.xpp:line 63
   at Dynamics.Ax.Application.SalesFormletterParmDataInvoice.Createdata(Boolean _append, Boolean ) in SalesFormletterParmDataInvoice.createData.xpp:line 14
   at Dynamics.Ax.Application.FormletterParmDataCreateDataBatchTask.Run() in FormletterParmDataCreateDataBatchTask.run.xpp:line 13
   at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54
   at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
   at BatchRun::runJobStatic(Object[] )
   at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
   at BatchIL.taskThreadEntry(Object threadArg)

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,670 Super User 2026 Season 1 on at

    which version of ax you are using?

    following line of error message is reminding me there were certain hotfixes

    "Removal of suspension of recId allocation for table SalesParmLine has failed"

    you can have a look at LCS as per you version of ax, if any of those are applicable to you, if you really have a non-customize process

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Sagar Suman Profile Picture

Sagar Suman 2 Super User 2026 Season 1

#1
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#1
Pratik Bhosle Profile Picture

Pratik Bhosle 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans