How to delete a Leave Scheme?

How to delete a Leave Scheme?

Symptoms:

How to delete a Leave scheme?


Possible Cause(s):

The system does not allow the deletion of leave scheme if it is in use. The leave scheme is in use if :

1. The selected Leave Scheme has been assigned with the leave group/type

2. It has been assigned to the employee.

3. Employee who is assigned to the leave scheme has already applied leave


Suggested workaround / solution(s)

For PC(1) : 
i.   Go to Leave -> Leave Management -> Leave Scheme
ii.  Click on the specified leave scheme
iii. From the Edit Leave Scheme screen, delete the leave group code from the list, ie, check it and click on 'Delete' button)
iv. Click on “Submit” button
v.  Go back to Leave Scheme screen (previous screen), check on it and click on 'Delete' button

For PC(2) :
i.  Go to Leave -> Leave Management -> Leave Assignment
ii. To find out which employee has been assigned with this leave scheme, click “here” to view and click on the Employee name
iii. Go to Assign Leave Scheme tab, and then click on “remove” button
iv. Next, follow the steps as per PC(1) above

For PC(3) :
i. Go to Leave -> Employee Leave -> Transaction
ii. Check whether any employee has applied leave with the leave scheme that is to be deleted. If yes, the leave scheme cannot be deleted as this will impact historical leave records