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

Announcements

No record found.

News and Announcements icon
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 126

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.

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    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

  • Suggested answer
    D365_FO_Technical_Te Profile Picture
    126 on at

    Thanks Mohit , it worked for me.

  • Verified answer
    Mohit Rampal Profile Picture
    12,573 Moderator on at

    D365_FO_Technical_Te That's great, Please Verify the answer.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 616

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 460 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 331 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans