web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
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 287

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

  • abdultp Profile Picture
    867 on at

    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.

  • Henry G Smith Profile Picture
    287 on at

    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 366

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 360 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans