HI team,
I not able to see List of RDP class in report dataset.
here is my below code
Contarct class -
[DataContractAttribute] class ARP_CustTrans_Contract { TransDate fromDate, toDate; [ DataMemberAttribute('Fromdate'), SysOperationLabelAttribute(literalStr("From date")), SysOperationControlVisibilityAttribute(true) ] public TransDate parmFromDate(TransDate _fromDate = fromDate) { fromDate = _fromDate; return fromDate; } [ DataMemberAttribute('Todate'), SysOperationLabelAttribute(literalStr("To date")), SysOperationControlVisibilityAttribute(true) ] public TransDate parmToDate(TransDate _toDate = toDate) { toDate = _toDate; return toDate; } }
Controller -
class ARP_CustTrans_Controller extends SrsReportRunController { public static ARP_CustTrans_Controller construct() { return new ARP_CustTrans_Controller(); } public static void main(Args _args) { ARP_CustTrans_Controller custTransController = ARP_CustTrans_Controller::construct(); custTransController.parmReportName(ssrsReportStr(ARP_CustTrans, Report)); custTransController.parmArgs(_args); custTransController.parmDialogCaption("Customer report"); custTransController.startOperation(); } }
DP -
[SRSReportParameterAttribute(classStr(ARP_CustTrans_Contract))] class ARP_CustTrans_DP extends SrsReportDataProviderPreProcessTempDB { ARP_TmpCustTrans tmpCustTrans; [SRSReportDataSetAttribute(tablestr(ARP_TmpCustTrans))] public ARP_TmpCustTrans getTmpCustTrans() { select * from tmpCustTrans; return tmpCustTrans; } public void processReport() { ARP_CustTrans_Contract contract; TransDate fromDate, toDate; CustTrans custTrans; contract = this.parmDataContract() as ARP_CustTrans_Contract; // Get sales agreement header record from the contract parameter fromDate = contract.parmFromDate(); toDate = contract.parmToDate(); while select custTrans where custTrans.TransDate >= fromDate && custTrans.TransDate <= toDate { if (custTrans) { tmpCustTrans.AccountNum = custTrans.AccountNum; tmpCustTrans.OrderAccount = custTrans.OrderAccount; tmpCustTrans.TransDate = custTrans.TransDate; tmpCustTrans.PaymTermId = custTrans.PaymTermId; tmpCustTrans.Txt = custTrans.Txt; tmpCustTrans.insert(); } } } }
Report design -
nothing happened.
I have already build & Sync my model. but still it's happening.
Kindly let me know how we can resolve this.
Pls give me more shed on this.
thanks!
Few things you can do.
1. Rebuild your project
2. Restart Visual studio and retry
3. restart the VM and retry
4. Build all model with cross reference
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156