Personalized Community is here!
Quickly customize your community to find the content you seek.
Check out the latest Sales updates!Learn about the key capabilities and features of Dynamics 365 Sales and experience some of the new features.
Download overview guide | Watch Sales video
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
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.
Check this - docs.microsoft.com/.../create-entity-web-api
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)
Business Applications communities