Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

passing parameters in ssrs report

$
0
0

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

Viewing all articles
Browse latest Browse all 9880

Trending Articles