Vous êtes sur la page 1sur 230

Implementing and

Administrating Oracle Payroll


Release 11 (UK)
Volume 2 Instructor Guide
.......................................................................................

14082GC10
Version 1.0
November 1998
MO7766

Authors

Copyright Oracle Corporation, 1998. All rights reserved.

Mark Sutton

This documentation contains proprietary information of Oracle Corporation. It is


provided under a license agreement containing restrictions on use and disclosure
and is also protected by copyright law. Reverse engineering of the software is
prohibited. If this documentation is delivered to a U.S. Government Agency of the
Department of Defense, then it is delivered with Restricted Rights and the
following legend is applicable:

Reviewers

Maria Barcarse
John Cafolla
Mark Riles
Brian King
John Thuringer
John Woodward
Sue White
Publishers

Carol Brown
Fiona Simpson
Avril Price-Budgen

Restricted Rights Legend


Use, duplication or disclosure by the Government is subject to restrictions for
commercial computer software and shall be deemed to be Restricted Rights
software under Federal law, as set forth in subparagraph (c) (1) (ii) of DFARS
252.227-7013, Rights in Technical Data and Computer Software (October 1988).
This material or any portion of it may not be copied in any form or by any means
without the express prior written permission of Oracle Corporation. Any other
copying is a violation of copyright law and may result in civil and/or criminal
penalties.
If this documentation is delivered to a U.S. Government Agency not within the
Department of Defense, then it is delivered with Restricted Rights, as defined in
FAR 52.227-14, Rights in Data-General, including Alternate III (June 1987).
The information in this document is subject to change without notice. If you find
any problems in the documentation, please report them in writing to Education
Products, Oracle Corporation, 500 Oracle Parkway, Box SB-6, Redwood Shores,
CA 94065. Oracle Corporation does not warrant that this document is error-free.
Oracle is a registered trademark and Oracle Human Resources Management
System, Oracle Payroll, Oracle Applications for the Web, and Oracle General
Ledger are trademarks or registered trademarks of Oracle Corporation.
All other products or company names are used for identification purposes only
and may be trademarks of their respective owners.

Contents
.....................................................................................................................................................

Preface
Profile..................................................................................................... xvii
Related Publications ............................................................................. xviii
Typographic Conventions....................................................................... xix
Unit I: Introduction to Oracle Payroll

.....................................................................................................................................................

Introduction
Objectives ................................................................................................ I-3
Objectives ................................................................................................ I-4
Oracle Overview ...................................................................................... I-5
Oracle Overview (continued)................................................................... I-6
Starting the Implementation Phase .......................................................... I-7
Following a Plan ...................................................................................... I-8
Company Culture ..................................................................................... I-9
The HRMS Model ................................................................................. I-10
The Payroll Cycle .................................................................................. I-12
Oracle Payroll and Contractual Information.......................................... I-13
Oracle Web Employees ......................................................................... I-14
Implementation Steps ............................................................................ I-15
Sharing Tables Between Applications ................................................... I-17
Sharing Tables with Other Applications................................................ I-19
Summary................................................................................................ I-21
Unit II: Compensation and Benefits
.....................................................................................................................................................

Lesson 1: Defining Oracle Payroll


Objectives ...............................................................................................
Overview.................................................................................................
Defining Payment Methods ....................................................................
Defining a Payroll ...................................................................................
................................................................................................................

1-2
1-3
1-4
1-6
1-9

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
i

Contents
.....................................................................................................................................................

Summary............................................................................................... 1-12
Practice 1-1 Overview .......................................................................... 1-13
Practice 1-2 Overview .......................................................................... 1-14
Lesson 2: Defining Elements
Objectives ............................................................................................... 2-2
Overview................................................................................................. 2-3
Defining Elements .................................................................................. 2-4
Primary Classification............................................................................. 2-6
Processing Types .................................................................................... 2-8
Termination Rules................................................................................... 2-9
Check Boxes ......................................................................................... 2-11
Processing Priority ................................................................................ 2-12
Currency................................................................................................ 2-15
Qualifying Conditions........................................................................... 2-16
Element Input Values............................................................................ 2-17
Validating Input Values ........................................................................ 2-19
Summary............................................................................................... 2-22
Practice 2-1 Overview .......................................................................... 2-23
Practice 2-2 Overview .......................................................................... 2-24
Lesson 3: Element Eligibility Rules
Objectives ............................................................................................... 3-2
Overview................................................................................................. 3-3
Element Eligibility Rules........................................................................ 3-4
Defining Element Links.......................................................................... 3-6
Costing .................................................................................................... 3-7
Qualifying Conditions............................................................................. 3-8
Input Values ............................................................................................ 3-9
Summary............................................................................................... 3-10
Practice 3-1 Overview .......................................................................... 3-11
Practice 3-2 Overview .......................................................................... 3-12

.....................................................................................................................................................
ii
Implementing and Administrating Oracle Payroll Release 11 (UK)

Contents
.....................................................................................................................................................

Lesson 4: Defining a Salary Basis


Objectives ...............................................................................................
Overview.................................................................................................
Defining a Salary Basis...........................................................................
Summary.................................................................................................
Practice 4-1 Overview ............................................................................

4-2
4-3
4-4
4-5
4-6

Lesson 5: Writing Basic Oracle Fast Formula


Objectives ............................................................................................... 5-2
Overview................................................................................................. 5-3
Types of Formula.................................................................................... 5-4
Formula Statements ................................................................................ 5-5
Defining a Formula ................................................................................. 5-6
Element Inputs ........................................................................................ 5-8
The Inputs Statement .............................................................................. 5-9
Setting Default Values .......................................................................... 5-10
The Return Statement ........................................................................... 5-11
Rounding............................................................................................... 5-12
Summary............................................................................................... 5-15
Practice 5-1 Overview .......................................................................... 5-16
Practice 5-2 Overview .......................................................................... 5-17
Practice 5-3 Overview .......................................................................... 5-18
Lesson 6: Formula Results
Objectives ............................................................................................... 6-2
Overview................................................................................................. 6-3
Formula Results ...................................................................................... 6-4
Correcting and Updating Processing Rules ............................................ 6-5
Defining Formula Results ....................................................................... 6-6
Summary................................................................................................. 6-8
Practice 6-1 Overview ............................................................................ 6-9
Practice 6-2 Overview .......................................................................... 6-10
Practice 6-3 Overview .......................................................................... 6-11

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
iii

Contents
.....................................................................................................................................................

Lesson 7: Enabling Currencies


Objectives ............................................................................................... 7-2
Overview................................................................................................. 7-3
Enabling Currencies................................................................................ 7-4
Defining Exchange Rates........................................................................ 7-6
Summary................................................................................................. 7-8
Practice 7-1 Overview ............................................................................ 7-9
Practice 7-2 Overview .......................................................................... 7-10
Lesson 8: Creating User Defined Balances
Objectives ............................................................................................... 8-2
Overview................................................................................................. 8-3
Defining a User Balance ......................................................................... 8-4
UK Balance Dimensions......................................................................... 8-7
Create Balance Dimension Process ........................................................ 8-8
Accessing a Balance in a Formula .......................................................... 8-9
Creating Balance Feeds ........................................................................ 8-10
Summary............................................................................................... 8-13
Practice 8-1 Overview .......................................................................... 8-14
Lesson 9: Accessing Database Items in a Formula
Objectives ...............................................................................................
Overview.................................................................................................
Referencing Database Items ...................................................................
The ALIAS Statement ............................................................................
Summary.................................................................................................
Practice 9-1 Overview ............................................................................
Lesson 10: Global Values
Objectives .............................................................................................
Overview...............................................................................................
Defining Global Values ........................................................................
Summary...............................................................................................
Practice 10-1 Overview ........................................................................

9-2
9-3
9-5
9-6
9-7
9-8

10-2
10-3
10-4
10-5
10-6

.....................................................................................................................................................
iv
Implementing and Administrating Oracle Payroll Release 11 (UK)

Contents
.....................................................................................................................................................

Lesson 11: Conditional Logic


Objectives .............................................................................................
Conditional Logic .................................................................................
Summary...............................................................................................
Practice 11-1 Overview ........................................................................

11-2
11-3
11-5
11-6

Lesson 12: Indirect Results


Objectives .............................................................................................
Indirect Results .....................................................................................
Summary...............................................................................................
Practice 12-1 Overview ........................................................................

12-2
12-3
12-5
12-6

Lesson 13: Tables and Rates


Objectives ............................................................................................. 13-2
Overview............................................................................................... 13-3
Using Grade Rate Tables in Formula ................................................... 13-4
User Defined Tables ............................................................................. 13-5
Summary............................................................................................. 13-11
Practice 13-1 Overview ...................................................................... 13-12
Practice 13-2 Overview ...................................................................... 13-13
Lesson 14: Returning Messages and Stops
Objectives .............................................................................................
Overview...............................................................................................
Summary...............................................................................................
Practice 14-1 Overview ........................................................................

14-2
14-3
14-4
14-5

Lesson 15: Using Oracle FastFormula for Validation


Objectives .............................................................................................
Overview...............................................................................................
Writing Validation Formula..................................................................
Summary...............................................................................................
Practice 15-1 Overview ........................................................................

15-2
15-3
15-4
15-7
15-8

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
v

Contents
.....................................................................................................................................................

Lesson 16: Defining Skip Rules


Objectives .............................................................................................
Overview...............................................................................................
Defining a Skip Rule.............................................................................
Summary...............................................................................................
Practice 16-1 Overview ........................................................................

16-2
16-3
16-4
16-6
16-7

Lesson 17: PAYE and NIC


Objectives .............................................................................................
Overview...............................................................................................
Statutory Details ...................................................................................
Summary...............................................................................................
Practice 17-1 Overview ........................................................................
Practice 17-2 Overview ........................................................................

17-2
17-3
17-4
17-7
17-8
17-9

Lesson 18: Court Orders and Arrestments


Objectives ............................................................................................. 18-2
Overview............................................................................................... 18-3
Principal Court Order Legislation......................................................... 18-4
Priority and Non-Priority Orders .......................................................... 18-5
Predefined Elements for Managing Court Orders and Arrestments ..... 18-6
Entering a Priority Order ...................................................................... 18-7
Viewing Court Order and Arrestment Results...................................... 18-9
Summary............................................................................................. 18-10
Practice 18-1 Overview ...................................................................... 18-11
Lesson 19: Setting Up RetroPay
Objectives .............................................................................................
Overview...............................................................................................
Setting Up RetroPay .............................................................................
Summary...............................................................................................
Practice 19-1 Overview ........................................................................

19-2
19-3
19-5
19-7
19-8

.....................................................................................................................................................
vi
Implementing and Administrating Oracle Payroll Release 11 (UK)

Contents
.....................................................................................................................................................

Lesson 20: Setting Up Advance Pay


Objectives .............................................................................................
Overview...............................................................................................
Advance Pay Setup Information ...........................................................
Setting Up Advance Pay .......................................................................
Summary...............................................................................................
Practice 20-1 Overview ........................................................................

20-2
20-3
20-4
20-5
20-6
20-7

Unit III: People and Assignments

.....................................................................................................................................................

Lesson 21: Assignment Statuses


Objectives .............................................................................................
Overview...............................................................................................
User Statuses.........................................................................................
Using Assignment Statuses to Control Compensation .........................
Summary...............................................................................................
Practice 21-1 Overview ........................................................................

21-2
21-3
21-4
21-5
21-6
21-7

Lesson 22: Hiring Employees


Objectives ............................................................................................. 22-2
Entering a New Employee .................................................................... 22-3
The Default Assignment ....................................................................... 22-4
Entering Statutory Information ............................................................. 22-5
Making Element Entries ....................................................................... 22-9
Entering Earnings and Deductions ..................................................... 22-10
Summary............................................................................................. 22-12
Practice 22-1 Overview ...................................................................... 22-13
Lesson 23: Salary Administration
Objectives .............................................................................................
Overview...............................................................................................
Setting Up Salary Administration.........................................................
Entering Salaries and Salary Changes ..................................................

23-2
23-3
23-4
23-5

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
vii

Contents
.....................................................................................................................................................

Summary............................................................................................... 23-9
Practice 23-1 Overview ...................................................................... 23-10
Unit IV: The Payroll Run and Other Processes
.....................................................................................................................................................

Lesson 24: The Payroll Life Cycle


Objectives ............................................................................................. 24-2
Overview............................................................................................... 24-3
The Payroll Life Cycle.......................................................................... 24-4
The Payroll Processes ........................................................................... 24-7
Prerequisites for Running a Payroll .................................................... 24-10
Preparation for a Standard Payroll Run .............................................. 24-11
Summary............................................................................................. 24-12
Practice 24-1 Overview ...................................................................... 24-13
Lesson 25: Payroll Processing
Objectives ............................................................................................. 25-2
Overview............................................................................................... 25-3
Entering Pre-Run Changes.................................................................... 25-4
Defining an Assignment Set ................................................................. 25-6
Defining an Element and Distribution Set .......................................... 25-12
Initiating a Payroll Run....................................................................... 25-26
Summary............................................................................................. 25-27
Practice 25-1 Overview ...................................................................... 25-28
Practice 25-2 Overview ...................................................................... 25-29
Practice 25-3 Overview ...................................................................... 25-30
Practice 25-4 Overview ...................................................................... 25-31
Practice 25-5 Overview ...................................................................... 25-32
Lesson 26: Viewing Payroll Run Process Results
Objectives ............................................................................................. 26-2
Overview............................................................................................... 26-3
Viewing Results of Payroll Run Processes........................................... 26-4

.....................................................................................................................................................
viii
Implementing and Administrating Oracle Payroll Release 11 (UK)

Contents
.....................................................................................................................................................

Viewing Process-Level Results ............................................................ 26-7


Viewing Assignment-Level Results ..................................................... 26-9
Running Standard Reports .................................................................. 26-12
Summary............................................................................................. 26-19
Practice 26-1 Overview ...................................................................... 26-20
Lesson 27: Processing Corrections to Payroll Run Results
Objectives ............................................................................................. 27-2
Overview............................................................................................... 27-3
Correcting a Payroll Process................................................................. 27-4
Rolling Back ......................................................................................... 27-7
Retrying a Payroll Run Process ............................................................ 27-9
Summary............................................................................................. 27-12
Practice 27-1 Overview ...................................................................... 27-13
Practice 27-2 Overview ...................................................................... 27-14
Lesson 28: Managing Post-Run Processes
Objectives ............................................................................................. 28-2
Overview............................................................................................... 28-3
Changing a Consolidation Set............................................................... 28-4
Running the Prepayments Process ........................................................ 28-5
Running the Pay Advice Report ........................................................... 28-7
Running the Cheque Writer Process ..................................................... 28-9
Running the BACS Process ................................................................ 28-11
Recording the Cash Process................................................................ 28-13
Summary............................................................................................. 28-14
Practice 28-1 Overview ...................................................................... 28-15
Practice 28-2 Overview ...................................................................... 28-16
Practice 28-3 Overview ...................................................................... 28-17
Lesson 29: Managing Other Payroll Processes
Objectives ............................................................................................. 29-2
Overview............................................................................................... 29-3
Reversing Payroll Processing for Employee Assignments................... 29-4

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
ix

Contents
.....................................................................................................................................................

Adjusting a Balance and Viewing Results............................................ 29-6


Viewing Balance Adjustment Results .................................................. 29-8
Summary............................................................................................... 29-9
Practice 29-1 Overview ...................................................................... 29-10
Lesson 30: RetroPay Processing
Objectives .............................................................................................
Overview...............................................................................................
Running the RetroPay Process..............................................................
RetroPay By Run ..................................................................................
Summary...............................................................................................
Practice 30-1 Overview ........................................................................

30-2
30-3
30-4
30-5
30-6
30-7

Lesson 31: Advance Pay Processing


Objectives ............................................................................................. 31-2
Overview............................................................................................... 31-3
Advance Pay for Individual Assignments ............................................ 31-4
Advance Pay for Batch Assignments.................................................... 31-6
Running Advance Pay .......................................................................... 31-9
Summary............................................................................................. 31-12
Lesson 32: Controlling Costs
Objectives ............................................................................................. 32-2
Overview............................................................................................... 32-3
Accumulating and Transferring Payroll Costs...................................... 32-4
Running the Costing Process ................................................................ 32-6
Viewing the Costing Process Results ................................................... 32-7
Cost Breakdown Report........................................................................ 32-8
Transferring Costs to Oracle General Ledger..................................... 32-10
Running the GL Transfer Process....................................................... 32-12
Summary............................................................................................. 32-13
Practice 32-1 Overview ...................................................................... 32-14
Practice 32-2 Overview ...................................................................... 32-15

.....................................................................................................................................................
x
Implementing and Administrating Oracle Payroll Release 11 (UK)

Contents
.....................................................................................................................................................

Lesson 33: Running the QuickPay Process


Objectives ............................................................................................. 33-2
Overview............................................................................................... 33-3
Defining and Initiating a QuickPay Run............................................... 33-4
Viewing QuickPay Results ................................................................... 33-7
Correcting QuickPay Results................................................................ 33-8
Running Post-Run Processes for QuickPay.......................................... 33-9
Summary............................................................................................. 33-11
Practice 33-1 Overview ...................................................................... 33-12
Appendix A: Practices and Solutions
Practice 1 1.......................................................................................... A-2
Practice 1 1: Solution .......................................................................... A-3
Practice 1 2.......................................................................................... A-4
Practice 1 2: Solution .......................................................................... A-5
Practice 2 1.......................................................................................... A-7
Practice 2 1: Solution .......................................................................... A-8
Practice 2 2.......................................................................................... A-9
Practice 2 2: Solution ........................................................................ A-10
Practice 3 1........................................................................................ A-12
Practice 3 1: Solution ........................................................................ A-13
Practice 3 2........................................................................................ A-14
Practice 3 2: Solution ........................................................................ A-15
Practice 4 1........................................................................................ A-16
Practice 4 1: Solution ........................................................................ A-17
Practice 5 1........................................................................................ A-18
Practice 5 1: Solution ........................................................................ A-19
Practice 5 2........................................................................................ A-21
Practice 5 2: Solution ........................................................................ A-22
Practice 5 3........................................................................................ A-26
Practice 5 3: Solution ........................................................................ A-27
Practice 6 1........................................................................................ A-32
Practice 6 1: Solution ........................................................................ A-33

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
xi

Contents
.....................................................................................................................................................

Practice 6 2........................................................................................ A-34


Practice 6 2: Solution ........................................................................ A-35
Practice 6 3........................................................................................ A-36
Practice 6 3: Solution ........................................................................ A-37
Practice 7 1......................................................................................... A-38
Practice 7 1: Solution ......................................................................... A-39
Practice 7 2......................................................................................... A-40
Practice 7 2: Solution ......................................................................... A-41
Practice 8 1........................................................................................ A-46
Practice 8 1: Solution ........................................................................ A-47
Practice 9 1........................................................................................ A-50
Practice 9 1: Solution ........................................................................ A-51
Practice 10 1...................................................................................... A-59
Practice 10 1: Solution ...................................................................... A-60
Practice 11 1...................................................................................... A-68
Practice 11 1: Solution ...................................................................... A-69
Practice 12 1...................................................................................... A-74
Practice 12 1: Solution ...................................................................... A-75
Practice 13 1...................................................................................... A-79
Practice 13 1: Solution ...................................................................... A-80
Practice 13 2...................................................................................... A-85
Practice 13 2: Solution ...................................................................... A-86
Practice 14 1...................................................................................... A-94
Practice 14 1: Solution ...................................................................... A-95
Practice 15 1.................................................................................... A-104
Practice 15 1: Solution .................................................................... A-105
Practice 16 1.................................................................................... A-108
Practice 16 1: Solution .................................................................... A-109
Practice 17 1.................................................................................... A-112
Practice 17 1: Solution .................................................................... A-113
Practice 17 2..................................................................................... A-114
Practice 17 2: Solution ..................................................................... A-115
Practice 18 1.................................................................................... A-117

.....................................................................................................................................................
xii
Implementing and Administrating Oracle Payroll Release 11 (UK)

Contents
.....................................................................................................................................................

Practice 18 1: Solution ....................................................................


Practice 19 1....................................................................................
Practice 19 1: Solution ....................................................................
Practice 20 1....................................................................................
Practice 20 1: Solution ....................................................................
Practice 21 1....................................................................................
Practice 21 1: Solution ....................................................................
Practice 22 1....................................................................................
Practice 22 1: Solution ....................................................................
Practice 23 1....................................................................................
Practice 23 1: Solution ....................................................................
Practice 24 1....................................................................................
Practice 24 1: Solution ....................................................................
Practice 25 1....................................................................................
Practice 25 1: Solution ....................................................................
Practice 25 2....................................................................................
Practice 25 2: Solution ....................................................................
Practice 25 3....................................................................................
Practice 25 3: Solution ....................................................................
Practice 25 4....................................................................................
Practice 25 4: Solution ....................................................................
Practice 25 5....................................................................................
Practice 25 5: Solution ....................................................................
Practice 26 1....................................................................................
Practice 26 1: Solution ....................................................................
Practice 27 1....................................................................................
Practice 27 1: Solution ....................................................................
Practice 27 2....................................................................................
Practice 27 2: Solution ....................................................................
Practice 28 1....................................................................................
Practice 28 1: Solution ....................................................................
Practice 28 2....................................................................................
Practice 28 2: Solution ....................................................................

A-118
A-122
A-123
A-128
A-129
A-130
A-131
A-132
A-133
A-138
A-139
A-140
A-141
A-142
A-143
A-144
A-145
A-147
A-148
A-149
A-150
A-153
A-154
A-155
A-156
A-162
A-163
A-164
A-165
A-166
A-167
A-168
A-169

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
xiii

Contents
.....................................................................................................................................................

Practice 28 3....................................................................................
Practice 28 3: Solution ....................................................................
Practice 29 1....................................................................................
Practice 29 1: Solution ....................................................................
Practice 30 1....................................................................................
Practice 30 1: Solution ....................................................................
Practice 32 1....................................................................................
Practice 32 1: Solution ....................................................................
Practice 32 2....................................................................................
Practice 32 2: Solution ....................................................................
Practice 33 1....................................................................................
Practice 33 1: Solution ....................................................................

A-170
A-171
A-172
A-173
A-174
A-175
A-179
A-180
A-181
A-182
A-184
A-185

Appendix B: Fast Formula Reference


Oracle Fast Formula................................................................................ B-3

.....................................................................................................................................................
xiv
Implementing and Administrating Oracle Payroll Release 11 (UK)

A
................................

Practices and Solutions

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 1 1
Introduction
This practice reinforces your ability to define payment methods.
Define the following Payment Methods, with effect from 01-JAN-1998:
A default payment method of Cheque.
A default payment method of BACS.
Hint: Prefix the payment methods with your initials.

.....................................................................................................................................................
A-2
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 1 1: Solution
.....................................................................................................................................................

Practice 1 1: Solution
Organizational Payment Method
(N)Payroll>Payment Methods
1 Set your effective date to 01-JAN-1998.
2 Enter a name for the payment method, and select its type.
3 The base currency for the Business Group appears. For some payment methods,
you can select another currency.
4 Enter the Bank Details field to open the Bank Details window. Enter information
about the account from which payments are coming.
5 Save your work.
6 Verify that your window looks similar to the one below:

Note: Create your BACS payment method ensuring that you enter bureau information
in the Further Information field.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-3

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 1 2
Introduction
This practice reinforces your ability to define a calendar monthly payroll group.
Define the nnpayroll with the first pay period being JAN 1998, where nn is your
initials.
Create 2 years of pay periods.
Enter offsets of your choice.
Select a nncheque pay method as the default. This is the payment method you created
in Practice 1-1.
Attach your nnBACS payment method as a valid payment method.
Optionally amend the pay period dates.

.....................................................................................................................................................
A-4
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 1 2: Solution
.....................................................................................................................................................

Practice 1 2: Solution
Payroll
(N)Payroll>Description
1 Set your effective date to 01-JAN-1998.
2 Enter the payrolls name and select a type of Calendar Month from the list of
values.
3 Enter the two years for which the system should initially generate the payrolls
calendar.
4 Enter any date offsets you require for the payroll.
5 Select nnCheque default payment method for employees who have no valid
personal payment method.
6 Select a default consolidation set for this payroll. One consolidation set is created
automatically when you define your Business Group.
7 In the Costing region, you can enter information about the set of books and
suspense account holding costing information for this payroll.
The information you enter here depends on the setup of your Cost Allocation key
flexfield.
8 Enter the Statutory Information field to open the Statutory Information window,
enter required information.
9 Save your work.
10 Choose the Period Dates button to view the calendar generated for your payroll. In
the Period Dates window. You can alter the dates if required.
11 Choose the Valid Payment Methods button to add valid payment methods for this
payroll. You will need to select your nnBACS payment method from the list of
values

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-5

Appendix A: Practices and Solutions


.....................................................................................................................................................

12 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-6
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 2 1
.....................................................................................................................................................

Practice 2 1
Introduction
This practice reinforces your ability to create an element that will be processed
through Oracle Payroll.
Note: substitute nn with your initials.
Define a recurring earnings element called nn_Payment with a Pay Value only. The
start date for the element is 01-JAN-1998. The element can only be entered and
processed once in each pay period.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-7

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 2 1: Solution
Element
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a unique name, reporting name, and description for the element.
3 Select a Primary Classification of Earnings from the list of values.
4 Select the Recurring check box.
5 Clear the Multiple Entries check box.
6 Select the Skip Rule ONCE_EACH_PERIOD from the list of values.
7 Save your work.
8 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-8
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 2 2
.....................................................................................................................................................

Practice 2 2
Introduction
This practice reinforces your ability to create an element that will be processed
through Oracle Payroll.
Note: substitute nn with your initials.
Define a recurring earnings element called nn_Annual_Salary with input values of
Ann_Sal and Pay Value. The start date for the element is 01-JAN-1998. The element
can only be entered and processed once in each pay period.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-9

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 2 2: Solution
Element
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a unique name, reporting name, and description for the element.
3 Select a Primary Classification of Earnings from the list of values.
4 Select the Recurring check box.
5 Clear the Multiple Entries check box.
6 Select the Skip Rule ONCE_EACH_PERIOD from the list of values.
7 Save your work.
8 Verify that your window looks similar to the one below:

9 Select the Input Values button.


10 Enter an input value called Ann_Sal.
11 Enter a Sequence number and ensure that you make the input value a Database

Item.
12 Save your work.

.....................................................................................................................................................
A-10
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 2 2: Solution
.....................................................................................................................................................

13 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-11

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 3 1
Introduction
This practice reinforces your ability to create an element link.
Define a standard link for the nn_Payment element defined in Practice 2. The criteria
for the link will be your nnPayroll defined in Practice 1.

.....................................................................................................................................................
A-12
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 3 1: Solution
.....................................................................................................................................................

Practice 3 1: Solution
Element Link
(N)Compensation & Benefits>Link
1 Set your effective date to 01-JAN-1998.
2 Select the element nn_Payment from the list of values.
3 Select the Standard Check Box.
4 Specify your element eligibility rule by selecting your payroll from the list of
values.
5 Save your work.
6 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-13

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 3 2
Introduction
This practice reinforces your ability to create an element link.
Define a non-standard link for the nn_Annual_Salary element defined in Practice 2.
The criteria for the link will be your nnPayroll defined in Practice 1.

.....................................................................................................................................................
A-14
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 3 2: Solution
.....................................................................................................................................................

Practice 3 2: Solution
Element Link
(N)Compensation & Benefits>Link
1 Set your effective date to 01-JAN-1998.
2 Select the element nn_Annual_Salary from the list of values.
3 Specify your element eligibility rule by selecting your payroll from the list of
values.
4 Save your work.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-15

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 4 1
Introduction
This practice reinforces your ability to create a Salary Basis for your salary element
you created in practice 3, you will be using grade rates that have already been created.
Note: substitute nn with your initials.
Define a salary basis called nn_Mgt_Basis. Use the Management Grades grade rate to
validate salary proposals.

.....................................................................................................................................................
A-16
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 4 1: Solution
.....................................................................................................................................................

Practice 4 1: Solution
Element
(N)Work Structures>Salary Basis
1 Set your effective date to 01-JAN-1998.
2 Enter a unique name.
3 Select the Basis of Annual Salary from the list of values.
4 Select your salary element from a list of values in the Element Name field.
5 Select the Ann_Sal input value from the list of values.
6 In the Grade Rate field select Management Grades from the list of values.
7 Select Annual Salary from the list of values in the Grade Rate Basis field
8 Save your work.
9 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-17

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 5 1
Introduction
This practice reinforces your ability to write basic Oracle Fast Formula.
Note: substitute nn with your initials.
Using the nnAnnual_Salary element defined in Practice 2-2, write a formula that will
divide the Ann_Sal input value by 12. Round the answer to the calculation to 2
decimal points.

.....................................................................................................................................................
A-18
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 5 1: Solution
.....................................................................................................................................................

Practice 5 1: Solution
Formula
(N)Compensation & Benefits>Write Formulas
1 Set your effective date to 01-JAN-1998.
2 Enter the formula's Name (spaces are not permitted).
3 Select a formula Type of Oracle Payroll from the list of values.
4 Optionally enter a description.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-19

Appendix A: Practices and Solutions


.....................................................................................................................................................

6 Select the Edit button and write your formula.


7 Verify the formula by selecting the Verify button.
8 Close down the window.
9 Save you work.
10 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-20
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 5 2
.....................................................................................................................................................

Practice 5 2
Introduction
This practice reinforces your ability to create payroll elements and write basic Oracle
Fast Formula.
Note: substitute nn with your initials.
Define an element called nn_Location_Allowance which is going to be processed
during a payroll run. The element requires an input value to hold the annual allowance
and the formula to calculate a monthly payment.
Any employee in your payroll can be eligible for the element, but they must also be
based in a particular location of your choice.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-21

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 5 2: Solution
Element
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and a Reporting Name for your element.
3 Select Earnings as the Primary Classification from the list of values.
4 Select Recurring as the Processing Type.
5 Save your work.
6 Verify that your window looks similar to the one below:

7 Select the Input Values button.

.....................................................................................................................................................
A-22
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 5 2: Solution
.....................................................................................................................................................

8 Create an input value.


9 Select the Units of Money from the list of values.
10 Enter a Sequence Number.
11 Save your work.
12 Verify that your window looks similar to the one below:

Element Link
(N)Compensation & Benefits>Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example select a Location of your choice and
your payroll from the list of values.
3 Save your work

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-23

