≡ Menu

Exploring Report Controller class in dynamics AX 2012 R3

In Dynamics AX 2012 Reports can be called from Class, and it is import part of MVC pattern implementation for reports
The report created from following link is called from controller class
Create a new class and extends it with “SRSReportRunController” class.
Add New method, and update it with following code

public static void main(Args args)
DyWorldDrillThroughReportController _Con= new DyWorldDrillThroughReportController();

When you run the class report will be open.



Very interestingly if you did not want to show report dialog, and just run the report form default parameter value you have to add following statement in above code

{ 0 comments… add one }

Leave a Comment