Skip to main content

Posts

Showing posts from August, 2015

Changing design at runtime for the ssrs reports.

Changing design at runtime for the ssrs reports. For print management reports. There are reports which are handled by print management while printing. Even if you create a new design and set it up by modifying "main()" method in controller class it will not reflect. For this scenario i am taking example of "PurchPurchaseOrder" report which is printed while confirming the PO. The scenario targets to achieve a functionality where we can call same report, different design called by different menu items. Here there are two designs one is  "kiGalvanizeReport" and other is "kiReport". To achieve this we need to modify "output()" method of controller class. Its better to write a new method with parameters and then call the method in the "output()" method. Below is the code for new method. private void kiPrintJobSettings(FormLetterReport  _formLetterReport,args _args) {     PrintMgmtPrintSettingDetail printSettingD