Hello experts,
We have requirement to archive product receipt SSRS report whenever PO is received. We have few interfaces and periodic jobs which will create the product receipt from backend. If anyone has worked on similar requirement, please share details on automation.
I have started with following but I am not able to successfully pass the arguments hence getting blank report.
SrsReportRunController controller = new SrsReportRunController();
args args;
SRSPrintDestinationSettings printsettings;
args = new args();
args.record(vendpackingslipjour::findrecid(recId));
controller.parmreportname(ssrsreportstr(PurchPackingSlip, Report));
// get print settings from contract
printSettings = controller.parmReportContract().parmPrintSettings();
// set printer as the destination
printSettings.printMediumType(SRSPrintMediumType::Archive);
controller.parmShowDialog(false);
controller.parmArgs(args);
// start operation
controller.startOperation();
Best Regards,
Prashanth N N
*This post is locked for comments