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

How to send a document by email with additional attachments using Electronic reporting

(2) ShareShare
ReportReport
Posted on by 168

Hello community members,

I am actually struggling to find a way to send additional file attachments by email with my purchase order confirmation.

These documents are actually sitting on the header of my purchase order in the document management.

Can someone please guide me on how to achieve this.

Many thanks in advance.

I have the same question (0)
  • Suggested answer
    A.Prasanna Profile Picture
    8,223 on at
  • Sidick Profile Picture
    168 on at

    Thanks Amith for your response, but unfortunately does not answer my question.

    The first solution is not an out of the box solution but Docentric related, and the second one is all about SSRS and not Electronic reporting.

    My best regards

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at
  • Sidick Profile Picture
    168 on at

    Hi Ergun,

    I did try this one also. For sure it does export the attachments in a zip file. But you can only run it from the Electronic reporting menu and not from the purchase or sales order. I've tried to include this piece of functionality in a standard purchase order report so that it sends the order confirmation together with all the attachments, and did not worked.

    Thanks for pointing this DOC link.

    Best regards

  • ergun sahin Profile Picture
    8,826 Moderator on at

    Sorry I don't know if its si possible(I don't think). Maybe you can try embed as image or xml

  • ToddB Profile Picture
    on at

    Hi Sidick,

    If there was not a way to do this out of the box, please submit this via the Ideas portal and post a link here for others to vote:

    Ideas (dynamics.com)

  • Suggested answer
    Sumit Loya Profile Picture
    2,230 on at

    Hi Sidick,

    There is a class SRSPrintDestinationSettingsDelegates, you can try to subscribe to toEmail delegate. Here you have main report bytes, report contract an object or SrsReportRunPrinter and param array.

    You can get email contract from Report Data Contract class. check report name and then put your additional attachments and write your own logic to send email similar to toEmail method in SrsReportRunPrinter class.

    Give that a try.

  • CU22051540-0 Profile Picture
    2 on at
    Hi Sidick,
     
    Were you able to achieve this ? I have a similar ask.
  • Adis Profile Picture
    6,062 Super User 2025 Season 2 on at
     
    There is a similar if not the same question discussed right now here:
     
     

    Kind regards, Adis

     

    If this helped, please mark it as "Verified" for others facing the same issue

    Keep in mind that it is possible to mark more than one answer as verified

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans