Skip to main content

Notifications

Announcements

No record found.

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

How to find CDS/Dataverse Entity name against a HR Table ?

Posted on by 2,544

Hello Folks,

I created one custom field in table HcmPositionHierarchy. But not able to see in CDS. 

How to find CDS/Dataverse Entity name against HR Table ? 

Stuck badlypastedimage1609757499614v1.png

  • Piyush Adhikari Profile Picture
    Piyush Adhikari 2,544 on at
    RE: How to find CDS/Dataverse Entity name against a HR Table ?

    Thanks Parag btw

    I solved in alternate way I am using event of Job Positions entity and using parentpostion of that table

  • Suggested answer
    Parag Chapre Profile Picture
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: How to find CDS/Dataverse Entity name against a HR Table ?

    Hi Piyush,

    You can just check when the record is created in the entity cdm_positionworkerassignmentmap for that worker then you can trigger but It will not give which hierarchy. I posted the above solution to merge the query based on the above entities.

    There is no such entity exists for the Position hierarchy in CDS.

  • Verified answer
    Parag Chapre Profile Picture
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: How to find CDS/Dataverse Entity name against a HR Table ?

    Hi Piyush,

    Another option is to merge the queries inside CDS using cdm_jobposition, cdm_positionworkerassignmentmap, cdm_workers entity, and make your own hierarchy.

    Please check my blog post for this. paragchapre.com/.../

  • Piyush Adhikari Profile Picture
    Piyush Adhikari 2,544 on at
    RE: How to find CDS/Dataverse Entity name against a HR Table ?

    I have to populate values using MS Flow. and want to trigger during the creation of record in table HcmPositionHierarchy. How can i achieve it ?

  • Suggested answer
    Parag Chapre Profile Picture
    Parag Chapre 12,271 Most Valuable Professional on at
    RE: How to find CDS/Dataverse Entity name against a HR Table ?

    Hi Piyush,

    These are code HR entities and you cannot find them in CDS.

    Login to HR> Go to Data management workspace > Entities and search for HcmPositionHierarchyEntity under Target entity

    pastedimage1609758580771v1.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans