Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update

You're reading from   Microsoft Dynamics AX 2012 R3 Reporting Cookbook Update Over 90 recipes to help you resolve your new SSRS Reporting woes in Dynamics AX 2012 R3

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784395384
Length 352 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Understanding and Creating Simple SSRS Reports 2. Enhancing Your Report – Visualization and Interaction FREE CHAPTER 3. Report Programming Model 4. Report Programming Model – RDP 5. Integrating External Datasources 6. Beyond Tabular Reports 7. Upgrading and Analyzing Reports 8. Troubleshooting and Other Advanced Recipes 9. Developing Reports with Complex Databases 10. Unit Test Class and Best Practices Used for Reports Index

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'),
        SysOperationLabelAttribute(literalStr("ECC Number"))
    ]
    public TaxRegistrationNumber_IN parmEccNumber(TaxRegistrationNumber_IN _eccNumber = eccNumber)
    {
        eccNumber = _eccNumber;
        return eccNumber;
    }

    The SysOperationLabelAttribute...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image