Customizing Standard SSRS Reports with multiple Layout (per Company)

This question is answered

I have a standard report (Sales Invoice, Sales Packing Slip) that has multiple layout/design. the requirement is that, before generating of report, the user must first choose a report layout then generate the report. how will i be able to do this (especially proforma report). if the report is using the form letter controller. where will i put the code. thanks

Verified Answer
  • PrintMgmtDocType class  , getDefaultReportFormat method. For each document instace based on LE you can have different layout attached. Once you have done this call the controller to get the report format from this method than from formsetup.

  • Controller.parmReportName(PrintMgmtDocType::construct(PrintMgmtDocumentType::SalesOrderInvoice).getDefaultReportFormat());

    in the controller main or construct method

All Replies
  • PrintMgmtDocType class  , getDefaultReportFormat method. For each document instace based on LE you can have different layout attached. Once you have done this call the controller to get the report format from this method than from formsetup.

  • Thanks for the reply.

    RE: "Once you have done this call the controller to get the report format from this method than from formsetup."

    -how will i do this?

  • Controller.parmReportName(PrintMgmtDocType::construct(PrintMgmtDocumentType::SalesOrderInvoice).getDefaultReportFormat());

    in the controller main or construct method

  • iF this would suffice please mark the post as answered

  • Thanks for the answer. it helped a lot. I just added some conditioning for the execution.  :)