Introduction
In the previous chapters, report basics and graphical representations have been discussed extensively. In this chapter, we will discuss the report programming model using Dynamics AX 2012 R3 in greater detail. This chapter will give you a deeper understanding of how the reporting framework is modeled for report execution, and how to use report models to develop a complex report. The execution of a report not only involves designing the model but also involves receiving inputs and presenting these to the user. The recipes discussed in this chapter will assist you in making better choices on how to use the reporting framework to present and get inputs for the reports. The two important contracts—Report Data Providers (RDP) and Report Definition Language (RDL)—have been compared in detail for clarity. The later sections have recipes that detail how C#-based business logic can be designed, debugged, and tested in the report model.