cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Birdjo Member
Member

Dynamics 365 for Operations - Odata return all legal entites

Hello,

When I get data from OData feed I am able to access data only for the legal entity which is selected as default starting company.

When I change the legal from user options in Dynamics 365 for Operations the data that the OData feed return changes according to the selected default entity.

 

Do you know how to query OData to return all legal entities or some another ways to fix that?

 

I would like to be able to get all entities.

1 ACCEPTED SOLUTION

Accepted Solutions
Birdjo Member
Member

Re: Dynamics 365 for Operations - Odata return all legal entites

The problem was solved by adding a company column to the data entity through Visual Studio.

4 REPLIES 4
Moderator v-qiuyu-msft
Moderator

Re: Dynamics 365 for Operations - Odata return all legal entites

Hi @Birdjo,

 

Based on my research, you can append the ?cross-company=true parameter at the end of the OData URL. See: How do I specific a non-default legal entity in an OData request?.

 

As this issue is more related to the Dynamics 365 for Operations side, I see you already post a thread in Dynamics forum, you can get better answer from Dynamics 365 for Operations experts.

 

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Birdjo Member
Member

Re: Dynamics 365 for Operations - Odata return all legal entites

The problem was solved by adding a company column to the data entity through Visual Studio.

_Alan_ Visitor
Visitor

Re: Dynamics 365 for Operations - Odata return all legal entites

Adding "?cross-company=true" used to work.  However, with the new [Implementation="2.0"] it no longer does.  I have not yet been able to find a way to pull all or multiple legal entities when using [Implementation="2.0"].  Which is a shame as it otherwise would help speed up queries.

Using D365FO 7.1 (about to roll up to 7.3)

djiwu Frequent Visitor
Frequent Visitor

Re: Dynamics 365 for Operations - Odata return all legal entites

Hi, anyone know how to pull all or multiple legal entities in D365FO when using PowerBI desktop?

For example pull all Sales lines data from multiple legal entities.

Helpful resources

Announcements
Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 311 members 3,448 guests
Please welcome our newest community members: