
Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update
By :

A contract class is used to define one or more parameters that are used in an SSRS report. It consists of parm
methods with DataMemberAttribute
, which is defined at the beginning of the parm
method. If users want to customize the parameters in the report dialog, then they will require the UI builder class and will need to connect the UI builder class with the contract class. The SysOperationContractProcessingAttribute
class is used to link the UI builder class with the contract class in an SSRS report in Microsoft Dynamics AX R3.
In this recipe, we will link the contract class with the UI builder class. This can be done by using the BindInfo
method of the UI builder class, which binds the dialog controls bounded to a report contract.
Create a contract class to link with the UI builder class as follows:
[ SysOperationContractProcessingAttribute (classStr(PKTRDLCustInvoiceUIBuilder)) ] public class PKTRDLCustInvoiceContract...
Change the font size
Change margin width
Change background colour