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
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,134 Super User 2024 Season 2
Martin Dráb 229,928 Most Valuable Professional
nmaenpaa 101,156