ORA_WFM_TCR_ACCESS_ATTESTATION_ANSWERS_AP Fast Formula
Check the specified attestation to see if the person submitted an answer that requires the formula to generate an additional time entry. For example, generate a penalty when the person didn’t take a meal break for business reasons.
This formula uses an array to process time card data. It isn't associated with any delivered time calculation rule templates.
Parameters
Name | Data Type | Description |
---|---|---|
QUESTION_CODE | Fixed text | Code of the question asked in the attestation. |
ANSWER_CODE | Fixed number | Code of the answer that the worker submitted in the attestation. |
GENERATED_QUANTITY | Fixed number | Quantity of the time entry that the formula generates. |
Outputs
Name | Output Group | Time Attribute | Description |
---|---|---|---|
GRP1_MEASURE | 1 | Measure | Original quantity |
GRP1_START_TIME | 1 | StartTime | Original start time |
GRP1_STOP_TIME | 1 | StopTime | Original start time |
GRP2_QUANTITY | 2 | Measure | Quantity, in hours or units, of the time entry that the formula generates according to the answer code. |
Function
Generate a time entry with the specified quantity when both of these conditions get met:
- The question code is equal to the specified value of the Question code parameter
- The answer code is equal to the specified value of the Answer code parameter
Example
The person has an attestation set that includes a meal break attestation. The attestation time category from this attestation set helps identify a clock out more than 5 hours after the previous clock in. Because the elapsed duration is more than 5 hours, the meal break attestation appears. When the person confirms that they didn’t take a meal break, they get asked why--personal or business reasons? If it was for business reasons, the formula generates the specified payroll time entry.
Day | Web Clock Events | Time Entry | Elapsed Duration Between In and Out | Meal Break | Attestation | Generated Time Entry |
---|---|---|---|---|---|---|
1 |
In: 8:02a Out: 1:01p |
8:02a to 1:01p | 4h 59m | 0 | None because the elapsed duration is less than 5h. | None |
2 |
In: 8:03a Out: 1:58p |
8:03a to 1:58p | 5h 55m | 0 | A question about the meal break appears because the elapsed duration is more than 5h. The person answers that they didn't take their meal break for business reasons. |
1 credit The payroll time type is measure in Units. |
3 | In: 8:01a | 8:01a | 8:01a | 0 | None because the person didn't clock out, and it's this action that causes the attestation to appear. | NA |
4 |
In: 8:03a Out: 1:58p |
8:03a to 1:58p | 7h 55m | 0 | A question about the meal break appears because the elapsed duration is more than 5h. The person answers that they did take their meal break. They need to report it or ask their manager to do so. | None |
5 |
In: 7:58a Out: 1:58p |
7:58a to 1:58p | 6h 00m | 0 | A question about the meal break appears because the elapsed duration is more than 5h. The person answers that they didn't take their meal break for personal reasons. | None |