Concept: Numeric Calculations for Payroll
You can create numeric calculations to cover several common payroll calculations.
- Example: Percentage of Prorated Base Salary
- You want to find a 50% of a prorated salary. You've already created:
- Base (prorated)as a related calculation on earnings.
- 0.5as a constant value calculation.
- Access theCreate Arithmetic Calculationtask.
- Complete these fields:1st OperandOperator2nd OperandBase (prorated)Multiply0.5
- Example: Premium Based on Type of Shift
- You want to find the shift allowance percentage based on the shift they work.
- If they work 1st shift, they receive a premium of 6% per pay period.
- If they work 2nd shift, they receive a premium of 10% per pay period.
- If the shift isn't specified, they receive 5% per pay period.
You've already created 2 instance set comparison calculations, to determine the type of shift worked:- Worker's Shift = 1st Shift
- Worker's Shift = 2nd Shift
- Access theCreate Conditional Calculationtask and complete these fields:OrderConditionResultaWorker's Shift = 1st Shift6bWorker's Shift = 2nd Shift10
- Select5from theDefault Responseprompt.
- Example: Dependent Age at Calendar Start Date
- You want to determine the age of a dependent at the start of the calendar year.
- Access theCreate Date Differencetask.
- Complete these fields:IntervalStart DateEnd DateYearDependent: Date of BirthDate: Current Calendar Year End Date (based on Period Start Date)
- Example: Reference Period for Bonus
- You want to calculate the starting month for a 3-month reference period.
- Access theCreate Date Increment/Decrement Calculationtask and enter these values:OptionValueNameCurrent Calendar Month End Date (based on Period End Date) - 3 MonthsStart DateDate: Current Calendar Month End Date (based on Period End Date)Month-3
- Access theCreate Date Extracttask and enter these values.IntervalDateMonthCurrent Calendar Month End Date (based on Period End Date) - 3 Months
When the period end date is 2017-07-31, the calculation returns 4.