AX2012 SysQueryRun Class
In AX2012 batch process you may face issue while using QueryRun class
System.InvalidCastException: Unable to cast object of type 'Dynamics.Ax.Application.QueryRun' to type 'Dynamics.Ax.Application.SysQueryRun'.
to avoid this issue you can use the SysQueryRun Class and put Incr CIL & set the batch again.

Thanks,
K. Arunsubramaniam.
Thank you!)
ReplyDelete