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, ...
Unanswered

Delete/Hide a Employee record assigned with a position.

(0) ShareShare
ReportReport
Posted on by 30

Hi, 

I have created a new record for Employee and assigned it an existing position. 

I am unable to delete the record now, I also tried terminating the employment and am getting this error message-

"Worker cannot be deleted while dependent Position worker assignments exist. Delete dependent Position worker assignments and try again."

pastedimage1592975116005v1.png

I do not wish to see this record. It was creating for testing purpose.

Kindly suggest.

Thank You in advance.

I have the same question (0)
  • Shrusti Talati Profile Picture
    30 on at
    RE: Delete/Hide a Employee record assigned with a position.

    Also, I cannot delete the position itself as it is being currently in use.

    and other employees have been assigned that position too.

  • qianwang Profile Picture
    7,168 on at
    RE: Delete/Hide a Employee record assigned with a position.

    Hi Shrusti,

    Please delete the related record from the table "HcmPositionWorkerAssignment".

    Then you can delete this past worker.

    Regards,

    QianQW

  • Shrusti Talati Profile Picture
    30 on at
    RE: Delete/Hide a Employee record assigned with a position.

    Hi, Thank you for your reply.

    But I cannot find anything in Position Worker Assignment

    pastedimage1592987428738v1.png

    Please suggest.

  • qianwang Profile Picture
    7,168 on at
    RE: Delete/Hide a Employee record assigned with a position.

    Hi Shrusti Talati,

    Open "as of date", and select "display all records", you can see the previous position assignment.

    There is no way to delete it from here, you need to delete the record from the database.

    Regards,

    QianQW

  • André Arnaud de Calavon Profile Picture
    299,361 Super User 2025 Season 2 on at
    RE: Delete/Hide a Employee record assigned with a position.

    Hi Shrusti,

    If this is in a production environment, keep in mind that testing should not be done in production. You can try the options provided by QianQW. Otherwise, it will be hidden anyway from the current workers form. The worker will be only visible on the past workers form when you perform the daily tasks.

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,047

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 592 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans