Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Business event payload
Finance forum
Unanswered

Business event payload

Posted on by 218
Hi,

I know that the business events payload should be light. So if i have this scenario:

if i select some line records, i need to send the data via business event

So can i send salesLine RecIds via business event? then the middleware can call a custom service to get information about those lines?

but what if the selected lines are big, i mean more than 100, would that make the business event payload not light and affect performance?

i know i can add a field to select records, where i can only send salesId to the BE, and in custom service i can return info about records that have this flag as true. But i want an answer to my question above
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 287,773 Super User on at
    Business event payload
    Hi,
     
    Consider having 100 record IDs being comparable with 100 fields. The payload is a JSON file that will send all 64-bit integer record IDs as a string. This is blowing up the payload. What is the source for knowing which Record IDs to pass? More functional, what is the business process about where some or all order lines need to be sent to another app? How do you determine which lines need to be passed? Is this a custom flag or maybe related to e.g. a delivery, change in confirmed delivery date or something else?
     
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans