Notifications
Announcements
No record found.
Hi guys,
I have one big object query that I use in a view which works fine. However, the client requested to see all these information on all legal entities. I enabled the allow cross company on the query, but it seems it doesn't work I can see the records only on the main legal entity.I also, created a simple query with only one data source enabled the property Allow Cross Company, assigned this query to a view, and it didn't work either.Am I missing something or it doesn't work?
Thanks,
Hi,
In the view also for the metadata, you have the property called allow crosscompany. Make that also yes. Then try opening that view from table browser. Make sure all the ds in the query/view should have allow crosscompany to yes/true.
If these doesn't work, then you can write in the query init method like, this.query.allowcrosscompany(true);
Bharani Preetham
Hi bois,
How you are checking that cross company data is not showing?
Because i think if you open the view in table browser with cross company query it will not show cross company data.
Also you need to add the cross company keyword in code to get cross company data.
Refer to the below documentation.
https://learn.microsoft.com/en-us/dynamicsax-2012/developer/cross-company-queries-for-views
Thanks
Girish S.
Thanks, I was opening the view in the table browser. It is working now.
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.
Martin Dráb 592 Most Valuable Professional
André Arnaud de Cal... 478 Super User 2025 Season 2
BillurSamdancioglu 305 Most Valuable Professional