0% found this document useful (0 votes)
273 views39 pages

Fast Formula - Ag

The document outlines practices for creating and managing fast formulas in an educational setting, specifically focusing on lesson overviews and tasks for students. It includes detailed instructions for identifying formula components, writing benefit eligibility formulas, and creating payroll formulas in Oracle. Each lesson has prerequisites, tasks, and solutions to guide students through the process of learning fast formula syntax and structure.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
273 views39 pages

Fast Formula - Ag

The document outlines practices for creating and managing fast formulas in an educational setting, specifically focusing on lesson overviews and tasks for students. It includes detailed instructions for identifying formula components, writing benefit eligibility formulas, and creating payroll formulas in Oracle. Each lesson has prerequisites, tasks, and solutions to guide students through the process of learning fast formula syntax and structure.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Practices for Lesson 1:

Overview

.
Practices for Lesson 1: Overview
Practice Information: Student Identifiers
Use your assigned student identifiers to create a unique name for the data you
create in the practices.
Note: If you are taking this class as a Training on Demand, with no live instructor,
please select one row of data from the table to use during the class.
Student Numeric Identifier Your.Implementer
F11 HCM_IMPL1
F12 HCM_IMPL2
F13 HCM_IMPL3
F14 HCM_IMPL4
F15 HCM_IMPL5
F16 HCM_IMPL6
F17 HCM_IMPL7
F18 HCM_IMPL8
F19 HCM_IMPL9
F20 HCM_IMPL10
F21 HCM_IMPL11
F22 HCM_IMPL12
F23 HCM_IMPL13
F24 HCM_IMPL14
F25 HCM_IMPL15
F26 HCM_IMPL16
F27 HCM_IMPL17
F28 HCM_IMPL18
F29 HCM_IMPL19
F30 HCM_IMPL20

Practices for Lesson 1: Overview


Practices for Lesson 2:
Basic Fast Formula Syntax
Practices for Lesson 2: Overview
Practices Overview
In this practice, you will identify formula components in an existing formula.

Prerequisites
Throughout this class use the Mozilla Firefox browser to access the application.

Practices for Lesson 2: Basic Fast Formula


Syntax
Practice 2-1: Identifying Formula Components
Overview
In this practice you will review the text below from the Accrual Payroll Calculation
formula and identify the syntax within the formula.

Assumptions
 Time: 10 – 15 minutes

Tasks
1. Review the following formula text:
/*
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')

IF (ACP_START_RULE = 'BOY') THEN


(
First_Eligible_To_Accrue_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.

Practices for Lesson 2: Basic Fast Formula Syntax


Solution 2-1: Identifying Formula Components
Overview
In this solution, you will see the syntax labeled in the formula.

Steps
1. Review the formula syntax.

/ -

Determine the Accrual Start Rule and modify the start date of
accrual calculation

In this calculation the Accrual Start Rule determines the date o


which a person may first accrue PTO. The Ineligibility Rule
the period of time during which the PTO is not

Once this date has passed the accrual is registered from the
determined by the Accrual Start

*
Variable
Continuous_Service_Date = get_date('CONTINUOUS_SERVICE_DATE')

IF (ACP_START_RULE = 'BOY')
Operator
(

First_Eligible_To_Accrue_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_Elig ble_To_Accrue_Date = Continuous_Service_Date

) Variable

Practices for Lesson 2: Basic Fast Formula


Syntax
Practices for Lesson 2:
Basic Fast Formula Syntax
Practices for Lesson 3: Overview
Overview
In this practice, you will write a formula that determines a person’s benefit
eligibility waiting period.

Prerequisites
Throughout this class use the Mozilla Firefox browser to access the application.

Practices for Lesson 3: Basic Fast Formula


Structure
Practice 3-1: Writing a Waiting Period Value and UOM Formula
Overview
In this practice you, you will create a formula to determine a person’s waiting
period for their benefits eligibility. The waiting periods are based on a person’s job
and country of birth. 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.

Assumptions
 Time: 15 – 25 minutes
 Replace XX with your student identifier.
 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. Sign in and navigate.
a. Sign in as Your.Implementor as indicated in the table in Lesson 1.
b. Click on your user ID to open the Settings and Action menu, and then
click Setup and Maintenance.

c. On the Setup: Compensation Management page, open the Tasks panel and click
Search.
d. On the Search page in the Search field, enter Manage Fast Formulas.
e. Click Search.

Practices for Lesson 3: Basic Fast Formula


Structure
f. In the search results, click Manage Fast Formulas.
2. Create the fast formula.
a. On the Manage Fast Formulas page in the Search Results section, click the Create
icon ( ).
b. In the Create Fast Formula window in the Formula Name field, enter
XX_Benefit Wait Period, where XX is your student identifier.
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 1/1/51.
g. Click Continue.
3. Write the formula.
a. On the Create Fast Formula: XX Benefit Wait Period page, enter the formula
details in the Formula Text area:
b. Add a comment section that contains:
c. Formula Name
d. Formula Type
e. Formula Description
f. Add a comment section titled Change History which includes:
g. Name
h. Date
i. Comments
j. Add a section to set the defaults for the Country and Job Name database items:
k. PER_ASG_COUNTRY_OF_BIRTH – set a default that is 2 characters
l. PER_ASG_JOB_NAME – set a default that is 3 characters
m. 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.
n. If the Country of Birth is not US and the Job is Content Writer then the
waitingperiod value is 6 and the waiting period unit of measure is
months.
o. Else, the waiting period value is 1 and the waiting period unit of measure is months.
p. Add a return statement to return the values:
q. Waiting period value
r. Waiting period unit of measure
4. Compile the formula.
a. Click Save.
b. Click Compile.

Practices for Lesson 3: Basic Fast Formula


Structure
Note: You may need to click Compile more than once.
c. At the Compile message, click OK.
d. Click Refresh until the Compile Status is successful ( ).
e. Click Done.

Practices for Lesson 3: Basic Fast Formula


Structure
Solution 3-1: Write a Waiting Period Value and UOM Formula
Overview
In this solution, you will review how to write the formula text.

Steps
1. The formula text should look similar to the following example:
/***************************************************************
FORMULA NAME: XX_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
***************************************************************/

/**********Set DBI defaults**********/


default for PER_ASG_COUNTRY_OF_BIRTH is 'XX'
default for PER_ASG_JOB_NAME is 'ABC'

/**********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.

Practices for Lesson 3: Basic Fast Formula


Structure
Practices for Lesson 4:
Advanced Fast Formula Syntax
Practices for Lesson 4: Overview
Overview
In this practice, you will create a formula calling other formulas to determine an
employee’s salary based on their legislation.

Prerequisites
Throughout this class use the Mozilla Firefox browser to access the application.

Practices for Lesson 4: Advanced Fast Formula


Syntax
Practice 4-1: Creating a Formula to Call a Formula
Overview
In this practice, create an Oracle Payroll formula to return the salary amount for
employees, in Great Britain, based on their full-time equivalent (FTE). The full-time
equivalent is an HR database item. Since HR database items are not accessible
through Oracle Payroll formulas 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 XX with your student identifier.

Tasks
1. Sign in and navigate.
a. Ensure you are signed in as Your.Implementor.
b. Ensure you are on the Manage Fast Formula page, if not:
1) Click on your user ID to open the Settings and Action menu, then click
Setup and Maintenance.
2) On the Setup: Compensation Management page, open the Tasks panel
and click Search.
3) On the Search page in the Search field, enter Manage Fast Formulas.
4) Click Search.
5) In the search results, click Manage Fast Formulas.
2. Create the fast formula to retrieve the DBI.
a. In the Search Results section, click Create.
b. In the Create Fast Formula window in the Formula Name field, enter XX 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 1/1/51.
g. Click Continue.

Practices for Lesson 4: Advanced Fast Formula Syntax


3. Enter the formula text.
a. On the Create Fast Formula: XX Call HR FTE DBI page, enter the formula
details in the Formula Text area:

/***************************************************************
FORMULA NAME: XX Call HR FTE DBI
FORMULA TYPE: Payroll Access to HR
DESCRIPTION: Retrieve FTE DBI
***************************************************************/
/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/
/* Default Statement Section */
Default for PER_ASG_FTE_VALUE is 1

/* Calculation Section */
HR_FTE = PER_ASG_FTE_VALUE

/* Return Statement Section */


Return HR_FTE
b. Click Save.
4. Compile the formula.
a. Click Compile.
b. At the Compile message, click OK.
Note: If a Compile window does not appear, click Compile again.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done.
Note: If corrections to the formula need to be made:
1) On the Manage Fast Formulas page in the Search section in the Formula Name
field enter, XX Call HR FTE DBI.
2) In the Effective As-of Date field enter, 1/1/51.
3) In the Legislative Data Group field enter, GB Legislative Data Group.
4) Click Search.
5) In the Search Results section, click XX Call HR FTE DBI.
6) On the Manage Fast Formulas: XX Call HR FTE DBI page in the
Formula Details section, click Edit and select Correct.
7) After completing the corrections, click Save.

Practices for Lesson 4: Advanced Fast Formula


Syntax
8) Repeat step 4.
5. Create the fast formula to determine the salary.
a. On the Manage Fast Formulas page in the Search Results section, click the Create
icon.
b. In the Create Fast Formula window in the Formula Name field, enter XX GB
Salary by FTE.
c. In the Type field, select Oracle Payroll.
d. In the Description field, enter Calculate the salary amount for Great
Britain employees based on their FTE.
e. In the Legislative Data Group field, select GB Legislative Data Group.
f. In the Effective Start Date field, enter 1/1/51.
g. Click Continue.
6. Enter the formula text.
a. On the Create Fast Formula: XX GB Salary by FTE page, enter the formula
detailsin the Formula Text area:

/***************************************************************
FORMULA NAME: XX 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>
Comments: Initial Formula
***************************************************************/

/* Alias Statement Section */


ALIAS ANNUAL_SALARY_UK_AMOUNT_ASG_ENTRY_VALUE AS UK_ASG_SAL

/* 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

Practices for Lesson 4: Advanced Fast Formula


Syntax
SET_INPUT('HR_ASSIGNMENT_ID', ASG_HR_ASG_ID)
EXECUTE('XX Call HR FTE DBI')
FTE = GET_OUTPUT('HR_FTE',1)

l_amount = round((FTE * Salary_UK),2)

Message = 'Salary Value is'||to_Char(l_Amount)

/* Return Statement Section */


RETURN l_Amount,Message
b. Click Save.
7. Compile the formula.
a. Click Compile.
Note: You may need to click Compile more than once.
b. At the Compile message, click OK.
c. Click Refresh until the Compile Status is ).
successful (
d.
Click Done.

Practices for Lesson 4: Advanced Fast Formula


Syntax
Next Steps
1. Ensure that the formula is associated with the element and that it has
element eligibility defined.
2. Assign the element to a person in element entries, and enter the correct
information into the element input values.
3. Run a QuickPay for the person and check the results of the QuickPay on the
Statement of Earnings to ensure the formula has calculated to the correct
amount.

Practices for Lesson 4: Advanced Fast Formula


Syntax
Practices for Lesson 4: Advanced Fast Formula
Syntax
Practices for Lesson 5: Benefits Formulas
Practices for Lesson 5: Overview
Overview
In these practices, you will create two benefits formulas. You will create a Person
Selection formula type that determines the people that should be selected for a
benefits batch process. Then, you will create an Enrollment Coverage Start Date
formula type that determines the date from which an enrollment period starts.

Prerequisites
Throughout this class use the Mozilla Firefox browser to access the application.

Practices for Lesson 5: Benefits Formulas


Practice 5-1: Create a Person Selection Formula
Overview
In this practice you create a person selection formula.
For US Benefits, most organizations provide an Open Enrollment period, whereby
the participant population can make updates to their existing benefits, and also
make new elections. 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 XX with your student identifier.

Tasks
1. Sign in and navigate.
a. Ensure you are signed in as Your.Implementor.
b. Click on your user ID to open the Settings and Action menu, and then
click Setup and Maintenance.
c. On the Setup: Compensation Management page, open the Tasks panel and click
Search.
d. On the Search page in the Search field, enter Manage Fast Formulas.
e. Click Search.
f. In the search results, click Manage Fast Formulas.
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 XX
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 1/1/51.
g. Click Continue.

Practices for Lesson 5: Benefits


Formulas
3. Enter the formula text.
a. On the Create Fast Formula: XX Benefits Person Selection Rule page, enter
the formula details in the Formula Text area:
/***************************************************************
FORMULA NAME: XX Benefits Person Selection Rule
FORMULA TYPE: Person Selection
DESCRIPTION: Select employees based on person numbers.
***************************************************************/

/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/

/* DATABASE ITEM DEFAULTS SECTION */


DEFAULT for PER_ASG_PERSON_NUMBER IS '-1'

/* CALCULATION SECTION */
output = 'N'

per_number = PER_ASG_PERSON_NUMBER

if (per_number = '1046' OR per_number = '1010')


then
(output = 'Y')

/* RETURN STATEMENT SECTION */

return output
b. Click Save.
4. Compile the formula.
a. Click Compile.
b. At the Compile message, click OK.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done.
e. On the Manage Fast Formulas page, click Done.

Practices for Lesson 5: Benefits Formulas


Next Steps
1. From the Home page click Benefits Administration, and then click
Evaluation and Reporting.
2. In the Overview section, click Processes.
3. In the Life Event Processes section, click the Submit icon for the Evaluate Life
Event Participation item.
4. Enter the Person Selection formula into the Person Selection Formula field.

Practices for Lesson 5: Benefits


Formulas
Practice 5-2: Create an Enrollment Coverage Start Date Formula
Goal
 Create a user-defined table to hold the enrollment coverage start date
waiting periods in months.
 Create a formula.

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 XX with your student identifier.

Tasks
1. Sign in and navigate.
a. Ensure you are signed in as Your.Implementor.
b. Ensure that you are on the Search page, if not:
1) Click on your user ID to open the Settings and Action menu, and then click
Setup and Maintenance.
2) On the Setup: Compensation Management page, open the Tasks panel
and click Search.
c. On the Search page in the Search field, enter
Manage User-Defined Tables.

