Example: Create Related Calculations to Track Worked Hours
This example illustrates how to track hours worked for salaried workers, excluding time off, and holidays for these payroll countries:
- USA
- Canada
Global Modern Services provides pension account contributions to salaried workers who work more than a certain number of hours a month. To verify worker eligibility for a pension account, you want to track the total worked hours for each worker, excluding any time off or holidays.
- Set up the worker's holiday calendars.
- Create a related calculation namedScheduled Hours (prorated)with proration set toProrate using Days Worked.
- Create a related calculation namedHours Worked in Period (unprorated)with proration set toNone of the above.
- Create aSalaryearning based on a compensation element.
Security:
- Set Up: Calculations - Genericin the Core Payroll functional area.
- Set Up: Time Off (Calculations - Generic)in the Time Off and Leave functional area.
- Set Up: Payroll (Calculations - Payroll Specific)in the Core Payroll functional area.
- Create an aggregate calculation to calculate hours not worked due to time off and holidays.
- Access theCreate Arithmetic Calculationtask.Create a calculation namedScheduled Hours - Hours Not Workedwith these settings:1st OperandOperator2nd OperatorScheduled HoursSubtractHours Not Worked
- Access theEdit Earningtask for theSalaryearning.Add 2 rows to theRelated Calculationssection.Related CalculationOverride CalculationHours for Reporting -ResultHours for Reporting -Result LineScheduled Hours (prorated)Job: Scheduled Hours for Target Frequency (as of Sub Period End Date using PC Freq Override)Hours Worked in Period (unprorated)Scheduled Hours - Hours Not WorkedYesAdd
Workday calculates the workers' hours based on their weekly scheduled hours, and excludes time off and holidays. When the worker has multiple subperiods, Workday calculates a worker's hours based on:
- Weekly scheduled hours, prorated by days worked.
- The time off or holidays in the subperiod.
You can view the hours worked on these reports:
- View Payroll Results.
- Payroll Register by Period.
- Payroll Registerfor balance period.