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

Implementing validation in reports

Validations are important to ensure the integrity of the process. Here, in this recipe, let's see how we can implement validations for reports.

Getting ready

The sample discussed is extending the InventBatch report discussed in the Creating an advanced RDP report recipe in Chapter 4, Report Programming Model – RDP.

How to do it…

  1. To make a parameter mandatory, in the report model in Visual Studio, expand and open the parameter that you wish to make mandatory. In the Properties node, ensure that the AllowBlank property is False. Modify it to True if the parameter needs to be optional. This property by default is False, so any property is mandatory by default. Also, you can set Default Value if you want. This is particularly ...

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