Practices for Lesson 5: Benefits


Formulas
d. Click Search.

Practices for Lesson 5: Benefits


Formulas
e. In the Search Results, click Manage User-Defined Tables.
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 1/1/51.
d. Click Continue.
3. Enter the basic details.
a. On the Create: User-Defined Table page, in the Name field, enter
XX_WAITING_PERIOD.
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 Legal_Entity.
4. Enter the column details.
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.
6. Enter the table values.
a. Make sure a user-defined column is selected and click Next to enter table
values for the column.
 On the Create User-Defined Table: User-Defined Table Values page, the
Column Name field shows which column you are entering values for.
b. Click Create to add the values based on the table below. Please note:

Practices for Lesson 5: Benefits


Formulas
 For the blank entry in Part-time regular do not create a table value. It
cannot accept a blank.

Legal Entity Fulltime Regular Part-time Regular


Corp USA1 3 3
ISD USA 3
Health USA 1 6
University USA 3 6

c. In the Add User-Define Table Values window, select a row and click OK.
d. In the Value field, enter the value from the table.
e. Click Create to add another table value.
f. After adding the table values for one column, click Save to add the
values for the second column.
Note: You can also click Back, select the other user-defined column, and then click
Next to add the values for the second column.
g. Click Submit.
7. Navigate to the Manage Fast Formula page.
a. Ensure you are signed in as hcm_implX.
b. Click on your user ID to open the Settings and Action menu, and then
click Setup and Maintenance.
c. On the Setup: Compensation Management page, open the Tasks panel and click
Search.
d. On the Search page in the Search field, enter Manage Fast Formulas.
e. Click Search.
f. In the search results, click Manage Fast Formulas.
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 XX
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 1/1/51.
g. Click Continue.
9. Enter the formula text.
a. On the Create Fast Formula: XX Enrollment Period Start Date page, enter
the formula details in the Formula Text area:

Practices for Lesson 5: Benefits


Formulas
/***************************************************************
FORMULA NAME: XX Enrollment Coverage Start Date
FORMULA TYPE: Enrollment Coverage Start Date
DESCRIPTION: Determine the coverage state date for benefits.
***************************************************************/

/***************************************************************
Change History:
Name: <Enter your name>
Date: <Enter Today’s Date>
Comments: Initial Formula
***************************************************************/

/* Database Items Default Statement Section */


DEFAULT FOR PER_ASG_CREATION_DATE IS '1901/01/01 00:00:00'(date)
DEFAULT FOR wait_months IS 0
DEFAULT FOR PER_ASG_FTE IS 0

/* Calculation Section */

/* Define local variables */


enroll_date = '4712/12/31 00:00:00'(date)
wait_months = 0
Fulltime = 0
Part_time = 0
LEGAL_ENTITY = ' '
FTE = PER_ASG_FTE

/* GET WAITING PERIOD */


IF FTE = 1 THEN
(
wait_months =
to_number(GET_TABLE_VALUE('XX_WAITING_PERIOD',
'Fulltime', Legal_Entity))
)
ELSE
(
wait_months =
to_number(GET_TABLE_VALUE('XX_WAITING_PERIOD',
'Part_time', Legal_Entity))
)
enroll_date = ADD_MONTHS(enroll_date,wait_months)

Practices for Lesson 5: Benefits


Formulas
IF enroll_date < '4712/12/31 00:00:00' (date) THEN
(
RETURN enroll_date
)
ELSE (enroll_date = PER_ASG_CREATION_DATE)

/* Return Statement Section */


RETURN enroll_date
b. Click Save.
10. Compile the formula.
a. Click Compile.
b. At the Compile message, click OK.
c. Click Refresh until the Compile Status is successful ( ).
d. Click Done.

Practices for Lesson 5: Benefits


Formulas
Next Steps
1. From the Home page click Benefits Administration, and then
click Plan Configuration.
2. In the Overview section, search for and select the desired Programs or Plans.
3. Enter the formula in the applicable field.

Practices for Lesson 5: Benefits


Formulas
Instructor Demonstration 1: Viewing a Formula
Overview
In this demonstration, you will view the Comp Person Participation Eligibility formula.
 It is a Participation and Rate Eligibility formula type
 This formula type is used to determine whether a person is eligible for
anassociated compensation object
This formula contains:
 Defaults statement
 Calculation section
 Return statement

Demonstration Steps
1. Sign in and navigate.
a. Ensure you are signed in as hcm_impl20.
b. Ensure you are on the Manage Fast Formulas page, if not:
1) Click on your user ID to open the Settings and Actions menu, and then click
Setup and Maintenance.
2) On the Setup: Compensation Management page, open the Tasks panel
and click Search.
3) On the Search page in the Search field, enter Manage Fast Formulas.
4) Click Search.
5) In the search results, click Manage Fast Formulas.
2. Search for the formula.
a. On the Manage Fast Formulas page, in the Formula Name field, enter Winn
Dixie Eligibility.
b. In the Legislative Data Group field, select US Legislative Data Group.
c. Click Search.
d. In the Search Results section, click Winn Dixie 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 29 is a comment stating the default statements are following.
c. Lines 31-32, are the default statements defaulting the two database items
used in the formula.
d. Line 34 is a comment stating the calculation section is following.
e. Lines 36 sets the eligibility to No.
f. Lines 38 – 44 assign values to the local variables in the formula.
g. Line 50 is a comment stating the formula will look for employees for eligibility.

Appendix A: Instructor
Demonstrations
h. Lines 52 - 57, 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.
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 69 is a comment stating the return section is following.
j. Line 71 is the return statement, returning the value for an assignment’s eligibility.
k. Line 73 is a comment stating this is the end of the fast formula.
l. Click Done.

Appendix A: Instructor
Demonstrations
Instructor Demonstration 2: Creating a Formula Using Looping
Overview
In this Demonstration, you will use looping functionality in a formula.

Demonstration Steps
1. Sign in and navigate.
a. Ensure you are signed in as hcm_impl20.
b. Ensure you are on the Manage Fast Formulas page, if not:
1) Click on your user ID to open the Settings and Action menu, and then click
Setup and Maintenance.
2) On the Setup: Compensation Management page, open the Tasks panel
and click Search.
3) On the Search page in the Search field, enter Manage Fast Formulas.
4) Click Search.
5) In the search results, click Manage Fast Formulas.
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 1/1/51.
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
***************************************************************/

Appendix A: Instructor
Demonstrations
/** INITILIZE VARIABLES **/
SUM = 0
I = 1

/** CALCULATION SECTION **/


WHILE I <= 5 LOOP
(
SUM = SUM + I /* Add I to SUM. */
I = I + 1 /* Increment I by 1. */
)
b. Click Save.
4. Compile the formula.
a. Click Compile.
b. At the Compile message, click OK.
c. Click Refresh until the Compile Status is successful ( ).

Appendix A: Instructor
Demonstrations
Instructor Demonstration 3: Viewing Formula Compilation Errors
Demonstration Overview
In this demonstration, you will view where compilation errors are displayed when you:
 Compile a single formula – When you compile an individual formula on the
Manage 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. Sign in and navigate.
a. Ensure you are signed in as hcm_impl20.
b. Ensure you are on the Manage Fast Formulas page, if not:
1) Click on your user ID to open the Settings and Action menu, and then click
Setup and Maintenance.
2) On the Setup: Compensation Management page, open the Tasks panel
and click Search.
3) On the Search page in the Search field, enter Manage Fast Formulas.
4) Click Search.
5) In the search results, click Manage Fast Formulas.
c. On the Manage Fast Formulas page, in the Formula Name field, enter
GLB_INVDED_SKIP.
d. In the Type field, select Element Skip.
e. Click Search.
f. In the Search Results section, click GLB_INVDED_SKIP.
e. 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. In the Payroll section, click Payroll Dashboard.


c. In the Items Requiring My Attention section, click the Errors button.
d. In the Items Requiring My Attention section, click the Warnings button.
Note: Compilation errors encountered during the process will display on this
tab.

Appendix A: Instructor
Demonstrations
Instructor Demonstration 4: Exploring the Benefits Fast Formula
Reference Guide
Overview
In this demonstration, you will go to the Benefits Fast Formula Reference Guide
document on My Oracle Support. You will download and open the reference guide,
and then review the 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 in the upper-right corner 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.

Appendix A: Instructor
Demonstrations
.

Appendix A: Instructor
Demonstrations

You might also like