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, ...
Suggested Answer

Electronic Report printing destination

(0) ShareShare
ReportReport
Posted on by 5

Hi everyone,

We have some isssue with ER printing destination.
We developed our own version of Sales Packing Slip and we would like to print it through code to specific printer.

As we investigated during debugging F&O uses SRSPrintDestinationSettings to designate proper printer. But during printing developed ER Packing Slip, system always print to Excel and totally ignore printer name and printer settings set in SRSPrintDestinationSettings.

My question is how You deal with to use ER with various printer destinations.


Thank you in advance for all respons 

Best regards 
Kamil






I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    Can you share your ER configurations and the setups that you made?

    Many thanks,

    Ludwig

  • Kamil-Musialski Profile Picture
    5 on at

    Hi, 

    Thanks Ludwig for your response. Below i upload our ER file destination settings. 

    As i wrote above we would like to control which network printer will be used depends of user which triggered ER

    Forum1.JPG


    sales packing slip mapping was downloaded from Global Microsoft repository and we made some minor changes
    Below i uploaded piece of code which generate a packingslip proforma and pass network printer destination.
    In case of SSRS report its works fine

     5861.image-_2800_6_2900_.png

  • Kamil-Musialski Profile Picture
    5 on at

    Hi Ludwig Reinhard did You have time to look at it ?

  • Suggested answer
    Gaurangkumar Jani Profile Picture
    4,534 User Group Leader on at

    Hi Kamil-Musialski,

    You can use "Business Document Manager" to provide tag & function instead of adding custom code.

    This will allow you to select the report in Print management where you can define the printing.

    pastedimage1632825847057v1.png

    Let us know if this helps.

    Thanks,

  • Kamil-Musialski Profile Picture
    5 on at

    Hi,

    Thank You for the response.

    Please take a look at this docs 

    from this site: docs.microsoft.com/.../er-api-named-destinations

    pastedimage1633937900853v1.png

    And we tried this configuration and we checked the code. ER engine always look to the Electronic reporting destination regardless of Print Management config.

    pastedimage1633937995910v2.png

    For now we wait to download new PU 21 and we want to check record specific print destination from this topic:

    https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/analytics/er-apis-app10-0-21?toc=/dynamics365/commerce/toc.jso

    Best Regards
    Kamil 

  • Karen G Profile Picture
    55 on at

    I am trying to configure ER destinations as per this link:

    docs.microsoft.com/.../er-action-dependent-destinations

    I need to be able to select at run time if the document should be emailed or output to screen. I have successfully configured it to perform as per my ER destinations below and in this scenario it emails the purchase order and also prints to screen.

    pastedimage1663090762456v1.png

    This is great. However, when I enable the features listed on the above Microsoft article it stops emailing and printing to screen.

    Has anyone else experienced the same problem? Or am I missing something? I have raised this multiple times with Microsoft but had no satisfactory response from them.

    Any help would be greatly appreciated.

    Thanks.

  • Hetal Gore Profile Picture
    102 on at

    Hi Karen,

    I have created a similar ER destination, but only i seem to be able to get the email and on screen at run time, my colleagues just get a blank after the processing this procedure has finished.

    Did your work when others tried running the same action?

    Any help would be appreicated.

    Kind Regards,

    Hetal

  • Hetal Gore Profile Picture
    102 on at

    Hi All,

    I managed to figure this out: the report is in draft so the user needed to have there user parameter under electronic reporting set to:

    Use destinations for draft status = Yes:

    Organisation Admin > Electronic reporting workspace > Reporting configuration > select the format > click configurations > User Parameter > tick yes to Use destinations for draft status.

    Thanks

    Hetal

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans