Validation for L1 and L2 Absence Withdrawal After Payroll Lock Date not working as expected
Summary:
We need to implement and validate a system rule for absence withdrawal by L1 and L2 roles, specifically in cases where they attempt to withdraw an employee's leave after the payroll lock date. The system should enforce the following behavior:
- Before Payroll Lock Date:
- L1 and L2 should have the ability to withdraw an employee’s leave without restrictions for the relevant payroll period.
- After Payroll Lock Date:
- L1 and L2 should be restricted from withdrawing an employee’s leave once the payroll lock date has passed for the relevant month.
Currently, the withdrawal functionality for L1 and L2 is not working as expected, as the system does not properly validate withdrawal actions against the payroll lock date. This leads to inconsistencies in attendance and payroll data, especially when adjustments are made after the payroll is processed.
Tagged:
0