Dear All,
I try to open ssrs report through job.please check the below code.
static void Job70(Args _args)
{
SrsReportRun srsReportRun;
srsReportRun = new SrsReportRun('SalesPerformaREport.REport');
srsReportRun.init();
srsReportRun.reportCaption("Test");
srsReportRun.showDialog(true);
srsReportRun.reportParameter("RecordId").value(5637168625);
}
when i excute this job i got one error
SRSReportParameter object not initialized.
Stack trace
(C)\Jobs\Job70 - line 13
please help me this