Skip to main content

Notifications

Announcements

No record found.

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

Leave and absence type cannot be deleted while dependent Leave and absence request detail exist. Delete dependent Leave and absence request detail and try again.

(1) ShareShare
ReportReport
Posted on by 281

Hi, 

I want to delete a leave type that I created. When I try to delete the leave I get this "Leave and absence type cannot be deleted while dependent Leave and absence request detail exist. Delete dependent Leave and absence request detail and try again."

Originally I went into power app and delated the record. and that didnt work. I then went into the leave request details excel page and went to delete the record but this error comes up:

Delete failed for table row of type 'EssLeaveRequestAssignedDetailEntity'. Infolog: Warning: Time off request detail cannot be deleted as the request is in Denied state.; Warning: The entity record could not be deleted because validation failed for the following data source: LeaveRequestDetail (LeaveRequestDetail).'

What do I do from here?

Thanks,

HS

  • Henry G Smith Profile Picture
    Henry G Smith 281 on at
    RE: Leave and absence type cannot be deleted while dependent Leave and absence request detail exist. Delete dependent Leave and absence request detail and try again.

    Hi Adbul,

    I just tried to cancel the workflow and I get a response that says "workflowtable context table ID reference. 13 is not valid.

  • abdultp Profile Picture
    abdultp 867 on at
    RE: Leave and absence type cannot be deleted while dependent Leave and absence request detail exist. Delete dependent Leave and absence request detail and try again.

    Hi,

    Did you submit the request to workflow as it says 'the request is in denied state'? If yes, then cancel the workflow and try to delete the request again.

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans