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 & Operations13 March 2024Azure security best practices
- Finance & Operations27 February 2024Azure blob – Tier architechture
- Finance & Operations12 February 2024New update on Regulatory configuration service (RCS) as globalization studio in D365FO.
- Finance & Operations5 February 2024InvalidProtocolResponse – Logic apps