O'Reilly logo

Microsoft Dynamics AX 2012 R3 Reporting Cookbook by Deepak Agarwal, Chhavi Aggarwal, Kamalakannan Elangovan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding data methods in business logic

While display methods in AX can be accessed through the table methods exposed in the Query window, there can be small computational needs in every report. If these small computations cannot be implemented by expressions, then they can be handled by data methods. These are based on C# and can be used to leverage the C# framework capabilities for small computations. This recipe will showcase adding a data method to the report where a text in a selected field is made upper case.

How to do it…

  1. Right-click on the Data Methods node of your report data model to add a new data method.
    How to do it…

    Adding a data method

  2. Rename the data ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required