
Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update
By :

One challenge that comes along with the new reporting model is debugging. Different approaches for debugging issues must be taken based on the context. This is a short recipe that will tell you the configurations to debug the report model and the possible methods where the debugging points would be appropriate to start.
To debug framework-related classes the AX debugger can be used:
Under developer options, make sure the Execute business operations in CIL flag is unchecked to enable you to debug the code in X++ debugger.
The following methods are ideal to place your debugger to examine the execution:
Controller: PrePromptModifyReport
, PreRunModifyReport
UI Builder: build
You must first open your debugger manually to use it. Then run your code.
This subsection is about refreshing the code when you make changes to the model or framework classes.
When changes are made to the query by adding ranges or fields, ensure...
Change the font size
Change margin width
Change background colour