Opening a report with a dialog
In Microsoft Dynamics AX R2 and R3, we can run an SSRS report with the help of a dialog. Dialogs help the user print the SSRS report on the basis of the parameters defined in the report dialog. Suppose a user wants to print the details of a selected customer, they will select the parameter, run the report, and print the desired result. The dialog of an SSRS report can be opened through a menu item.
How to do it...
- In this recipe, the user will print the SSRS report which shows the customer's details on the basis of the customer account and customer group. So, the first step is to create an SSRS report using a query (as explained in Chapter 1, Understanding and Creating Simple SSRS Reports), giving the range as
AccountNum
andCustGroup
. - The next step is to create a new menu item. Go to AOT | Menu items | Output and right-click on it. Click on New Menu Item, as shown in the following screenshot:
- Now assign the SSRS report to the menu item.
- The last step is to...