Appendix A: Practices and Solutions


.....................................................................................................................................................

4 Verify that your window looks similar to the one below:

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-24
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 5 2: Solution
.....................................................................................................................................................

5 Select the Edit button


6 Write your formula.
7 Verify that your window looks similar to the one below:

8 Verify your formula by selecting the Verify button.


9 Close down the window.
10 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-25

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 5 3
Introduction
This practice reinforces your ability to create payroll elements and write basic Oracle
Fast Formula.
Note: substitute nn with your initials.
Define an element called nn_Sports_Club_Membership, a voluntary deduction which
is going to be used to deduct a monthly fee from the employees net pay. The element
will be entered automatically when an employee joins the scheme. The annual fee,
which increases each year (hot default), depends on the type of membership the
employee takes out:
Single
300
Spouse
400
Family
500
Hint: You are required to define three links for the element corresponding to the
different membership types, but eligible employees must be in your payroll.
Instructor Note
For this example you will need to ensure that a segment on the People Group Key
Flexfield has been created for Sports Club Membership. The Value Set will be
Independent and have the following values; Single, Spouse and Family.

.....................................................................................................................................................
A-26
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 5 3: Solution
.....................................................................................................................................................

Practice 5 3: Solution
Element
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and a Reporting Name for your element.
3 Select Voluntary Deduction as the Primary Classification from the list of values.
4 Select Recurring as the Processing Type.
5 Select the Standard check box.
6 Save your work.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-27

Appendix A: Practices and Solutions


.....................................................................................................................................................

8 Select the Input Values button.


9 Create an input value.
10 Select the Units of Money from the list of values.
11 Enter a Sequence Number.
12 Select the Required and Hot Default check boxes.
13 Save your work.
14 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-28
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 5 3: Solution
.....................................................................................................................................................

Element Link
(N)Compensation & Benefits>Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example click in the Group field and select
Single for the type of membership, click OK. Also, select your payroll from the list
of values.
3 Select the Input Values button.
4 Enter the value of 300 in the Default field against your input value.
5 Save your work.
6 Verify that your window looks similar to the one below:

Create two more links (1 for Spouse and 1 for Family) using the steps above.
Remember to enter default values for both links.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-29

Appendix A: Practices and Solutions


.....................................................................................................................................................

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

5 Select the Edit button


6 Write your formula.

.....................................................................................................................................................
A-30
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 5 3: Solution
.....................................................................................................................................................

7 Verify that your window looks similar to the one below:

8 Verify your formula by selecting the Verify button.


9 Close down the window.
10 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-31

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 6 1
Introduction
This practice reinforces your ability to associate processing rules and formula results
with elements.
Define a formula result for the nn_Annual_Salary element. It will be a Standard
processing rule that will return the result of the formula calculation directly to the Pay
Value of the element.

.....................................................................................................................................................
A-32
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 6 1: Solution
.....................................................................................................................................................

Practice 6 1: Solution
Formula Result Rules
(N)Compensation & Benefits>Formula Results
1 Set your effective date to 01-JAN-1998.
2 Select your nn_Annual_Salary element from the list of values.
3 Select the Processing Rules Name Standard from the list of values.
4 In the Formula field select your Annual Salary formula from the list of values.
5 Save your work.
6 Move down to the Formula Results block and select your formula input value in
the Name field from the list of values.
7 Select the Formula Results Type of Direct Result from the list of values.
8 Save your work.
9 Refresh the screen to view all the Formula Results information.
10 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-33

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 6 2
Introduction
This practice reinforces your ability to associate processing rules and formula results
with elements.
Define a formula result for the nn_Location_Allowance element. It will be a Standard
processing rule that will return the result of the formula calculation directly to the Pay
Value of the element.

.....................................................................................................................................................
A-34
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 6 2: Solution
.....................................................................................................................................................

Practice 6 2: Solution
Repeat the steps as in Practice Solution 6-1 to associate your Location Allowance
formula with your Location Calculation formula.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-35

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 6 3
Introduction
This practice reinforces your ability to associate processing rules and formula results
with elements.
Define a formula result for the nn_Sports_Club_Membership element. It will be a
Standard processing rule that will return the result of the formula calculation directly
to the Pay Value of the element.

.....................................................................................................................................................
A-36
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 6 3: Solution
.....................................................................................................................................................

Practice 6 3: Solution
Repeat the steps as in Practice Solution 6-1 to associate your Sports Club Membership
formula with your Sports Club Membership Calculation formula.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-37

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 7 1
Introduction
This practice reinforces your ability to define exchange rates.
For your payroll define an exchange rate of Italian Lira to Pound Sterling at a rate of
0.00036 to the .

Instructor Note
Ensure that the currency Italian Lira is enabled. Once the currency is enabled all the
delegates will then be able to define their exchange rates.
System Administrator responsibility
(N)Application>Currency

.....................................................................................................................................................
A-38
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 7 1: Solution
.....................................................................................................................................................

Practice 7 1: Solution
Exchange Rates
(N)Payroll>Exchange Rates
1 Change your effective date to 01-JAN-1998.
2 Query the name of the payroll for which you are defining exchange rates in the
Payroll Name field.
The payroll's processing period type displays in the next field.
3 Select the input and output currencies for which you want to define exchange rates
from the list of values.
4 Enter the exchange rate expressed as a decimal.
5 Save your work.
6 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-39

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 7 2
Introduction
This practice reinforces your ability to associate an exchange rate with a payroll
element.
Note: substitute nn with your initials.
Define an element called nn_Italian_Expenses which will be processed during a
payroll run. The element will require an input value to hold the expense amount in lira.
The element is eligible to any employee in your payroll who is based at an appropriate
location of your choice.

.....................................................................................................................................................
A-40
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 7 2: Solution
.....................................................................................................................................................

Practice 7 2: Solution
Element
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and a Reporting Name for your element.
3 Select Direct Payment as the Primary Classification from the list of values.
4 Select Nonrecurring as the Processing Type.
5 Ensure that the Multiple Entries check box is selected.
6 Select the Input Currency of ITL from the list of values.
7 Select the Output Currency of GBP from the list of values.
8 Save your work.
9 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-41

Appendix A: Practices and Solutions


.....................................................................................................................................................

10 Select the Input Values button.


11 Create an input value.
12 Select the Units of Money from the list of values.
13 Enter a Sequence Number.
14 Save your work.
15 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-42
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 7 2: Solution
.....................................................................................................................................................

Element Link
(N)Compensation & Benefits>Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example select a suitable Location and your
payroll.
3 Save your work.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-43

Appendix A: Practices and Solutions


.....................................................................................................................................................

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

5 Select the Edit button


6 Write your formula.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-44
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 7 2: Solution
.....................................................................................................................................................

Formula Result Rules


(N)Compensation & Benefits>Formula Results
1 Set your effective date to 01-JAN-1998.
2 Select your nn_Italian_Expenses element from the list of values.
3 Select the Processing Rules Name Standard from the list of values.
4 In the Formula field select your formula from the list of values.
5 Save your work.
6 Move down to the Formula Results block and select your formula input value in
the Name field from the list of values.
7 Select the Formula Results Type of Direct Result from the list of values.
8 Save your work.
9 Refresh the screen to view all the Formula Results information.
10 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-45

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 8 1
Introduction
This practice reinforces your ability to define a balance that can be used by an earnings
element.
Note: substitute nn with your initials.
Define a balance to accumulate the accrual of salary earnings for the statutory year.

.....................................................................................................................................................
A-46
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 8 1: Solution
.....................................................................................................................................................

Practice 8 1: Solution
Balance
(N)Compensation & Benefits>Balance
1 Set your effective date to 01-JAN-1998.
2 Enter a Name for your balance and optionally a Reporting Name.
3 Select a Unit of measurement from the list of values.
4 Save your work.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-47

Appendix A: Practices and Solutions


.....................................................................................................................................................

6 Select the Feeds button.


7 From the list of values select your nn_Annual_Salary element.
8 Select the Input Value Name from the list of values.
9 From a list of values select Add.
10 Save your work
11 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-48
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 8 1: Solution
.....................................................................................................................................................

12 Close the Balance Feeds window.


13 Select the Dimensions button.
14 From the list of values select the Balance Dimension Name.
15 Save your work.
16 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-49

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 9 1
Introduction
This practice reinforces your ability to write a formula which will reference a userdefined balance by means of a database item.
Note: substitute nn with your initials.
Define an element called nn_Pension_Contribution which is going to be processed
during a payroll run.
The element requires an input value to hold the percentage contribution and the
formula will calculate a monthly deduction, default values may be entered at the
element link level.
Define the element with two standard links (one for each percentage contribution) and
the following eligibility rule(s):
Your monthly payroll
Percentage Contribution = 5% (Default Percentage is 5)
Your monthly payroll
Percentage Contribution = 10% (Default Percentage is 10)
Define a balance called nn_PENSIONABLE_PAY to store the amount of pensionable
pay for an employee for each payroll run. The balance will be fed by the
nn_Annual_Salary element.
Define a formula which calculates the pension deduction based on the amount of
pensionable pay in that run. The formula will need to access the pensionable pay for
the run to calculate the percentage contribution.
Instructor Note
For this practice, you will need to ensure that there is a segment defined on the People
Group Flexfield for Pension Contribution. The associated Value Set will need the
following values; 5%, 10%, Not in Scheme.

.....................................................................................................................................................
A-50
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 9 1: Solution
.....................................................................................................................................................

Practice 9 1: Solution
Element
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and a Reporting Name for your element.
3 Select Pre Tax Deductions as the Primary Classification from the list of values.
4 Select Recurring as the Processing Type.
5 Select the Skip Rule ONCE_EACH_PERIOD from the list of values.
6 Optionally select the Standard checkbox.
7 Save your work.
8 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-51

Appendix A: Practices and Solutions


.....................................................................................................................................................

9 Select the Input Values button.


10 Create an input value.
11 Select the Units of Number from the list of values.
12 Enter a Sequence Number.
13 Save your work.
14 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-52
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 9 1: Solution
.....................................................................................................................................................

Element Link
(N)Compensation & Benefits> Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example select 5% in the People Group
Flexfield and your payroll.
3 Save your work.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-53

Appendix A: Practices and Solutions


.....................................................................................................................................................

5 Select the Input Values button.


6 Enter a Default Amount for your defined Input Value.
7 Save your work.
8 Verify that your window looks similar to the one below:

You will need to create another Element Link using the criteria of 10% following the
above steps 1 through 8.

.....................................................................................................................................................
A-54
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 9 1: Solution
.....................................................................................................................................................

Balance
(N)Compensation & Benefits>Balance
1 Enter a Name for your balance and a Reporting Name.
2 Select the Units of measure from the list of values.
3 Save your work.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-55

Appendix A: Practices and Solutions


.....................................................................................................................................................

5 Select the Feeds button.


6 Select the Element Name from the list of values that will feed the balance.
7 Select the Input Value from the list of values.
8 Select Add from the list of values.
9 Verify that your window looks similar to the one below:

10 Close the window and select the Dimensions button.


11 Select the dimension Name from the list of values.
12 Save your work.
13 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-56
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 9 1: Solution
.....................................................................................................................................................

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

5 Select the Edit button


6 Write your formula.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-57

Appendix A: Practices and Solutions


.....................................................................................................................................................

Formula Result Rules


(N)Compensation & Benefits>Formula Results
1 Set your effective date to 01-JAN-1998.
2 Select your nn_Pension_Contribution element from the list of values.
3 Select the Processing Rules Name Standard from the list of values.
4 In the Formula field select your formula from the list of values.
5 Save your work.
6 Move down to the Formula Results block and select your formula input value in
the Name field from the list of values.
7 Select the Formula Results Type of Direct Result from the list of values.
8 Save your work.
9 Refresh the screen to view all the Formula Results information.
10 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-58
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 10 1
.....................................................................................................................................................

Practice 10 1
Introduction
The objective of this practice is to define a global value which is going to be referenced in a formula. Profit Related Pay can be paid at anytime throughout the year and
often more than once. Each time it is paid it is paid as a percentage of the employees
annual salary
Note: Substitute nn with your initials.
1 Define a global value called nn_PRP_PERCENTAGE and store an initial value of
2

3
4
5

7%.
Define a non-recurring earnings element for Profit Related Pay - for this example
you are to assume that all PRP earned is non-taxable, however, it is liable to
national insurance deduction (NIable).
Only employees in your payroll are eligible for PRP.
Write a formula which will calculate the amount of PRP - this is a percentage of
the employees Annual Salary.
Create a balance which will accumulate the PRP earned in a statutory year (this
will be used in a later practice).

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-59

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 10 1: Solution
Globals
(N)Compensation & Benefits>Global Values
1 Set your effective date to 01-JAN-1998.
2 Enter a Name for your global value. Optionally enter a Description.
3 Select the Type of number from the list of values.
4 Enter a Value.
5 Save your work.
6 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-60
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 10 1: Solution
.....................................................................................................................................................

Element Description
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and a Reporting Name for your element.
3 Select Earnings as the Primary Classification from the list of values.
4 Select Nonrecurring as the Processing Type.
5 Save your work.
6 Verify that your window looks similar to the one below:

7 Select the Balance Feed Control button.


8 Delete the Taxable Earnings entry and select Purge.
9 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-61

Appendix A: Practices and Solutions


.....................................................................................................................................................

10 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-62
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 10 1: Solution
.....................................................................................................................................................

Element Link
(N)Compensation & Benefits>Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example select your payroll.
3 Save your work.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-63

Appendix A: Practices and Solutions


.....................................................................................................................................................

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

5 Select the Edit button


6 Write your formula.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-64
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 10 1: Solution
.....................................................................................................................................................

Formula Result Rules


(N)Compensation & Benefits>Formula Results
1 Set your effective date to 01-JAN-1998.
2 Select your nn_PRP element from the list of values.
3 Select the Processing Rules Name Standard from the list of values.
4 In the Formula field select your formula from the list of values.
5 Save your work.
6 Move down to the Formula Results block and select your formula input value in
the Name field from the list of values.
7 Select the Formula Results Type of Direct Result from the list of values.
8 Save your work.
9 Refresh the screen to view all the Formula Results information.
10 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-65

Appendix A: Practices and Solutions


.....................................................................................................................................................

Balance
(N)Compensation & Benefits>Balance
1 Enter a Name for your balance and a Reporting Name.
2 Select the Units of measure from the list of values.
3 Save your work.
4 Verify that your window looks similar to the one below:

5 Select the Feeds button.


6 Select the Element Name from the list of values that will feed the balance.
7 Select the Input Value from the list of values.
8 Select Add from the list of values.
9 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-66
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 10 1: Solution
.....................................................................................................................................................

10 Close the window and select the Dimensions button.


11 Select the dimension Name from the list of values.
12 Save your work.
13 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-67

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 11 1
Introduction
The objective of this exercise is to write a fast formula containing conditional logic.
You will be defining an element to pay a production bonus. The amount of bonus paid
will depend upon the number of units produced:
Note: Substitute nn with your initials.
Define an earnings element called nn_Production_Bonus which is going to pay a oneoff bonus based upon the number of units produced by the employee.
Only employees in your payroll are eligible for the bonus.
The bonus payments are:
100-199
200-299
300 and over

200
400
2 per unit.

.....................................................................................................................................................
A-68
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 11 1: Solution
.....................................................................................................................................................

Practice 11 1: Solution
Element Description
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and a Reporting Name for your element.
3 Select Earnings as the Primary Classification from the list of values.
4 Select Nonrecurring as the Processing Type.
5 Ensure that the Multiple Entries check box is selected.
6 Save your work.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-69

Appendix A: Practices and Solutions


.....................................................................................................................................................

8 Select the Input Values button.


9 Create an input value.
10 Select the Units of Number from the list of values.
11 Enter a Sequence Number.
12 Save your work.
13 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-70
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 11 1: Solution
.....................................................................................................................................................

Element Link
(N)Compensation & Benefits>Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example select your payroll.
3 Save your work.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-71

Appendix A: Practices and Solutions


.....................................................................................................................................................

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

5 Select the Edit button


6 Write your formula.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-72
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 11 1: Solution
.....................................................................................................................................................

Formula Result Rules


(N)Compensation & Benefits>Formula Results
1 Set your effective date to 01-JAN-1998.
2 Select your nn_Production_Bonus element from the list of values.
3 Select the Processing Rules Name Standard from the list of values.
4 In the Formula field select your formula from the list of values.
5 Save your work.
6 Move down to the Formula Results block and select your formula input value in
the Name field from the list of values.
7 Select the Formula Results Type of Direct Result from the list of values.
8 Save your work.
9 Refresh the screen to view all the Formula Results information.
10 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-73

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 12 1
Introduction
The objective of this practice is to extend the formula you created earlier in Practice
10-1. In the earlier practice it was assumed that all PRP earned was non-taxable. In
this practice you are going to set up an upper limit to the amount of PRP that can be
treated as non-taxable, anything over this limit will be deemed taxable:
Define a global value to hold the taxable limit for PRP; initially set this to be 4000
Rename your original PRP element to reflect that it is non-taxable only.
Define an earnings element which will be used to pay the taxable portion of PRP. As
this is to be an element which will be fed a result indirectly, you need to make sure you
select the Indirect Results Box
Alter the processing priority of the element to ensure it is not processed before the
PRP non-taxable element.
Only employees in your payroll are eligible for PRP.
Write a formula using conditional logic to calculate the non-taxable PRP and taxable
PRP.

.....................................................................................................................................................
A-74
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 12 1: Solution
.....................................................................................................................................................

Practice 12 1: Solution
Globals
(N)Compensation & Benefits>Global Values
1 Set your effective date to 01-JAN-1998.
2 Enter a Name for your global value. Optionally enter a Description.
3 Select the Type of number from the list of values.
4 Enter a Value.
5 Save your work.
6 Verify that your window looks similar to the one below:

Element Description
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and a Reporting Name for your element.
3 Select Earnings as the Primary Classification from the list of values.
4 Select Nonrecurring as the Processing Type.
5 Select the Indirect Results check box.
6 Alter the Priority Processing to 2501.
7 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-75

Appendix A: Practices and Solutions


.....................................................................................................................................................

8 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-76
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 12 1: Solution
.....................................................................................................................................................

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

5 Select the Edit button


6 Write your formula.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-77

Appendix A: Practices and Solutions


.....................................................................................................................................................

Formula Result Rules


(N)Compensation & Benefits>Formula Results
1 Set your effective date to 01-JAN-1998.
2 Select your nn_PRP_Non_Taxable element from the list of values.
3 Select the Processing Rules Name Standard from the list of values.
4 In the Formula field select your formula from the list of values.
5 Save your work.
6 Move down to the Formula Results block and select PRP_Non_Taxable in the
Name field from the list of values.
7 Select the Formula Results Type of Direct Result from the list of values.
8 Next line select PRP_Taxable in the Name field, from the list of values.
9 Select the Formula Results Type of Indirect Result.
10 Select the Element nn_PRP_Taxable from the list of values.
11 Select the Input Value of Pay Value from the list of values.
12 Select Money from the list on values as Units.
13 Save your work.
14 Refresh the screen to view all the Formula Results information.
15 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-78
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 13 1
.....................................................................................................................................................

Practice 13 1
Introduction
The objective of this practice is to write a fast formula to access values held in a grade
rate table.
Overtime is paid at an hourly rate which is based upon the grade of the employee. A
set of hourly overtime rates has already been defined in the system for you to use.
Navigate to the grade rate window to check the name of the grade rate table.
Define an earnings element to pay overtime which will allow multiple entries in a pay
period. The element will need to hold the number of hours worked.
Any employee in your payroll is eligible to earn overtime.
Write a formula which will access the overtime rates to calculate the overtime earned.

Instructor Note
Ensure that a table has been created, which holds hourly rates of pay for overtime
against each grade.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-79

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 13 1: Solution
Element Description
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and a Reporting Name for your element.
3 Select Earnings as the Primary Classification from the list of values.
4 Select Recurring as the Processing Type.
5 Ensure that the Multiple Entries check box is selected.
6 Save your work.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-80
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 13 1: Solution
.....................................................................................................................................................

8 Select the Input Values button.


9 Create an input value.
10 Select the Units of Number from the list of values.
11 Enter a Sequence Number.
12 Save your work.
13 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-81

Appendix A: Practices and Solutions


.....................................................................................................................................................

Element Link
(N)Compensation & Benefits>Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example select your payroll.
3 Save your work.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-82
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 13 1: Solution
.....................................................................................................................................................

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

5 Select the Edit button


6 Write your formula.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-83

Appendix A: Practices and Solutions


.....................................................................................................................................................

Formula Result Rules


(N)Compensation & Benefits>Formula Results
1 Set your effective date to 01-JAN-1998.
2 Select your nn_Location_Allowance element from the list of values.
3 Select the Processing Rules Name Standard from the list of values.
4 In the Formula field select your formula from the list of values.
5 Save your work.
6 Move down to the Formula Results block and select your formula input value in
the Name field from the list of values.
7 Select the Formula Results Type of Direct Result from the list of values.
8 Save your work.
9 Refresh the screen to view all the Formula Results information.
10 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-84
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 13 2
.....................................................................................................................................................

Practice 13 2
Introduction
The objective of this exercise is to write a formula that will reference a table of rates
that you have defined.
Mileage claims are made on a weekly basis but paid monthly based upon the number
of miles and the mileage rate. The mileage rate will depend upon the type of driver:
Rate
Casual
Co. Car
Essential

10
15
50

Define a table of mileage rates.


Define an element that will pay mileage, you will require an input value to hold the
number of miles claimed.
Any employee in your payroll will be eligible.
Write a formula making use of the GET_TABLE_VALUE function.

Instructor Note
Ensure that a segment has been defined on the People Group Key Flexfield for Driver
Type. The associated Value Set will contain the following values; Permanent, Essential
and Casual.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-85

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 13 2: Solution
Table Structure
(N) Other Definitions>Table Structure
1 Set your effective date to the date from which you want the table's row labels to
take effect.
2 Enter the table name.
3 Select Match for the table's match type, from the list of values.
4 Select Text as the Key Units of Measure, from the list of values.
5 Enter the row label as the Row Title.
6 Save your work.
7 Verify that your window looks similar to the one below:

8 Select the Columns button to go to the Columns window.

.....................................................................................................................................................
A-86
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 13 2: Solution
.....................................................................................................................................................

How to Enter Column Labels


1 Enter labels for the table columns in the Name field.
2 Save your work and close the window.
3 Verify that your window looks similar to the one below:

4 Choose the Rows button to go to the Rows window, in the Table Structure window.

How to Enter Row Labels


1 Enter the label for each table row in the fields under the heading Exact, if the
match type of the table is Match.
2 In the Sequence fields, you can optionally enter a number for each row label to
determine the order in which it appears on a list in the Table Values window.
3 When you are finished, save your work and close the window. Your table is now
set up and ready to receive entries into its columns.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-87

Appendix A: Practices and Solutions


.....................................................................................................................................................

4 Verify that your window looks similar to the one below:

How to Enter Values into Table Columns


(N) Other Definitions>Table Values
1 Set your effective date to the date from which you want the entries to take effect.
2 Query the table name.
3 With the cursor in the Column Name field, use the up and down arrows to locate
the name of the column in which you want to make entries.
4 Select each row for which you want to make an entry, in the Values region.
5 For each row, make the appropriate entry in the Value field.
6 Save your work.

.....................................................................................................................................................
A-88
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 13 2: Solution
.....................................................................................................................................................

7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-89

Appendix A: Practices and Solutions


.....................................................................................................................................................

Element Description
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and a Reporting Name for your element.
3 Select Earnings as the Primary Classification from the list of values.
4 Select Non-recurring as the Processing Type.
5 Ensure that the Multiple Entries check box is selected.
6 Save your work.
7 Verify that your window looks similar to the one below:

8 Select the Input Values button.


9 Create an input value.
10 Select the Units of Number from the list of values.
11 Enter a Sequence Number.
12 Save your work.

.....................................................................................................................................................
A-90
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 13 2: Solution
.....................................................................................................................................................

13 Verify that your window looks similar to the one below:

Element Link
(N)Compensation & Benefits>Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example select your payroll.
3 Save your work.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-91

Appendix A: Practices and Solutions


.....................................................................................................................................................

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

5 Select the Edit button


6 Write your formula.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-92
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 13 2: Solution
.....................................................................................................................................................

Formula Result Rules


(N)Compensation & Benefits>Formula Results
1 Set your effective date to 01-JAN-1998.
2 Select your nn_Mileage element from the list of values.
3 Select the Processing Rules Name Standard from the list of values.
4 In the Formula field select your formula from the list of values.
5 Save your work.
6 Move down to the Formula Results block and select your formula input value in
the Name field from the list of values.
7 Select the Formula Results Type of Direct Result from the list of values.
8 Save your work.
9 Refresh the screen to view all the Formula Results information.
10 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-93

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 14 1
Introduction
The objective of this practice is to use the message and stop features of Oracle Fast
Formula and applying this to an employee loan and repayment:

Define an information element which is going to be used to feed a user defined


balance with an amount for the initial loan.
Define a voluntary deduction element which is going to be used to deduct the
repayment amount. The element requires an input value in which the repayment
amount is entered.
Create a balance which is going to have the initial loan amount added to it and
repayment amounts deducted from it. Use a dimension which causes the loan not
to be cleared down.
Write a formula which calculates the appropriate repayment amount based upon
the outstanding amount (balance). When the loan has been repaid (when balance is
zero) the formula is to return a message and a stop.

.....................................................................................................................................................
A-94
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 14 1: Solution
.....................................................................................................................................................

Practice 14 1: Solution
Element Description
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name, for example, nn_Initial_Loan and a Reporting Name for your
element.
3 Select Information as the Primary Classification from the list of values.
4 Select Non-recurring as the Processing Type.
5 Ensure that the Multiple Entries check box is not selected.
6 Save your work.
7 Verify that your window looks similar to the one below:

8 Select the Input Values button.


9 Create an input value.
10 Select the Units of Money, from the list of values.
11 Enter a Sequence Number.
12 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-95

Appendix A: Practices and Solutions


.....................................................................................................................................................

13 Verify that your window looks similar to the one below:

Element Link
(N)Compensation & Benefits>Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example select your payroll.
3 Save your work.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-96
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 14 1: Solution
.....................................................................................................................................................

Element Description
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name, for example, nn_Loan_Deduction and a Reporting Name for your
element.
3 Select Voluntary Deduction as the Primary Classification from the list of values.
4 Select Recurring as the Processing Type.
5 Save your work.
6 Verify that your window looks similar to the one below:

7 Select the Input Values button.


8 Create an input value.
9 Select the Units of Money, from the list of values.
10 Enter a Sequence Number.
11 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-97

Appendix A: Practices and Solutions


.....................................................................................................................................................

12 Verify that your window looks similar to the one below:

Element Link
(N)Compensation & Benefits>Link
1 Select your element from the list of values.
2 Enter your eligibility criteria. In this example select your payroll.
3 Save your work.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-98
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 14 1: Solution
.....................................................................................................................................................

Balance
(N)Compensation & Benefits>Balance
1 Enter a Name for your balance and a Reporting Name.
2 Select the Units of measure from the list of values.
3 Save your work.
4 Verify that your window looks similar to the one below:

5 Select the Feeds button.


6 Select the Element Name nn_Initial_Loan from the list of values, this element will
7
8
9
10
11
12

feed the balance.


Select the Input Value from the list of values.
Select Add from the list of values.
Select the Element Name nn_Loan_Deduction from the list of values, this element
will deduct from the balance.
Select the Input Value from the list of values.
Select Subtract from the list of values.
Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-99

Appendix A: Practices and Solutions


.....................................................................................................................................................

13 Verify that your window looks similar to the one below:

14 Close the window and select the Dimensions button.


15 Select the dimension Name from the list of values.
16 Save your work.
17 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-100
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 14 1: Solution
.....................................................................................................................................................

Formula
(N)Compensation & Benefits>Write Formulas
1 Enter the formula's Name (spaces are not permitted).
2 Select a formula Type of Oracle Payroll from the list of values.
3 Optionally enter a description.
4 Verify that your window looks similar to the one below:

5 Select the Edit button


6 Write your formula.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-101

Appendix A: Practices and Solutions


.....................................................................................................................................................

Formula Result Rules


(N)Compensation & Benefits>Formula Results
1 Set your effective date to 01-JAN-1998.
2 Select your nn_Loan_Deduction element from the list of values.
3 Select the Processing Rules Name Standard from the list of values.
4 In the Formula field select your formula from the list of values.
5 Save your work.
6 Move down to the Formula Results block and select your formula input value in
the Name field from the list of values.
7 Select the Formula Results Type of Direct Result from the list of values.
8 Next line select your formula input value in the Name field from the list of values.
9 Select the Formula Results Type of Message from the list of values.
10 Select the Severity type from the list of values.
11 Next line select your formula input value in the Name field from the list of values.
12 Select the Formula Results Type of Stop from the list of values.
13 Select the name of the Element that the Stop applies to, for example,
nn_Loan_Deduction.
14 Save your work.
15 Refresh the screen to view all the Formula Results information.

.....................................................................................................................................................
A-102
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 14 1: Solution
.....................................................................................................................................................

16 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-103

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 15 1
Introduction
The objective of this practice is to write an Oracle FastFormula that will validate user
entries into the element input values.
Write a formula that will only allow an Additional Voluntary Contribution entry
between 1% and 15%. A users entry will be prompted with the following messages:
If successful, Valid Input
If unsuccessful, AVC maximum is 15, Please re-enter
Note: Substitute nn with your initials.
Define a voluntary deduction element nn_AVC that will store an employees
Additional Voluntary Deduction. Ensure that you enter your formula to validate the
element entries.
Only people on your payroll are entitled to the element.

.....................................................................................................................................................
A-104
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 15 1: Solution
.....................................................................................................................................................

Practice 15 1: Solution
Formula
(N)Compensation & Benefits>Write Formula
1 Set your effective date to 01-JAN-1998.
2 Enter a Name for your formula.
3 Select a Formula Type of Element Input Validation from the list of values.
4 Optionally enter a Description.
5 Verify that your window looks similar to the one below:

6 Select the Edit button and write your formula.


7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-105

Appendix A: Practices and Solutions


.....................................................................................................................................................

Element Description
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and Reporting Name for your element.
3 Select the Primary Classification of Voluntary Deduction from the list of values.
4 Select the Recurring Processing Type.
5 Save your work.
6 Verify that your window looks similar to the one below:

7 Select the Input Values button.


