By default, OData retrieves the data from the default company where the user is mapped to in Users form.
In order to get the data from non-default companies, just add ‘cross-company = true’ after the URL and filter.
For example,
https://BaseURL/data/CustomersV3(dataAreaId='ABC',CustomerAccount="ABC12")?cross-company=true
I tried the same from Postman and got the expected…
Continue Reading AnithaEswaran’s Article on their blog
Access OData entities for non-default companies – D365 FO
By default, OData retrieves the data from the default company where the user is mapped to in Users form. In order to get the data from non-default companies, just add ‘cross-company = true’ after the URL and filter.
Blog Syndicated with AnithaEswaran’s Permission
More About This Author
Array
- Finance & Operations15 April 2024New pricing for Microsoft Dynamics 365 effective October 2024
- Finance & Operations7 April 2024Virtual entity in Data Management – 10.0.39
- Finance & Operations5 April 2024One Dynamics One Platform – D365FO – LCS – PowerPlatform
- Finance & Operations24 March 2024D365FO Service updates