Report Processing of Microsoft Dynamic AX

Source: Internet
Author: User
Tags microsoft dynamics

Report Processing of Microsoft Dynamic AX

The implementation of a general electronic report usually have four classes.

Contract:

Comment: Contract class is data contract class for SSRS report.

Intent: Gets or sets the value of the data contract parameter.

Controller:

Comment: Controller class for SSRS report this is used to control the report execution as well as preprocessing of the data. The SSRS reporting framework uses this class to modify the report dialogs, calling the SQL Server Reporting Services, as Well preprocessing parameters for the report. Controller class extends Srsreportruncontroller follow is the controller class can be used:

1. Modifying a report query based on the input data

2. Modifying report contract data based on the input data

3. Control a report Parameters Dialog

4. Open different reports/designs from the same menu item based on the input data

5. Reports that is opened from a form

Intent: The main class for report, but one report should does include this class, beacase this kind of report directly call Srsrep Ortruncontroller (under normal circumstances, method main of the Controller class always call the This framework class.)

Dp:

Comment: DP class is a data provider class for report.

Intent: The key method ' Processreport ' is a DP class, DP class include all process of data processing, eg:processes the B Usiness logic and insert data to table.

Important attributes is used in DP classes:

    1. Srsreportqueryattribute:specifies which AOT query would be used If the DP class uses an AOT query to process data, define this attribute at the beginning of the class.
    2. Srsreportparameterattribute:defines the data contract class that'll be is used by this report to prompt for parameter valu Es. If the DP class contains any parameters this define this attribute at the beginning of the class.

Both the attributes is optional. If The report does is not a use no query or does not want any parameter to filter report data, these attributes does not need to be used.

Uibuilder:

Comment: User Interface (UI) Builder class builds the UI for SSRS report, this class was used to define the layout of the parameter dialog box that opens before a report was run in Microsoft Dynamics AX. It is used to add the customizations as well as the additional fields in the dialog. Follow is the Uibuilder class can be used:

1. Grouping Dialog fields

2. overriding dialog field events

3. Adding a customized lookup to a dialog field

4. Binding dialog fields with report contract parameters

5. Changing the layout of the dialog

6. Adding Custom controls to the dialog

Intent: Build a UI dialog, user can use this dialog to input some the data parameter to the Print report.

About Ssrsreport (custduereportdetail) :

MenuItem (Output)----Custduereportdetail properties:

Use properties we can known this output MenuItem ' s appearance, behavior and data, we should pay attention to Object and Ob Ject type, this properties let us known this MenuItem which would caller. For instance, Custduereportdetail MenuItem called Class Custduereportdetailcontroller, and this linked permission object Is SSRs Custduereportdetail, SSRs Custduereportdetail are a design for report, we can check design in AOT, we also can get Server method of this report.



From the above analysis, we known next caller class This is controller class, the controller class include Main method in Class under normal environment. When we click MenuItem, the reference Uibuilder class would operate until report was printed, this class was used to define T He layout, user should set value in form, and DP class can get those value to process data processing, DP class has an ES Sential method called "Processreport", this method was the main in DP class, and most data processing in it.

For Dynamics AX7, the report design we can find on AOT, and design use label to achieve different language, we can check T He meaning of the label by tool find labels, and there is the types of label in AX. and parameter of a report are in XML document.

But for Dynamic AX6, the report design we can find on AOT, and design also use label to achieve different language, but LA Bel didn ' t used in XML document, XML document use the string of names with numbers and We can ' t see the meaning represented B Y the numbered string.

We didn ' t know what does the ' DiffAmount32 ' meaning. We must go report URLs to check the meaning.

We should go reporting sevices Configuration Manager:

and click URLS, find reference download it to local and open it with Notepad and find what ' s meaning of ' Diffamo Unt32 '.

Report Processing of Microsoft Dynamic AX

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.