![]() The following example illustrates the code for the parmAccountNum method. Add a method named parmAccountNum in code editor. The name that follows the attribute is the parameter name that displays in Visual Studio when you bind a report data set to the RDP class. ![]() The following example illustrates the code to declare a data contract class.Ī data contract class has methods with the DataMemberAttribute attribute. For information about how to create an X++ class, see Declaration of Classes. You create the RDP and data contract classes in the MorphX code editor. Report Data Provider Class – processes business logic based on a query and parameters defined in the data contract class, and then returns the tables as a dataset for the report.Ī data contract is an X++ class that has getters, setters and the DataContractAttribute attribute.Data Contract Class – defines the parameters in the report.The following two classes are required to be able to set Report Data Provider as your data source type on a report with parameters. The parameters that an RDP class will reference are defined in a data contract class. ![]() It is used when generating the report data set. The data to be processed and displayed is from Microsoft Dynamics AX.įor more information, see Guidance for Choosing the Data Source Type.Ī report parameter provides a way to choose report data, connect related reports together, and vary the report presentation.You cannot query directly for the data you want to render on a report.An RDP class is an appropriate data source type when the following conditions are met: A report data provider (RDP) class is an X++ class that is used to access and process data for a report.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |