How to Develop a New SSRS Report
However, there are some differences. For example, how the new report is registered in Docentric report setup – in D365FO we use the Reload system templates functionality (see below).
Also, instead of using the wizard for AX 2012 (a code generator), we will use a Visual Studio template for DSP classes.
Download the D365FO project with examples >>
After you import the project, locate the 05-Example-ReportDevelopedFromScratch folder. There you will find all needed artifacts for the new report.
For the new SSRS report you can use Autodesign, a dummy RDP (Report Data Provider) class, and a dummy RDP InMemory table. The only meaningful SSRS artifact should be the RDP contract class, because it defines report parameters.
The complete data fetching logic is moved to the Docentric DSP class, and you can find it in the corresponding AX 2012 how-to manual – namely, DSP classes for D365FO and AX 2012 platforms are 100% compatible.
How to register the new report in Docentric report setup
After we imported and compiled the project with Docentric AX examples, navigate to the Organization administration -> Docentric AX menu and open the Reports form that represents Docentric report setup. Click the Reload all button in the Tools action pane tab. All reports from the DocentricAXExamples project appear in Docentric report setup.
Learn more about Docentric report setup >>
How to run the new report
We can test the new report by starting it directly from Visual Studio. Set the project containing the new report artifacts as Startup Project, and set the report output menu item as Startup Object. Then press the Start button to start the project in the Debug mode.
The report dialog form with the report parameters is open. Print the report to Screen.
How to Add Additional Data to a Docentric SSRS Report >>
How to Write a Data Source Provider Class >>
Download New Custom SSRS Report Example >>