Tuesday, July 21, 2015

AX 2012 SysQueryRun Class AX2012


         
            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.

1 comment: