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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Customize Purch Order Confirmation report

(0) ShareShare
ReportReport
Posted on by

Hi

I need to add some fields to PrurchPurchaseOrder report. The problem is that when i want to preview the report (Journals -> Purchase order confirmation i get the old one ), on "Use print management" preview it display the right design but when i choose "Original" or "Copy" it displayed the old design.

If I generate confirmation or pro forma confirmation i get my new design.

I have the same question (0)
  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi

    Have you already checked the print management set up for "Purchase order" document? Maybe there is an old setup exists

    BR, Sergey

  • Suggested answer
    SouravDam Profile Picture
    11,730 on at

    Hi Gabi1611,

    May be the report which you designed, is not correctly linked with the menu which you are expecting to display!

    Kindly re-check and confirm.

    Best regards,
    Sourav Dam

    Kindly mark this thread 'Yes' if this is answered your query which may help other community members in this forum.

  • Verified answer
    Mea_ Profile Picture
    60,284 on at

    You need to subscribe to getDefaultReportFormatDelegate to change  "Copy" or "Original" it is explained in the documentation docs.microsoft.com/.../custom-designs-business-docs

  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,430 Super User 2025 Season 2 on at

    Hello Gabi1611,

    Add the following piece of code under the PrintMgmtDocType_Extension class.

    [ExtensionOf(classStr(PrintMgmtDocType)]
    final public class PrintMgmtDocType_Extension
    {
    /// <summary>
    /// Extension class to print custom purchase order confirmation report
    /// </summary>
    /// <param name="_docType"></param>
    /// <param name="_result"></param>
    [SubscribesTo(classStr(PrintMgmtDocType), delegateStr(PrintMgmtDocType, getDefaultReportFormatDelegate))]
    public static void PrintMgmtDocType_getDefaultReportFormatDelegate(PrintMgmtDocumentType _docType, EventHandlerResult _result)
    {

    //Purchase Order Confirmation validate
    if(PrintMgmtDocumentType::PurchaseOrderRequisition = _docType)
    {
    _result.result(ssrsReportStr(<yourcustomReportName>,Report));
    }

    }

    }

    Build the project and then go and add your custom report under Form setup -> Print management settings, under the Accounts payable section. 

    Hope this helps.

    Thanks,
    Navneeth Nagrajan | Dynamics 365 Technical Consultant

  • Verified answer
    Rahul Mohta Profile Picture
    21,032 on at

    As shared by others, once the necessary handlers are in placed and deployed, could then update print management settings at module or document level to use the new report design

    sharing link again docs.microsoft.com/.../custom-designs-business-docs

  • Community Member Profile Picture
    on at

    I managed to solve the problem by resuming each step from the link you suggested and it worked.

    Thank you for help.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 499 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans