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

Notifications

Announcements

No record found.

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,039 Super User 2025 Season 2 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,039 Super User 2025 Season 2 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,039 Super User 2025 Season 2 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans