Sei sulla pagina 1di 40

Time and Labor Fast Formula Reference Guide

for Release 13
Oracle Fusion Time and Labor
ORACLE WHITE PAPER | OCTOBER 2018
Table of Contents

Introducing Fast Formula Use in Oracle Cloud Time and Labor 1

Time Calculation Rule Formulas 2

Formula Name: ORA_WFM_TCR_ALLOCATION_TIME_AP 2

Description 2

Rule Template Parameters 2

Rule Template Outputs 2

Examples of Percentage Allocations 3

Examples of Quantity Allocations 4

Examples of Equally Distributed Allocations 7

Examples of Daily Overtime Calculations and Percentage Allocations 8

Examples of Daily Overtime Calculations and Quantity Allocations 10

Formula Name: ORA_WFM_TCR_FOR_ENTRIES_THAT_SPAN_DAYS_AP

(deprecated as of release 13.18.10) 12

Description 12

Rule Template Parameters 12

Rule Template Outputs 12

Rule Function 12

Examples 12

Formula Name:

ORA_WFM_TCR_OT_EARNED_DAYS_FOR_ENTRIES_THAT_SPAN_DAYS 16

Description 16

Rule Template Parameters 16

1 | Time and Labor Fast Formula Reference Guide for Release 13


Rule Template Outputs 16

Rule Function 16

Formula Name: ORA_WFM_TCR_UNIT_CALC_PAYTYPE_AP 17

Description 17

Rule Template Parameters 17

Rule Template Outputs 17

Rule Function 17

Example 18

Formula Name: ORA_WFM_TCR_UNIT_CALC_TIME_RANGE_AP 19

Description 19

Rule Template Parameters 19

Rule Template Outputs 19

Rule Function 19

Example 20

Formula Name: ORA_WFM_TCR_UNIT_CALC_WEEKEND_AP 21

Description 21

Rule Template Parameters 21

Rule Template Outputs 21

Rule Function 22

Examples of WORK_ANY_WEEKEND_DAY is Yes 22

Examples of WORK_ANY_WEEKEND_DAY is No 23

Time Entry Rule Formulas 24

Formula Name: ORA_WFM_TER_MIN_MAX_PAYTYPE_UNITS_AP 24

2 | Time and Labor Fast Formula Reference Guide for Release 13


Description 24

Rule Template Parameters 24

Rule Template Outputs 24

Examples 25

Formula Name: ORA_WFM_TER_WEEKEND_UNITS_AP 26

Description 26

Rule Template Parameters 26

Rule Template Outputs 26

Examples of WORK_ANY_WEEKEND_DAY is Yes 27

Examples of WORK_ANY_WEEKEND_DAY is No 27

Workforce Compliance Formulas 30

Formula Name: ORA_WFM_WCR_MISSING_TIME_CARD_AP 30

Description 30

Rule Template Parameters 30

Rule Template Outputs 30

Formula Name: ORA_WFM_WCR_MISSING_DAY_TIME_ENTRIES_AP 31

Description 31

Rule Template Parameters 31

Rule Template Outputs 31

Examples 31

Formula Name: ORA_WFM_WCR_IN_OUT_DANGLERS_AP 33

Description 33

Rule Template Parameters 33

3 | Time and Labor Fast Formula Reference Guide for Release 13


Rule Template Outputs 33

Rule Function 33

Example 34

4 | Time and Labor Fast Formula Reference Guide for Release 13


Introducing Fast Formula Use in Oracle Cloud Time and Labor
Oracle Cloud Fast Formula is an easy way to configure the existing functionality in Oracle Cloud Time
and Labor. Formulas are pieces of code that can receive information from calling program (packages),
access database information, and return values to the calling program. The calling program can use
this information to modify the process functionality. The fast formula language hides the complexity of
accessing the tables and column.

A formula can return more than one value to the calling program. Different programs that call the
formula expect outputs to return differently. Based on the formula type, the number and data type of
values to return are already defined.

» Some programs expect the defined names for outputs: the location of an output in the return
statement does not matter. If defined names are expected and the formula does not use the
expected names, the process errors out at run time.
» Some programs expect the output to return by location; in this case the name of the output does not
matter.

1 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Time Calculation Rule Formulas

Formula Name: ORA_WFM_TCR_ALLOCATION_TIME_AP

Description
This time calculation rule fast formula is associated with the delivered rule template Time Allocation Template. If
there is a time allocation assigned to the worker using the Manage Allocation Assignments task, then the formula
uses this allocation. Otherwise, it uses the allocation selected in the rule configuration. In both cases, the allocation
formula uses either reported or calculated time, based on the processing sequence of the allocation rule in the rule
set. It allocates the time identified by the source time category across the output time attributes. This formula uses
an array to process time data.

To view, on the time card review page, the cost segment outputs configured in the time allocation:
1. Configure the time review layouts for workers and managers accordingly.
2. Associate the appropriate layout set with the worker time entry setup profiles.

Rule Template Parameters

Parameter Name Parameter Type Description

ASSIGN_FRACTION_TO_LAST_ROW Yes or No Indicates whether to adjust the last row of the time allocation output
so that total allocated hours match the number of hours identified by
the allocation rule. Time allocations of type Percent and Equally use
this parameter.

Rule Template Outputs


There are no output variables for this formula. It uses the outputs configured for the time allocation assigned to the
worker associated with this formula when the rule is initiated.

2 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Examples of Percentage Allocations
Allocation configuration: These next two allocation examples distribute reported regular time as shown in this table:

Allocation Type: Percentage Department

50 Cardiac Care

50 Intensive Care

Example 1: The time that the worker reported includes no conflicts with the worker's assigned allocation.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 4 8 AM – 4 8 AM – 4 8 AM – 4 8 AM – 4
PM (8) PM (8) PM (8) PM (8) PM (8)

Daily Total 8 8 8 8 8 40

Calculated Regular Cardiac Care 4 4 4 4 4 20

Regular Intensive Care 4 4 4 4 4 20

Daily Total 8 8 8 8 8 40

Example 2: The time that the worker reported includes conflicts with the worker's assigned allocation.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 2 8 AM – 12 8 AM – 4 8 AM – 12
PM (6) PM (4) PM (8) PM (4)

On-Call Intensive Care 2 PM – 4


PM (2)

Regular Emergency 1 PM – 5 8 AM – 4 1 PM – 5
PM (4) PM (8) PM (4)

Daily Total 8 8 8 8 4 4 40

Calculated Regular Cardiac Care 3 2 4 2 11

Regular Intensive Care 3 2 4 2 11

On-Call Intensive Care 2 6

Regular Emergency 4 8 4 12

Daily Total 8 8 8 8 4 4 40

3 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Examples of Quantity Allocations
Allocation configuration: These next four allocation examples distribute reported regular time as shown in this table:

Priority Allocation Type: Quantity Department

1 20 Cardiac Care

2 20 Intensive Care

Example 1: The time card period total equals the defined allocation quantity.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 4 8 AM – 4 8 AM – 4 8 AM – 4 8 AM – 4
PM (8) PM (8) PM (8) PM (8) PM (8)

Daily Total 8 8 8 8 8 40

Calculated Regular Cardiac Care 8 8 4 20

Regular Intensive Care 4 8 8 20

Daily Total 8 8 8 8 8 40

Example 2: The time card period total is less than the defined allocation quantity.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 12 8 AM – 4 8 AM – 4 8 AM – 4 1 PM – 5
PM (4) PM (8) PM (8) PM (8) PM (4)

Daily Total 4 8 8 8 4 32

Calculated Regular Cardiac Care 4 8 8 20

Regular Intensive Care 8 4 12

Daily Total 4 8 8 8 4 32

4 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example 3: The time card period total is greater than the defined allocation quantity.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 4 8 AM – 6 8 AM – 4 8 AM – 4 8 AM – 4 8 AM – 4
PM (8) PM (10) PM (8) PM (8) PM (8) PM (8)

Daily Total 8 10 8 8 8 8 50

Calculated Regular Cardiac Care 8 10 2 20

Regular Intensive Care 6 8 6 20

Regular 2 8 10

Daily Total 8 10 8 8 8 8 50

Example 4: The time card period total is greater than the defined allocation quantity and the time that the worker
reported includes conflicts with the worker's assigned allocation.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 2 8 AM – 12 8 AM – 4 8 AM – 12 8 AM – 12
PM (6) PM (4) PM (8) PM (4) PM (4)

On-Call Intensive Care 2 PM – 4 1 PM – 5


PM (2) PM (4)

Regular Emergency 1 PM – 5 8 AM – 4 8 AM – 12
PM (4) PM (8) PM (4)

Daily Total 8 8 8 8 8 4 4 48

Calculated Regular Cardiac Care 6 4 8 2 20

Regular Intensive Care 2 4 6

On-Call Intensive Care 2 4 6

Regular Emergency 4 8 4 16

Daily Total 8 8 8 8 8 4 4 48

5 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Allocation configuration: This next allocation example distributes reported regular time as shown in this table:

Priority Allocation Type: Quantity Department

5 20 Cardiac Care

10 10 Intensive Care

15 Balance Operation

Example: The time that the worker reported includes conflicts with the worker's assigned allocation.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 4 8 AM – 4 8 AM – 4 8 AM – 4 8 AM – 12
PM (8) PM (8) PM (8) PM (8) PM (4)

On-Call Emergency 8 AM – 12
PM (4)

Regular Emergency 1 PM – 5 8 AM – 4 8 AM – 4 PM
PM (4) PM (8) (8)

Daily Total 8 12 8 16 4 4 8 60

Calculated Regular Cardiac Care 8 8 4 20

Regular Intensive Care 4 6 10

Regular Operation 2 4 6

On-Call Emergency 4 4

Regular Emergency 4 8 8 20

Daily Total 8 12 8 16 4 4 8 60

6 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Examples of Equally Distributed Allocations
Allocation configuration: These next two allocation examples distribute reported regular time equally across these
departments: Cardiac Care, Intensive Care, and Emergency:

Example 1: The time that the worker reported includes no conflicts with the worker's assigned allocation.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 4 8 AM – 4 8 AM – 4 8 AM – 4 8 AM – 4
PM (8) PM (8) PM (8) PM (8) PM (8)

Daily Total 8 8 8 8 8 40

Calculated Regular Cardiac Care 2.66 2.66 2.66 2.66 2.66 13.3

Regular Intensive Care 2.66 2.66 2.66 2.66 2.66 13.3

Regular Emergency 2.66 2.66 2.66 2.66 2.66 13.3

Daily Total 7.98 7.98 7.98 7.98 7.98 39.9

Example 2: The time that the worker reported includes conflicts with the worker's assigned allocation.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 2 8 AM – 12 8 AM – 4 8 AM – 12
PM (6) PM (4) PM (8) PM (4)

On-Call Intensive Care 2 PM – 4 1 PM – 5


PM (2) PM (4)

Regular Emergency 1 PM – 5 8 AM – 4
PM (4) PM (8)

Daily Total 8 8 8 8 4 4 40

Calculated Regular Cardiac Care 2 1.33 2.66 1.33 7.32

Regular Intensive Care 2 1.33 2.66 1.33 7.32

Regular Emergency 2 1.33 2.66 1.33 7.32

On-Call Intensive Care 2 4 6

Regular Emergency 4 8 12

Daily Total 8 7.99 7.98 8 3.99 4 39.96

7 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Examples of Daily Overtime Calculations and Percentage Allocations
Allocation configuration: These next two allocation examples distribute reported and calculated time as shown in this
table:

Allocation Type: Percentage Department

50 Cardiac Care

50 Intensive Care

Example 1: The time that the worker reported includes no conflicts with the worker's assigned allocation.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 6 8 AM – 4 8 AM – 4:30 8 AM – 4 8 AM – 5


PM (10) PM (8) PM (8.5) PM (8) PM (9)

Daily Total 10 8 8.5 8 9 43.5

Calculated Regular Cardiac Care 4 4 4 4 4 20

Regular Intensive Care 4 4 4 4 4 20

Overtime Cardiac Care 1 0.25 0.5 1.75

Overtime Intensive Care 1 0.25 0.5 1.75

Daily Total 10 8 8.5 8 9 43.5

8 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example 2: The time that the worker reported includes conflicts with the worker's assigned allocation.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 7 AM – 12 8 AM – 5 8 AM – 5
PM (5) PM (9) PM (9)

Regular Emergency 1 PM – 4 8 AM – 5
PM (3) PM (9)

On-Call Intensive Care 4 PM – 6 8 AM – 4:30


PM (2) PM (8.5)

Daily Total 10 9 8.5 9 9 45.5

Calculated Regular Cardiac Care 2.5 4 4 10.5

Regular Intensive Care 2.5 4 4 10.5

Overtime Cardiac Care 0.5 0.5 1

Overtime Intensive Care 0.5 0.5 1

Regular Emergency 3 8 11

Overtime Intensive Care 2 2

Overtime Emergency 1 1

On-Call Intensive Care 8 8

Overtime Intensive Care 0.5 0.5

Daily Total 10 9 8.5 9 9 45.5

9 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Examples of Daily Overtime Calculations and Quantity Allocations
Allocation configuration: This allocation example distributes reported and calculated time as shown in this table:

Priority Allocation Type: Quantity Department

1 20 Cardiac Care

2 20 Intensive Care

Example: The time that the worker reported includes conflicts with the worker's assigned allocation. The time card
period total is greater than the defined allocation quantity.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 2 8 AM – 12 7 AM – 12 8 AM – 12 8 AM – 12
PM (6) PM (4) PM (5) PM (4) PM (4)

On-Call Intensive Care 2 PM – 4 1 PM – 4 1 PM – 5


PM (2) PM (3) PM (4)

Regular Emergency 4 PM – 6 1 PM – 5 4 PM – 6 8 AM – 4 8 AM – 12
PM (2) PM (4) PM (2) PM (8) PM (4)

Daily Total 10 8 10 8 8 4 4 52

Calculated Regular Cardiac Care 6 4 5 4 1 20


(no daily OT)

Regular Intensive Care 3 3

On-Call Intensive Care 2 3 4 9

Regular Emergency 2 4 2 8 4 20

Daily Total 10 8 10 8 8 4 4 52

Calculated Regular Cardiac Care 6 4 5 4 1 20


(Daily OT)

Regular Intensive Care 3 3

On-Call Intensive Care 2 3 4 9

Regular Emergency 4 8 4 16

Overtime Emergency 2 2 4

Daily Total 10 8 10 8 8 4 4 52

10 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Allocation configuration: This allocation example distributes reported and calculated time as shown in this table:

Priority Allocation Type: Quantity Department

5 20 Cardiac Care

10 10 Intensive Care

15 Balance Operation

Example: The time that the worker reported includes conflicts with the worker's assigned allocation.

Worked Weekly
Department Mon Tue Wed Thu Fri Sat Sun
Time Total

Reported Regular 8 AM – 6 7 AM – 4 8 AM – 4 8 AM – 4 8 AM – 5
PM (10) PM (9) PM (8) PM (8) PM (9)

On-Call Emergency 4 PM – 6 8 AM – 12 8 AM – 4 PM
PM (2) PM (4) (8)

Daily Total 10 9 8 10 9 4 8 58

Calculated Regular Cardiac Care 10 9 1 20


(no daily OT)

Regular Intensive Care 7 3 10

Regular Operation 5 9 14

On-Call Emergency 2 4 8 14

Daily Total 10 9 8 10 9 4 8 58

Calculated Regular Cardiac Care 8 8 1 17


(Daily OT)

Regular Intensive Care 7 3 10

Regular Operation 5 8 13

On-Call Emergency 4 8 12

Overtime Cardiac Care 2 1 3

Overtime Emergency 2 2

Overtime Operation 1 1

Daily Total 10 9 8 10 9 4 8 58

11 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Formula Name: ORA_WFM_TCR_FOR_ENTRIES_THAT_SPAN_DAYS_AP (deprecated as of release
13.18.10)
Description
This time calculation rule fast formula is associated with the delivered rule template Time Entries That Span Days
AP. It determines whether time entries span days and if they do, it determines on what day to calculate time for
reported time entries that span days. By default, the formula uses rule parameter values. When there are no values
from the rule, it uses the values composing the worker's work day definition. This fast formula uses an array to
process time card data.

Rule Template Parameters

Parameter Name Parameter Type Description

RESOLVE_SPAN_RULE Fixed Text Rule to use to determine on what day to calculate time for reported
time entries that span days. Valid values are:
» START_DAY: Time calculation rules should treat time entries as
being entirely on the start day.
» STOP_DAY: Time calculation rules should treat time entries as
being entirely on the stop day.
» DAY_WITH_MOST_TIME: Time calculation rules should treat time
entries as being entirely on the day with the longest time duration.
» SPLIT_AT_DAY_START: Time calculation rules should split time
entries at the time where one day ends and the other starts.
» SCHEDULE_REF_DAY: Time calculation rules treat all time entries
as being on the reference day of the scheduled shift

HANDLING_TIES Fixed Text Valid values are:

» START_DAY: When there is the same time duration on both days,


time calculation rules should treat the time entries as being entirely
on the start day

» STOP_DAY: When there is the same time duration on both days,


time calculation rules should treat the time entries as being entirely
on the stop day

DAY_START_TIME Time HH:MM Time, in hours and minutes, that marks the start of the day

GROUPING_THRESHOLD Fixed Number Threshold, in minutes, used to group reported time entries on one or
another of the multiple days.

ORA_HWM_FF_DAY_SPLIT_FLAG Exclude Internal indicator to split the day. Does not show on the rule pages.

Rule Template Outputs


This formula has no outputs shown on the rule template or rule.

Rule Function
Specifies to resolve time entries that span multiple days using the rule {RESOLVE_SPAN_RULE}. In cases where
the time entries span multiple days equally, use {HANDLING_TIES}. For this rule, the day start time is
{DAY_START_TIME} and the threshold for grouping time entries on one day or another is
{GROUPING_THRESHOLD} minutes.

Examples
Scenario: The work day starts at 4:00 AM.

12 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example 1: The spanning days rule is start day.

Payroll Time Type Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7

Reported Regular (hours) 08:00 AM – 12:00 AM – 12:00 AM – 08:00 AM – 12:00 AM – 12:00 AM –


12:00 PM 08:00 AM 08:00 AM 12:00 PM 08:00 AM 08:00 AM

Regular (hours) 12:00 PM –


08:00 PM

Time Regular (hours) 08:00 AM – 12:00 AM -- 12:00 PM – 08:00 AM – 12:00 AM –


Calculations 12:00 PM 8:00 AM (from 08:00 PM 12:00 PM 08:00 AM
Use… (today) Day 3) (today) (today) (from Day 6)

Regular (hours) 12:00 AM -- 12:00 AM –


8:00 AM (from 8:00 AM (from
Day 2) Day 5)

Total Daily Hours 12 8 8 12 8

Example 2: The spanning days rule is stop day.

Payroll Time Type Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7

Reported Regular (hours) 08:00 AM – 12:00 AM – 12:00 AM – 08:00 AM – 12:00 AM – 12:00 AM –


12:00 PM 08:00 AM 08:00 AM 12:00 PM 08:00 AM 08:00 AM

Regular (hours) 12:00 PM –


08:00 PM

Time Regular (hours) 08:00 AM – 12:00 AM – 12:00 AM – 08:00 AM – 12:00 AM – 12:00 AM –


Calculations 12:00 PM 08:00 AM 08:00 AM 12:00 PM 08:00 AM 08:00 AM
Use… (today) (today) (today) (today) (today) (today)

Regular (hours) 12:00 PM –


08:00 PM
(today)

Total Daily Hours 4 8 16 4 8 8

13 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example 3: The spanning days rule is day with most time and the tie-handling rule is start day.

Payroll Time Type Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7

Reported Regular (hours) 08:00 AM – 12:00 AM – 12:00 AM – 08:00 AM – 12:00 AM – 12:00 AM –


12:00 PM 08:00 AM 08:00 AM 12:00 PM 08:00 AM 08:00 AM

Regular (hours) 12:00 PM –


08:00 PM

Time Regular (hours) 08:00 AM – 12:00 AM – 12:00 PM – 08:00 AM – 12:00 AM –


Calculations 12:00 PM 08:00 AM 08:00 PM 12:00 PM 08:00 AM
Use… (today) (from Day 3) (today) (today) (from Day 6)

Regular (hours) 12:00 AM – 12:00 AM –


08:00 AM 08:00 AM
(from Day 2) (from Day 5)

Hours 12 8 8 12 8

Example 4: The spanning days rule is day with most time and the tie-handling rule is stop day.

Payroll Time Type Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7

Reported Regular (hours) 08:00 AM – 12:00 AM – 12:00 AM – 08:00 AM – 12:00 AM – 12:00 AM –


12:00 PM 08:00 AM 08:00 AM 12:00 PM 08:00 AM 08:00 AM

Regular (hours) 12:00 PM –


08:00 PM

Time Regular (hours) 08:00 AM – 12:00 AM – 12:00 AM – 08:00 AM – 12:00 AM – 12:00 AM –


Calculations 12:00 PM 08:00 AM 08:00 AM 12:00 PM 08:00 AM 08:00 AM
Use… (today) (today) (today) (today) (today) (today)

Regular (hours) 12:00 PM –


08:00 PM
(today)

Hours 4 8 16 4 8 8

14 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example 5: The spanning days rule is split at day start time.

Payroll Time Type Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7

Reported Regular (hours) 08:00 AM – 12:00 AM – 01:00 AM – 08:00 AM – 12:00 AM – 12:30 AM –


12:00 PM 08:00 AM 09:00 AM 12:00 PM 08:00 AM 09:00 AM

Regular (hours) 12:00 PM –


08:00 PM

Time Regular (hours) 08:00 AM – 04:00 AM – 04:00 AM – 08:00 AM – 04:00 AM – 04:00 AM –


Calculations 12:00 PM 08:00 AM 09:00 AM 12:00 PM 08:00 AM 09:00 AM
Use… (today) (today) (today) (today) (today) (today)

Regular (hours) 12:00 AM – 01:00 AM- 12:00 PM – 12:00 AM – 12:30 AM –


04:00 AM 04:00 AM 08:00 PM 04:00 AM 04:00 AM
(from Day 2) (from Day 3) (today) (from Day 5) (from Day 6)

Hours 8 7 13 8 7.5 5

Example 6: The spanning days rule is the reference day of the scheduled shift

Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7

Schedule 11:00 PM – 11:00 PM – 11:00 PM – 11:00 PM – 11:00 PM –


8:00 AM 8:00 AM 8:00 AM 8:00 AM 8:00 AM
Reference Reference Reference Reference Reference
day: Day 2 day: Day 3 day: Day 4 day: Day 5 day: Day 6

Payroll Time Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7


Type

Reported Regular (hours) 11:00 PM- 11:00 PM- 11:30 PM- 11:00 PM- 11:30 PM-
7:00 AM 6:30 AM 7:30 AM 7:00 AM 7:00 AM

Time Regular (hours) 11:00 PM- 11:00 PM- 11:30 PM- 11:00 PM- 11:30 PM-
Calculations 7:00 AM (from 6:30 AM (from 7:30 AM (from 7:00 AM (from 7:00 AM (from
Use… Day 1) Day 2) Day 3) Day 4) Day 5)

Hours 8 7.5 8 8 7.5

15 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Formula Name: ORA_WFM_TCR_OT_EARNED_DAYS_FOR_ENTRIES_THAT_SPAN_DAYS
Description
This time calculation rule fast formula is associated with the delivered rule template Time Entries That Span
Overtime and Earned Days AP. It determines whether time entries span days and if they do, it determines:

» The day to use in calculations that include reported time entries that span days
» The earned day for reported time entries that span days
By default, the formula uses rule parameter values. When there are no values from the rule, it uses the values
composing the worker's work day definition. This fast formula uses an array to process time card data.

Rule Template Parameters

Parameter Name Parameter Type Description

OVERTIME_DAY_START_TIME Time HH:MM Time, in hours and minutes, that marks the start of the day to use in
time calculation rules that calculate overtime

EARNED_RESOLVE_SPAN_RULE Fixed Text Rule to use to determine the earned day for reported time entries that
span days. Valid values are:
» START_DAY: Time calculation rules should treat time entries as
being entirely on the start day.
» STOP_DAY: Time calculation rules should treat time entries as
being entirely on the stop day.
» DAY_WITH_MOST_TIME: Time calculation rules should treat time
entries as being entirely on the day with the longest time duration.
» SPLIT_AT_DAY_START: Time calculation rules should split time
entries at the time where one day ends and the other starts.
SCHEDULE_REF_DAY: Time calculation rules treat all time entries as
being on the reference day of the scheduled shift

EARNED_HANDLING_TIES Fixed Text Valid values are:

» START_DAY: When the same time duration exists on both days,


time calculation rules should treat the time entries as being entirely
on the start day
» STOP_DAY: When the same time duration exists on both days, time
calculation rules should treat the time entries as being entirely on the
stop day

EARNED_GROUPING_THRESHOLD Fixed Number Threshold, in minutes, used to group reported time entries on one or
another of the multiple days.

ORA_HWM_FF_DAY_BREAKER_FLAG Exclude Internal indicator to split the day. Does not show on the rule pages.

Rule Template Outputs


This formula has no outputs shown on the rule template or rule.

Rule Function
Specifies to resolve time entries that span multiple days using the rule {EARNED_RESOLVE_SPAN_RULE} for
earned day. Automatically uses the rule SPLIT_AT_DAY_START for overtime. When determining the earned day, in
cases where the time entries span multiple days equally, use {EARNED_HANDLING_TIES}. For this rule, the day
start time is midnight and the threshold for grouping time entries on one day or another is
{EARNED_GROUPING_THRESHOLD} minutes. When determining the overtime day, the day start time is
{OVERTIME_DAY_START_TIME}.

16 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Formula Name: ORA_WFM_TCR_UNIT_CALC_PAYTYPE_AP

Description
This time calculation rule fast formula determines unit quantities for reported time based on specific time attributes. It
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 uses an array to process time card data. It isn't associated with any delivered time
calculation rule templates.

Rule Template Parameters

Parameter Name Parameter Type Description

WORKED_TIME_CONDITION Time category Time category of reported hours that include the specified time
attributes used to determine 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.

Rule Template Outputs

Output 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 rate amount and periodicity values in the generated Units time entry are reset
to empty values.

Rule Function
For each detail time card record found, based on time category, add the number of units specified in
NUMBER_OF_UNITS to the time card with a unit amount of 'UN' (Units).

17 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example
When workers break for a meal, they are paid a meal allowance, if the time category identifies the payroll time type
attribute of Meal.

Payroll Time Type Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7

Reported Regular (hours) 08:00 AM – 08:00 AM – 08:00 AM – 08:00 AM – 08:00 AM –


12:00 PM 12:00 PM 12:00 PM 12:00 PM 01:00 PM

Meal (hours) 12:00 PM – 12:00 PM – 12:00 PM – 12:00 PM –


01:00 PM 01:00 PM 01:00 PM 01:00 PM

Regular (hours) 01:00 PM – 01:00 PM – 01:00 PM – 01:00 PM –


4:00 PM 4:00 PM 4:00 PM 4:00 PM

Calculated Regular (hours) 08:00 AM – 08:00 AM – 08:00 AM – 08:00 AM – 08:00 AM –


12:00 PM 12:00 PM 12:00 PM 12:00 PM 01:00 PM

Meal (hours) 12:00 PM – 12:00 PM – 12:00 PM – 12:00 PM –


01:00 PM 01:00 PM 01:00 PM 01:00 PM

Regular (hours) 01:00 PM – 01:00 PM – 01:00 PM – 01:00 PM –


4:00 PM 4:00 PM 4:00 PM 4:00 PM

Meal Allowance (units) 1 1 1 1

18 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Formula Name: ORA_WFM_TCR_UNIT_CALC_TIME_RANGE_AP

Description
This time calculation rule fast formula determines unit quantities for reported time that spans a specific time range. It
generates a unit time attribute for the day if the reported time category hours span the specified time range. This fast
formula uses an array to process time card data. It isn't associated with any delivered time calculation rule
templates.

Rule Template Parameters

Parameter Name Parameter Type Description

WORKED_TIME_CONDITION Time category Time category of reported hours that include the specified time attributes
used to determine 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.

START_TIME_HHMM24 Time HH:MM Start of time range to allocate units for.

STOP_TIME_HHMM24 Time HH:MM End of time range to allocate units for.

Both start and stop time parameters must have a value in every rule associated with this formula. Start and stop
time parameters indicate to generate the specified unit of measure if reported time during that time range included
time entries identified by the specified time category.

Rule Template Outputs

Output Name Output Group Time Attribute Description

CALC_START_TIME 1 StartTime Original start time

CALC_STOP_TIME 1 StopTime Original stop time

MEASURE_UNIT 2 Measure Number of units

UOM_UNIT 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

Rule Function
For each detail time card record found, based on time category, if the time card start time is between
START_TIME_HHMM24 and STOP_TIME_HHMM24, add the number of units specified in NUMBER_OF_UNITS to
the time card with a unit amount of UN (Units).

19 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example
When workers work from 6:00 PM to midnight, they receive a night shift stipend.

Payroll Time Type Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7

Reported Regular (hours) 10:00 AM – 08:00 PM – 10:00 AM – 08:00 PM – 10:00 AM –


05:00 PM 11:00 PM 05:00 PM 11:00 PM 05:00 PM

Calculated Regular (hours) 10:00 AM – 08:00 PM – 10:00 AM – 08:00 PM – 10:00 AM –


05:00 PM 11:00 PM 05:00 PM 11:00 PM 05:00 PM

Night Shift Stipend 1 1


(units)

20 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Formula Name: ORA_WFM_TCR_UNIT_CALC_WEEKEND_AP

Description
This time calculation fast formula determines unit quantity for reported weekend time. It generates a unit time
attribute for the day if the reported time category hours occur on a weekend day. This fast formula uses an array to
process time card data. It isn't associated with any delivered time calculation rule templates.

Rule Template Parameters

Parameter Name Parameter Type Description

WORKED_TIME_CONDITION Time category Time category of reported hours that include the specified time
attributes used to determine 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.

WORK_ANY_WEEKEND_DAY Yes or No If Yes, generate the number of units when the worker associated with a
rule using this formula works any day defined as weekend day.
If No, generate the number of units only when the worker associated
with a rule using this formula works all days defined as weekend days.

IS_MON_WEEKEND Yes or No Indicate if Monday is a weekend day.

IS_TUE_WEEKEND Yes or No Indicate if Tuesday is a weekend day.

IS_WED_WEEKEND Yes or No Indicate if Wednesday is a weekend day.

IS_THU_WEEKEND Yes or No Indicate if Thursday is a weekend day.

IS_FRI_WEEKEND Yes or No Indicate if Friday is a weekend day.

IS_SAT_WEEKEND Yes or No Indicate if Saturday is a weekend day.

IS_SUN_WEEKEND Yes or No Indicate if Sunday is a weekend day.

Rule Template Outputs

Output Name Output Group Time Attribute Description

CALC_START_TIME 1 StartTime Original start time

CALC_STOP_TIME 1 StopTime Original stop time

MEASURE_UNIT 2 Measure Number of units

UOM_UNIT 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

21 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Rule Function
For each detail time card record found, based on time category, if any time entry is found for days specified as
weekend day (IS_MON_WEEKEND…), select WORK_ANY_WEEKEND_DAY.

» If WORK_ANY_WEEKEND_DAY is Yes, add the number of units specified in NUMBER_OF_UNITS to the time
card with a unit amount of UN (Units), regardless if the worker worked only one or every day defined as a
weekend day.
» If WORK_ANY_WEEKEND_DAY is NO, add the number of units specified in NUMBER_OF_UNITS to the time
card with a unit amount of UN (Units), only if the worker worked every day defined as weekend days.

Examples of WORK_ANY_WEEKEND_DAY is Yes


For these examples, the weekend days are Saturday and Sunday.

Example 1

Payroll Time Type Mon Tue Wed Thu Fri Sat Sun

Reported Regular (hours) 8 8 8 2 9

Calculated Regular (hours) 8 8 8 2 9

Weekend Allowance 1
(units)

Example 2

Payroll Time Type Mon Tue Wed Thu Fri Sat Sun

Reported Regular (hours) 8 8 8 2

Calculated Regular (hours) 8 8 8 2

Weekend Allowance 1
(units)

Example 3

Payroll Time Type Mon Tue Wed Thu Fri Sat Sun

Reported Regular (hours) 8 8 8 9

Calculated Regular (hours) 8 8 8 9

Weekend Allowance 1
(units)

22 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Examples of WORK_ANY_WEEKEND_DAY is No
For these examples, the weekend days are Saturday and Sunday.

Example 1

Payroll Time Type Mon Tue Wed Thu Fri Sat Sun

Reported Regular (hours) 8 8 8 2

Calculated Regular (hours) 8 8 8 2

Weekend Allowance
(units)

Example 2

Payroll Time Type Mon Tue Wed Thu Fri Sat Sun

Reported Regular (hours) 8 8 8 9

Calculated Regular (hours) 8 8 8 9

Weekend Allowance
(units)

23 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Time Entry Rule Formulas

Formula Name: ORA_WFM_TER_MIN_MAX_PAYTYPE_UNITS_AP

Description
This time entry rule fast formula determines whether reported units time entries for the units time category are less
or greater than the defined minimum and maximum unit quantities. It compares the reported time category quantity
to the defined minimum and maximum unit quantities. If the reported unit quantities are less or greater than the
defined limits, the corresponding defined message appears. If no message is defined, the default message appears.
The message severity is an output associated with the displayed message. This fast formula uses an array to
process time card data. It isn't associated with any delivered time calculation rule templates.

Rule Template Parameters

Parameter Name Parameter Type Description

WORKED_TIME_CONDITION Time category Time category of reported units to sum and compare with the defined
minimum and maximum unit quantities.

MIN_HOURS Fixed number Minimum hours required for the worker associated with the rule that
uses this formula to qualify for units.

MIN_UNITS Fixed number Minimum units required.

MAX_UNITS Fixed number Maximum units allowed.

OVERRIDE_MSG_CD_MIN_QTY Message Message overriding the default one that appears if the summed units
value is less than the minimum units required.

OVERRIDE_MSG_CD_MAX_QTY Message Message overriding the default one that appears if the summed units
value exceeds the maximum units allowed.

OVERRIDE_MSG_CD_MIN_HRS Message Message overriding the default one that appears if the minimum
number of required reported hours was not reached.

Rule Template Outputs

Error Code Message Text

OUT_MSG Specify whether the output message is informational, warning, or error

24 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Examples

Regular Meal Meal Allowance Rule Parameter Rule Parameter Rule Parameter
Error Status
(hours) (hours) (units) MIN_HOURS MIN_UNITS MAX_UNITS

7 1 1 1 1 1 No errors

7 2 0 1 1 1 The quantity of {UNITS_TIME_ATTR}


time attributes for the period is less than
the {MIN_UNITS} minimum limit defined
for the time card.

7 3 2 1 1 1 The quantity of {UNITS_TIME_ATTR}


time attributes for the period exceeds the
{MIN_UNITS} maximum limit defined for
the time card.

7 3 1 4 1 1 The {UNITS_TIME_ATTR} time attribute


were reported, although the minimum
number of reported hours was not
reached.

7 4 1 3 2 4 The quantity of {UNITS_TIME_ATTR}


time attribute for the period is less than
the {MIN_UNITS} minimum limit defined
for the time card.

7 1 5 6 2 4 The quantity of {UNITS_TIME_ATTR}


time attribute for the period exceeds the
{MAX_UNITS} maximum limit defined for
the time card.
The {UNITS_TIME_ATTR} time attributes
were reported, although the minimum
number of reported hours was not
reached.

25 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Formula Name: ORA_WFM_TER_WEEKEND_UNITS_AP

Description
This time entry rule fast formula determines whether reported units time entries for the Units time category are less
or greater than the defined minimum and maximum unit quantities. It compares the reported time category quantity
to the defined minimum and maximum unit quantities. If the reported unit quantities are less or greater than the
defined limits, the corresponding defined message appears. If no message is defined, the default message appears.
The message severity is defined as an output associated with the displayed message. This fast formula uses an
array to process time card data. It isn't associated with any delivered time calculation rule templates.

Rule Template Parameters

Parameter Name Parameter Type Description

WORKED_TIME_CONDITION Time category Time category of reported units to sum and compare with the defined
minimum and maximum unit quantities.

MIN_UNITS Fixed number Minimum units required.

MAX_UNITS Fixed number Maximum units allowed.

WORK_ANY_WEEKEND_DAY Yes or No If Yes, generate the number of units when the worker associated with
a rule using this formula works any day defined as weekend day.
If No, generate the number of units only when the worker associated
with a rule using this formula works all days defined as weekend days.

IS_MON_WEEKEND Yes or No Indicate if Monday is a weekend day.

IS_TUE_WEEKEND Yes or No Indicate if Tuesday is a weekend day.

IS_WED_WEEKEND Yes or No Indicate if Wednesday is a weekend day.

IS_THU_WEEKEND Yes or No Indicate if Thursday is a weekend day.

IS_FRI_WEEKEND Yes or No Indicate if Friday is a weekend day.

IS_SAT_WEEKEND Yes or No Indicate if Saturday is a weekend day.

IS_SUN_WEEKEND Yes or No Indicate if Sunday is a weekend day.

OVERRIDE_MSG_CD_MIN_QTY Message Message overriding the default one that appears if the summed units
value is less than the minimum units required.

OVERRIDE_MSG_CD_MAX_QTY Message Message overriding the default one that appears if the summed units
value exceeds the maximum units allowed.

OVERRIDE_MSG_CD_MIN_HRS Message Message overriding the default one that appears if the minimum
number of required reported hours was not reached.

Rule Template Outputs

Error Code Message Text

OUT_MSG Specify whether the output message is informational, warning, or error

26 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Examples of WORK_ANY_WEEKEND_DAY is Yes
For these examples, the weekend days are Saturday and Sunday.

Example 1

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 2 0 N/A N/A No error

Sun 7 1 1 1 No error

Example 2

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 0 N/A N/A No error

Sun 7 1 1 1 No error

Example 3

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 3 1 1 1 No error

Sun 0 0 N/A N/A No error

Example 4

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 3 4 1 3 The quantity of {UNITS_TIME_ATTR} time attributes for the


weekend period exceeds the {MAX_UNITS} maximum limit
defined for the time card.

Sun 0 0 N/A N/A No error

Example 5

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 3 1 2 3 The quantity of {UNITS_TIME_ATTR} time attributes for the


weekend period is less than the {MIN_UNITS} minimum
limit defined for the time card.

Sun 0 0 N/A N/A No error

Examples of WORK_ANY_WEEKEND_DAY is No

27 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


For these examples, the weekend days are Saturday and Sunday.

Example 1

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 7 1 1 1 No error

Sun 7 1 1 1 No error

Example 2

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 7 1 1 1 No error

Sun 7 0 1 1 The quantity of {UNITS_TIME_ATTR} time attributes for the


weekend period is less than the {MIN_UNITS} minimum
limit defined for the time card.

Example 3

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 7 0 N/A N/A No error

Sun 7 3 1 1 The quantity of {UNITS_TIME_ATTR} time attributes for the


weekend period exceeds the {MAX_UNITS} maximum limit
defined for the time card.

28 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example 4

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 0 0 N/A N/A No error

Sun 7 1 1 1 The {UNITS_TIME_ATTR} time attributes were reported,


although all weekend days were not worked.

Example 5

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 2 0 N/A N/A No error

Sun 7 1 1 1 No error

Example 6

Regular Weekend Allowance Rule Parameter Rule Parameter


Day Error Status
(hours) (units) MIN_UNITS MAX_UNITS

Sat 3 1 1 1 The {UNITS_TIME_ATTR} time attributes were reported,


although all weekend days were not worked.

Sun 0 0 N/A N/A No error

29 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Workforce Compliance Formulas

Formula Name: ORA_WFM_WCR_MISSING_TIME_CARD_AP

Description
This workforce compliance fast formula determines whether a time card exists. If the formula doesn't find one, the
corresponding defined message is created. The message severity is an output associated with the displayed
message. This fast formula uses an array to process time card data. It isn't associated with any delivered workforce
compliance rule templates.

Rule Template Parameters

Parameter Name Parameter Type Description

OVERRIDE_MSG_CODE Message Message code that overrides the delivered default message code,
which is HWM_FF_WCR_MISSING_TIME_CARD

TAGS_COMMA_SEPARATOR Fixed Text Comma-separated tags

Rule Template Outputs

Error Code Message Text

OUT_MSG Specify whether the output message is informational, warning, or error

30 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Formula Name: ORA_WFM_WCR_MISSING_DAY_TIME_ENTRIES_AP

Description
This workforce compliance fast formula determines whether the worker is schedule to work the current day. If yes, it
determines whether time entries exist for the current day. If the formula doesn't find any entries, the corresponding
defined message is created. The message severity is an output associated with the displayed message. This fast
formula uses an array to process time card data. It isn't associated with any delivered workforce compliance rule
templates.

Rule Template Parameters

Parameter Name Parameter Type Description

OVERRIDE_MSG_CODE Message Message code that overrides the delivered default message code,
which is HWM_FF_WCR_MISSING_DAY_ENTRIES

TAGS_COMMA_SEPARATOR Fixed Text Comma-separated tags

Rule Template Outputs

Error Code Message Text

OUT_MSG Specify whether the output message is informational, warning, or error

Examples
For these examples, the current day is Wednesday, March 7, 2018. The relevant column has a green background
for easy identification.

Example 1: A missing day exception is generated because the worker is scheduled to work and no entry exists.

Start and Mon Tue Wed Thu Fri Sat Sun


End Times 5 Mar 2018 6 Mar 2018 7 Mar 2018 8 Mar 2018 9 Mar 2018 10 Mar 2018 11 Mar 2018

Schedule 8:00 – 16:00 8:00 – 16:00 8:00 – 16:00 8:00 – 16:00 8:00 – 16:00

Reported 8:00 – 16:00

Example 2: No exception is generated because the worker is scheduled to work and an entry exist.

Start and Mon Tue Wed Thu Fri Sat Sun


End Times 5 Mar 2018 6 Mar 2018 7 Mar 2018 8 Mar 2018 9 Mar 2018 10 Mar 2018 11 Mar 2018

Schedule 8:00 – 16:00 8:00 – 16:00 8:00 – 16:00 8:00 – 16:00 8:00 – 16:00

Reported 8:00 – 16:00 8:00 – 16:00 9:00 – 14:00

31 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example 3: No exception is generated because the worker isn't scheduled to work.

Start and Mon Tue Wed Thu Fri Sat Sun


End Times 5 Mar 2018 6 Mar 2018 7 Mar 2018 8 Mar 2018 9 Mar 2018 10 Mar 2018 11 Mar 2018

Schedule 8:00 – 16:00 8:00 – 16:00 8:00 – 16:00 8:00 – 16:00

Reported 8:00 – 16:00 8:00 – 16:00

Example 4: No exception is generated because the worker schedule shows an absence.

Start and Mon Tue Wed Thu Fri Sat Sun


End Times 5 Mar 2018 6 Mar 2018 7 Mar 2018 8 Mar 2018 9 Mar 2018 10 Mar 2018 11 Mar 2018

Schedule 8:00 – 16:00 8:00 – 16:00 Sick 8:00 – 16:00 8:00 – 16:00

Reported 8:00 – 16:00 8:00 – 16:00

32 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Formula Name: ORA_WFM_WCR_IN_OUT_DANGLERS_AP

Description
This workforce compliance fast formula determines whether time entries are incomplete, meaning that either the
start or end time is missing. If the formula finds an incomplete entry, the corresponding defined message is created.
The message severity is an output associated with the displayed message. This fast formula uses an array to
process time card data. It isn't associated with any delivered workforce compliance rule templates.

Rule Template Parameters

Parameter Name Parameter Type Description

TAGS_COMMA_SEPARATOR Fixed Text Comma-separated tags

MESSAGE_CODE_START Message Message code that overrides the delivered default message code for
entries missing the start time, which is
HWM_FF_WCR_MISSING_START_TIME

MESSAGE_CODE_END Message Message code that overrides the delivered default message code for
entries missing the end time, which is
HWM_FF_WCR_MISSING_STOP_TIME

Rule Template Outputs

Error Code Message Text

OUT_MSG Specify whether the output message is informational, warning, or error

Rule Function
Since the rule engine, and thus workforce compliance rules, doesn't account for incomplete entries, default logic
sets missing start time entries to 12:00 AM and a duration of 0. It sets missing end time entries to 23.59.59 and a
duration of 0.

» The formula generates a missing start message if the time entry start time is 12:00 AM and the duration is 0.
» The formula generates a missing end message if the time entry stop time is 23.59.59 and the duration is 0.

33 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Example
The formula generates a missing start exception on Tuesday, March 6, 2018. It generates a missing end exception
on Wednesday, March 8, 2018.

Mon Tue Wed Thu Fri Sat Sun


5 Mar 2018 6 Mar 2018 7 Mar 2018 8 Mar 2018 9 Mar 2018 10 Mar 2018 11 Mar 2018

Start and End Ties 8:00 – 16:00 0:00 – 17:00 9:00 – 23:59 0:00 – 04:00 21:59 – 23:59
Imported from Time
Collection Device

Start and End Times 8:00 – 16:00 – 17:00 9:00 –


Shown in the
Application

Duration Imported 8 0 0 4 2
from Time Collection
Device

Duration Shown in 8 – – 4 2
the Application

34 | TIME AND LABOR FAST FORMULA REFERENCE GUIDE FOR RELEASE 13


Oracle Corporation, World Headquarters Worldwide Inquiries
500 Oracle Parkway Phone: +1.650.506.7000
Redwood Shores, CA 94065, USA Fax: +1.650.506.7200

CONNECT W ITH US

blogs.oracle.com/oracle
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the
contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other
facebook.com/oracle warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or
fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are
formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means,
twitter.com/oracle electronic or mechanical, for any purpose, without our prior written permission.

oracle.com Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and
are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are
trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 1018

Time and Labor Fast Formula Reference Guide for Release 13


October 2018
Authors: David Cohanoff, Nathalie Seger, Sophie Merle, and Lynn Raiser

Potrebbero piacerti anche