aşağıdaki seneryolar, controller class kullanılarak yapılacak
Giriş verileri temel alan bir rapor sorgusunu değiştirme
Following are the scenarios where Controller class can be used:
- Modifying a report query based on the input data
- Modifying report contract data based on the input data
- Control a report parameters dialog
- Open different reports/designs from the same menu item based on the input data
- Reports that are opened from a form
To create a controller class, extend it with SrsReportRunController.
Prerequisites
- Microsoft Dynamics AX 2012
- Reporting services extensions must be installed in Dynamics AX
Sample Controller Class
- Create a new class. Open AOT → Classes
- Right Click on Classes and select New Class. Name it as SSRSDemoController.
- Open the Class declaration by right clicking on it and selecting View code.
- Now write the following code:
- Create a new method and write the following code:
Hiç yorum yok:
Yorum Gönder