New Report or new Design of Existing Report in Print Management


New Report or new Design of Existing Report  in Print Management 


The simple way to add a new report or new design of an existing report in Print management 


Step-1 Create a new class SLD_DemoSample


Step-2 Find class PrintMgmtDocType in Application Explore and open in the designer 



Step-3 find the delegate in PrintMgmtDocType class  Delegate name is  getDefaultReportFormatDelegate



Step-4 Subscribe to the event of above-highlighted event in the newly created class


Step-5 Now add your report design in the EventHandlerResult _result


  /// <summary>
    ///
    /// </summary>
    /// <param name="_docType"></param>
    /// <param name="_result"></param>
    [SubscribesTo(classStr(PrintMgmtDocType), delegateStr(PrintMgmtDocType, getDefaultReportFormatDelegate))]
    public static void PrintMgmtDocType_getDefaultReportFormatDelegate(PrintMgmtDocumentType _docType, EventHandlerResult _result)
    {
        if(PrintMgmtDocumentType::CustInterestNote==_docType)
        {
            _result.result(ssrsReportStr(SLD_BinCart,Report));

        }
      
    }


Step-6 Perform build and sync and verify on D365FO

Feel free to contact me if you are facing any issues during the implementation of this blog.








7 comments:

  1. HI,

    Like your guide. I have create new class for new design (COLLECTION LETTER report). But It's still shows Standard report.

    May I get your advice?

    ReplyDelete
  2. Thanks for the links, your links tells us how to call new Report/Design for existing Print management report like in example adding new design to documenttype "Purchase order".

    But how can i create this new documenttype itself for Particular module .

    To start i have created new enumValue in enum : PrintMgmtDocumentType.

    Now i need to check how to make this available in particular module, later link this document type to my SSRS report so that i can use Print Management in my SSRS report.

    Any suggestions?

    ReplyDelete
    Replies
    1. Hi,

      you can refer this link.
      https://robscode.onl/d365-how-to-add-a-custom-form-letter-report-type/

      Delete
  3. You can refer this link. The steps mentioned are for AX 2012 but the process can easily be replicated in D365F&O.
    Link: https://1824pranav.blogspot.com/2018/09/requirement-to-add-new-custom-ssrs.html

    ReplyDelete
  4. annual report design
    Insight uses a unique approach that builds your business through Branding, Annual Reports, Prospectuses, Sustainabilty Reports, Target & Bidder Statements.

    ReplyDelete
  5. There you can download for free, see the first of these data. Quality Management Services

    ReplyDelete

Virtual Fields Vs Computed Fields

  Virtual Field: A virtual field in D365FO is a field that doesn't have a direct representation in the database. It's a field that y...