Example: Create a Calculation for Periods to Exclude from Statutory Holiday Pay (UK)
This example illustrates how to create a calculation to identify periods to exclude.
You want to identify weeks where an employee has either partially paid or unpaid
sickness to exclude those weeks from the statutory holiday pay assessment. You want
to create a nested calculation to:
- Determine whether the sum is greater than zero, and return a value of 1 if it is.
- Sum the total time off of absence component related calculations for partially paid and unpaid time off.
Create 2 time offs for unpaid time off and partially unpaid time off, named
GBR Sickness 0%
Time Off,
and GBR Sickness 50% Time Off
.Security:
- Set Up: Payroll (Calculations - Generic)domains in the Core Payroll functional area.
- Set Up: Time Off (Calculations - Generic)domain in the Time Off and Leave functional area.
- Access theCreate Aggregate Calculationtask.
- Enter these values:
Option Description NameSUM of GBR Sickness Time Off 50% & 0% ACRCsCategoryPayrollAdd this row to theCalculationsection:FunctionOperandSumGBR Sickness 0% Time Off - Time Off TotalGBR Sickness 50% Time Off - Time Off Total - ClickOK.
- Access theCreate Value Comparison Calculationtask.
- Enter these values:
Option Description NameSum Sickness 50% + 0% > 0CategoryPayrollAdd this row to theCalculationsection:1st OperandOperator2nd OperandSUM of GBR Sickness Time Off 50% & 0% ACRCsgreater than0 - ClickOK.
- Access theCreate Conditional Calculationtask.
- Enter these values:
Option Description NameHoliday Pay Sickness Exclude FlagCategoryPayrollAdd this row to theCalculationsection:ConditionResultSum Sickness 50% + 0% > 01 - ClickOK.
Add the calculation to an exclusion earning for holiday pay.