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, ...
Unanswered

Extension of AOT Query

(0) ShareShare
ReportReport
Posted on by 5

Hello everyone
Is it possible to create an extension for AOT Query?
At the outset, I would like to point out that I am new to Dynamics 365, previously I had no problems with the code of AX 2012 and earlier versions.
In Dynamics 365 I have XDS and I would like to disable XDS for eg HcmWorkerListPage_PastWorkers, I don't know if it is possible, and if it is, how should I do it?

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    306,887 Super User 2026 Season 2 on at

    Hi Modrzycki,

    It looks like you have multiple questions. Please create a post per question in future.

    1) There are options for query extensions. You can add fields, ranges, datasources.

    2) Can you tell more about the XDS policy you are using on the HcmWorkerLstPage_PastWorkers? Are you using a default one or is it part of a customization? In fact an XDS policy is not for a specific form, but is constraining data for tables and views.

  • Modrzycki Profile Picture
    5 on at

    No! These aren't many questions, just one!

    I have XDS that runs on the HcmWorker table, limiting data access by employee position to the department where he was hired.

    We also have workers who have been made redundant, they don't have a department because they don't have a position. Or employees who have not been assigned a position.

    An example would be Query HcmWorkerListPage_PastWorkers, this query was built in AOT and is called from menuitem.

    In 2012, I would have walked it differently, but these is my first steps in Dynamics 365, so I have no idea what to do to make the user see such an old employee without an assigned department.

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 July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 345 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 304

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans