Hi,
I got the below error while running a batch
Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)
at Microsoft.Dynamics.Ax.MSIL.cqlCursorIL.InsertInto(IntPtr targetTable, List`1 fields, List`1 ops, IntPtr sourceTable)
at Microsoft.Dynamics.Ax.Xpp.Common.InsertInto(FieldList fieldList, Common sourceCursor)
at Dynamics.Ax.Application.BatchInfo.Save(BatchHeader _header) in BatchInfo.save.xpp:line 46
at Dynamics.Ax.Application.BatchHeader.Addtasks() in BatchHeader.addTasks.xpp:line 10
at Dynamics.Ax.Application.BatchHeader.Save() in BatchHeader.save.xpp:line 8
at Dynamics.Ax.Application.BOMCalcJobItemTaskBatchManager.Createbatchtasks(BOMCalcJob_All _bomCalcJob_All) in BOMCalcJobItemTaskBatchManager.createBatchTasks.xpp:line 51
at Dynamics.Ax.Application.BOMCalcJob_All.Runbatch() in BOMCalcJob_All.runBatch.xpp:line 11
at Dynamics.Ax.Application.BOMCalcJob_All.Run() in BOMCalcJob_All.run.xpp:line 33
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)
Guide me how to fix this. How to find what is causing the error and how to fix this?
Thanks,
Lakshmi
*This post is locked for comments