Leave Policy Assignment
Introduced in Version 13
Leave Policy Assignment in ERPNext is used to assign leaves to employees based on created policies. To access Leave policy assignment, go to:
Home > Human Resources > Leaves > Leave Policy Assignment
Before creating a Leave Policy Assignment, it is advisable to create the following:
Go to Leave Policy Assignment, click on New.
Select Employee and Leave Policy.
Select Assignment based on the following as needed:
If "Assignment based on" is set to Leave Period, you need to select the applicable Leave Period. The Effective From and Effective To dates will be set automatically based on the Leave Period selected.
If "Assignment based on" is set to Joining Date, the Effective From date will be set to the employee's Date of Joining.
If "Assignment based on" is left blank, then you will have to set the Effective From and Effective To date manually.
Save and Submit.
Once the information is saved, the Leave Policy Assignment will also be used as a tool to help you grant leaves to employees. The Grant Leave button will appear at the right top corner.
On clicking the "Grant Leave" button, Leave Allocation will be automatically created based on the Leave Policy as shown below.
Note: The Grant Leave button will appear only if there are no leaves granted or there is no allocation against a current Leave Policy Assignment.
To enable automatic allocation of leaves based on the Leave Policy Assignment, enable Automatic Allocate Leaves Based On Leave Policy checkbox in HR Settings. The scheduler then runs a background job and checks the Effective From date in the Leave Policy Assignment to create leave allocations automatically.
Note: Leaves will be automatically granted only if, there are no leaves granted against that Leave Policy Assignment till Effective From date.
ERPNext also allows creating multiple Leave Policy Assignment for multiple employees.
Go to Leave Policy Assignment list, click on Bulk Leave Policy Assignment.
Dialog Will appear, Select Employee. You can filter Employee based on Company and Department or You can also use standard filters by clicking Add Filters.
Select Leave Policy and Effective From and Effective To dates.
Click on Assign.
Leaves can be granted based on multiple Leave Policy Assignments to multiple employees.
Go to Leave Policy Assignment list, click on Grant Leaves.
A dialog will be shown. Select the Leave Policy Assignments. You can filter the assignments based on Company and Employee or you can also use standard filters by clicking on the Add Filters button.
Select the Leave Policy Assignments.
Click on Grant Leaves.
Last updated