O'Reilly logo

Microsoft Dynamics AX 2012 R3 Reporting Cookbook by Deepak Agarwal, Chhavi Aggarwal, Kamalakannan Elangovan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a lookup on a report dialog using the UI Builder class

The UI builder class is used to customize the layout of the report dialog through which the report is run. In the report dialog, we can add a lookup using this class. In the previous recipe, we created a dialog using the UI builder class. In the same recipe, we will add another field to create a lookup in the dialog.

Getting Ready

The prerequisites for creating this recipe are Microsoft Dynamics AX R3, reporting extensions must be installed, and the contract class.

How to do it...

  1. The first step is to create a new parm method for a new parameter in the contract class made in the previous recipe. Add the method, named parmECCNumber, to the contract class as follows:
    [ DataMemberAttribute('ECCNumber'), ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required