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

Get PrintManagement Report Format

(0) ShareShare
ReportReport
Posted on by 124

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,565 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
    124 on at

    Thanks Mohit , it worked for me.

  • Verified answer
    Mohit Rampal Profile Picture
    12,565 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

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 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans