Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / How to add report Para...
Finance forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

How to add report Parameter in RDL report then make the report run by read the parameters ?

Posted on by
Hi,
 
When we have RDL report, how to add parameter in the UI (dialog) of the report ? 
Are we using contract class as well, like below :
 
[
    SrsReportNameAttribute('MY_TaxTrans.Report')
]
public class MY_TaxTransContract extends SrsReportRdlDataContract
{
    TransDate       fromDate, toDate;
    [DataMemberAttribute('FromDate'),
        SysOperationLabelAttribute(literalStr("FromDate"))
    ]
        public TransDate parmFromDate(TransDate _fromDate = fromDate)
    {
        fromDate = _fromDate;
        return fromDate;
    }
    [DataMemberAttribute('ToDate'),        
        SysOperationLabelAttribute(literalStr("ToDate"))
    ]
    public TransDate parmToDate(TransDate _toDate = toDate)
    {
        toDate = _toDate;
        return toDate;
    }
}
 
Or there is other way ? 
 
The one I created is Tax report, TaxTrans, so here I already did duplicate the report itu "MY_TaxTrans". Initially, it does not prompt Date when we run it, so I want to add it in the UI (noted that actually we can just input in the query (Record to include).
 
Thanks
 

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,095 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans