Hello friends;
I wrote a class project costs for the automatic calculation. No error when running normally , but when I run the batch
/*
- Cannot create a record in Proje toplamları (BuzProjSum). Aktivite numarası: 001-000009.
The record already exists.
-Microsoft.Dynamics.Ax.Xpp.DuplicateKeyException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.DuplicateKeyException' was thrown.
at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)
at Microsoft.Dynamics.Ax.MSIL.cqlCursorIL.insert(IntPtr table)
at Dynamics.Ax.Application.BuzProjSum.Insert() in BuzProjSum.insert.xpp:line 6
at Dynamics.Ax.Application.BuzProjSumCalc.Calcformidlevel() in BuzProjSumCalc.calcForMidLevel.xpp:line 63
at Dynamics.Ax.Application.BuzProjSumCalc.Run() in BuzProjSumCalc.run.xpp:line 32
at Dynamics.Ax.Application.Lmk_CalcProjectCosts.Lmkruncalc() in Lmk_CalcProjectCosts.LmkRunCalc.xpp:line 19
at Dynamics.Ax.Application.Lmk_CalcProjectCosts.Run() in Lmk_CalcProjectCosts.run.xpp:line 20
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)
*/
is the error . What can I do.
I'm sorry for my bad English.