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