web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Cross company data access using AOT table method

(0) ShareShare
ReportReport
Posted on by 45
Hi Team,

I've developed an SSRS report, and inside the DP class, I've wrote the query to fetch data from multiple companies which is working fine other than customer name.
 
To obtain the customer name, I've used the CustTable method as shown below. Nevertheless, I'm currently facing a problem where it solely retrieves the customer name within my present session (legal entity). I kindly request you to examine the information provided below and offer your valuable guidance. Your assistance is greatly appreciated.
 
 
1. Cross company query
2. Fetch customer name by using Table method.
 
3. Company list
4. The report output displays all details fetched from the cross company, except for the method output(from CustTable), which is currently unavailable.
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    239,862 Most Valuable Professional on at
    You indeed don't have a cross-company query for CustTable. Either wrap the call in changeCompany() block or use a crosscompany select statement (as for projTable) instead of calling find().

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 461 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 428

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans