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

Positions cannot be deleted while dependent Position hierarchies exist. Delete dependent Position hierarchies and try again - position hierarchy issue

(0) ShareShare
ReportReport
Posted on by

I've seen this question while researching the issue myself, but could not find a solution to it.

I did however see that you can change the title of the position tile from open to retired by doing the following:

First, search for and open the position that you've retired.

pastedimage1580200450826v1.png

Then click on the Changes timeline button at the top of the ribbon, choosing to open the manage changes button:

pastedimage1580200496419v2.png

Select the tab Position hierarchies and remove/delete the record(s) here.

pastedimage1580200544316v3.png

Click on the Save button on the top left of the same window to ensure the removal has been submitted.

Then, even if you have retired the position with a retirement date, make sure that there is a record that holds that retirement date against the position record. To do this, click on the tab Position durations on the same window to see if there is a record. If there isn't add one, making sure that the activation and retirement date is in the past.

pastedimage1580200784858v4.png

This I found out on an answer from André who stated that the hierarchy works within valid date ranges. Reference:

https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/110661/position-issue/221159#221159

Heading back to the position hierarchy view, it will be NOT be removed from the view, but show the position as retired instead of open.

How can I remove the position completely from the hierarchy? Deleting the position is the only way I can see at the moment, but even then, I cannot do this...

Please help

I have the same question (0)
  • qianwang Profile Picture
    7,168 on at

    Hi Barry Francis EC,

    Could you elaborate your issue?

    The position hierarchy refers to the validity period of a position in the hierarchy.

    Position durations refer to the valid time durations assigned to workers.

    If you want to remove this position from the hierarchy, you can adjust the expiration date in the position hierarchy tab or position details tab.

    Regards,

    QianQW

  • Emmanuel_N_Z Profile Picture
    30 on at

    Hi QianQW,

    Apologies for the delay in the response. My issue is that positions remain in the hierarchy regardless of what route I take to remove them.

    I've removed all position details, positions worker assignments and position hierarchies.

    Manage-Changes-Updates.jpg

    I also updated the position duration to be in the past; this set the positions in the hierarchy to retired, not removing it from the hierarchy.

    Retired-Positions.jpg

    I've set them to the future and it sets them to open positions.

    If I try delete the position, even when it does not have a worker assigned, it throws out the following error.

    Delete-Positions.jpg

    Regards,

    Barry Francis

  • qianwang Profile Picture
    7,168 on at

    Hi Barry Francis,

    It seems you want to delete all positions?

    Normally, you can delete a position in hierarchy by deleting its ‘report to …’.

    Form your screenshot, is there active positions below these retired positions? If so, you cannot hide them in hierarchy.

    Regards,

    QianQW

  • Emmanuel_N_Z Profile Picture
    30 on at

    Hi QianQW,

    Correct, the positions in question do not have a "Report To" anymore:

    Reports-to-Positions.jpg

    How can I found out if a position is linked to this retired position? If I look in the hierarchy, there are no positions under any of the retired positions.

    Regards,

    Barry Francis

  • Suggested answer
    Agne Petkute Profile Picture
    on at

    Hello, 

    Please try downloading the PositionHierarchy entity and filtering on the position in question. Entity should show all the historical records that might have the dependent trace which provokes the warning message.

    Thank you for using Microsoft Dynamics 365 Communities!

    Agne Petkute

    Support Engineer for Dynamics 365 for Human Resources and Dynamics 365 for Finance 

  • Emmanuel_N_Z Profile Picture
    30 on at

    Hi Agne,

    Could you possibly provide the steps required to complete this? Will this provide me with the ability to delete these historical records?

  • Agne Petkute Profile Picture
    on at

    Hello Emmanuel,

    You can download the PositionHierarchy entity by navigating to System administration -> Links -> Office integration -> Excel workbook designer -> search for the entity -> Create workbook. Downloaded file will allow you to search for hierarchy records and modify them.

    If you have any further questions, please submit the support request as this might require investigation specifically for your business scenario.

    Kind regards,

  • Daniela Profile Picture
    14 on at

    Hello!

    I am facing the exact same issue. Have you managed to find a solution to hide the retired position from hierarchy?

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
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans