Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.


Symptoms

Several sales orders are created and Sales tax is adjusted.
Sales update > Invoice is configured with Late selection, qty All, batch processing and editing the Selection with a filter that includes those sales order.
Batch job fails with the error:
Error Infolog for job Order invoice (22565437134)\Infolog for task Rearranging posting data (22565439274)\Tax regulations are found Tax is regulated on sales order ID SO-101265
Error Infolog for job Order invoice (22565437134)\Infolog for task Rearranging posting data (22565439274)\Tax regulations are found Tax is regulated on sales order ID SO-101266
Info Infolog for job Order invoice (22565437134)\Infolog for task Rearranging posting data (22565439274)\Tax regulations are found Sales orders cannot be rearranged when individual sales orders are tax regulated.
Remove the regulation on the orders, rearrange and regulate the tax on the summary order.
Error Infolog for job Order invoice (22565437134)\Infolog for task Rearranging posting data (22565439274) Update has been canceled because of an error.
Error Infolog for job Order invoice (22565437134)\Infolog for task Rearranging posting data (22565439274) Removal of suspension of recId allocation for table SalesParmLine has failed.
Error Infolog for job Order invoice (22565437134)\Infolog for task Rearranging posting data (22565439274) 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 25
   at Dynamics.Ax.Application.formletterParmData.Removerecidsuspension() in formletterParmData.removeRecIdSuspension.xpp:line 14
   at Dynamics.Ax.Application.formletterParmData.Catchall() in formletterParmData.catchAll.xpp:line 9
   at Dynamics.Ax.Application.formletterParmData.Rearrange() in formletterParmData.reArrange.xpp:line 12
   at Dynamics.Ax.Application.SalesFormletterParmData.reArrangeServer(Object[] _salesFormletterContractPacked, Boolean _isExecutingInBatch, Boolean ) in SalesFormletterParmData.reArrangeServer.xpp:line 9
   at Dynamics.Ax.Application.FormletterParmDataRearrangeBatchTask.Rearrange() in FormletterParmDataRearrangeBatchTask.rearrange.xpp:line 15
   at Dynamics.Ax.Application.FormletterParmDataRearrangeBatchTask.Run() in FormletterParmDataRearrangeBatchTask.run.xpp:line 7
   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)
Info Infolog for job Order invoice (22565437134)\Infolog for task Order invoice (22565439275)\Posting Batch tasks created for multithreading.

↑ Back to the top


Resolution

The changes in the hotfix make sure you can post the sales orders that are selected in the batch posting without any error messages.

↑ Back to the top


More information

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained here in is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Article Info
Article ID : 4090864
Revision : 1
Created on : 2/21/2018
Published on : 2/21/2018
Exists online : False
Views : 330