Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

HcmWorker Department Manager Id

(0) ShareShare
ReportReport
Posted on by 50

I want to Find Department Manager Id  and Manger Name RDP Query.

  • Verified answer
    WillWU Profile Picture
    WillWU 22,352 on at
    RE: HcmWorker Department Manager Id

    Hi Wasam,

    Please try the following SQL and Table relations:

    select top 1 name from DIRPARTYTABLE
    inner join HcmWorker ON HcmWorker.PERSON = DIRPARTYTABLE.RECID
    AND HcmWorker.RECID = 
    	(select top 1 worker from HCMPOSITIONWORKERASSIGNMENT  
    	INNER JOIN HCMPOSITION ON HCMPOSITIONWORKERASSIGNMENT.POSITION =  HCMPOSITION.RECID
    	AND HCMPOSITION.POSITIONID = 'manager' 
    	where GETDATE() between HCMPOSITIONWORKERASSIGNMENT.VALIDFROM AND HCMPOSITIONWORKERASSIGNMENT.VALIDTO);

  • Wasam Gohar Profile Picture
    Wasam Gohar 50 on at
    RE: HcmWorker Department Manager Id

    Manager Name

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans