Skip to main content
Dynamics 365 Community / Forums / Finance forum / ER Selects Wrong Recor...
Finance forum

ER Selects Wrong Record Depending on Print Method

editSubscribe (0) ShareShare
Posted on by
Hi, If I print a invoice from Invoice Journal>Document>Send>Copy, debug shows the correct CustInvoiceJour RecId and the correct InvoiceId.
If I print the same invoice from Invoice Journal>Document>View>Use Print Management (or Copy Preview), debug shows the correct CustInvoiceJour RecId and the wrong InvoiceId.
Print Management settings for Documents>Customer Invoice.
  • Hana Xue Profile Picture
    Hana Xue on at
    ER Selects Wrong Record Depending on Print Method
    Judging from the description, it seems that there are some problems with the print management settings. View options allow you to view and configure print management settings before actually generating or sending the document. The send option is used to generate and distribute the document immediately, and the system will automatically apply the predefined print management settings. I have set up the form in the system but cannot reproduce your problem.
    You can try to check the code or processing logic that triggers printing in Invoice Journal and Invoice Journal to see if there are any differences. Or you can also take a look at the relevant documentation on print management.
    Best Regards,

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Sundar…

Industry experts answer burning questions directly from our amazing Community…

Enabling Copilot Case and Conversation…

Agents can easily recap an ongoing chat, transcribe a voice conversation…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 282,978 Super User

Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans