
I found following error, while running custom report.
Following message shown message.
Report run from controller class. I found “controller.parmArgs(_args);” was missing. That reason report threw this error.
Complete code will be similar.
contract.parmRecordId(invoiceJour.RecId);
controller.parmArgs(_args);
controller.parmReportName(ssrsReportStr(DSSCompletionCertificate, Design));
controller.parmShowDialog(false);
controller.parmReportContract().parmRdpContract(contract);
controller.startOperation();