Set Up Time Block Create Calculations
- Security:Set Up: Time Calculationsdomain in the Time Tracking Calculations functional area.
Use time block create calculations to generate additional calculated time blocks based on specific time conditions. The additional time blocks are independent of other time blocks. Therefore, the calculation isn't tied to a time block and doesn't need an existing time block to execute. Example: You can use this calculation to:
- Reward workers who work a certain number of hours in a week with a bonus set of hours.
- Create a time block of 8 hours on a holiday, whether or not a worker reports time for that holiday.
- Access theCreate Time Calculationtask.
- ForCalculation Type, selectTime Block Create Calculation.
- In theCriteriasection, identify the conditions that must be met to generate the new time block. You can select from Workday-delivered conditions or create your own using theCreate Calculated Fieldtask.
Option Description Time Shift ConditionsSelect from conditions based on theTime Shift# business object.Time Day ConditionsSelect from conditions based on theTime Daybusiness object.Most Workday-delivered conditions define the start and end times for a day based on the worker's day breaker option. However, you can create your own conditions based on the calendar day.Time Week ConditionsSelect from conditions based on theTime Weekbusiness object. - In theResultssection:
- Specify the quantity of time for the new time block by entering a fixed value or selecting a calculated field.Valid calculated fields include any numeric calculated fields on these business objects:
- Worker.
- Time Dayif the calculation usesTime Day ConditionsorTime Weekif the calculation usesTime Week Conditions.
- Select the time calculation tags to add to the new time block.
- In theTime Day Based Onfield select:
- Calculated Dateto tag calculated time blocks according to the day breaker option.
- Shift Dateto tag calculated time blocks with the shift date according to theGroup Time Blocks for Shift Based onoption. This option is on the time entry template.
- (Optional) In theAdvancedsection, define additional options.These options are available when you select aTime Day Conditionin theCriteriasection:
Option Description Must Work Scheduled Day BeforeMust Work Scheduled Day AfterWorkday generates time blocks for workers based on whether they worked the scheduled day before or after the day you specified in time day conditions. Workday searches up to 8 days before or after the selected time day condition to find the previous or next scheduled day.If you select both options, they must both be true for Workday to generate a time block. Example: A worker must work the scheduled day before a holiday to qualify for holiday pay.Use Workday Scheduling DataSelect to enable Workday to determine a worker's scheduled hours from Workday Scheduling rather than work schedule calendars from Time Tracking. You must have the Workday Scheduling enabled for this to take effect. This option is only available when you select theMust Work Schedule Day Beforeoption,Must Work Scheduled Day Afteroption, or both.Include Calculation TagsWorkday generates time blocks for workers when:- They have time blocks tagged with these calculation tags.
- The time blocks are on a day that meets the time day conditions you configured.
- In theGroupstab, add time calculation group snapshots with the appropriate effective dates to specify which workers are eligible for the calculation.
For day- and shift-based calculations, Workday displays the additional time blocks on that day. For week-based calculations, the additional time blocks display on the last day of the week.
Workday includes the additional calculated time blocks in weekly totals. When you select
Sum Based on Calculated Quantity
on the time entry template, Workday also includes the additional calculated time blocks in the daily totals.Generate a bonus time block of 5 hours if a worker enters 45 or more hours in a week.
- Create a calculated field calledReported time in a weekthat sums the time a worker has reported in a week:
- Access theCreate Calculated Fieldtask.
- Define the calculated field:FieldValueField NameReported time in a weekBusiness ObjectTime WeekFunctionSum Related InstancesRelated FieldTime Blocks for a WeekInstances where condition is trueIs Reported Time BlockField to SumTotal Hours (Time Tracking)
- Create a calculated field calledReported time greater than or equal to 45 hours. The report field returns true if the sum of reported time in a week is greater than or equal to 45 hours:
- Access theCreate Calculated Fieldtask.
- Define the calculated field:FieldValueField NameReported time greater than or equal to 45 hoursBusiness ObjectTime WeekFunctionTrue/False ConditionFieldReported time in a weekOperatorgreater than or equal toComparison TypeValue specified in this filterComparison Value45
- Create the calculation:FieldValueTime Week ConditionsReported time greater than or equal to 45 hoursQuantity (value)5Add TagsRegular
Assign time calculation priorities.