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

Community site session details

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

How to find inActive workers in d365 fo x++

(1) ShareShare
ReportReport
Posted on by 241
Hi All,

   In d365 fo is there any flag to find the in Active workers or is there any way to find In Active workers .
Categories:
I have the same question (0)
  • Suggested answer
    Bunny_27 Profile Picture
    63 on at
    How to find inActive workers in d365 fo x++
     
    you can find that using HcmWorkerLookup::currentWorker()
  • Suggested answer
    Martin Dráb Profile Picture
    236,258 Most Valuable Professional on at
    How to find inActive workers in d365 fo x++
    HcmEmployment table is date-effective, which means that it has ValidFrom and ValidTo fields defining when the employment is/was/will be valid.
    F&O has special logic for dealing with date-effective tables, e.g. filters for active records are automatically applied in forms and queries and there are special mechanisms for requesting different time ranges. For example, you can use validTimeState keyword in select statements. You can find more details in Using date effective data patterns white paper.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,257

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 611 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans