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

Get PrintManagement Report Format

(0) ShareShare
ReportReport
Posted on by 112

Hello everyone,

could anyone help me to get the selected Report Format from Print Management form (AR>Common>SalesOrder > All Sales Order > General Tab > Print management form).

As per my requirement, i need selected report format from this above defined form.

i know that we have print Management form at AR > Setup > Forms > Forms setup > Print Management. i am not sure about Print Management functionality but on both the forms(different places) i can select different values. as per my requirement i need value from this path (AR>Common>SalesOrder > All Sales Order > General Tab > Print management form).

i was using below code :

#code 1 : PrintMgmtDocType::construct(PrintMgmtDocumentType::SalesOrderInvoice).getDefaultReportFormat();

#code 2 : 

Both codes are giving me value from this Form( AR > Setup > Forms > Forms setup > Print Management). i need value from this form( (AR>Common>SalesOrder > All Sales Order > General Tab > Print management form).

Although i am very surprise as in backend we have same form(PrintMgmtSetupUIMain). But, i can select different values on both forms.

  • Verified answer
    Mohit Rampal Profile Picture
    12,556 Moderator on at
    RE: Get PrintManagement Report Format

    D365_FO_Technical_Te That's great, Please Verify the answer.

  • Suggested answer
    D365_FO_Technical_Te Profile Picture
    112 on at
    RE: Get PrintManagement Report Format

    Thanks Mohit , it worked for me.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,556 Moderator on at
    RE: Get PrintManagement Report Format

    Hi, I don't have Ax 2012 environment to check but you can try using below code to find Print Management Setup on a Sales order

     printMgtDocInstance = PrintMgmtDocInstance::find(salesTable.RecId, salesTable.TableId, PrintMgmtNodeType::SalesTable, PrintMgmtDocumentType::SalesOrderInvoice, 1);

    community.dynamics.com/.../create-print-management-settings-in-x

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,961 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,801 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans