Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Batch Job Error

$
0
0

Hi,

Version - D365FO

I am receiving following error when running batch job.

Error executing code: Custom_Prod_LicensePlateIdBatchJob object does not have method ''.


Microsoft.Dynamics.Ax.Xpp.MethodNotFoundException: Error executing code: Custom_Prod_LicensePlateIdBatchJob object does not have method ''. at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue, interpret* ip) at Microsoft.Dynamics.Ax.MSIL.Interop.ThrowCQLFuncError(IL_CQL_ERR cqlErr, String typeName, String methodName) at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters) at Microsoft.Dynamics.Ax.Xpp.DictClass.Callobject(String methodName, XppObjectBase Called, Object[] varArgs) at Dynamics.AX.Application.SysOperationServiceController.`runOperationInstance(SysOperationServiceController controller) in xppSource://Source/ApplicationFoundation\AxClass_SysOperationServiceController.xpp:line 784 at Dynamics.AX.Application.SysOperationServiceController.runOperationInstance(SysOperationServiceController controller) at Dynamics.AX.Application.SysOperationServiceController.`runOperationSynchronously() in xppSource://Source/ApplicationFoundation\AxClass_SysOperationServiceController.xpp:line 717 at Dynamics.AX.Application.SysOperationServiceController.runOperationSynchronously() at Dynamics.AX.Application.SysOperationServiceController.`run() in xppSource://Source/ApplicationFoundation\AxClass_SysOperationServiceController.xpp:line 581 at Dynamics.AX.Application.SysOperationServiceController.run() at Dynamics.AX.Application.BatchRun.`runJobStaticCodeFromBuffer(Batch buffer) in xppSource://Source/ApplicationPlatform\AxClass_BatchRun.xpp:line 850 at Dynamics.AX.Application.BatchRun.runJobStaticCodeFromBuffer(Batch buffer) at Dynamics.AX.Application.BatchRun.`runJobStaticFromBuffer(Batch buffer) in xppSource://Source/ApplicationPlatform\AxClass_BatchRun.xpp:line 772 at Dynamics.AX.Application.BatchRun.runJobStaticFromBuffer(Batch buffer) at Microsoft.Dynamics.AX.Batch.BatchRunAction.Run() at Microsoft.Dynamics.AX.Batch.Batch.ExecuteOneBatchJobTask(BatchTaskInfoWrapper taskInfo)
End of task log

Same piece of code is running smoothly in runnable class but throwing error in Batch Job.

I cleared the usage data also, but no luck.

Please guide as other threads are also not working for me.

Thanks .


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>