Hi Community,
We have a scenario where an employee applied for 10 days of annual leave (e.g., 1st–10th of the month). The leave was approved, and the system marked attendance as “On Leave” for those dates. However, the employee returned 2 days early (e.g., on the 8th) and worked on the 9th and 10th.
What We Tried:
- Canceled the original leave application (10 days) → Attendance entries reverted.
- Created a new leave application for 8 days (1st–8th).
- Manually marked attendance as “Present” for the 9th and 10th.
Our Questions:
- Is canceling the original leave application the only way to adjust attendance?
- Can we edit approved leave applications instead of canceling them? (We’re on ERPNext v15.)
- How to ensure the employee’s leave balance auto-updates after adjustments?
- Are there automated tools/scripts to handle such cases?
Impact: Manual adjustments risk payroll errors, so we need a streamlined process.
Thank you for your insights!