Book Image

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Book Image

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Overview of this book

Table of Contents (17 chapters)
Microsoft Dynamics AX 2012 R3 Reporting Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Creating reports by fetching the data using complex queries


In this recipe, we will develop an SSRS report in Dynamics AX R3 using complex queries. This will help to fetch the complex data and show it in the report. In this recipe, we will create three queries and get the data from these queries in a single SSRS report.

Getting ready

In this recipe, we will create three queries which will be further used in the next recipe for fetching data. These three queries will be based on the sales order, purchase order, and transfer order.

How to do it…

  1. Go to AOT | Queries, right-click on New Query, and create a new query named PKTCustInvoiceTrans.

  2. This query is used to fetch the data related to post sales orders. By using this query we can fetch related customer details and tax information corresponding to the posted sales order.

  3. Similarly, we will create a query based on the purchase order and name it as PKTVendinvoiceTrans. This will help to fetch the data related to the vendor and tax information corresponding...