Skip to main content

Leave Planner

Leave Planner is used to restrict the no. of employees applying for leaves basis the employee master fields.
Ex: If the company allows only 40% leaves in one particular department based on their designation, leave planner can be defined accordingly. System will not allow to approve the leave if more then the defined leaves are applied by the employees.
1. Customize the screen with required master fields to define the planner as shown below.

Path: Leaves>>Leave Planner
image

2. Once the screen is customized, enter the template name and add the master fields accordingly.

In the above example, leave planner is defined as follows

For Admin department, Office Assistant designation based employees can apply leave for 20%. From 10 employees with same designation and department, not more then 2 employees can go for leave. Similarly for Senior Manager designation with same department can go on leave upto 3 employees from total 10 employees.

Exception case:
By default the leave planner will be applicable to the employees but in case for any particular period, there might be specific requirement to still restrict the leaves. This exception case will be useful to define the scenario.
1. create the new template by selecting exception radio button under template type and save.
2. Now edit the existing template and select exception button on the right top corner
image
On selection of this button exception screen will be opened. User to select the date range for this exceptional case along with template selection.

image

Once this is saved, automatically this exceptional leave planner will be applicable within the defined period.

Comments

Popular posts from this blog

TDS details in Payslip

TDS variables are added in the payslip to display the tax details for employees. These variables will give a clear idea to the employee of what is the taxable income, total tax per year to be deducted, tax deducted till date and the balance tax which he needs to pay. Follow the steps below. 1. Create the payroll components as mentioned below under Deductions. TDS_TotalTaxableIncome TDS_TotalTax TDS_PrevEmployerTDS TDS_TaxDeductedYTD TDS_BalanceTax 2. Go to deduction preferences, and add the TDS variable exactly with the same name under formula. Below is the screen shot for reference. 3. The values of TDS variables will be displayed in the payroll preview screen. The same will be displayed in the payslip, once these variables are mapped to the payslip. Note: 1. Priority Order: TDS variables should be placed after TDS component. Sample Payslip with TDS variable:

Advance Leave Encashment

This option is for leave encashment for advance leaves. There are two scenarios here: 1. If payment type is selected as continuous in leave encashment screen, then the leave encashment salary will be credited through the payroll. 2. If payment type is selected as advance in leave encashment screen, then the leave encashment salary will not be credited through payroll but in the print layout, encash amount can be viewed. Settings>>Customization>>Leaves>>Leave Encashment>>Print layout Note: Employee Account and Salary Account should be mapped in the Employee master Follow the below steps for FA posting: 1. Create two account master fields in leave encashment screen as shown in the below screen. In the above two screens, two accounts are created. One is Company account in the first screen and Emp account in the second screen. Employee account is created to credit the encash amount and add these two fields in page layout of leave encashment. 2. Run below stored pro...

Using Stored Procedure in the Earning/Deduction Formulas

Naming Convention : Stored Procedure Name : pPay_GetData1 Variable to use above stored procedure : fPay1 Advantages: we can assign multiple earning/deduction values using single stored procedure Eg : CREATE PROCEDURE pPay_GetData1 (      @xmlIn AS XML = NULL      ,@xmlOut AS XML = NULL OUT      ,@Result AS DECIMAL(18, 4) OUT      ) AS BEGIN      SET NOCOUNT ON;      SET @xmlOut = @xmlIn     DECLARE @EmpId AS VARCHAR(max),@PayrollRefType AS VARCHAR(100)      declare @ToDate as int=0     declare @BonusFromDate as int=0,@BonusToDate as int=0     --Retriving Employee Id      SELECT @EmpId = v.value('iEmpId[1]', 'varchar(max)')      FROM @xmlIn.nodes('/PayrollData') x(v)     --Retriving Payroll Date      SELECT @ToDate = v.value('...