Showing posts with label HOW TO RUN A REPORT FROM CONTROLLER CLASS IN MICROSOFT DYNAMICS AX. Show all posts
Showing posts with label HOW TO RUN A REPORT FROM CONTROLLER CLASS IN MICROSOFT DYNAMICS AX. Show all posts

Wednesday, November 22, 2017

HOW TO RUN A REPORT FROM CONTROLLER CLASS IN MICROSOFT DYNAMICS AX : VIKAS MEHTA

HOW TO RUN A REPORT FROM CONTROLLER CLASS
 IN MICROSOFT DYNAMICS AX 

public static void main(Args _args)
{
    // Initializing the object for a controller class, in this case, the class named AssetListingController.
    SrsReportRunController controller = new AssetListingController();

    // Getting the properties of the called object (in this case AssetListing MenuItem)
    controller.parmArgs(_args);
    // Setting the Report name for the controller.
    controller.parmReportName(ssrsReportStr(AssetListing, Report));

    // Initiate the report execution.
    controller.startOperation();
}
Related Posts Plugin for WordPress, Blogger...