8 Create an Input Value called entry_value with a Type of character.
9 Enter a Sequence Number.
10 In the Validation block select your formula from the list of values.
11 Select a Warning or Error message from the list of values.
12 Save your work.

.....................................................................................................................................................
A-106
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 15 1: Solution
.....................................................................................................................................................

13 Verify that your window looks similar to the one below:

Element Link
(N)Compensation & Benefits>Element Link
1 Set your effective date to 01-JAN-1998.
2 Select your element from the list of values.
3 Select your payroll in the Eligibility block.
4 Save your work.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-107

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 16 1
Introduction
The objective of this practice is to write an Oracle FastFormula to create a skip rule.
Note: Substitute nn with your initials.
Write a formula that will process elements quarterly.
Define an element called nn_Quarterly_Bonus. It will be a recurring element that will
pay employees 1500 per quarter.
Remember to associate your skip rule with your element.
Only people on your payroll are entitled to the bonus.

.....................................................................................................................................................
A-108
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 16 1: Solution
.....................................................................................................................................................

Practice 16 1: Solution
Formula
(N)Compensation & Benefits>Write Formula
1 Set your effective date to 01-JAN-1998.
2 Enter a Name for your formula.
3 Select a Formula Type of Element Skip from the list of values.
4 Optionally enter a Description.
5 Verify that your window looks similar to the one below:

6 Select the Edit button and write your formula.


7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-109

Appendix A: Practices and Solutions


.....................................................................................................................................................

Element Description
(N)Compensation & Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and Reporting Name for your element.
3 Select the Primary Classification of Earnings from the list of values.
4 Select the Recurring Processing Type.
5 Select your Skip Rule from the list of values.
6 Save your work.
7 Verify that your window looks similar to the one below:

8 Select the Input Values button.


9 Enter the default amount against the Pay Value.
10 Save your work.

.....................................................................................................................................................
A-110
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 16 1: Solution
.....................................................................................................................................................

11 Verify that your window looks similar to the one below:

Element Link
(N)Compensation & Benefits>Link
1 Set your effective date to 01-JAN-1998.
2 Select your element from the list of values.
3 Select your Payroll in the Eligibility block.
4 Save your work.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-111

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 17 1
Introduction
The objective of this practice is to set up a link for the statutory element NI.
Create a standard link for the NI element effective from 01-JAN-1998. Enter
eligibility criteria of your payroll.

.....................................................................................................................................................
A-112
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 17 1: Solution
.....................................................................................................................................................

Practice 17 1: Solution
Element Link
(N)Compensation & Benefits>Link
1 Set your effective date to 01-JAN-1998.
2 Select the NI element from the list of values.
3 Select the Standard check box.
4 Select your Payroll from the list of values in the Eligibility block.
5 Save your work.
6 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-113

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 17 2
Introduction
The objective of this practice is to set up a link for the statutory element PAYE Details.
Create a standard link for the PAYE Details element effective from 01-JAN-1998.
Enter eligibility criteria of your payroll with default values:
Tax Code:
Tax basis:

BR
Non-Cumulative

.....................................................................................................................................................
A-114
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 17 2: Solution
.....................................................................................................................................................

Practice 17 2: Solution
Formula
(N)Compensation & Benefits>Write Formula
1 Set your effective date to 01-JAN-1998.
2 Select the PAYE Details element from the list of values.
3 Select the Standard check box.
4 Select your Payroll from the list of values in the Eligibility block.
5 Verify that your window looks similar to the one below:

6 Select the Input Values button.


7 Enter the Default values.
8 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-115

Appendix A: Practices and Solutions


.....................................................................................................................................................

9 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-116
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 18 1
.....................................................................................................................................................

Practice 18 1
Introduction
The objective of this practice is to set up court order information to enable you to
make a payment to an external organization.
Link the elements Court Order and Court Order Non Priority to your payroll.
Note: Substitute nn with your initials.
Set up the nn Child Support Agency (CSA) as a third party payment payee and
payment method details of your choice.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-117

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 18 1: Solution
Organization
(N)Work Structures>Organization
1 Set your effective date to 01-JAN-1998.
2 Enter a Name for your organization.
3 Select a Location from the list of values.
4 Select External from the list of values.
5 Save your work.
6 Select an Organization Classification of Payee Organization and enable.
7 Save your work.
8 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-118
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 18 1: Solution
.....................................................................................................................................................

Organizational Payment Methods


(N)Payroll>Payment Methods
1 Set your effective date to 01-JAN-1998
2 Enter a Name for your payment method and select a Type from the list of values.
3 Select the Third Party check box.
4 Enter Bank Details.
5 Save your work.
6 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-119

Appendix A: Practices and Solutions


.....................................................................................................................................................

Element Link
(N)Compensation & Benefits>Link
1 Set your effective date to 01-JAN-1998
2 Select the Court Order element from the list of values.
3 Select your Payroll in the Eligibility block
4 Save your work.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-120
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 18 1: Solution
.....................................................................................................................................................

Element Link
(N)Compensation & Benefits>Link
1 Set your effective date to 01-JAN-1998
2 Select the Court Order Non Priority element from the list of values.
3 Select your Payroll in the Eligibility block
4 Save your work.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-121

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 19 1
Introduction
The objective of this practice is to set up RetroPay to enable you to make back pay
adjustments to Annual Salary.
Note: Substitute nn with your initials.
Create a RetroPay element called nn_Arrears.
Link the RetroPay element to your payroll.
Create a user defined balance called nn_Salary_Arrears, which will be fed by the
nn_Annual_Salary and the nn_Arrears elements.
Create a RetroPay Set which includes your nn_Salary_Arrears balance and the
nn_Arrears element.

.....................................................................................................................................................
A-122
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 19 1: Solution
.....................................................................................................................................................

Practice 19 1: Solution
Element Description
(N)Compensation and Benefits>Element Description
1 Set your effective date to 01-JAN-1998.
2 Enter a Name and Reporting Name for your element.
3 Select the Primary Classification of Earnings from the list of values.
4 Select the Nonrecurring Processing Type.
5 Save your work.
6 Verify that your window looks similar to the one below:

7 Select the Input Values button.


8 Create two additional input values, as follows;

Start Date
End Date
9 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-123

Appendix A: Practices and Solutions


.....................................................................................................................................................

10 Verify that your window looks similar to the one below:

Element Link
(N)Compensation & Benefits>Link
1 Set your effective date to 01-JAN-1998.
2 Select your element from the list of values.
3 Select your Payroll in the Eligibility block.
4 Save your work.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-124
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 19 1: Solution
.....................................................................................................................................................

Balance
(N)Compensation & Benefits>Balance
1 Enter a Name for your balance and a Reporting Name.
2 Select the Units of measure from the list of values.
3 Save your work.
4 Verify that your window looks similar to the one below:

5 Select the Feeds button.


6 Select the Element Name nn_Annual_Salary from the list of values, this element
7
8
9
10
11
12

will feed the balance.


Select the Input Value from the list of values.
Select Add from the list of values.
Select the Element Name nn_Arrears from the list of values, this element will feed
the balance.
Select the Input Value from the list of values.
Select Add from the list of values.
Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-125

Appendix A: Practices and Solutions


.....................................................................................................................................................

13 Verify that your window looks similar to the one below:

14 Close the window and select the Dimensions button.


15 Select the dimension Name from the list of values.
16 Save your work.
17 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-126
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 19 1: Solution
.....................................................................................................................................................

RetroPay Set
(N)Payroll>RetroPay Set
1 Enter a Name for your RetroPay Set.
2 Select nn_Salary_Arrears balance from the list of values.
3 Select nn_Arrears element from the list of values.
4 Select Pay Value from the list of values as the Input Value
5 Save your work.
6 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-127

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 20 1
Introduction
The objective of this practice is to understand how to set up the Advance Pay to enable
you to pay employees in advance for holidays.

Where do you set the maximum number of pay periods for which employees can
receive an Advance Pay payment?
What are the six Advance Pay elements that need to be linked to your payroll?

.....................................................................................................................................................
A-128
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 20 1: Solution
.....................................................................................................................................................

Practice 20 1: Solution
Payroll
(N)Payroll>Payroll Description
1 Set your effective date to 01-JAN-1998.
2 Query the payroll you defined previously.
3 Click in the Statutory Information field to open the flexfield.
4 Enter 1 in the Maximum Holiday Period Advance field.
5 Save your work.
6 Verify that your window looks similar to the one below:

The 6 Advance Pay Elements are:


Advance Period
Advance Cleanup
Advance Recovery
Advance Payment
Advance Indicator
Deferred Payments

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-129

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 21 1
Introduction
The objective of this practice is to create an assignment status that will track a
temporary departure of an employee from our enterprise.
Note: Substitute nn with your initials.
Create an assignment status called nn Career Break. This user defined status will be
based upon the system status of Suspend Assignment.

.....................................................................................................................................................
A-130
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 21 1: Solution
.....................................................................................................................................................

Practice 21 1: Solution
Assignment Statuses
(N) Work Structures> Status
1 Set your effective date to 01-JAN-1998.
2 Enter a name for your User Status.
3 From the list of values select the system status.
4 Save your work.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-131

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 22 1
Introduction
This practice reinforces your ability to define employee information.
Your company has the following employees:

Hire Date
Name
NI Number
Marital Status
DOB
Ethnic Origin
Address

Organization
Group

Job
Position
Grade
Payroll
Location
Status
Emp. Cat
Salary Basis
NI Cat. Code
Tax Code
Tax Basis
Payment
Method
Element
Entries

Employee 1
01-JAN-1998
XXXXXX
AANNNNNNA
Married
22-FEB-1968
Caucasian
234 Main St.
Bristol
B7 6TG
Payroll
Sports Club:
Family
Pension: 5%
Car User: Casual
Administrator
Absence
Administrator
ADMIN.1
nn_Payroll
HR Reading UK
Active Assign.
Full Time Reg.
nn_Mgt. Basis
D
320L
Non-Cumulative
BACS

Employee 2
01-JAN-1998
XXXXXX
AANNNNNNA
Single
13-JUN-1956
Caucasian
234 Green Bay
Luton
L98 6DC
Business Analysis
Sports Club:
Single
Pension: 10%
Car User: Co. Car
Manager
Business Analysis
Manager
MGMT.2
nn_Payroll
HR Leeds UK
Active Assign.
Full Time Reg.
nn_Mgt. Basis
D
280L
Non-Cumulative
BACS

Employee 3
01-JAN-1998
XXXXXX
AANNNNNNA
Single
15-AUG-1958
Caucasian
124 W. Capt.
Plymouth
P2 5SD
Car Fleet
Sports Club:
Single
Pension: 10%
Car User: Essential
Manager
Car Fleet Manager

- Payment: 100
- PRP: 2500
- Production
Bonus: 250 Units

- Payment: 100
- PRP: 3500
- Italian Expenses:
475
- AVC: 20%
- Quarterly Bonus

- PRP: 1900
- Italian Expenses:
300
- AVC: 10%
- Quarterly Bonus

MGMT.4
nn_Payroll
HR Reading UK
Active Assign.
Full Time Reg.
nn_Mgt. Basis
D
K14
Non-Cumulative
BACS

Employee 4
15-JAN-1998
XXXXXX
AANNNNNNA
Married
20-MAY-1960
Caucasian
411 Old School Rd
Manchester
M8 7DF
Facilities
Sports Club:
Spouse
Not in Scheme
Car User: Casual
Administrator
Facilities
Administrator
ADMIN.4
nn_Payroll
HR London UK
Active Assign.
Full Time Reg.
nn_Mgt. Basis
A
280L
Non-Cumulative
Cheque
- PRP: 2300
- Initial Loan: 500
- Loan Deduction:
300 per month
- Location Allow:
1500 p.a.

.....................................................................................................................................................
A-132
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 22 1: Solution
.....................................................................................................................................................

Practice 22 1: Solution
Entering Personal Information
People
(N) People>Enter and Maintain
1 Close the Find window.
2 Datetrack to hire date.
3 Enter all personal information on the first screen.
4 Verify that your window looks similar to the one below:

5 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-133

Appendix A: Practices and Solutions


.....................................................................................................................................................

Entering an Address
1 Select the Address button.
2 Enter the primary address.
3 Verify that your window looks similar to the one below:

4 Save your work.


5 Close the Address form.

.....................................................................................................................................................
A-134
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 22 1: Solution
.....................................................................................................................................................

Entering Assignments
1 Choose the Assignment form.
2 Fill in the appropriate fields.
Note: Remember the Salary Basis.
3 Verify that your window looks similar to the one below:

4 Save your work.


5 Select the Tax Information button.
6 Enter the appropriate tax information.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-135

Appendix A: Practices and Solutions


.....................................................................................................................................................

7 Verify that your window looks similar to the one below:

8 Save your work.


9 Close the Tax Information window.
10 Click the Others button and select Pay Method.
11 Enter the appropriate pay method.
12 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-136
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 22 1: Solution
.....................................................................................................................................................

13 Save your work.


14 Close the Pay Method window.
15 Select the Entries button.
16 Enter the appropriate elements.

Note: Remember to enter input values.


17 Verify that your window looks similar to the one below:

18 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-137

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 23 1
Introduction
The objective of this practice is to enter and approve salaries for individual employees.
Enter the following salaries for the employees created in Practice 22.

Hire Date
Name
Salary

Employee 1
01-JAN-1998
XXXXXX
17000

Employee 2

Employee 3

Employee 4

01-JAN-1998
XXXXXX
32000

01-JAN-1998
XXXXXX
40000

15-JAN-1998
XXXXXX
24000

.....................................................................................................................................................
A-138
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 23 1: Solution
.....................................................................................................................................................

Practice 23 1: Solution
Salary Administration
(N) Enter and Maintain>Assignment>Salary
1 Enter the start date for the salary. For a new hire, this is usually the hire date.
2 Enter the amount of the salary in the New Amount field.
3 Select a Reason from the list of values.
4 Save the new salary. Its approval is automatic.
5 Verify that your window looks similar to the one below:

6 Enter salaries for the remaining employees using the above method.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-139

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 24 1
Introduction
The objective of this practice is to demonstrate your knowledge of the payroll
processes.
List the different types of payroll processes.

.....................................................................................................................................................
A-140
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 24 1: Solution
.....................................................................................................................................................

Practice 24 1: Solution
The following is a list of the different payroll processes.
Running Payroll
Payroll Run
Processing Corrections to Run Results
Retries
Rollbacks
Managing Post-Run Processes
Prepayments
Writing Cheques
Electronic Transfer
Cash Payments
Pay Advice
Managing Other Processes
Reversals
Adjusting Balances
Retroactive Pay
Running the Costing and Transfer to Oracle General Ledger Process
Initiating the costing process
Transferring results to GL
QuickPay
Initiating a QuickPay Run

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-141

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 25 1
Introduction
The objective of this practice is to Adjust a Pay Value for an employee who started
work partway through the month.
Employee 4 started work partway through the month, on the 15th January 1998.
Therefore you need to pay them pro-rata for the days they have worked, that is 1000
for the month of January.

.....................................................................................................................................................
A-142
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 25 1: Solution
.....................................................................................................................................................

Practice 25 1: Solution
Entry Values
(N)Enter and Maintain>Assignment>Entries>Entry Values
1 Select the Annual Salary element.
2 Select the Show Adjustment check box.
3 Select Replace from the Adjustment popup list.
4 Enter your replacement value.
5 Save your work.
6 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-143

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 25 2
Introduction
The objective of this practice is to create an Assignment Set to process those
employees in your payroll who are located in the Reading office.
Note: Substitute nn with your initials.
Create an assignment set called nn_Location.

.....................................................................................................................................................
A-144
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 25 2: Solution
.....................................................................................................................................................

Practice 25 2: Solution
Assignment Set
Navigate to the form:
(N)Payroll>Assignment Set
1 Enter a unique name for the set.
2 Select your payroll, from the list of values. This will ensure that only assignments
from your payroll are selected.
3 Save your work.
4 Verify that your window looks similar to the one below:

5 Select the Criteria button.


6 Enter your assignment set criteria.
7 Save your work.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-145

Appendix A: Practices and Solutions


.....................................................................................................................................................

8 Verify that your window looks similar to the one below:

9 Close down the Criteria window.


10 Select the Generate button. This will generate your formula.

.....................................................................................................................................................
A-146
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 25 3
.....................................................................................................................................................

Practice 25 3
Introduction
The objective of this practice is to define an Element Set which will allow you to
process one element only.
Note: Substitute nn with your initials.
During the year a Special Bonus is paid to all employees based in the Reading office.
The bonus, however, is calculated after the main payroll run.
Create a nonrecurring element called nn_Special_Bonus, which has a default value of
500.
Only employees on your payroll are eligible to receive the element.
Create an element set called nn_Special_Bonus effective from the 1st February.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-147

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 25 3: Solution
Element Set
Navigate to the form:
(N)Payroll >Element Set
1 Enter a unique Name for the element set.
2 Select the Type of Run Set, from the list of values.
3 Save your work.
4 Click in the Elements Name region and then select the Include Element button.
5 Select your Special Bonus element from the list of values.
6 Save your work.
7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-148
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 25 4
.....................................................................................................................................................

Practice 25 4
Introduction
The objective of this practice is to use the MIX: Batch Element Entry method to make
element entries for your employees.
The entries are to be processed during the January payroll run, therefore the entries
need to be made for the January pay period. To achieve this ensure that your effective
date is set to some time in January.
Note: Substitute nn with your initials.
Batch Name: nn_Batch_Mileage
Source: Optional
Reference: Optional
Action if entry already exists: Create New Entry
Reject if future changes: No
Enter the following records for the nn_Mileage element:
Employee 1 - 75 miles
Employee 2 - 100 miles
Employee 3 - 80 miles
Employee 4 - 110 miles
Validate the batch entry, then, if successful run the transfer process.
Check that the element entries have been made.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-149

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 25 4: Solution
Batch Element Entry
(N) Mass Info. Exchange:MIX> Batch Element Entry
1 Enter a Name for your Batch.
2 Select the Create New Entry option button.
3 Clear Reject if future changes.
4 Save your work.
5 Verify that your window looks similar to the one below:

6 Select the Lines button.


7 Select the Element from the list of values.
8 Make your entries for your employees.
9 Save your work.

.....................................................................................................................................................
A-150
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 25 4: Solution
.....................................................................................................................................................

10 Verify that your window looks similar to the one below:

11 Close the Lines window.


12 Select the Process button.
13 Select the Validate option button.
14 Verify that your window looks similar to the one below:

15 Select the Start button.


16 Requery your batch and check that the Batch Status is Valid. If there is an error you

can look at the messages to find out where the error occurred.
17 Select the Process button.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-151

Appendix A: Practices and Solutions


.....................................................................................................................................................

18 Select the Transfer option button.


19 Verify that your window looks similar to the one below:

20 Select the Start button.


21 Requery your batch and check that the Batch Status is Transferred. If there is an

error you can look at the messages to find out where the error occurred.

.....................................................................................................................................................
A-152
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 25 5
.....................................................................................................................................................

Practice 25 5
Introduction
The objective of this practice is to initiate a Payroll Run.
Run your nn_Payroll for the month of January.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-153

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 25 5: Solution
Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request
1 In the Request Name field, select Payroll Run from the list of values.
2 In the Parameters window select your payroll and the payroll period, from the list
of values.
3 Select the Submit Request button.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-154
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 26 1
.....................................................................................................................................................

Practice 26 1
Introduction
The objective of this practice is to view the results of a payroll run.
View the results of your payroll run in the following windows:
Process-Level Results
Assignment-Level Results
Run the Gross to Net Summary Report for your payroll.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-155

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 26 1: Solution
Payroll Processes
(N)View >Payroll Processes Results
1 Select your payroll and the appropriate period dates, from the list of values.
2 Select the Find button.
3 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-156
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 26 1: Solution
.....................................................................................................................................................

4 View the results of your payroll run, by selecting the Assignment Process button
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-157

Appendix A: Practices and Solutions


.....................................................................................................................................................

Employee Assignment Processes


(N) View>Assign. Process Results
1 Select the Full Name from the list of values.
2 Select the Payroll and Period Dates, from the list of values.
3 Select the Find button.
4 View your employees results.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-158
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 26 1: Solution
.....................................................................................................................................................

6 View the Statement of Earnings, by selecting the SOE Report button.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-159

Appendix A: Practices and Solutions


.....................................................................................................................................................

Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request
1 In the Request Name field, select Gross to Net Summary from the list of values.
2 In the Parameters window select your payroll and the payroll period, from the list
of values.
3 Select the Submit Request button.
4 Verify that your window looks similar to the one below:

5 View the results of the report.


6 Select Help>View My Requests>Find>View Output

.....................................................................................................................................................
A-160
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 26 1: Solution
.....................................................................................................................................................

7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-161

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 27 1
Introduction
The objective of this practice is to mark a group of employees for retry, and then retry
the payroll run.
Using the Assignment Set created in Practice 25, mark this group of employees based
in the Reading office for retry.

.....................................................................................................................................................
A-162
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 27 1: Solution
.....................................................................................................................................................

Practice 27 1: Solution
Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request
1 Select Mark Payroll Run for Retry in the Name field if you are retrying a payroll
run. Otherwise select Mark Process for Retry. If the Parameters box does not
automatically appear, click in the Parameters field.
2 Select the payroll run process from the list of values.
3 Select the name of the Assignment Set from the list of values, to reprocess an
assignment set.
4 Select the Submit Requests button.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-163

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 27 2
Introduction
The objective of this practice is to Retry the Payroll Run.
The employees were processed in the January run without their Special Bonus element
entries being paid. Therefore, once this group of employees have been marked for
retry, make an entry for the Special Bonus element.
Retry the Payroll Run. When you retry the run, only those assignments in the
assignment set are reprocessed.

.....................................................................................................................................................
A-164
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 27 2: Solution
.....................................................................................................................................................

Practice 27 2: Solution
Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request
1 Select Retry Payroll Run in the Name field if you are retrying a payroll run. If the
Parameters box does not automatically appear, click in the Parameters field.
2 Select the payroll process from the list of values.
3 Select the Submit Requests button.
4 Verify that your window looks similar to the one below:

5 View the results of Retrying the Payroll.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-165

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 28 1
Introduction
The objective of this practice is to run the Prepayments process.
Run the Prepayments process for the January pay period.

.....................................................................................................................................................
A-166
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 28 1: Solution
.....................................................................................................................................................

Practice 28 1: Solution
Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request
1 Select Prepayments in the Name field if you are retrying a payroll run. If the
Parameters box does not automatically appear, click in the Parameters field.
2 Enter the relevant parameters.
3 Select the Submit Requests button.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-167

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 28 2
Introduction
The objective of this practice is to run the Cheque Writer process.
Run the Cheque Writer process for the January pay period.

.....................................................................................................................................................
A-168
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 28 2: Solution
.....................................................................................................................................................

Practice 28 2: Solution
Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request
1 Select Cheque Writer in the Name field if you are retrying a payroll run. If the
Parameters box does not automatically appear, click in the Parameters field.
2 Enter the relevant parameters.
3 Select the Submit Requests button.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-169

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 28 3
Introduction
The objective of this practice is to run the BACS process.
Run the BACS process for the January pay period.

.....................................................................................................................................................
A-170
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 28 3: Solution
.....................................................................................................................................................

Practice 28 3: Solution
Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request
1 Select BACS in the Name field if you are retrying a payroll run. If the Parameters
box does not automatically appear, click in the Parameters field.
2 Enter the relevant parameters.
3 Select the Submit Requests button.
4 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-171

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 29 1
Introduction
The objective of this practice is to reverse payroll processing for an employee
assignment.
Employee 3 has been processed for the January pay period. However, you have just
been notified that they resigned on the 15th of January. Reverse their payroll process
and make an adjustment to the pay value for the Annual Salary element.

.....................................................................................................................................................
A-172
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 29 1: Solution
.....................................................................................................................................................

Practice 29 1: Solution
Reverse Payroll Run
(N)Enter and Maintain>Assignment>Others>Reverse Run
The Reverse Payroll Run window shows the consolidation set, date, and type (Run or
QuickPay Run) of the runs completed for this assignment.
1 Select the Reverse box for the run to reverse.
The consolidation set for the run is automatically displayed as the consolidation set
for the reversal.
2 Save your entry.
3 Verify that your window looks similar to the one below:

To make an adjustment to the Annual Salary element, follow the steps as in Practice
Solution 25-1.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-173

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 30 1
Introduction
The objective of this practice is to make back pay adjustments using the RetroPay
process.
Firstly, run the payroll for February.
Employee 4 is to receive a salary increase backdated to the 1st January. The increase is
to be an extra 2400 per annum.
Make retrospective changes and create an assignment set with just Employee 4 in it.
Submit the RetroPay process so that the additional amount is to be paid in the March
payroll run.

.....................................................................................................................................................
A-174
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 30 1: Solution
.....................................................................................................................................................

Practice 30 1: Solution
Assignment Set
(N) Payroll>Assignment Set
1 Enter a unique Name for your assignment set.
2 Select your payroll from the list of values.
3 Save your work.
4 Verify that your window looks similar to the one below:

5 Select the Amendment button.


6 Include Employee 4, from the list of values.
7 Save your work.
8 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-175

Appendix A: Practices and Solutions


.....................................................................................................................................................

Salary Administration
(N) Enter and Maintain>Assignment>Salary
1 Alter the effective date to 01-JAN-1998.
2 Delete the salary entry.
3 Save your work.
4 Enter the new revised salary.
5 Save your work.
6 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-176
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 30 1: Solution
.....................................................................................................................................................

Submit Requests
(N) Processes and Reports>Submit Process and Report>Single Request
1 Select Retropay in the Name field. If the Parameters box does not automatically
appear, click in the Parameters field.
2 Enter the Assignment Set, from the list of values.
3 Enter the RetroPay Set (Created in Practice Solution 19-1), from the list of values.
4 Enter the Start and End Dates for the Retropay process.
5 Select the Submit Requests button.
6 Verify that your window looks similar to the one below:

You now need to run the Payroll for March to see the affect of the RetroPay process.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-177

Appendix A: Practices and Solutions


.....................................................................................................................................................

Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request
1 In the Request Name field, select Payroll Run from the list of values.
2 In the Parameters window select your payroll and the payroll period, from the list
of values.
3 Select the Submit Request button.
4 Verify that your window looks similar to the one below:

View the Assignment Process Results for Employee 4.

.....................................................................................................................................................
A-178
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 32 1
.....................................................................................................................................................

Practice 32 1
Introduction
The objective of this practice is to demonstrate how to run the Costing Process.
Run the Costing Process for your payroll for the January Pay Period.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-179

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 32 1: Solution
Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request
1 Select Costing in the Name field, from the list of values.
If the Parameters window does not open automatically, click in the Parameters
field.
2 Select the payroll and consolidation set or the consolidation set for which you are
running the Costing process, in the Parameters window. When you select a payroll,
its default consolidation set displays.
3 Enter the start and end dates of the period of time span for the Costing process to
cover, in the Start and End Date fields.
4 Select the Submit Requests button.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-180
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 32 2
.....................................................................................................................................................

Practice 32 2
Introduction
The objective of this practice is to transfer the results of the costing process to GL.
This assumes that you have Oracle General Ledger installed.
For your payroll, map the segments of the Cost Allocation Flexfield to the
corresponding segments of the GL Accounting Flexfield.
Run the Transfer to GL process to transfer your costs to Oracle General Ledger.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-181

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 32 2: Solution
GL Flexfield Map
(N)Payroll>GL Flexfield Map
1 Set your effective date to the date when this mapping should take effect.
2 Query the payroll for which you are performing the mapping. Its period type
appears in the Period field.
3 Select the general ledger set of books to which you want to transfer the payroll
information.
4 In the Payroll Costing Segment field, select the name of a Cost Allocation flexfield
segment for which a corresponding segment exists in the Accounting flexfield.
Select the name of the corresponding segment in the GL Chart of Accounts
Segment field. Repeat this process for all the Cost Allocation flexfield segments
for which there is a corresponding segment in the Accounting flexfield.
5 Save your entries.
6 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-182
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 32 2: Solution
.....................................................................................................................................................

Submit Requests
(N)Processes and Reports>Submit Process and Report>Single Request.
1 Select Transfer to GL in the Name field, from the list of values. If the Parameters
window does not open automatically, click in the Parameters field.
2 Select the payroll and consolidation set or consolidation set for which you are
running the Transfer to GL process, in the Parameters window.
3 Enter the start and end dates of the period of time for which you want to see
costing results, in the Start and End Date fields.
4 Select the Submit Request button.
5 Verify that your window looks similar to the one below:

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-183

Appendix A: Practices and Solutions


.....................................................................................................................................................

Practice 33 1
Introduction
The objective of this practice is to define and initiate a QuickPay Run.
A new member of staff started on the 1st April. Enter the following details and process
their pay using QuickPay.

Hire Date
Name
NI Number
Marital Status
DOB
Ethnic Origin
Address

Organization
Group

Job
Position
Grade
Payroll
Location
Status
Emp. Cat
Salary Basis
Salary
NI Cat. Code
Tax Code
Tax Basis
Pay Method
Element
Entries

Employee 4
01-APR-1998
XXXXXX
AANNNNNNA
Married
02-DEC-1968
Caucasian
10 South Way
Birmingham
B7 6TG
Payroll
Sports Club:
Family
Pension: 5%
Car User: Casual
Administrator
Absence
Administrator
ADMIN.1
nn_Payroll
HR Reading UK
Active Assign.
Full Time Reg.
nn_Mgt. Basis
16000
D
280L
Non-Cumulative
BACS
- Payment: 100
- PRP: 2500
- Production

.....................................................................................................................................................
A-184
Implementing and Administrating Oracle Payroll Release 11 (UK)

Practice 33 1: Solution
.....................................................................................................................................................

Practice 33 1: Solution
Enter the relevant Personal and Assignment details as demonstrated in Practice
Solution 22-1.
QuickPay
(N)Enter and Maintain>Assignment>Others>QuickPay
1 Set your effective date to the correct date for the QuickPay Run.
2 Optionally enter a date for the statement of earnings, date, and a message, if your
statement of earnings is designed to include a message.
3 Save your work.
4 Select the Start Run button. Note, the screen freezes until the QuickPay is
complete.
5 Verify that your window looks similar to the one below:

6 Select the View Results button, then select SOE to view the Statement of Earnings.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
A-185

Appendix A: Practices and Solutions


.....................................................................................................................................................

7 Verify that your window looks similar to the one below:

.....................................................................................................................................................
A-186
Implementing and Administrating Oracle Payroll Release 11 (UK)

