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

Email notification using business event

(0) ShareShare
ReportReport
Posted on by

Hi experts

Good morning and good evening,

I am working on Email activity using business event.

Just wanted to check how I could send Email using business event on every purchase order post.

We have data into below structure:

Can you please suggest how I could fulfillment my requirement ?

Order#

Vendor Name

Address

      Item 1

      Qty

      Price

      Item 2

      Qty

      Price

      

      Item 3

      Qty

      Price

Thanks.

I have the same question (0)
  • qianwang Profile Picture
    7,168 on at

    Hi Priya_D365,

    You can configure the email correctly and then create a alert.

    2746.png

    Regards,

    QianQW

  • Community Member Profile Picture
    on at

    Hi QianQW,

    Thansk for your answer.

    But I want to send mail using business event.

    Can you please suggest.

  • Suggested answer
    Christoph Thaler Profile Picture
    5,442 on at

    Hi Priya_D365,

    the default business events in accounts payable do not support "Purchase order post" at the moment. Without any modification form Microsoft or your developer this is not possible. The way figured out by QianQW is available out of the box.

    pastedimage1586337382119v1.png

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    You can create a Power Automate flow that listens to the business event, and sends email.

    Here's how to hook into business event using Power Automate:

    docs.microsoft.com/.../how-to-flow

    How to send emails with Power Automate - just search the web and you will find a lot of information.

    Of course your business event payload should contain email address of the recipient.

    Is this sufficient info for you?

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Also, here's info about how to develop your own business events (since there is no out of the box business event for purchase order posting, as Christoph mentioned): docs.microsoft.com/.../business-events-dev-doc

  • Community Member Profile Picture
    on at

    Thanks a lot Nikolaos, Thats works for me.

    I am only worried about my data structure because with business event we can send only header information not body information.

    Into the below format:

    using business event we can get only Order#, vendorname, Address details but how we get (or build) data for item, Qty, price because body information is repeating.

    Please suggest.

    Order#

    Vendor Name

    Address

         Item 1

         Qty

         Price

         Item 2

         Qty

         Price

         Item 3

         Qty

         Price

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi Priya_365,

    There is OOB event PurchaseOrderConfirmedBusinessEvent available in D365. So it's better to use it instead of alerts.

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Business events can't contain header-lines information.

    Actually you should use business event only to send minimum required information from the system. Such as PO number. Then, you should fetch PO header and lines via normal data integration channels such as OData.

    docs.microsoft.com/.../home-page

    Business events must not be considered a mechanism for exporting data. By definition, business events are supposed to be lightweight and nimble. They aren't intended to carry large payloads to fulfill data export scenarios.

    https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/business-events/business-events-dev-doc

    If your intent is to transfer data to a recipient and, in effect, realize a data export scenario, you don't have a good use case for business events. In fact, the use of business events for data transfer scenarios is a misuse of the business events framework. Such scenarios must continue to use data export mechanisms that are already available in data management.

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