web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Report custom design
Finance forum

Report custom design

(0) ShareShare
ReportReport
Posted on by 37

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:

https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/analytics/custom-designs-business-docs

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

Categories:
I have the same question (0)
  • Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: Report custom design

    Did you subscribe to delegate getDefaultReportFormatDelegate ?  Which design do you want to execute ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans