Generate Unit Time Attribute for Reported Day
The ORA_WFM_TCR_UNIT_CALC_PAYTYPE_AP formula, which uses array processing, generates a unit time attribute for the day, if the reported time category hours on that day include the specified time attributes.
This fast formula isn't associated with any delivered time calculation rule templates.
Parameters
| Name | Type | Description |
|---|---|---|
| WORKED_TIME_CONDITION | Time category | Time category of reported hours that include the specified time attributes used to decide whether to generate a units time attribute. |
| NUMBER_OF_UNITS | Fixed number | Numeric value for the number of units with UN unit of measure to allocate for each detail found. |
Outputs
| Name | Output Group | Time Attribute | Description |
|---|---|---|---|
| CALC_START_TIME | 1 | StartTime | Original start time |
| CALC_STOP_TIME | 1 | StopTime | Original stop time |
| MEASURE_UNITS | 2 | Measure | Number of units |
| UOM_UNITS | 2 | UnitOfMeasure | UN unit of measure |
| RATE_AMOUNT | 2 | Rate_Amount | Sets the rate amount to Null |
| PERIODICITY | 2 | Periodicity | Sets the periodicity of the rate amount to Null |
| UNITS_PAYTYPE | 2 | PayrollTimeType | Payroll time type to associate with the units |
Note that for start and stop times, the formula resets the rate amount and periodicity values in the generated units time entry to empty values.
Function
For each detail time card record found, depending on the time category, add the number of units specified in NUMBER_OF_UNITS to the time card. The unit amount is 'UN' (Units).
Example
When the person breaks for a meal, they’re paid a meal allowance if the time category identifies the Meal payroll time type.
| Day | Payroll Time Type | Reported Time | Calculated Time |
|---|---|---|---|
| 1 thru 4 | Regular |
8a to 12p 1p to 4p |
4h 3h |
| Meal | 12p to 1p | 1h | |
| Meal Allowance | NA | 1 unit | |
| 5 | Regular | 8a to 12p | 4 |