DateTimeConverter cannot convert from Microsoft.Dynamics.Ax.Xpp.AxShared.Date

Hi All,

I have created the batch job to transfer some sales information to Loc8 Interface...When i run the same code using AOT -> job , it is working fine.But while running batch job i got the following error..

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotSupportedException: DateTimeConverter cannot convert from Microsoft.Dynamics.Ax.Xpp.AxShared.Date.
at System.ComponentModel.TypeConverter.GetConvertFromException(Object value)
at System.ComponentModel.TypeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.ComponentModel.DateTimeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.ComponentModel.NullableConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at Dynamics.Ax.Application.NOB_Loc8InterfaceBatch.XXX_callloc8assetservice() in XXX_Loc8InterfaceBatch.XXX_CallLoc8AssetService.xpp:line 84

Can any suggest me how to solve this and why i am getting this error only in batch process?

 

Thanks in Advance...

Related
Recommended