web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

creating vendor via odata

(2) ShareShare
ReportReport
Posted on by 1,845
Hi,

If i want to create two vendors in different legal entities via odata

is there a difference in performance IF i make two odata calls to create the two vendors OR if i create them in one call using /data/$batch?
Categories:
I have the same question (0)
  • Suggested answer
    Sohaib Cheema Profile Picture
    47,847 User Group Leader on at
    creating vendor via odata
    Hi @..
    Yes, combining multiple vendor creation requests into a single call($batch) can improve performance because everything is sent together instead of one at a time. But the actual difference depends on how much data you are working with.

    If you're creating a large number of vendors, like around a thousand, grouping them into one request is usually more efficient. It reduces the number of network calls and can speed things up. But if you're only creating a few vendors, maybe 5 or 10, you probably would not  notice much of a difference. In that case, sending individual requests might be simple and easier to debug.

    One thing to watch out for is error handling. If you're sending a big batch and something goes wrong in the middle, it can be hard to tell exactly where it failed and which records were processed. With individual calls, it's easier to track what worked and what didn’t.

    So overall, it's about finding a balance between performance and traceability. For smaller loads, individual calls are fine. For large ones, batching helps, but comes with more complexity if something breaks. In large batches, traceability can be improved by maintaining and tracking the index or ID of the last/previous successfully processed entry.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 789 User Group Leader

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 497 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans