Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

You're reading from   Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update Over 90 recipes to help you resolve your new SSRS Reporting woes in Dynamics AX 2012 R3

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784395384
Length 352 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Understanding and Creating Simple SSRS Reports 2. Enhancing Your Report – Visualization and Interaction FREE CHAPTER 3. Report Programming Model 4. Report Programming Model – RDP 5. Integrating External Datasources 6. Beyond Tabular Reports 7. Upgrading and Analyzing Reports 8. Troubleshooting and Other Advanced Recipes 9. Developing Reports with Complex Databases 10. Unit Test Class and Best Practices Used for Reports Index

Creating a report using a query in Warehouse Management

In Dynamics AX 2012 R3, Warehouse Management is a new module. In the earlier version of AX (2012 or R2), there was a single module for Inventory and Warehouse Management. However, in AX R3, there is a separate module.

AX queries are the simplest and fastest way to create SSRS reports in Microsoft Dynamics AX R3. In this recipe, we will develop an SSRS report on Warehouse Management.

In AX R3, Warehouse Management is integrated with bar-coding devices such as RF-SMART, which supports purchase and receiving processes: picking, packing and shipping, transferring and stock counts, issuing materials for production orders, and reporting production as well. AX R3 also supports the workflow for the Warehouse Management module, which is used to optimize picking, packing, and loading of goods for delivery to customers.

Getting ready

To work through this recipe, Visual Studio must be installed on your system to design and deploy the report. You must have the permission to access all the rights of the reporting server, and reporting extensions must be installed.

How to do it...

Similar to other modules, Warehouse Management also has its tables with the "WHS" prefix. We start the recipe by creating a query, which consists of WHSRFMenuTable and WHSRFMenuLine as the data source. We will provide a range of Menus in the query. After creating a query, we will create an SSRS report in Visual Studio and use that query as the data source and will generate the report on warehouse management.

Open AOT, add a new query, and name it PKTWarehouseMobileDeviceMenuDetails.

  1. Add a WHSRFMenuTable table.
  2. Go to Fields and set the Dynamics property to Yes.
  3. Add a WHSRFMenuLine table and set the Relation property to Yes. This will create an auto relation that will inherit from table relation node.
    How to do it...
  4. Go to Fields and set the Dynamics property to Yes.
  5. Now open Visual Studio and add a new Dynamics AX report model project. Name it PKTWarehouseMobileDeviceMenuDetails.
  6. Add a new report to this project and name it PKTWarehouseMobileDeviceDetails.
  7. Add a new dataset and name it MobileDeviceDetails.
  8. Select the PKTWarehouseMobileDeviceMenuDetails query in the Dataset property.
  9. Select all fields from both tables. Click on OK.
  10. Now drag and drop this dataset in the design node. It will automatically create an auto design. Rename it MobileMenuDetails.
  11. In the properties, set the layout property to ReportLayoutStyleTemplate.
  12. Now preview your report.
    How to do it...

How it works

When we start creating an SSRS report, VS must be connected with Microsoft Dynamics AX R3. If the Microsoft Dynamics AX option is visible in Visual Studio while creating the new project, then the reporting extensions are installed. Otherwise, we need to install the reporting extensions properly.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image