How to run Our Design in SalesPackingSlip Standard SSRS report?
How to run Our Design in SalesPackingSlip Standard SSRS report?
To run our Design in a standard SSRS Report(SalesPackingSlip), do this in the controller class.//Class Declaration Part in the controller class
MenuItemName reportChina;
#define.chineseReport('SalesPackingSlipOriginal')
#define.reportDesign('SalesPackingSlip.ReportNew')
//outputReport Method in controller
To run the report
protected void outputReport(){
if (this.parmReportChina() == #chineseReport)
{
this.parmReportName(#reportDesign);
this.parmReportContract().parmReportName(#reportDesign);
formLetterReport.parmReportRun().settingDetail().parmReportFormatName(#reportDesign);
}
super();
}
//parmReportChina Method in controller
To set and get MenuItem name (New Report Design)
public MenuItemName parmReportChina(MenuItemName _reportChina = reportChina)
{
reportChina = _reportChina;
return reportChina;
}
To pass report name to contract (New Report Design)
//In the Main Method in the controllercontroller.parmReportChina(_args.menuItemName());
Comments
Post a Comment