Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update
  • Toc
  • feedback
Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

By : Agarwal, Aggarwal, Elangovan
4.4 (7)
close
Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

4.4 (7)
By: Agarwal, Aggarwal, Elangovan

Overview of this book

Microsoft Dynamics AX 2012 R3 Reporting Cookbook is recommended for Dynamics AX developers and .NET-based SSRS developers looking to familiarize themselves with the new AX reporting framework.
Table of Contents (12 chapters)
close
11
Index

Connecting the UI builder class with a contract class


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.

Getting Ready

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.

How to do it...

Create a contract class to link with the UI builder class as follows:

[
   SysOperationContractProcessingAttribute
(classStr(PKTRDLCustInvoiceUIBuilder))
]
public class PKTRDLCustInvoiceContract...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete