Example: Position-Based Accrual
This example demonstrates how to set up an accrual based on a single
position.
Maria holds 2 positions in your company. For every 16 hours she works
in her primary position in a pay period, she accrues 1 hour of time off. You need to
configure an accrual so that it calculates based on the number of hours reported to
payroll in a pay period for Maria's primary position only.
Security:
- Set Up: Payroll (Calculations - Generic)domain in the Core Payroll functional area.
- Set Up: Time Off (Calculations - Generic)domain in the Core Payroll functional area.
- Set Up: Time Off (Calculations - Absence Specific)domain in the Time Off and Leave functional area.
- Create an instance set comparison calculation that identifies payroll result lines as regular or overtime pay.
- Access theCreate Instance Set Comparison Calculationtask.
- As you complete the task, consider:FieldValueNamePay Component is Hourly or Overtime PayCategoryAbsenceSource FieldPay Component for Workday Payroll Related Payroll Result LineRelational Operatorin the selection listTarget Instance
- Hourly
- Overtime
- Create a conditional calculation that returns line amounts for payroll results (number of hours worked) for hourly or overtime pay.
- Access theCreate Conditional Calculationtask.
- As you complete the task, consider:FieldValueNameRegular or Overtime Hours Worked in PeriodCategoryAbsenceOrderaConditionPay Component is Hourly or Overtime PayThe instance set comparison calculation you created earlier.ResultWorkday Payroll Related Result Line AmountDefault Response0
- Create an aggregate calculation that sums the number of hours worked in a period.
- Access theCreate Aggregate Calculationtask.
- As you complete the task, consider:FieldValueNameActual Hours Worked in PeriodCategoryAbsenceFunctionSumOperandRegular or Overtime Hours Worked in PeriodThe conditional calculation you created earlier.Instances for Operand CalculationPayroll Hours Related Result Lines for Period - Position
- Create an arithmetic calculation that divides the number of hours worked in a period to calculate the accrual.
- Access theCreate Arithmetic Calculationtask.
- As you complete the task, consider:FieldValueNameAccruals for Pay PeriodCategoryAbsence1st OperandActual Hours Worked in PeriodThe aggregate calculation you created earlier.OperatorDivide2nd Operand16
- Create the accrual.
- Access theCreate Accrualtask.
- In theCalculationfield, selectAccruals for Pay Period.
Maria accrues 1 hour of time off for every 16 hours she works in her primary position.