B
................................

Fast Formula Reference

Appendix B: Fast Formula Reference


.....................................................................................................................................................

.....................................................................................................................................................
B-2
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

Oracle Fast Formula


Writing Efficient Payroll Calculations
The following statements are true as general guidelines for typical payroll runs:
The longer an element's formula, the longer its processing time.
The more elements entered for an assignment, the longer its processing time.
One element associated with a lengthy formula usually processes faster than two
related elements each associated with a short formula.
The overall number of elements and formulas in the system has little effect on
processing efficiency. It is the number of elements per assignment that affects
processing time.
Formula Format
Use comments and white space freely when entering formulas. This makes the
formulas easier to read and understand, and has no effect on performance or memory
usage. Use indentation for the same reason, especially when you are using brackets to
control the order of processing.
It is good practice to include the following information in a comment at the beginning
of a formula:
Formula title and short statement of its purpose
Description of formula inputs
List of variables and constants that may require updating
Description of the input values of the element that receives the formula's direct
result
Explanation of the formula's calculations
Administrative information such as the name, address and telephone number of an
office administering the earnings, deduction, or charge the formula affects
The dates of formula modifications, the names of those entering the edits, and
possibly the reasons for change
Variable Names and Aliases
Use names that are brief yet meaningful to improve readability. Name length has no
effect on performance or memory usage. Use Aliases if the names of database items or
global values are long.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-3

Appendix B: Fast Formula Reference


.....................................................................................................................................................

Input Statements
Use Input statements rather than database items whenever possible. This improves
formula processing by as much as a factor of ten. It speeds up the running of your
payroll by eliminating the need to access the database for the input values.
An example of an inefficient Statement:
Salary = Salary_annual_salary / 12
RETURN Salary

An example of an efficient Statement:


INPUTS ARE Annual_salary
Salary = Annual_salary / 12
RETURN Salary

Date Literals
Use the TO_DATE function only when the operand is a variable.
An example of an inefficient Statement:
Start_date = TO_DATE ( 12-JAN-1992 )

An example of an efficient Statement:


Start_date = 12-JAN-1992 (date)

Single Expressions
Use a single expression in straightforward formulas where this does not lead to
confusion.
An example of an inefficient Statement:
Temp = Salary / Annualizing_factor
Tax = Temp * 3

An example of an efficient Statement:


Tax = (Salary / Annualizing_factor) * 3

.....................................................................................................................................................
B-4
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

Database Items
Do not refer to database items until you need them. People sometimes list at the top of
a formula all the database items the formula might need, thinking this helps Oracle
FastFormula process more quickly. However, this in fact slows processing by causing
unnecessary database calls.
An example of an inefficient Statement:
S = Salary
A = Age
IF S < 20000 THEN
IF A < 20 THEN
Training_allowance = 30
ELSE
Training_allowance = 0

An example of an efficient Statement:


IF Salary < 20000 THEN
IF Age < 20 THEN
Training_allowance = 30
ELSE
Training_allowance = 0

The first example always causes a database fetch for Age whereas the second only
fetches Age if Salary is less than 20000.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-5

Appendix B: Fast Formula Reference


.....................................................................................................................................................

Constants and Variables


Every piece of information that you can manipulate or use in a formula is a constant or
a variable.
The data type of a constant or variable describes what kind of data the constant or
variable holds. Generally, you use constant and variables of the same data type in an
expression.
Constants
Constants are actual values you use in a formula. Oracle FastFormula uses constants
directly rather than holding them in a variable.
There are three types of constant:
Numeric
Text
Date
Numeric Constants
Enter numeric constants without quotes. Precede negative numbers with a minus sign
(-). Numbers may have a decimal component after a decimal point. Do not use
exponents and floating point (scientific) notations. So, for example, you cannot use 22
or 10e1.24 as numeric constants. Do not use commas or spaces in a number. So, for
example, you cannot use 10,000 or 10 000.00 numeric constants.
Examples of valid numeric constants are:
63
3.55
-2.3
- 0.33
- .2
10000

.....................................................................................................................................................
B-6
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

