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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Apply Current company range on AOT View

(3) ShareShare
ReportReport
Posted on by
Hi experts,
 
I am working on a requirment where I need to display setup of worker on form base on worker Employment date.
For that I have created a View and apply following filter:
 
The challenge for me - HCMEmployment table contains all legal entities records but I want the current legal entity records on
View/Form. To get the current company data I have applied the range on CompanyInfo table and relate CompanyInfo table with
HCMEmployment table.
 
But the applied range on CompanyInfo Table(Range: CurrentCompany()) not filter any data on form/view.
Could you please guide me how to apply current company range on Company Info data source?
 
FYI, I have tried curExt() and (SysQueryRangeUtil::currentCompany()) both way on CompanyInfo DS range but no filter applied on View.
 
I have the same question (0)
  • Suggested answer
    Waed Ayyad Profile Picture
    9,135 Super User 2026 Season 1 on at
    Hi,
     
    If you want to get the current legal entity workers, check the Query that is used on Homeworker form. You can't apply legal entity filter on view. I tried it before it and it did not work.
    Check this query HcmWorkerListPage_Employees   and check this question: Legal entity range in AOT View (dynamics.com)

     
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
  • Waed Ayyad Profile Picture
    9,135 Super User 2026 Season 1 on at
    Hi,

    Is your issue resolved?  If yes, mark the answers that helped you as verified.

    Thanks
    Waed Ayyad
  • Waed Ayyad Profile Picture
    9,135 Super User 2026 Season 1 on at
    Hi,

    Is your issue resolved?  If yes, mark the answers that helped you as verified.

    Thanks
    Waed Ayyad

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 664

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 550

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans