Notifications
Announcements
No record found.
Hello,
I am referring to this Documentation about batch requests. Can we create multiple records that are related to different entities in the same request?
For example: Create the Sales Order and Sale Order Products.
Thank You,
Eman
Hello Eman,
Check this - docs.microsoft.com/.../create-entity-web-api
Hi,
Thank yo for your query. If you mean to create Sales order and related products in one go, that will not work. Sales Order header must be created before order products. That means, your batch must have multiple change sets (one for the order header and one for lines).
In a batch we can have multiple change sets and read operations, your batch structure would look like this:
Here is a very nice post for your reference:
Execute Web API Batch Operations Without ExecuteMultiple – Implementing Tae of <T> (taerimhan.com)
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 108 Super User 2025 Season 2
Jimmy Passeti 50 Most Valuable Professional
Gerardo RenterÃa Ga... 49 Most Valuable Professional