The Microsoft Dynamics AX/D365 Support Team at Avantiico is focused on solving our client’s problems, from daily issues to large and more complex problems.
Understand the benefits of Supply Chain Management Software for your organization by breaking down the key features and taking an in-depth look at the markets
Discover what these new Microsoft D365 updates are, how they differ from traditional service updates and what you need to do to stay up-to-date. Introduction
Learn the benefits of using AR automation in Dynamics 365 Finance and how it simplifies the accounts receivable process. Introduction In this blog post, we
Learn how to unlock the full potential of Dynamics 365 Finance by working with a dedicated D365 Finance consultant. Introduction Microsoft Dynamics 365 is a
Learn how integrating Dynamics 365 & Microsoft 365 together can increase both employee job satisfaction and performance. Introduction Whether you’re leveraging Microsoft Dynamics 365 and
Introduction The enterprise need for a freight reconciliation process is paramount for any business that ships goods to customers. The freight reconciliation and freight charge
When developing Microsoft Dynamics AX 2012 custom SSRS reports, developers may be required to display data within groups, for example, display budget control transactions by budget group. In these scenarios, it may be required to display information within each group including a group header and subtotal. It may be required to display the group header for each new page, for example if the transactions for a group span multiple pages. It also may be required to allow users to select whether they want each new group to display on a new page.
Advanced properties and code will be used to demonstrate the above. An included XPO project with a sample project for Microsoft Dynamics AX 2012 R3 will be included. A simple table control showing a pre-defined list of customer accounts with a subtotal and grouping by customer account.
> A sample report is included, as a starting point, a simple table control was added:
> On the report table, add a parent group:
> For this demonstration, we will include a header and footer to display the group headings and to print a sub total for the group:
> The report table control should look like this:
> Copy the first column headings to the new row, and delete the first row:
> Click on advanced mode. This will allow us to print the groupings for each new page:
> Set the groupings to print on each new page. If the number of transactions prints across multiple pages, the group heading will always print.
> The left column can be deleted as it is not needed. The report should look like this now:
> Formatting is added to the report, to add a grouping footer total for the amount column:
> Running the report, we can see the groupings and totals:
> The sample data in the report is increased so the data in the first group prints across multiple pages:
> To force new grouping to print on a new page. Click on the AccountNumGroup and right click and select Group Properties. Set the Page Break option:
> Each new group will print on a new page:
> To control whether the groups print on a new page, a parameter was added to the report contract. Since Microsoft Dynamics AX 2012 SSRS reports do not allow expressions to be used to determine whether a page break occurs in a group, we must create 2 tables and hide the tables based on the new page parameter.
> To hide the Tablix, right click on the Tablix properties and set the hidden properties:
> Enter the following expression. This will be used to hide the table control if the ‘new page’ checkbox is not checked:
> Duplicate the table control, disable the page breaks for the AccountNum group, and enter the following as the expression for the Tablix visibility:
> The end result should look like this. The new page checkbox when running the report will control which Tablix to print:
Try it yourself. Run the report included in this blog with and without the new page checkbox:
Understand the benefits of Supply Chain Management Software for your organization by breaking down the key features and taking an in-depth look
Discover what these new Microsoft D365 updates are, how they differ from traditional service updates and what you need to do to
Learn the benefits of using AR automation in Dynamics 365 Finance and how it simplifies the accounts receivable process. Introduction In this
600 B Street, Suite 300, San Diego, CA 92101 | (619) 483-4180 | info@avantiico.com
Discover how Avantiico helps you improve business processes, provide customers with a seamless experience and transform the way you do business.