Example: Add Time Blocks by Position
This example illustrates how to set up a calculation to create time blocks only for specific positions.
A worker has these 2 positions at a university:
- Tutor.
- Administrative Assistant.
You configure the
Cost Center
worktag to default from the organizational assignment and use it to determine whether to create a time block using a Time Block Create calculation.Security:
Set Up: Time Calculations
domain in the Time Tracking Calculations functional area.- Access theEdit Time Entry Templatetask.
- On theEffective-Datedtab, expand theTime Entrysection.
- Add a row to thePrimary Worktagsgrid.
- Enter these values:WorktagDefault from Organizational AssignmentCost CenterSelect
- ClickOKandDone.
- Access theCreate Time Calculation Grouptask.Create a position-based time calculation group.
- In theNamefield, enterTeaching Assistants.
- Select thePosition Basedcheck box.
- In theEffective Datefield, select the current date from the calendar prompt.
- ClickOKandDone.
- Access theCreate Time Tracking Eligibility Ruletask.
- In theDescriptionfield, enterTeaching Assistant - Post Secondary Education.
- Select these values in theRule Conditionsgrid.And/OrSource External Field or Condition RuleRelational OperatorComparison TypeComparison ValueAndJob ProfileOn the Position and Job - All Staffing Models business object.in the selection listValue specified in this filterTeaching Assistant INW
- ClickOK.
- Access theCreate Calculated Fieldtask.
- Create a calculated field that returns true when the time block has aCost Centerworktag with the value A4200 College of Arts & Sciences.FieldValueField NameCost Center WorktagBusiness ObjectTime BlockFunctionTrue/False Condition
- ClickOK.
- On theCalculationtab, specify these values in the grid:And/OrFieldOperatorComparison TypeComparison ValueAndCost Centerin the selection listValue specified in this filterA4200 College of Arts & Sciences
- ClickOK.
- ClickCreate Another Calculation.
- Create a calculated field that returns the number of hours worked for the A4200 College of Arts & Sciences cost center.FieldValueField NameCost Center Worktags for a DayBusiness ObjectTime DayFunctionSum Related Instances
- ClickOK.
- On theCalculationtab, specify these values:FieldValueRelated FieldTime Blocks for a DayRelated Business ObjectTime BlockSumFrom theInstances where condition is trueprompt, selectCost Center Worktag.Field to SumReported Quantity
- ClickOK.
- ClickCreate Another Calculation.
- Create a calculated field that returns true whenCost Centerworktags exist for a day.FieldValueField NameCost Center Worktags Exist for a DayBusiness ObjectTime DayFunctionTrue/False Condition
- ClickOK.
- On theCalculationtab, specify these values in the grid:And/OrFieldOperatorComparison TypeComparison ValueAndCost Center Worktags for a Daygreater thanValue specified in this filter0
- ClickOKandDone.
- Access theCreate Time Calculationtask.Create a time block create calculation.
- In theNamefield, enterMarking.
- From theCalculation Typeprompt, selectTime Block Create Calculation.
- ClickOK.
- Complete theGeneral Optionstab:Time Day ConditionsCost Center Worktags Exist for a DayQuantity (calculated field)Cost Center Worktags for a DayTime Day Based OnCalculated Date
- From theAdd Tagsprompt, selectCreate Time Calculation Tag.
- In theTime Calculation Tag Namefield, enterMarking.
- ClickOK.
- On theGroupstab, add a row to theTime Calculation Snapshotsgrid.Time Calculation GroupTeaching AssistantsEffective DateSelect the current snapshot.
- ClickOK.
- Access theMaintain Time Calculation Prioritiestask.Give the new calculation a priority of 200.
- In thePrioritycolumn of the Marking row, enter200.
- ClickOKandDone.