Documente Academic
Documente Profesional
Documente Cultură
D88701GC10
Activity Guide
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Disclaimer
This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and
print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way.
Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display,
perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization
of Oracle.
Oracle University and Global Resources for Information Technology use only
The information contained in this document is subject to change without notice. If you find any problems in the document, please
report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not
warranted to be error-free.
If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United
States Government, the following notice is applicable:
Trademark Notice
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective
owners.
Author
Steve Pratt
Table of Contents
Practices for Lesson 1: Course Overview .....................................................................................................1-1
Practices for Lesson 2: Fast Formula Overview ...........................................................................................2-1
Practices for Lesson 3: Basic Fast Formula Syntax .....................................................................................3-1
Oracle University and Global Resources for Information Technology use only
Practices for Lesson 3: Overview ...................................................................................................................3-2
Practice 3-1: Identifying Formula Components ..............................................................................................3-3
Solution 3-1: Identifying Formula Components ..............................................................................................3-4
Practices for Lesson 4: Basic Fast Formula Structure .................................................................................4-1
Practices for Lesson 4: Overview ...................................................................................................................4-2
Practice 4-1: Writing a Waiting Period Value and UOM Formula ...................................................................4-3
Solution 4-1: Write a Waiting Period Value and UOM Formula ......................................................................4-5
Practices for Lesson 5: Advanced Fast Formula Syntax .............................................................................5-1
Practices for Lesson 5: Overview ...................................................................................................................5-2
Practice 5-1: Creating a Formula to Call a Formula .......................................................................................5-3
Practices for Lesson 6: Performance and Troubleshooting Tips ................................................................6-1
Practices for Lesson 7: Payroll Formulas ......................................................................................................7-1
Practices for Lesson 7: Overview ...................................................................................................................7-2
Practice 7-1: Creating a User-Defined Table for Union Dues .........................................................................7-3
Practice 7-2: Creating a Formula to Validate the User-Defined Table............................................................7-6
Practice 7-3: Defining a Global Value ............................................................................................................7-8
Practice 7-4: Creating an Oracle Payroll Formula for Travel Payments .........................................................7-10
Practices for Lesson 8: Benefits Formulas ...................................................................................................8-1
Practices for Lesson 8: Benefits Formulas .....................................................................................................8-2
Practice 8-1: Create a Person Selection Formula ..........................................................................................8-3
Practice 8-2: Create an Enrollment Coverage Start Date Formula.................................................................8-5
Practices for Lesson 9: Compensation Formulas .........................................................................................9-1
Practices for Lesson 9: Overview ...................................................................................................................9-2
Practice 9-1: Creating a Compensation Default and Override Formula .........................................................9-3
Practice 9-2: Creating a Compensation Person Selection Formula ...............................................................9-8
Practices for Lesson 10: Absence Management Formulas ..........................................................................10-1
Practices for Lesson 10: Overview .................................................................................................................10-2
Practice 10-1: Defining a Global Absence Accrual Formula ...........................................................................10-3
Practice 10-2: Defining a Global Absence Proration Formula ........................................................................10-7
Practices for Lesson 11: Time and Labor Formulas .....................................................................................11-1
Practices for Lesson 11: Overview .................................................................................................................11-2
Practice 11-1: Creating a Time Entry Formula ...............................................................................................11-3
Practice 11-2: Creating a Time Repository Rule Template ............................................................................11-6
Practice 11-3: Creating a Time Repository Rule ............................................................................................11-8
Appendix A: Instructor Demonstrations ........................................................................................................12-1
Instructor Demonstrations for the Course ......................................................................................................12-2
Instructor Demonstration L3-1: Creating a Formula .......................................................................................12-3
Instructor Demonstration L4-1: Viewing a Formula ........................................................................................12-5
Instructor Demonstration L5-1: Creating a Formula Using Looping ...............................................................12-7
Instructor Demonstration L6-1: Viewing Formula Compilation Errors.............................................................12-9
Instructor Demonstration L7-1: Create a User-Defined Table ........................................................................12-10
Instructor Demonstration L7-2: Creating an Element .....................................................................................12-12
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Instructor Demonstration L8-1: Exploring the Benefits Fast Formula Reference Guide .................................12-14
Instructor Demonstration L9-1: Exploring the Compensation Fast Formula Reference Guide .......................12-15
Instructor Demonstration L10-1: Exploring the Global Absences Fast Formula Guide ..................................12-16
Instructor Demonstration L11-1: Reviewing a Time Entry Rules Formula ......................................................12-17
Instructor Demonstration L11-2: Reviewing a Time Repository Rule Template .............................................12-18
Instructor Demonstration L11-3: Reviewing a Time Repository Rule .............................................................12-19
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
Assumptions
• Time: 10 – 15 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Review the formula.
/* ------------------------------------------------------------
Determine the Accrual Start Rule and modify the start date of
the accrual calculation accordingly.
In this calculation the Accrual Start Rule determines the date from
which a person may first accrue PTO. The Ineligibility Rule
determines the period of time during which the PTO is not
registered.
Once this date has passed the accrual is registered from the date
determined by the Accrual Start Rule.
----------------------------------------------------------- */
Continuous_Service_Date = get_date('CONTINUOUS_SERVICE_DATE')
to_date('01/01/'||to_char(add_months(Continuous_Service_Date, 12),
'YYYY'),
'DD/MM/YYYY')
)
ELSE IF (ACP_START_RULE = 'PLUS_SIX_MONTHS') THEN
(
First_Eligible_To_Accrue_Date =
add_months(Continuous_Service_Date,6)
)
ELSE IF (ACP_START_RULE = 'HD') THEN
(
First_Eligible_To_Accrue_Date = Continuous_Service_Date
)
2. Indentify the syntax in the formula.
3. Label the identify syntax.
Steps
Oracle University and Global Resources for Information Technology use only
1. Review the formula syntax.
Determine the Accrual Start Rule and modify the start date of
accrual calculation
Once this date has passed the accrual is registered from the
determined by the Accrual Start
First_Eligible_To_Accrue_Date
to_date('01/01/'||to_char(add_months(Continuous_Service_Date
Function Function Function
12), 'DD/MM/YYYY'
( DBI
Conditional
Statement
First_Eligible_To_Accrue_Date
add_months(Continuous_Service_Date,6
( Expression
First_Elig ble_To_Accrue_Date =
) Variable
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
is 6 months, otherwise it is 1 month.
Assumptions
• Time: 15 – 25 minutes
• Replace XXX with your student identifier, as indicated by your instructor
• This formula has two values that must be returned:
Return Value Data Type Description
WAIT_PERD_VAL Number Waiting period value
WAIT_PERD_UOM Character Return value should be one of these codes:
• DY – Day
• WK – Week
• MO – Month
• QTR – Quarter
• YR – Year
Tasks
1. Navigate to the Manage Fast Formulas page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Create the fast formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX_Benefit
Wait Period.
c. In the Type field, select Waiting Period Value and UOM.
d. In the Description field, enter Determine waiting period based on job and country
of birth.
e. In the Legislative Data Group field, leave it blank.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
3. Write the formula.
a. On the Create Fast Formula: Benefit Wait Period page, enter the formula details in
the Formula Text area:
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Oracle University and Global Resources for Information Technology use only
a) Name
b) Date
c) Comments
3) Add a section to set the defaults for the Country and Job Name database items:
a) PER_ASG_COUNTRY_OF_BIRTH – set a default that is 2 characters
b) PER_ASG_JOB_NAME – set a default that is 3 characters
4) Add a calculation section that will evaluate if a person’s country is not the United
States and their job is Content Writer then the waiting period is 6 months,
otherwise it is 1 month.
a) If the Country of Birth is not US and the Job is Content Writer then the waiting
period value is 6 and the waiting period unit of measure is months.
b) Else, the waiting period value is 1 and the waiting period unit of measure is
months.
5) Add a return statement to return the values:
a) Waiting period value
b) Waiting period unit of measure
4. Compile the formula.
a. Click Save.
b. Click Compile.
c. Click OK.
d. Click Refresh until the Compile Status is successful ( ).
e. Click Done.
f. On the Manage Fast Formulas page, click Done.
Steps
Oracle University and Global Resources for Information Technology use only
1. The formula text should look similar to the following example:
/***************************************************************
FORMULA NAME: XXX_Benefit Wait Period
FORMULA TYPE: Waiting period value and UOM
DESCRIPTION: Determine waiting period based on job and country
of birth.
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
/**********Calculation section**********/
IF (PER_ASG_COUNTRY_OF_BIRTH <> 'US' and PER_ASG_JOB_NAME =
'Content Writer')
THEN
(WAIT_PERD_VAL = 6
WAIT_PERD_UOM = 'MO' )
ELSE
(WAIT_PERD_VAL = 1
WAIT_PERD_UOM = 'MO' )
/**********Return statement**********/
RETURN WAIT_PERD_VAL,
WAIT_PERD_UOM
Note: Another way to write this formula is to put at the beginning of the calculation section
an expression WAIT_PERIOD_UOM = 'MO'. If this is written, then you do not need the two
lines indicating this later in the formula since the UOM is always the same no matter if the
waiting period is 6 or 1.
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
you will have to create a Payroll Access to HR formula to retrieve the database item. Then call
the formula that retrieves the database item into the formula that returns the salary amount.
Assumptions
• Time: 25 – 30 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Create the fast formula to retrieve the DBI.
a. Click Create.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX Call HR
FTE DBI.
c. In the Type field, select Payroll Access to HR.
d. In the Description field, enter Retrieve FTE DBI.
e. In the Legislative Data Group field, select GB Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
3. Enter the formula text.
a. On the Create Fast Formula: XXX Call HR FTE DBI page, enter the formula details in
the Formula Text area:
/***************************************************************
FORMULA NAME: XXX Call HR FTE DBI
FORMULA TYPE: Payroll Access to HR
DESCRIPTION: Retrieve FTE DBI
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Oracle University and Global Resources for Information Technology use only
Default for PER_ASG_FTE_VALUE is 1
/* Calculation Section */
HR_FTE = PER_ASG_FTE_VALUE
/***************************************************************
FORMULA NAME: XXX GB Salary by FTE
FORMULA TYPE: Oracle Payroll
DESCRIPTION: Calculate the salary amount for Great Britain
employees based on their FTE.
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Oracle University and Global Resources for Information Technology use only
/* Default Statement Section */
Default for ASG_HR_ASG_ID is 1
Default for UK_ASG_SAL is 0
Default for Salary_UK is 0
/* Calculation Section */
Salary_UK = UK_ASG_SAL
SET_INPUT('HR_ASSIGNMENT_ID', ASG_HR_ASG_ID)
EXECUTE('XXX Call HR FTE DBI')
FTE = GET_OUTPUT('HR_FTE',1)
Oracle University and Global Resources for Information Technology use only
Practices for Lesson 6:
Performance and
Troubleshooting Tips
Chapter 6
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
You will create a user-defined table to hold the union dues amounts for each union in your
enterprise. You will create a validation formula to ensure the union dues values are with a range
of no less than 10 and no more than 50.
Oracle University and Global Resources for Information Technology use only
Create a user-defined table to hold the union dues amounts, using the following information:
Union Dues
Union A 30
Union B 32
Then write a formula to get the appropriate union dues from the user-defined table using the
Union input.
Assumptions
• Time: 20 – 25 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Navigate to the Manage User-Defined Table page.
a. Click the Navigator icon.
b. Click the Payroll Calculation menu item.
c. Click the Manage User-Defined Table task.
2. Create the user-defined table to contain the dues for each union.
a. Click Create.
b. In the Legislative Data Group field, select US Legislative Data Group.
c. In the Effective As-of Date field, enter 01/01/1951.
d. Click Continue.
3. Enter the basic details.
a. On the Create: User-Defined Table page, in the Name field, enter
XXX_UNION_DUES.
b. In the Range or Match field, select Match.
c. In the Unit of Measure field, select Text.
d. In the Row Title field, enter UNION.
4. Enter the column details.
a. In the User-Defined Columns section, click Create.
b. In the Column Name field, enter DUES.
c. In the Data Type field, select Number.
Oracle University and Global Resources for Information Technology use only
b. On the Add User-Defined Table Values page, select Union A.
c. Click OK.
d. In the Value field, enter 30.
e. Click Create.
f. Select Union B.
g. Click OK.
h. In the Value field, enter 32.
i. Click Submit.
7. Navigate to the Manage Fast Formula page.
a. From the Payroll Calculation work area, click the Manage Fast Formulas task.
8. Create the fast formula to get the value from the user-defined table to populate the Union
element input value.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX Union
Dues.
c. In the Type field, select Oracle Payroll.
d. In the Description field, enter Union Dues.
e. In the Legislative Data Group field, select US Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
9. Enter the formula text.
a. On the Create Fast Formula: XXX Union Dues page, enter the formula details in the
Formula Text area:
/***************************************************************
FORMULA NAME: XXX Union Dues
FORMULA TYPE: Oracle Payroll
DESCRIPTION: Retrieve the union dues amount for the appropriate
union dues from the union dues user-defined table.
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
Oracle University and Global Resources for Information Technology use only
/* Calculation Section */
deduction = 0
IF NOT union WAS DEFAULTED
THEN
deduction =
TO_NUMBER(GET_TABLE_VALUE('xxx_union_dues', 'dues', union))
b. Click Save.
10. Compile the formula.
a. Click Compile.
b. Click OK.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done.
Oracle University and Global Resources for Information Technology use only
Overview
In this practice, you will create a validation formula to return an error or message if a user enters
a value less than 10 or greater than 50 in the Dues column of the Union Dues user table.
Update the XXX_Union Dues user-defined table to add the validation formula.
Assumptions
• Time: 20 – 25 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
• The XXX_UNION_DUES user-defined table must be defined.
Tasks
1. Navigate to the Manage Fast Formula page.
a. From the Payroll Calculation work area, click the Manage Fast Formulas task.
2. Create the validation fast formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX Check
Union Dues.
c. In the Type field, select User Table Validation.
d. In the Description field, enter Check that the user-defined table value is between
10 and 50.
e. In the Legislative Data Group field, select US Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
3. Enter the formula text.
a. On the Create Fast Formula: XXX Check Union Dues page, enter the formula details
in the Formula Text area:
/***************************************************************
FORMULA NAME: XXX Check Union Dues
FORMULA TYPE: User Table Validation
DESCRIPTION: Check that the user-defined table value for the
union dues is between 10 and 50.
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Oracle University and Global Resources for Information Technology use only
/* Calculation Section */
IF TO_NUM(entry_value) < 10
OR TO_NUM(entry_value) > 50
THEN
(
formula_status = 'E'
formula_message = 'Union Dues must be between 10 and 50.
Please re-enter.'
)
ELSE
formula_status = 'S'
b. Click Save.
4. Compile the formula.
a. Click Compile.
b. Click OK.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done.
5. Navigate to the Manage User-Defined Tables page.
a. From the Payroll Calculation work area, click the Manage User-Defined Tables task.
6. Add a validation formula to the XXX_UNION DUES table.
a. In the Name field, enter XXX_Union_Dues.
b. Click Search.
c. In the Search Results section, select XXX_Union_Dues.
d. Click Edit at the top of the page.
e. In the User-Defined Column section, select the Edit icon.
f. In the Formula field, select XXX_Check Union Dues.
g. Click Save.
Note: You can test the validation formula by selecting the Edit icon and change the Union A
value from 30 to 60. Click Save. Once you see the error message, click OK, then click
Cancel.
Oracle University and Global Resources for Information Technology use only
Assumptions
• Time: 10 – 15 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Navigate to the payroll batch loader.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Payroll Administration menu item.
d. Click the Batch Loader task.
2. Create the batch header for the global value in the payroll batch loader.
a. On the Batch Loader page, click Download.
b. After the DesktopGenericBatch.xlsx file downloads, open the file.
c. When prompted to connect, click Yes.
d. In the Login dialog box, enter your user ID and password, and then click Sign In.
e. Navigate to the Batch Header Sheet at the bottom of the workbook.
f. In the Batch Name column of the Search Results section, enter XXX_Global Travel
Rate.
g. In the Legislative Data Group list, select US Legislative Data Group.
h. Click Save.
i. In the Upload Options dialog box, accept the default selection and click OK.
j. Once your selections are saved, the Status text for that row displays that the row
inserted successfully.
3. Create the batch content for the global value in the payroll batch loader.
a. On the Batch Header Sheet, double-click the batch name XXX_ Global Travel Rate
to prepare for data entry.
b. Navigate to the Batch Content Sheet.
c. Under Batch Contents Action, click Add.
d. In the Task Name field, enter Fast Formula Global.
e. Click Search.
f. Select Fast Formula Global, and click OK.
g. Double click the Task Action Name to display the columns for the selected task.
h. In the Batch Line Content Details section enter the values for each global as shown
in this table.
Line Sequence 10
Effective Start Date 1951-01-01
Oracle University and Global Resources for Information Technology use only
i. Click Save.
j. In the Upload Options dialog box accept the default selection and click OK.
Note: Keep the workbook open. You will verify the global value was transferred later in
the practice.
4. Transfer the batch.
a. From the Payroll Administration work area, click Submit a Process or Report.
b. In the Legislative Data Group field, select US Legislative Data Group.
c. In the Flow Pattern column, select Transfer Batch.
d. Click Next.
e. In the Payroll Flow field, enter XXX_Globals Batch.
f. In the Batch field, search for and select XXX_Global_Travel_Rate.
g. Click Next.
h. On the Enter Flow Interaction page, click Next.
i. On the Schedule page, click Next.
j. On the Review page, click Submit.
k. Click OK and View Checklist.
l. Click Refresh until the Transfer Batch process status displays as complete.
Oracle University and Global Resources for Information Technology use only
This formula multiplies the distance by the travel rate or an override travel rate if it was
defaulted. In this formula the inputs are distance and override travel rate. The value should be
rounded by 2 decimal places.
Assumptions
• Time: 10 – 15 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
• Create the XXX_Travel Rate global value in activity 7-1.
Tasks
1. Navigate to the Manage Fast Formula page.
a. In the Payroll Administration work area, click the Manage Fast Formulas task.
2. Create the fast formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX_Travel
Payment.
c. In the Type field, select Oracle Payroll.
d. In the Description field, enter Travel Payment.
e. In the Legislative Data Group field, select US Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
h. On the Create Fast Formula: XXX Travel Payment page, enter the formula details in
the Formula Text area:
/***************************************************************
FORMULA NAME: XXX Travel Payment
FORMULA TYPE: Oracle Payroll
DESCRIPTION: Calculate the travel payment for the Distance input
value for the Travel Payment element.
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
Oracle University and Global Resources for Information Technology use only
/* Calculation Section */
IF override_travel_rate WAS DEFAULTED
THEN
travel_payment = ROUND((distance *
override_travel_rate),2)
ELSE
travel_payment = ROUND((distance *
XXX_TRAVEL_RATE),2)
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
from which an enrollment period starts.
Oracle University and Global Resources for Information Technology use only
This Open Enrollment window typically happens in November of each calendar year, for about 2
weeks. These are future-dated enrollments that take effect after the current calendar year ends.
A life event, such as marriage, divorce, or birth of a child, will cause an intervening event that
will change the open enrollment elections.
Assumptions
• Time: 20 – 25 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Create the fast formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX Benefits
Person Selection Rule.
c. In the Type field, select Person Selection.
d. In the Description field, enter Select employees based on person numbers.
e. In the Legislative Data Group field, select US Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
3. Enter the formula text.
a. On the Create Fast Formula: XXX Benefits Person Selection Rule page, enter the
formula details in the Formula Text area:
/***************************************************************
FORMULA NAME: XXX Benefits Person Selection Rule
FORMULA TYPE: Person Selection
DESCRIPTION: Select employees based on person numbers.
***************************************************************/
/***************************************************************
Change History:
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Oracle University and Global Resources for Information Technology use only
/* DATABASE ITEM DEFAULTS SECTION */
DEFAULT for PER_ASG_PERSON_NUMBER IS '-1'
/* CALCULATION SECTION */
output = 'N'
per_number = PER_ASG_PERSON_NUMBER
return output
b. Click Save.
4. Compile the formula.
a. Click Compile.
b. Click OK.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done.
e. On the Manage Fast Formulas page, click Done.
Oracle University and Global Resources for Information Technology use only
Overview
In this practice, you will create an enrollment coverage start date formula to enact a business
rule for an organization.
You are writing a formula to enact the business rule stating that an employee is automatically
enrolled in a benefit plan beginning one, three, or six months after hire date, depending on the
employment category and the legal entity of primary assignment. For this rule, the time periods
are fixed but you can add or delete organizations.
Create an Enrollment Coverage Start Date formula using a user-defined table to get the values
for the start period.
Create a user-defined table to hold the values for the enrollment start period based on the legal
entity. The numbers given in the table refer to the months of employment.
Legal Entity Fulltime Regular Part-time Regular
Corp USA1 3 3
ISD USA 3 N/A
Health USA 1 6
University USA 3 6
Assumptions
• Time: 20 – 25 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Navigate to the Manage User-Defined Table page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage User-Defined
Tables.
e. Click Search.
f. For the Manage User-Defined Tables task, click Go to Task.
2. Create the user-defined table.
a. Click Create.
b. In the Legislative Data Group field, select US Legislative Data Group.
c. In the Effective As-of Date field, enter 01/01/1951.
d. Click Continue.
3. Enter the basic details.
Oracle University and Global Resources for Information Technology use only
a. In the User-Defined Columns section, click Create.
b. In the Column Name field, enter Fulltime.
c. In the Data Type field, select Number.
d. In the User-Defined Columns section, click Create.
e. In the Column Name field, enter Part_time.
f. In the Data Type field, select Number.
5. Enter the row details.
a. In the User-Defined Rows section, click Create.
b. In the Sequence field, enter 10.
c. In the Exact field, enter Corp USA1.
d. In the User-Defined Rows section, click Create.
e. In the Sequence field, enter 20.
f. In the Exact field, enter ISD USA.
g. In the User-Defined Rows section, click Create.
h. In the Sequence field, enter 30.
i. In the Exact field, enter Health USA.
j. In the User-Defined Rows section, click Create.
k. In the Sequence field, enter 40.
l. In the Exact field, enter University USA.
Oracle University and Global Resources for Information Technology use only
Corp USA1 3 3
ISD USA 3
Health USA 1 6
University USA 3 6
− Note: To enter values for the other column, click Save.
− For the blank entry in Part-time regular do not create a row for the table value. It
cannot accept a blank.
c. Click Submit.
7. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
8. Create the fast formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX Enrollment
Coverage Start Date.
c. In the Type field, select Enrollment Coverage Start Date.
d. In the Description field, enter Determine the coverage start date for benefits.
e. In the Legislative Data Group field, select US Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
9. Enter the formula text.
a. On the Create Fast Formula: XXX Enrollment Period Start Date page, enter the
formula details in the Formula Text area:
/***************************************************************
FORMULA NAME: XXX Enrollment Coverage Start Date
FORMULA TYPE: Enrollment Coverage Start Date
DESCRIPTION: Determine the coverage state date for benefits.
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
Oracle University and Global Resources for Information Technology use only
DEFAULT FOR wait_months IS 0
/* Calculation Section */
wait_months =
to_number(GET_TABLE_VALUE('XXX_WAITING_PERIOD',
'Part_time', Legal_Entity))
enroll_date = ADD_MONTHS(enroll_date,wait_months)
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
Your organization operates in multiple legislative data groups (LDG) where employees in one
country may report to a manager in a different country.
Create a parent formula that calls 2 child formulas in 2 different LDGs. One child formula must
be created in each LDG where there are eligible employees and then the child formula must be
called by a parent formula which is used to default bonus amount for the employee.
Assumptions
• Time: 25 – 30 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Create a GB legislation-specific compensation default and override fast formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX
CM_DV_FOR_ASG_BONUS_VALUE.
c. In the Type field, select Compensation Default and Override.
d. In the Description field, enter Return Bonus Value of the Employee.
e. In the Legislative Data Group field, select GB Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
3. Enter the formula text
a. On the Create Fast Formula: XXX CM_DV_FOR_ASG_BONUS_VALUE page, enter
the formula details in the Formula Text area:
/***************************************************************
Name : XXX CM_DV_FOR_ASG_BONUS_VALUE
Type : Compensation Default and Override
Requirement: Return Bonus Value of the Employee
Logic : Return DBI for Bonus of UK, default with 0
DBI : BONUS_UK_AMOUNT_ASG_ENTRY_VALUE
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Oracle University and Global Resources for Information Technology use only
Comments: Initial Formula
***************************************************************/
/* CALCULATION SECTION */
L_DATA = ESS_LOG_WRITE( 'BEGIN XXX CM_DV_FOR_ASG_BONUS_VALUE UK'
)
/* When the DBI has some value return the value or return 0 */
L_DEFAULT_VALUE = BONUS_UK_AMOUNT_ASG_ENTRY_VALUE
IF ( BONUS_UK_AMOUNT_ASG_ENTRY_VALUE WAS DEFAULTED ) THEN (
L_DEFAULT_VALUE= 0
)
Oracle University and Global Resources for Information Technology use only
Requirement: Return Bonus Value of the Employee
Logic : Return DBI for Bonus of US, default with 0
DBI : BONUS_INF_AMOUNT_ASG_ENTRY_VALUE
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
/* CALCULATION SECTION */
L_DATA = ESS_LOG_WRITE( 'BEGIN XXX CM_DV_FOR_ASG_BONUS_VALUE US'
)
/* When the DBI has some value return the value or return 0 */
L_DEFAULT_VALUE = BONUS_PAY_AMOUNT_ASG_ENTRY_VALUE
IF (BONUS_PAY_AMOUNT_ASG_ENTRY_VALUE WAS DEFAULTED ) THEN (
L_DEFAULT_VALUE= 0
)
Oracle University and Global Resources for Information Technology use only
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
9. Enter the formula text.
a. On the Create Fast Formula: XXX CM_DV_FOR_ASG_BONUS_PARENT page,
enter the formula details in the Formula Text area:
/***************************************************************
Name : XXX CM_DV_FOR_ASG_BONUS_PARENT
Type : Compensation Default and Override
Requirement: Return Bonus Value of the Employee
Logic : Return DBI for Bonus of US, default with 0
DBI : US_BONUS_AMOUNT_ASG_ENTRY_VALUE
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
/* CALCULATION SECTION */
L_DATA = ESS_LOG_WRITE( 'XXX CM_DV_FOR_ASG_BONUS_PARENT ' )
Oracle University and Global Resources for Information Technology use only
L_DATA = ESS_LOG_WRITE( 'END XXX CM_DV_FOR_ASG_BONUS_PARENT' ||
L_VALUE )
Oracle University and Global Resources for Information Technology use only
yes if the compensation plan start date is greater than the persons hire date.
Assumptions
• Time: 20 – 25 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Create the compensation person selection formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX
CMP_PERSON_SELECTION_FOR_EXISITING_EMPLOYEE.
c. In the Type field, select Compensation Person Selection.
d. In the Description field, enter Select employees with hire dates prior to the plan
period.
e. In the Legislative Data Group field, leave it blank.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
2. Enter the formula text.
a. On the Create Fast Formula: XXX
CMP_PERSON_SELECTION_FOR_EXISITING_EMPLOYEE page, enter the formula
details in the Formula Text area:
/***************************************************************
Name : XXX CMP_PERSON_SELECTION_FOR_EXISITING_EMPLOYEE
Type : Compensation Person Selection
Requirement: Select the employee only if the employee is hired
before the plan period
Logic : If the person hire date is lesser then the plan
start date Return Y or N
DBI : PER_ASG_START_DATE
Input Value: CMP_IV_PLAN_START_DATE, CMP_IV_PLAN_END_DATE
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
Oracle University and Global Resources for Information Technology use only
INPUTS ARE CMP_IV_PLAN_START_DATE (text), CMP_IV_PLAN_END_DATE
(text)
/* CALCULATION SECTION */
L_RET_VALUE = 'N'
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
Plan Unit of Measure Length of Service Accrual Amount
PTO Accrual Plan Hourly < 3 years 10
> or = 3 years and < 5 years 12
> or = 5 years 15
Daily < 3 years 10/24
> or = 3 years and < 5 years 12/24
> or = 5 years 15/24
Weekly < 3 years 10/120
> or = 3 years and < 5 years 12/120
> or = 5 years 15/120
This type of formula is used in an absence plan.
Assumptions
• Time: 20 – 25 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Navigate to the Manage Fast Formulas page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Create the fast formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX PTO
Absence Accrual.
c. In the Type field, select Global Absence Accrual.
d. In the Description field, enter Determine the PTO accrual rate for employees.
e. In the Legislative Data Group field, select US Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
3. Enter the formula text.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.
a. On the Create Fast Formula: XXX PTO Absence Accrual page, enter the formula
details in the Formula Text area:
/***************************************************************
FORMULA NAME: XXX PTO Absence Accrual
FORMULA TYPE: Global Absence Accrual
Oracle University and Global Resources for Information Technology use only
DESCRIPTION: Determine the PTO accrual rate for employees.
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
/* CALCULATION SECTION */
l_no_of_days=DAYS_BETWEEN(GET_CONTEXT(EFFECTIVE_DATE,'4712/12/31
00:00:00' (date)),PER_ASG_REL_ORIGINAL_DATE_OF_HIRE)
l_length_of_service=(l_no_of_days/365)
)
ELSE (
IF (ANC_ABS_PLN_PLAN_UOM ='D')
THEN(
Oracle University and Global Resources for Information Technology use only
IF l_length_of_service <3
THEN accrual =round(10/24,3)
)
ELSE
IF (ANC_ABS_PLN_PLAN_UOM ='W')
THEN(
IF l_length_of_service <3
THEN accrual =round(10/120,3)
d.
Click Done.
Oracle University and Global Resources for Information Technology use only
Assumptions
• Time: 15 – 20 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Create the fast formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula page, in the Formula Name field, enter XXX System
Analyst Absence Proration.
c. In the Type field, select Global Absence Proration.
d. In the Description field, enter Return the proration factor based on employee type.
e. In the Legislative Data Group field, select US Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
3. Enter the formula text.
a. On the Create Fast Formula: XXX System Analyst Absence Proration page, enter
the formula details in the Formula Text area:
/***************************************************************
FORMULA NAME: XXX System Analyst Absence Proration
FORMULA TYPE: Global Absence Proration
DESCRIPTION: Return the proration factor based on employee type
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
Oracle University and Global Resources for Information Technology use only
if (PER_JOB_REGULAR_TEMPORARY ='T')
then (
if (PER_ASG_ATTRIBUTE1='System Analyst')
then(
prorationFactor=0.5
)
)
else (
prorationFactor=1.0
)
b. Click Save.
4. Compile the formula.
a. Click Compile.
b. Click OK.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done.
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
Modify the formula to include job as a parameter.
Assumptions
• Time: 15 – 20 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
Tasks
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Search for the existing formula.
a. In the Type field, select Time Entry Rules.
b. Click Search.
c. In the Search Results section, select
WFM_PERIOD_MINIMUM_TIME_ENTRY_RULE.
3. Copy the formula text.
a. Open Notepad.
b. In the Formula Text section, highlight all of the formula text.
c. Copy the text.
d. Paste the formula in Notepad.
e. On the Manage Fast Formula page, click Done.
4. Create a fast formula.
a. On the Manage Fast Formula page, click the Create icon.
b. In the Formula Name field, enter
XXX_WFM_PERIOD_MINIMUM_TIME_ENTRY_RULE_NEW_JOB.
c. In the Type field, select Time Entry Rule.
d. In the Description field, enter Formula that validates if reported time entries are
less than a defined minimum hours value.
e. In the Legislative Data Group field, leave blank.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
5. Enter the formula text.
Oracle University and Global Resources for Information Technology use only
1) Change the formula name in the comments of the formula.
1 /* $Header: fusionapps/hcm/hwm/db/data/Hl…… */
2
+=============================================================+
3 Copyright (c) 2009 Oracle Corporation
4 Redwood Shores, California, USA
5 All rights reserved.
6
+=============================================================+
7 *
8 * Formula Name :
XXX_WFM_PERIOD_MINIMUM_TIME_ENTRY_RULE_NEW_JOB
9 …
Oracle University and Global Resources for Information Technology use only
72 ' , l_msg_cd =' || l_msg_cd ||
73 ' , l_time_category =' || l_time_category ||
74 ' , l_job_id=' || l_job_id ||
75 ' ) ' )
76
77
78 wk_hrs_total_day=get_wrk_num(ffs_id,'wk_hrs_total_day',0, 0)
…
c. Click Save.
6. Compile the formula,
a. Click Compile.
b. Click OK.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done
Assumptions
Oracle University and Global Resources for Information Technology use only
• Time: 10 - 15 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
• Practice 11-1 is complete.
Tasks
1. Navigate to the Manage Rule Templates page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Time Repository
Rule.
e. Click Search.
f. For the Manage Time Repository Rule Template task, click Go to Task.
2. Create a rule template.
a. On the Manage Rule Template page, click Create.
b. In the Template Type field, select Time entry rule.
c. In the Formula Name field, select
XXX_WFM_PERIOD_MINIMUM_TIME_ENTRY_RULE_NEW_JOB.
d. Click Continue.
3. Add the data to the rule template definition.
a. In the Name field, enter XXX_ Minimum Hours Template with Job Parameter.
b. In the Description field, enter Time entry rule template to compare certain time
card entries against a defined minimum value.
c. In the Rule Classification field, select Working time directive.
d. In the Summation Level field, select Time Card.
e. In the Reporting Level field, select Time Card.
f. In the Suppress Duplicate Messages Display field, select Yes.
g. In the Process Empty Time Card field, select Yes.
h. In the Time Card Events That Trigger Rule section, select the Save, Submit, and
Resubmit options.
i. Click Next
Oracle University and Global Resources for Information Technology use only
WORKED_TIME_CONDITION Time Category Time category that
defines the hour entries
that amount to the
minimum value.
b. Click Next.
5. Enter the rule template outputs.
a. For the Output Name listed, update the Message Severity and Display Name:
OUT_MSG Warning Severity of the output
message
b. Click Next.
6. Enter the rule template explanation.
a. For the Explaination listed, update the output text to explain the rule:
Message Tokens
Explanation When the total hours defined in the time
category{WORKED_TIME_CONDITION} are
less than the minimum number of hours
{DEFINED_LIMIT}, for the job {JOB_ID} then
the message {MESSAGE_CODE} is
displayed.
b. Click Next.
7. Review the rule template.
a. Click Save and Close.
b. Click Done to return to FSM.
Oracle University and Global Resources for Information Technology use only
a time period. If a time card does not have 30 hours, a warning should be issued.
Assumptions
• Time: 5 - 10 minutes
• Replace XXX with your student identifier, as indicated by your instructor.
• Practice 11-2 is complete.
Tasks
1. Navigate to the Manage Rules page.
a. For the Manage Time Repository Rules task, click Go to Task
2. Create a new rule.
a. On the Actions menu, click Create.
b. In the Name field, enter XXX_MININMUM_PERIOD_RULE_ FOR_ CSR.
c. In the Template Type field, select Time entry rule.
d. In the Rule Template Name field select XXX_Minimum Hours Template with Job
Parameter.
e. Click Continue.
3. Define specific rule values.
a. In the Description field, enter CSR Worker must report at least 30 working hours
per week or will receive a warning message.
b. In the Rule Parameters section, enter the Value as described in the table:
Minimum number of hours before the message is 30
displayed.
Job of the person assignment. Customer Service
Representative 1
Message displayed when the entered hours are
less than the minimum hours.
Time category that defines the hour entries that Worked Time
amount to the minimum value.
c. In the Outputs section, select a warning severity for the CSR job.
Severity of the output message Warning
d. Click Save and Close.
Oracle University and Global Resources for Information Technology use only
THESE eKIT MATERIALS ARE FOR YOUR USE IN THIS CLASSROOM ONLY. COPYING eKIT MATERIALS FROM THIS COMPUTER IS STRICTLY PROHIBITED
Oracle University and Global Resources for Information Technology use only
Oracle University and Global Resources for Information Technology use only
There are four lines in the formula
• Place a comment before each line
− Initialize the compensation assignment salary amount DBI
− Initialize a local variable to hold the return value
− Assign the local variable to the truncated DBI value
− Return the local variable
Note: The default number of decimal places is 0, which is used in this example, but you can
specify the number of decimal places, if needed.
Demonstration Steps
1. Navigate to the Manage Fast Formulas page.
a. Sign in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Create the fast formula.
a. On the Manage Fast Formulas page, click the Create icon.
b. On the Create Fast Formula window, in the Formula Name field, enter Comp
Default.
c. In the Type field, select Compensation Default and Override.
d. In the Description field, enter Default Compensation.
e. In the Legislative Data Group field, select US Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
Note: Ensure you create a formula with an effective date that is early enough to cover
all instances when it is needed.
g. Click Continue.
3. Enter the formula text.
a. On the Create Fast Formula: Comp Default page, enter the formula details in the
Formula Text area:
/* Initialize DBIs to be used */
DEFAULT FOR CMP_ASSIGNMENT_SALARY_AMOUNT IS 0
/*Initialize variables */
L_VALUE = 0
Oracle University and Global Resources for Information Technology use only
b. Click Save.
4. Compile the formula.
a. Click Compile.
b. Click OK.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done.
e. On the Manage Fast Formulas page, click Done.
Oracle University and Global Resources for Information Technology use only
• This formula type is used to determine whether a person is eligible for an associated
compensation object
This formula contains:
• Defaults statement
• Calculation section
• Return statement
Demonstration Steps
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Search for the formula.
a. On the Manage Fast Formulas page, in the Formula Name field, enter Comp Person
Participation Eligibility.
b. In the Legislative Data Group field, select US Legislative Data Group.
c. Click Search.
d. In the Search Results section, click Comp Person Participation Eligibility.
3. Review the formula structure.
a. Lines 1 – 26, are the initial comments of the formula explaining how it is used and the
context available for the formula.
b. Line 28 is a comment stating the default statement is following.
c. Lines 30-31, are the default statements defaulting the two database items used in the
formula.
d. Line 33 is a comment stating the calculation section is following.
e. Lines 35 sets the eligibility to No.
f. Lines 37 – 44, are assigning values to the local variables in the formula.
g. Line 46 is a comment stating the formula will look for employees for eligibility.
h. Lines 48 - 53, is a conditional logic statement that checks whether the month and year
of the effective from date for the assignment's compensation is equal to the current
effective date. It also checks if the assignment’s compensation effective to date year is
equal to 4712.
Note: If there is no effective end date, then the effective end date year is assumed to
be 4712.
Oracle University and Global Resources for Information Technology use only
If these conditions are true then the eligibility is Yes. If any of these conditions are not
true, then the formula does not execute the statement after the THEN clause, and the
eligibility stays at No, as assigned on Line35.
i. Line 55 is a comment stating the return section is following.
j. Line 57 is the return statement, returning the value for an assignment’s eligibility.
k. Line 59 is a comment stating this is the end of the fast formula.
l. Click Done.
DemonstrationSteps
Oracle University and Global Resources for Information Technology use only
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Create the fast formula.
a. Click Create.
b. In the Formula Name field, enter LOOPING_1_TO_5.
c. In the Type field, select Oracle Payroll.
d. In the Description field, enter Loop for 5 Iterations.
e. In the Legislative Data Group field, select US Legislative Data Group.
f. In the Effective Start Date field, enter 01/01/1951.
g. Click Continue.
3. Enter the formula text.
a. On the Create Fast Formula: LOOPING_1_TO_5 page, enter the formula details in
the Formula Text area:
/*************************************************************
FORMULA NAME: LOOPING_1_To_5
FORMULA TYPE: Loop for 5 Iterations
DESCRIPTION: The formula loops 5 times in processing
*************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
Oracle University and Global Resources for Information Technology use only
b. Click Save.
4. Compile the formula.
a. Click Compile.
b. Click OK.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done.
Oracle University and Global Resources for Information Technology use only
Fast Formulas page, compilation errors will display in the Compilation Details section
of the page. The details will display the line number and issue in error.
• Run the Compile Formulas process – If you run the Compile Formula process, any
compilation errors can be viewed on the Errors tab or Warnings tab on the Dashboard.
Demonstration Tasks
1. Compile a Single Formula
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
g. On the Manage Fast Formulas page, in the Formula Name field, enter
GLB_INVDED_SKIP.
h. In the Type field, select Element Skip.
i. Click Search.
j. In the Search Results section, click GLB_INVDED_SKIP.
k. Using the furthest right scroll bar, scroll down until you can see the Compilation
Details section at the bottom of the page.
2. Compile Formula Process
a. Click the Navigator icon.
b. Click the Payroll Dashboard menu item.
c. In the Items Requiring My Attention section, click the Errors tab.
d. In the Items Requiring My Attention section, click the Warnings tab.
Note: Compilation errors encountered during the process with display on this tab.
Demonstration Steps
Oracle University and Global Resources for Information Technology use only
1. Ensure that you are signed in as hcm_impl.
2. From the Setup and Maintenance work area, in the Name field, enter user-defined.
3. Click Search.
4. For the Manage User-Defined Tables task, click Go to Task.
5. Create a user-defined table to hold the bonus percentages based on a person's years of
service and department.
a. Click Create.
b. In the Legislative Data Group field, select US Legislative Data Group.
c. In the Effective As-of Date field, enter 01/01/2014.
d. Click OK.
e. In the Name field, enter XXX_Bonus_Percent.
f. Click the Range or Match field, select Range.
g. In the Row Title field, enter Years of Service.
h. In the User-Defined Columns section, click Create.
i. In the Column Name field, enter ACCOUNTING.
j. In the Data Type field, select Number.
k. In the User-Defined Columns section, click Create.
l. In the Column Name field, enter PAYROLL.
m. In the Data Type field, select Number.
Note: There are three rows representing the range of service that holds a specific
value, 1-5, 6-10, and 11-99.
6. Specify the range for a bonus percent for anyone with 1-5 years of service.
a. In the User-Defined Rows section, click Create.
b. In the Sequence field, enter 10.
c. In the Low Range field, enter 1 as the low range.
d. In the High Range field, enter 5 as the high range.
7. Specify the range for a bonus percent for anyone with 6-10 years of service.
a. In the User-Defined Rows section, click Create.
b. In the Sequence field, enter 20.
c. In the Low Range field, enter 6 as the low range.
d. In the High Range field, enter 10 as the high range.
8. Specify the range for a bonus percent for anyone with 11-99 years of service.
a. In the User-Defined Rows section, click Create.
b. In the Sequence field, enter 30.
c. In the Low Range field, enter 11 as the low range.
d. In the High Range field, enter 99 as the high range.
Oracle University and Global Resources for Information Technology use only
e. In the Value field, enter .10.
f. Click Create.
g. Select the second row, and then click OK.
h. In the Value field, enter .20.
i. Click Create.
j. Select the third row and click OK.
k. In the Value field, enter .30.
10. Add values for the Payroll column.
a. Click Back.
b. In the User-Defined Columns section, click PAYROLL.
c. Click Next.
d. Click Create.
e. Select the first row, and then click OK.
f. In the Value field, enter .08.
g. Click Create.
h. Select the second row, and then click OK.
i. In the Value field, enter .16.
j. Click Create.
k. Select the last row, and then click OK.
l. In the Value field, enter .24.
11. Click Submit.
12. Click Done.
Oracle University and Global Resources for Information Technology use only
Create the Element
• Review the Generated Formulas
Assumptions
• Replace XXX with your student identifier, as indicated by your instructor.
Demonstration Steps
1. Navigate to the Manage Elements page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Payroll Calculations menu item.
d. Click the Manage Elements task.
e. On the Manage Elements page, click Create.
2. Create an Overtime element.
a. In the Legislative Data Group field, select US Legislative Group.
b. In the Primary Classification field, select Standard Earnings.
c. In the Secondary Classification field, select Overtime.
d. Click Continue.
3. Enter the basic information.
a. In the Name field, enter XXX Overtime.
b. In the Reporting Name field, enter Overtime.
c. In the Description field, enter OT.
d. In the Effective Date field, enter 01/01/1951.
e. For the question, Should every person eligible for the element automatically
receive it?, click No.
f. For the question, What is the earliest entry date for this element?, select First
Standard Earning Date.
g. For the question, What is the latest entry date for this element?, select Last
Standard Earning Date.
h. For the question, Does this element recur each payroll period, or does it require
explicit entry?, click Nonrecurring.
i. Click Next.
Oracle University and Global Resources for Information Technology use only
b. On the Actions menu, click Create Element Eligibility.
Note: Add element eligibility to all elements for which you want to create element
entries, costing, or balance adjustments.
c. In the Element Eligibility Name field, enter XXX Overtime.
d. Click Submit.
7. Review related formulas.
a. In the Element Overview section, scroll down to Related Formulas, review the Related
Formulas created from the template.
b. Click Done.
8. Review the Generated Formulas.
a. On the Payroll Calculation page, click Manage Fast Formulas.
b. On the Manage Fast Formulas page, in the Formula Name field, enter XXX
Overtime.
c. In the Legislative Data Group field, select US Legislative Data Group.
d. Click Search.
e. Resize the Description column to display all the text.
f. Review the generated formulas.
1) Oracle Payroll Formulas types
a) XXX Overtime_EARN – Returns values needed for Hours x Rate calculation
type to pass to the XX Overtime_EARN_RESULTS formula
b) XXX Overtime_EARN_DISTRIBUTION – Distributes earnings by jurisdiction
and stores them in the working storage area
c) XXX Overtime_EARN_RESULTS – Returns the pay value for the XX
Overtime element
2) Auto Indirect Formula type
a) XXX Overtime_AUTO_INDIRECT – Returns the State, County, and City
jurisdictions to use in the XX Overtime_DISTRIBUTION formula
3) Payroll Run Proration Formula type
a) XXX Overtime_EARN_PRORATION – Returns proration results when
proration is needed on this element
Oracle University and Global Resources for Information Technology use only
available information for a benefit formula type.
Demonstration Steps
1. Go to the My Oracle Support page.
a. Open a browser tab and go to support.oracle.com.
b. On the My Oracle Support page, click Sign In.
c. On the Oracle Sign In page, sign in using your Oracle account user ID and password.
2. In the Search field at the top of the page, enter the document ID 1456985.1.
3. Click the Global Search icon to open the document.
The Benefits Fast Formula Reference Guide for Oracle Fusion Benefits document
provides general information about the Benefits Fast Formula Reference Guide.
4. Scroll down to the Attachments section.
5. Click Benefits Fast Formula Reference Guide to download the reference guide.
6. In the reference guide, go to the Table of Contents.
7. Click 3. Participation and Rate Eligibility to navigate to the section for that formula type.
For each type of formula, the guide includes a brief description, available contexts,
database items, input and return variables, and sample formulas.
Oracle University and Global Resources for Information Technology use only
then review the available information for a compensation formula type.
Demonstration Steps
1. Go to the My Oracle Support page.
a. Open a browser tab and go to support.oracle.com.
b. On the My Oracle Support page, click Sign In.
c. On the Oracle Sign In page, sign in using your Oracle account user ID and password.
2. In the Search field at the top of the page, enter the document ID 1335835.1.
3. Click the Global Search icon to open the document.
The Worker Compensation Fast Formula Reference Guide document provides general
information about the Worker Compensation Fast Formula Reference Guide.
4. Scroll down to the Attachments section.
5. Click Reference_Guide to download the guide.
6. In the reference guide, scroll down to page 5 of the PDF to view information about the
Compensation Default and Override formula type.
For each type of formula, the guide includes a brief description, available contexts,
database items, input and return variables, errors, and sample formulas.
Oracle University and Global Resources for Information Technology use only
review the available information for an absence management formula type.
Demonstration Steps
1. Go to the My Oracle Support page.
a. Open a browser tab and go to support.oracle.com.
b. On the My Oracle Support page, click Sign In.
c. On the Oracle Sign In page, sign in using your Oracle account user ID and password.
2. In the Search field at the top of the page, enter the document ID 1680632.1.
3. Click the Global Search icon to open the document.
The Fusion Absence Management: Unable To Create Absence Duration Fast Formula
document includes a link to the Global Absences Fast Formula Reference Guide.
4. Scroll down to the Attachments section.
5. Click Release 8 Global Absences Fast Formula Guide to download the guide.
6. In the reference guide, scroll down to page 3 to view information about the Global Absence
Accrual formula type.
For each type of formula, the guide includes the available contexts, database items, input
and return variables, return values, and sample formulas.
Oracle University and Global Resources for Information Technology use only
are less than a defined minimum hours value.
Demonstration Steps
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Manage Fast
Formulas.
e. Click Search.
f. For the Manage Fast Formulas task, click Go to Task.
2. Search for the formula.
a. In the Type field, select Time Entry Rules.
b. Click Search.
c. In the Search Results section, select
WFM_PERIOD_MINIMUM_TIME_ENTRY_RULE.
3. Review the formula text.
a. This formula looks for a defined limit amount, a message and an amount of worked
time.
b. The formula will return a message if the defined minimum limit is not met for the
amount of worked time defined.
c. Click Done.
Oracle University and Global Resources for Information Technology use only
different parameter values.
Demonstration Steps
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Click the Navigator icon.
c. Click the Setup and Maintenance menu item.
d. On the Overview page, All Tasks tab, in the Name field, enter Time Repository
Rule.
e. Click Search.
f. For the Manage Time Repository Rule Template task, click Go to Task.
2. Search for the rule template.
a. Click Search.
b. In the Search Results section, select Period Minimum Hours Template.
3. Review the definition.
a. Review the formula associated with the rule template.
b. Click Next.
4. Review the parameters.
a. Review the display name for each parameter in the formula.
b. Click Next.
5. Review the outputs.
a. Review the display name for the outputs in the formula.
b. Click Next.
6. Review the explanation.
a. Review the explanation that is used in the output message.
b. Click Next.
7. Review the rule template.
a. Review the rule template.
b. Click Done to exit the page.
c. Click Done to return to the search results in the Functional Setup Manager (FSM).
Oracle University and Global Resources for Information Technology use only
Demonstration Steps
1. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_impl.
b. Ensure you are at your previous search results.
c. For the Manage Time Repository Rules task, click Go to Task.
2. Search for the rule.
a. Click Search.
b. In the Search Results section, select Minimum 40 Hours Worked.
3. Review the rule.
a. Review in the Rule Parameters section you will enter values for the parameters with
the display name defined in the associated rule template.
b. Review in the Outputs the type of output to display. In this example, the message
should issue a Warning.
Note: These values allow you to modify a formula for processing, without changing the
formula text. During processing, the formula will look for values in the template entry
rule that is associated with it.
c. Click Cancel.