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 :
Microsoft Dynamics AX (Archived)

Performance shared (virtual) tables

(0) ShareShare
ReportReport
Posted on by 35

I have a form with a grid on it. At first I used a cross company AOT query to retrieve data from 5 different datasources, joined to a root table.
This was not performing at al because of authorization matters and the quantity of the data.
My idea was to make the "root" table virtual and place this table in a form as datasource along with the non-virtual datasources I need.

In the executeQuery method of the shared (virtual) table i want to join the other datasources.

Is there a best practice approach for this, or is my thought wrong?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    dolee Profile Picture
    11,279 on at

    Hi Rudie,

    I believe you still need to use cross company query regardless whether the "root" table is shared or not. Unfortunately I don't have access to an AX2009 to verify at the spot.

    For the performance issue, you should check the generated SQL query and see if there's room for tuning. (e.g. suggested missing index by SQL engine)

  • Rudie Profile Picture
    35 on at

    Hi Domimic,

    Thanks for your quick repsonse. I have tried different scenario's and I think you are correct.

    At a certain point you have to switch companies to retrieve the data needed.

    I'll try to tune the SQL query.

    Kind regards,

    Rudie Heijnen

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans