Hello,
I have already read a lot in this forum, but now it is time to post my first question.
I created a custom report design for the customer invoice, following thes instructions:
Number 7 explains how to extend the controller class.
I added following line in my controller:
formLetterController.parmReportName(ssrsReportStr(CustomSalesInvoice, Report));
The standard looks like this:
formLetterController.parmReportName(PrintMgmtDocType::construct(PrintMgmtDocumentType::SalesOrderInvoice).getDefaultReportFormat());
The first example uses always my custom design, doesn't matter what settings are made in the print management, which does make sense because I extended the menu item calling my extended controller class.
The second example uses always the value returned by the delegate (this.getDefaultReportFormatDelegate(docType, result)), which is also always the same design.
I get the design of the last delegate subscriber.
What I am missing is the context to the print management settings. Either way the settings in the print management are not working.
Thanks
Did you subscribe to delegate getDefaultReportFormatDelegate ? Which design do you want to execute ?