Quantcast
Channel: Microsoft Dynamics 365 Community
Viewing all articles
Browse latest Browse all 51311

Execute SSRS Report by code in Ax 2012

$
0
0
I want to share to Execute SSRS Report by code in Ax 2012. You can use below code to run report manually . You can try this code if you are not able to view your report due to some security issue.

You can use controller class code to debug your report the get the cause.

 //version ax 2012 Code  
SrsReportRunController SRScontroller;
SRScontroller= new SrsReportRunController();
SRScontroller.parmReportName(‘TestReport.ReportDesign1′);
SRScontroller.runReport();


Viewing all articles
Browse latest Browse all 51311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>