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

Adding ranges from unbound parameters to a query


SSRS reports support using parameters that are not part of a dataset. This recipe will attempt to use the unbound parameters FromDate and ToDate added to the report to set the ranges in the report query. These parameters are added to the report and are not connected to any dataset. The values in these controls will be received and set in the report query.

How to do it...

  1. The first step is to create a contract and UI builder class and bind them together (assuming you have created the parameters as discussed in the first recipe Opening a report through a controller).

  2. Add a UIBuilder class that extends SRSReportDatacontractUIBuilder as follows:

    public class PktRdlItemTransListUIBuilder extends SrsReportDataContractUIBuilder
    {
    
    }
  3. Add a contract class that extends SRSReportRdlDataContract as shown in the following snippet:

    [
        SrsReportNameAttribute(ssrsReportStr(PktRdlItemTransList, ItemTransList)),
        SysOperationContractProcessingAttribute(classstr...

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