Book Image

Developing SSRS Reports for Dynamics AX

By : Mukesh Hirwani
Book Image

Developing SSRS Reports for Dynamics AX

By: Mukesh Hirwani

Overview of this book

<p>SQL Server Reporting Services is the primary reporting platform for Microsoft Dynamics AX. Nowadays every business demands reports ranging from showing an aggregate view of their business performance to the transactional data formatted in a way that can be easily filtered, printed, and emailed. SQL Server Reporting Services allows you to do all this and more, quickly and easily.</p> <p>Developing SSRS Reports for Dynamics AX 2012 covers all the technical aspects of AX 2012 reporting, taking you through various step-by-step guides to quickly develop reports. It encapsulates various real-time scenarios and walkthroughs which will guide you step-by-step to develop reports. You will then go on to learn about various performance-related measures to help you develop or customize reports for Dynamics AX 2012 more efficiently.</p> <p>Developing SSRS Reports for Dynamics AX 2012 is completely based on Microsoft Dynamics AX 2012 report development. Developing SSRS Reports for Dynamics AX has been written in a way to make reporting complex components quicker and easier. You will come across day-to-day scenarios to perform report development.</p> <p>Learn various mechanisms of developing reports in Visual Studio for Dynamics AX 2012. Develop reports using various types of data sources like AOT Query, external data source, and Report Data Provider class. You will also learn various performance enhancement techniques that will help you to manage complex reporting requirements.</p>
Table of Contents (17 chapters)
Developing SSRS Reports for Dynamics AX
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Common SSRS Expressions
Index

Adding parameters to control the data displayed in the report


Tom, the Sales manager, also wants an "Order lines not posted" report available under Accounts Receivable | Reports | Transactions | Sales Orders to have a parameter to perform a filter on the Sales category.

To add a new parameter to an existing report, perform the following steps:

  1. Open Microsoft Visual Studio 2010 from the Start menu.

  2. Click on View | Application Explorer.

  3. Browse for the SalesNotInvoiced report under AOT | SSRS reports | Reports.

  4. Right-click on the report and click on Edit.

  5. Browse to the report parameters.

  6. Right-click on parameters and navigate to Add | Parameter.

  7. Rename the parameter to SalesNotInvoicedDP_SalesCategory.

  8. Change the Prompt string property to Sales category.

  9. Right-click on the report design named Report and navigate to Edit using Designer.

  10. Right-click on Tablix and select Propert ies.

  11. Switch to the Filters tab and click on the Add button

  12. Provide the below values in the filter:

    1. Expression as [SalesCategory_Name...