RE: How to Delete Completed Time Off Request
Hello Baqar,
You can delete approved leave request by using Leave entities and following a three step process:
1. Delete the corresponding leave request line in LeaveBankTransaction entity. This will delete the Approved time off line in UI (Personnel management -> Employees -> choose employee -> View time off -> Time off requests -> Approved time off)
2. Update status to cancelled of the corresponding leave request line in LeaveRequest entity. Publish that change.
3. Delete the corresponding line in LeaveRequest entity. This will delete the Cancelled (previously Completed) time off line from Time off requests tab in UI (Personnel management -> Employees -> choose employee -> View time off -> Time off request)
Kind regards,