Text Constants
Enclose text constants in single quotes. They may contain spaces. You can represent
the single quote character in a text constant by writing it twice (). Note that this is not
the same as the double quote ("). Examples of valid text constants are:
J. Smith
P O'Donnell
"1234"
"Manager"
"12 Glebe Lane"
The Bonus this year is 23%"
Date Constants
Date constants contain a date. Enclose dates in single quotes and follow immediately
with the word date, in brackets. Use the format DD-MON-YYYY.
Examples of valid date constants are:
"12-MAR-1989" (DATE)
"4-FEB-1989" (date)
Variables
You use variables in a formula to access information. Variables can have frequently
changing values.
The data type of a variable determines the type of information the variable holds:
Numeric
Text
Date
You do not have to tell Oracle FastFormula what type you want a variable to be. It
works this out by seeing how you use the variable. For example, if you set a variable to
"J. Smith", Oracle FastFormula knows it is a text variable.
Oracle FastFormula also warns you if you try to perform any inconsistent operations,
such as trying to add a number to a text string.
There are three classes of variable in Oracle FastFormula:
Local Variable - Variables that occur in a single formula only.
Global Value - Values that can occur in any formula.
Database Item - Items that exist in the application's database.
The variable class determines how a formula uses it.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-7

Appendix B: Fast Formula Reference


.....................................................................................................................................................

Local Variables
Local variables occur in a single formula only. You can change a local variable within
the formula by assigning a value to it using an Assignment statement.
You can use local variables to store data in a formula. You might want to hold data
temporarily while you perform some other calculations, or to pass data back to the
application.
Below is an example showing the use of a local variable, annual_leave.
/* Formula: Annual Leave Formula */
IF years_service >= 10
THEN
annual_leave = 25
ELSE
annual_leave = 20 + FLOOR (years_service/2)
RETURN annual_leave

Global Values
Global values are visible from within any formula. Use global values to store
information that does not change often, but you refer to frequently, such as company
name, or a location allowance that applies to many employees. Global values are
datetracked so you can make date effective changes ahead of time.
You can never change a global value using a formula. You alter global values using the
Globals window. The global value is the same across all formulas within a Business
Group.
Below is an example using a global value.
/* Formula: HAZARD ALLOWANCE FORMULA */
IF basic_hours > hazard_limit
THEN
hazard_allowance = 2.30
ELSE
hazard_allowance = 2.00
RETURN hazard_allowance

In this example, hazard_limit is a global value, which has been preset to reflect the
point at which workers hazard payment increases.

.....................................................................................................................................................
B-8
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

Database Items
Database items exist in the application database and have a label, hidden from users,
that the system uses to find the data.
There are two types of database item:
Static database items are predefined. They include standard types of information, such
as the sex, birth date, and work location of an employee, or the start and end dates of a
payroll period.
Dynamic database items are generated from your definitions of:
elements
balances
absence types
grade rates and pay scale rates
flexfield segments
The name of your element, pay and input values, balance, absence type, grade rate,
pay scale rate, or flexfield segment becomes part of the name of the generated
database item. This helps you identify the database item you need when you display a
list of all available items in the Formulas window.
Definitions of flexfield segments only become database items when you initiate the
Declare Descriptive Flexfield process from the Submit Requests window. The other
definitions become database items immediately when you save them to the database.
Dynamic Database Items.
Database items are specific to the context in which you use them. For example, using
the database item hourly_rate gives the appropriate hourly rate for the specific
assignment being processed.
Like global values, database item values cannot be changed within a formula.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-9

Appendix B: Fast Formula Reference


.....................................................................................................................................................

Rules for Determining Variable Class and Data Type


The rules that determine the data type and class of variables in a formula are:
1 The variable can be an input you name in the Inputs statement. For example:
INPUTS ARE salary_amount,
start_date (date)
frequency (text)

If you do not specify the variable type in the statement, Oracle FastFormula
assumes it is numeric.
2 If the variable is not an input, Oracle FastFormula looks in the list of global values
the first time the variable occurs. If the variable is in the list, Oracle FastFormula
determines the data type from there.
3 If the variable is not in the list, Oracle FastFormula searches the list of database
items. Again, if it is in the list, Oracle FastFormula knows the data type.
4 Finally, if Oracle FastFormula does not find the variable in either the global values
or the database items, then it treats the variable as a local variable. It determines
the data type from the way you use the variable.
Notice that if the variable is either a global value or a database item, then any attempt
in your formula to alter the value of the variable causes an error.
If the variable is a local variable, it does not contain a value when it is first used in the
formula. Therefore you must assign a value to the variable before you try to use it in a
condition or expression. If you fail to assign a value, Oracle FastFormula fails when
you attempt to verify or run the formula.
Suggestion: To avoid a failure, assign values to your local variables when they first
appear in your formula.

.....................................................................................................................................................
B-10
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

Naming Variables
Variables have names comprising one or more words. The words must be joined by
underscores. The words must each start with an alphabetic character (A-Z) and can be
followed by alphanumeric characters (A-Z, 0-9). The maximum size of a variable
name is 80 characters.
Oracle FastFormula is not sensitive to case. So, for example, the variable called
EMPLOYEE_NAME is the same as the variable Employee_name.
There are a number of words you cannot use as the names of variables. These reserved
words are:
ALIAS
AND
ARE
AS
DEFAULT
DEFAULTED
ELSE
EXECUTE
FOR
IF
INPUTS
IS
NOT
OR
RETURN
THEN
USING
WAS
And any word consisting only of digits (that is, that could be treated as a number).
You may find that the name of a database item or global value is too long to use
conveniently in your formula. You can set up an alternative, shorter name for use
within a formula. You set this up using the Alias statement.
Expressions
Expressions combine constants and variables with arithmetic operators (+, -, *, /) and
functions to return a value of a certain data type. For example, the expression (3 + 2)
returns a value of 5, and is of numeric data type.
The format of an expression is:
SUBEXPRESSION [operator SUBEXPRESSION ...]

This means that a number of "subexpressions" can combine in a single expression.


For example, the subexpressions (3 + 2) and MONTHS_BETWEEN(start_date,
end_date) can combine in a single expression as follows:
(3 + 2) + MONTHS_BETWEEN(start_date, end_date)

Expressions can also be used inside functions, as in the following example:


salary = GREATEST(minimum_wage, (hourly_rate * hours_worked))

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-11

Appendix B: Fast Formula Reference


.....................................................................................................................................................

Data Type of Expressions


The rules for determining the data type of an expression are simple. Operands in an
expression are normally of the same data type, and this is normally the data type of the
expression as a whole. For example, in the following expression all the operands are
numeric and the expression itself is numeric:
GREATEST(minimum_wage, (hourly_rate * hours_worked))

There are some exceptions to this. For example:


DAYS_BETWEEN(date1, date2)
MONTHS_BETWEEN(date1, date2)
YEARS_BETWEEN(date1, date2)

These have date operands, but return a numeric value. Therefore the expression:
4 + days_between(start_date, todays_date)

returns a numeric result.


Arithmetic Operators
An expression may contain arithmetic operators, which determine how variables and
constants are manipulated. For example, the operator "+" indicates that two items
should be added together.
The division, subtraction, and multiplication operators can only be used with numeric
operands. The operands can be variables, constants, or subexpressions. A formula
error occurs if:
The result of subtraction is too large a negative number
The result of multiplication is too large
The second operand of a division evaluates to zero
In both cases, "too large" here is determined by the normal limits in the ORACLE
database.
The addition operator can be used with numeric or text operands. If the result is greater
than 240 characters, a formula error occurs.
Notice that you enclose text constants in single forward quotes only ('), not double
quotes ("). For example, the statements:
string1 = "will"
result_string = Pigs + string1 + fly

set the local variable result_string to 'Pigs will fly'.

.....................................................................................................................................................
B-12
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

Functions
Oracle FastFormula provides functions that manipulate data in different ways. Some
functions work on only one type of data, some can work on two, others work on all
three data types.
The functions are described below, separated into the three data types and functions
that convert between data types. Where a function returns a different data type result
than the data type of its operands, the description explains this.
The general form of a function is:
NAME OF FUNCTION(operand, operand, . .)

Notice that, as with the operators, the operands of a function can be variables,
constants, or complete expressions. If the operand is a text string, you must enclose it
in quote marks.
Text Functions
GET_TABLE_VALUE
GET_TABLE_VALUE(table_name, column_name, row_value [,effective date])

The GET_TABLE_VALUE function returns the value of a cell in a user-defined table.


The three text operands, which identify the cell (table_name, column_name, and
row_value), are mandatory. The date operand is optional. If it is not supplied, the
function returns the cell value as of the effective date.
You cannot use this function in formulas for user table validation or QuickPaint
reports.
Example:
GET_TABLE_VALUE(WAGE RATES, Wage Rate, Rate_Code)
GREATEST
GREATEST(expr, expr [, expr] . . .)
GREATEST_OF(expr, expr [, expr] . . .)
The GREATEST function compares the values of all the text string operands. It returns
the value of the operand that is alphabetically last. If there are two or more operands
that meet the criteria, Oracle FastFormula returns the first.
LEAST
LEAST(expr, expr [, expr] . . .)
LEAST_OF(expr, expr [, expr] . . .)

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-13

Appendix B: Fast Formula Reference


.....................................................................................................................................................

The LEAST function compares the values of all the text string operands. It returns the
value of the operand that is alphabetically first. If there are two or more operands that
meet the criteria, Oracle FastFormula returns the first.
LENGTH
LENGTH(expr)

The LENGTH function returns the number of characters in the text string operand
expr.
Note: The data type of the result of this function is numeric.
SUBSTRING
SUBSTR(expr, m [,n])
SUBSTRING(expr, m [,n])

The SUBSTRING function returns a sub-string of the text string operand expr of
length n characters beginning at the mth character. If you omit the third operand, the
sub-string starts from m and finishes at the end of expr.
Note: The first operand is a text operand. The second and third operands are numeric
operands. The resulting data type of this function is text.
Suggestion: Always check string length before you start to sub-string. For example:
/* Check that the tax code starts with GG */
IF length(Tax_code) <= 2
THEN
(message = Tax code is too short
RETURN message
)
IF substr(Tax_code, 1, 2) = GG THEN ...

Or, to check if Tax_code is a string of at least two characters starting with GG:
IF Tax_code LIKE GG% THEN ...

UPPER
UPPER(expr)

The UPPER function convert a text string .to upper case.


Numeric Functions
ABS
ABS(n)

The ABS function returns the magnitude of a numeric operand n as a positive numeric
value.

.....................................................................................................................................................
B-14
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

If the value of the operand is positive, its value returns unchanged. If the operand is
negative then the values sign inverts, and the value returns as a positive number.
Example:
ABS (-17) returns 17

FLOOR
FLOOR(n)

The FLOOR function returns the integer part of a numeric operand n.


If the value of the operand contains information after the decimal point, Oracle
FastFormula discards that information and returns a whole number.
For example:
FLOOR(35.455) returns 35

GREATEST
GREATEST(n, n [, n] . . .)
GREATEST_OF(n, n [, n] . . .)

The GREATEST function compares all the operands and returns the largest value.
LEAST
LEAST(n, n [, n] . . .)
LEAST_OF(n, n [, n] . . .)

The LEAST function compares all the operands and returns the smallest value.
ROUND
ROUND(n [, m])

The ROUND function rounds off a numeric value n to m decimal places. The first
operand is the value Oracle FastFormula rounds off, the second the number of places
Oracle FastFormula rounds off to.
For examples:
ROUND(2.3401, 2) returns 2.34
ROUND (2.3461, 2) returns 2.35
ROUND (2.345,2) returns 2.35
ROUNDUP
ROUNDUP(n [, m])
ROUND_UP(n [, m])

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-15

Appendix B: Fast Formula Reference


.....................................................................................................................................................

The ROUNDUP function rounds a numeric value n up to m decimal places. The first
operand is the value to be rounded up, the second the number of places to round to. If
the digits after the rounding point are zero, the value is unchanged. If the digits are not
zero, the value is incremented at the rounding point.
For examples:
ROUND_UP(2.3401, 2) returns 2.35
ROUND_UP(2.3400, 2) returns 2.34.

TRUNC
TRUNC(n [, m])
TRUNCATE(n [, m])

The TRUNC function rounds a numeric value n down to m decimal places. The first
operand is the value to be rounded down, the second the number of places to round to.
Oracle FastFormula drops all digits (if any) after the specified truncation point.
For example:
TRUNC(2.3401, 2) returns 2.34.

Date Functions
ADD_DAYS
ADD_DAYS(date, n)

The ADD_DAYS function adds a number of days to a date. The resulting date accords
with the calendar.
Note: Oracle FastFormula ignores any fractional part of the number n.
For example:
ADD_DAYS (30-DEC-1990, 6) returns 5-JAN-1991

ADD_MONTHS
ADD_MONTHS(date, n)

The ADD_MONTHS function adds a number of months to a date. The resulting date
accords with the calendar.
Note: Oracle FastFormula ignores any fractional part of the number n.
ADD_YEARS
ADD_YEARS(date, n)

.....................................................................................................................................................
B-16
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

The ADD_YEARS function adds a number of years to a date. The resulting date
accords with the calendar.
Note: Oracle FastFormula ignores any fractional part of the number n.
GREATEST
GREATEST(date1, date2[, date3] . . .)

The GREATEST function compares all the operands and returns the latest date.
LEAST
LEAST(date1, date2 [, date3] . . .)

The LEAST function compares all the operands and returns the earliest date.
DAYS_BETWEEN
DAYS_BETWEEN(date1, date2)

The DAYS_BETWEEN function returns the number of days between two dates. If the
later date is first, the result is a positive number. If the earlier date is first, the result is
a negative number. The number returned is also based on the real calendar.
Note: The result is a numeric data type.
For example:
DAYS_BETWEEN(27-JUN-1995, 03-JUL-1995) returns 5

MONTHS_BETWEEN
MONTHS_BETWEEN(date1, date2)

The MONTHS_BETWEEN function returns the number of months between two


dates. If the later date is first, the result is a positive number. If the earlier date is first,
the result is a negative number. The number returned is also based on the real calendar.
If the result is not a whole number of months (that is, there are some days as well), the
days part is shown as a decimal.
Note: The result is a numeric data type.
Data Conversion Functions
Use data conversion functions to convert from one data type to another data type. For
example, you could have an expression returning a number value for salary, which you
want to include in a printed message (that is, a character value). To print the number as
part of the message, you need to convert the value of salary from a number to a
character value, using the TO_TEXT function.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-17

Appendix B: Fast Formula Reference


.....................................................................................................................................................

NUM_TO_CHAR
NUM_TO_CHAR(n, format)

Converts the number n from number data type to text data type using the specified
format. This function is equivalent to the SQL TO_CHAR function.
For example:
NUM_TO_CHAR(amount, $9,990.99)

This returns the amount with a leading dollar sign, commas every three digits, and two
decimal places. Refer to the SQL Language Reference Manual for a full list of the
valid number formats you can specify.
TO_DATE
TO_DATE (expr [, format])

Converts the expression expr of text data type to a date data type. The text expression
must be of the form DD-MON-YYYY if no format is provided. The day and year
must be in numeric form.
For example:
/* legal */
date_1 = TO_DATE (12 January 89, DD Month YY)
/* illegal */
date_1 = TO_DATE (12 January Nineteen-Eighty-Nine,
DD Month Year)

Note: When assigning date variables from constants it is much more efficient to say:
date_1 = 12-JAN-1989(date)

TO_NUMBER
TO_NUM(expr)
TO_NUMBER(expr)

Converts the expression expr of text data type to a number data type. The expression
must represent a valid number. So for example, you cannot convert an expression such
as Type 24 but you can convert the text expression 1234.

.....................................................................................................................................................
B-18
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

TO_TEXT
TO_TEXT(n)

TO_TEXT (date1 [, format])

TO_CHAR(n)

TO_CHAR(date1 [, format])

The TO_TEXT function converts:


the number n from number data type to text data type
the date date1 from date data type to text data type. The optional format should be
a text string like 'DD-MON-YYYY'. This is the default.
For example:
birthdate = 21-JAN-1960 (date)
mesg = Birthdate is: + TO_CHAR

(birthdate)

/* sets mesg to Birthdate is: 21-JAN-1960 */


mesg = Birthdate is: + TO_CHAR (birthdate,
DD-MON-YY)
/* sets mesg to Birthdate is: 21-JAN-60 */
mesg = Birthdate is:

+ TO_CHAR (birthdate,

DD Month Year)
/* sets mesg to Birthdate is:
21 January Nineteen-Sixty */

Comments
A formula may contain any number of comments, which can be placed anywhere in
the formula.
Comments start with a slash asterisk (/*) sequence, and finish with an asterisk slash
sequence (*/). Oracle FastFormula ignores all text within these comment delimiters.
Warning: Do not put a comment within a comment. This causes Oracle FastFormula to
return a syntax error.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-19

Appendix B: Fast Formula Reference


.....................................................................................................................................................

Statements
Statements are instructions that Oracle FastFormula carries out. There are six types of
statement you can use:
Alias statement
Assignment statement
Default statement
If statement
Inputs statement
Return statement
An If statement can have Assignment, Return, and other If statements nested within it,
enabling you to build up powerful formulas.
Order of Statements
1 Alias statements (if any)
2 Default statements (if any)
3 Input statement (if any)
4 Other statements
Alias Statement
The format of the Alias statement is:
ALIAS varname1 AS varname2

where varname1 is the name of an existing database item or global value, and
varname2 is a unique name not currently known to the system nor used previously in
your formula.
Use the Alias statement to define another name, or alias, for existing variables in the
system. You can declare aliases for database items and global values.
Alias statements must appear before any other statements in a formula

.....................................................................................................................................................
B-20
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

Default Statement
The format of the Default statement is:
DEFAULT FOR <varname> IS <constant>

where varname is an input value or database item, and constant is a constant value
matching the data type of varname.
Use the Default statement to set a default value for an input value or database item.
The formula uses the default value if the database item is empty or the input value is
not provided when you run the formula.
You can use the Default statement with the WAS DEFAULTED test to detect when a
default value has been used.
For example:
DEFAULT FOR hourly_rate IS 3.00
X = hours_worked * hourly_rate
IF hourly_rate WAS DEFAULTED
THEN
MESG = Warning: hourly rate defaulted

This example sets a default of 3.00 for the database item hourly_rate. If hourly_rate is
empty (NULL) in the database, the formula uses the default value of 3.00 and issues a
warning message.
Warning: You must use the Default statement for database items that can be empty.
The Database Items window includes a check box labelled Default Required. This
check box is checked for database items that can be empty. The Database Items window appears when you click the Show Items button on the Formulas window.
Inputs Statement
The format of the Inputs statement is:
INPUTS ARE varname1(data type)[, varname2 (data type)] ...

Use the Inputs statement to pass input values from an element into a formula.
For example,
INPUTS ARE bonus(number),start_date(date)

You do not need to declare the type of number variables because this is the default data
type. You can define up to 15 input values for an element.
The Inputs statement must appear before the other formula statements except:
any Alias statements, which must always be at the top of the formula
any Default statements that provide default values for input values

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-21

Appendix B: Fast Formula Reference


.....................................................................................................................................................

Input Variables or Database Items


Always use the Inputs statement to retrieve the input values of the element associated
with the formula. Using a database item forces the formula to execute the code and
work out the path to retrieve the database item.
For example, the formula below:
INPUTS ARE wage_rate,
hours_worked
wage = wage_rate * hours_worked
RETURN wage

is more efficient than the second formula:


wage = wage_wage_rate * wage_hours_worked
RETURN wage

Assignment Statement
Use the Assignment statement to set a value for a local variable. The format of the
Assignment statement is:
varname = expression

For example:
rate = hourly_rate + 14
wage = hours_worked * rate

Oracle FastFormula evaluates the expression on the right hand side of the statement,
and places its result in the variable you name in the left hand side. The left side of an
Assignment statement must always be a local variable because a formula can only
change the value of local variables.
IF Statement
Use the If statement to set a condition that controls whether a sequence of statements
is executed.
There are two clauses in the If statement: the THEN and ELSE clauses.
The IF statement lets you check one or more conditions.
The THEN clause lets you define what to do if the conditions are true.
The ELSE clause lets you define what to do if the conditions are not true.
The If statement is the only statement that can have other statements nested within it,
including other IF statements.

.....................................................................................................................................................
B-22
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

Format of Statement
The format of the If statement is:
IF [NOT] condition
[logical operator] [NOT] condition
THEN
statement [statement ..]
ELSE
statement [statement ..]

The If statement can consist of a single condition, or two or more conditions combined
with logical operators. A logical operator is either AND or OR. These have the effect
of combining the conditions logically:
The AND operator means that if both conditions are true, then their combination is
true.
The OR operator means that if either condition is true, then their combination is
true.
Also, each condition can be preceded by the NOT operator, which inverts the truth of
the condition. That is, if condition X is true, then NOT X is false.
Format of Conditions
A condition itself has a valid format. This is:
expression comparator expression

The values represented by each expression are compared together in the way described
by the comparator. The two expressions must both return the same data type. There are
eight comparators, and the way they work depends upon the data type of the values
they are comparing.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-23

Appendix B: Fast Formula Reference


.....................................................................................................................................................

Comparator

Types

Meaning

Equals

Symbols
Data
=

All

Not Equal to

!= <> ><

All

Greater than

>

All

Less than

<

All

Greater than
or equal to
Less than
or equal to
Like

>= =>

All

The condition is true if both expressions have


exactly the same value. For text, the case of the
expression must be the same. So, for example,
Smith is not equal to SMITH.
The condition is true if the result of the first
expression does NOT have the same value as the
result of the second expression.
The condition is true if the first expression is
alphabetically after, or has a numerically greater
value, or a later date than the second expression.
The condition is true if the first expression is
alphabetically before, or has a numerically
smaller value, or an earlier date than the second
expression.
The condition is true if either the greater than OR
the equal to comparator returns a true result.

<= =<

All

The condition is true if either the less than OR the


equal to comparator returns a true result.

LIKE

Text

Not Like

NOT LIKE

Text

The condition is true if the two text expressions


match according to the rules of the LIKE syntax.
You can include Wildcards in the text to allow
searching for text that matches a pattern, or words
that begin with a certain sequence of letters.percent sign (%) matches any number of
characters in that position- underscore (_)
matches a single character occurrence in that
position.
The condition is true if the two text expressions
do NOT match according to the rules of the LIKE
syntax.

There is a special comparator called WAS DEFAULTED that you can use to test database
items and input values. If there is no value available for an input value or database item, the
formula uses a default value. The condition containing the WAS DEFAULTED comparator is
True if a default value was used. For example:
DEFAULT FOR employee_middle_name IS
IF employee_middle_name WAS DEFAULTED
THEN
/* special processing */

.....................................................................................................................................................
B-24
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

Correct Use of Brackets


If you group more than one statement under the THEN or ELSE clauses, enclose the
group of statements within brackets, that is (and). In the absence of brackets, Oracle
FastFormula conditionally executes only the statement that immediately follows the
THEN or ELSE clause. Any other statements are executed unconditionally. For
example, when the following formula runs, High_salary is always set to Y:
High_salary = N
IF Salary > 20000
THEN Tax = Salary * .25
High_salary = Y

To prevent this, use brackets as follows:


High_salary = N
IF Salary > 20000
THEN
(
Tax = Salary * .25
High_salary = Y
)

Return Statement
Use the Return statement to return values in local variables to the application. Oracle
FastFormula can pass back any number of variables. The variable does not need to
contain a value.
Example:
/* Formula: LONDON ALLOWANCE FORMULA */
INPUTS ARE this_months_extra (number)
London_allowance = (grade_pay/20 + this_months_extra)
RETURN London_allowance

Notice that you do not have to declare the data type of local variables in the Return
statement (as the formula already knows the data type
Oracle FastFormula stops executing the formula when it reaches the Return statement.
Any statements after the Return statement are ignored.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-25

Appendix B: Fast Formula Reference


.....................................................................................................................................................

Compiling Formulas
When you have created or edited a formula in the Formula window, you choose the
Verify button to compile it.
If you need to compile many formulas at the same time, you can run the Bulk Compile
Formulas process in the Submit Requests window. For example, you run this process
when you upgrade your legislative information, which includes formulas.
Formula Errors
There are two types of error that can occur when using Oracle FastFormula:
Verify-time errors occur in the Formulas window when you run the formula
verification. An error message explains the nature of the error.
Common verify-time errors are syntax errors resulting from typing mistakes.
Run-time errors occur when a problem arises while a formula is running. The usual
cause is a data problem, either in the formula or in the application database.
Below is a list of the basic Oracle FastFormula errors that can occur at run-time.
Uninitialized Variables
#IF (tax_band < 2000)
THEN tax = salary / 8
IF

(tax_band > 2000)

THEN tax = salary / 10


IF tax > 1000
THEN

...

This formula fails with an 'Uninitialized variable' message (for the variable tax) if the
tax band is set to 2000.
Divide by Zero
Dividing a number by zero is an operation that provides no logical result. If this
situation ever arises, Oracle FastFormula passes a code indicating an error back to the
application (the application then takes the appropriate action).
Always check for the possibility of a divide by zero error if there is any chance it could
occur. For example, the formula:
x = salary/contribution_proportion

produces an error if the contribution proportion is set to zero. In this formula, check
for the divide by zero condition as follows:
IF

contribution_proportion = 0
THEN (message = The contribution proportion is not valid.
RETURN message)
ELSE x = salary/contribution_proportion

.....................................................................................................................................................
B-26
Implementing and Administrating Oracle Payroll Release 11 (UK)

Oracle Fast Formula


.....................................................................................................................................................

No Data Found
A database item supposed to be in the database was not found. This represents an error
in the application data.
Too Many Rows
The database item definition within the application caused more than one value to be
fetched from the database.
Value Exceeded Allowable Range
This can occur for a variety of reasons such as:
exceeding the maximum allowable length of a string (which is 240 characters)
rounding up a number to an excessive number of places, for example, round
(1,100)
using an invalid date, for example, 39-DEC-1990.
Invalid Number
This occurs only when database item contains a bad number.
Null Data Found
A database item was found to have a null value when it should have had a non-null
value. Use the Default statement for database items marked as Default Required in the
Database Items window.

.....................................................................................................................................................
Implementing and Administrating Oracle Payroll Release 11 (UK)
B-27

Appendix B: Fast Formula Reference


.....................................................................................................................................................

.....................................................................................................................................................
B-28
Implementing and Administrating Oracle Payroll Release 11 (UK)

Vous aimerez peut-être aussi