The controller class is primarily used to manage the report execution. This class is used in the SRS reporting framework to modify the dialog of a report, process the parameters of a report, as well as call SQL Reporting Services.
In this recipe, we will generate an SSRS report in Microsoft Dynamics using the controller class and UI builder class. The controller class extends SRSReportRunController
.
The first step is to create a contract class which implements
SysOperationValidatable
to validate all the report parameters (explained in the previous recipe).The next step is to create a controller class which extends the
SRSReportRunController
class. TheMain()
method is used in the controller class of the report execution.public client static void main(Args _args) { PktRdlCustomerVendorController controller = new PktRdlCustomerVendorController (); controller.parmReportName(ssrsReportStr(PktRdlCustomerVendorReport...