Sie sind auf Seite 1von 4

Writing a Simple Formula

Distribution
Oracle HRMS

Job Title*

Ownership
The Job Title [list@YourCompany.com?Subject=LABxxxxx] is responsible for ensuring that this
document is necessary and that it reflects actual practice.

Copyright © Oracle, 2004. All rights reserved.

Writing a Simple Formula 396601392.doc


Effective 01/01/05 Page 1 of 4 Rev 1
Writing a Simple Formula
Overview
In this practice you will learn how to write a simple formula that calculates travel payments by
multiplying the distance by the company travel rate.

Assumptions
 You can use the HRMS Manager or Super HRMS Manager responsibility. For this
demonstration, log in as hrms/welcome and use the HRMS Manager responsibility.

 You must have access to an Oracle Application Vision database or comparable training
or test instance at your site on which to complete this practice.

 Replace XX in the practice with a unique identifier such as your initials or a number.
(For instructor-led training classes, this number will be assigned to you.) This is
necessary in order to create unique records within the database when performing the
practice.

 Screenshots displayed in the practice solution reflect a US responsibility. Details of the


page can change according to the responsibility selected.

Tasks
Writing a Simple Formula

Imagine that a company has defined an element called Travel Payment with an input value called
Distance. Write a formula to calculate the travel payment Pay Value by multiplying Distance by
the company travel rate, which is stored as a global value.

Name the formula XX_TRAVEL_PAYMENT, where xx is your group identifier.

Copyright © Oracle, 2004. All rights reserved.

Writing a Simple Formula 396601392.doc


Effective 01/01/05 Page 2 of 4 Rev 1
Solution - Writing a Simple Formula
Writing a Simple Formula

Responsibility = Super HRMS Manager

1. Navigate to the Formula window using your local Super HRMS Manager responsibility.

 (N) Total Compensation > Basic > Write Formulas

2. Set your effective date to 1 January 2005.

3. Enter the name XX_TRAVEL_PAYMENT, where xx is your group identifier.

4. Select Oracle Payroll in the Type field.

5. Select the Edit button.

Copyright © Oracle, 2004. All rights reserved.

Writing a Simple Formula 396601392.doc


Effective 01/01/05 Page 3 of 4 Rev 1
6. Write your formula in the Edit Formula window, then select the Verify button.

7. When the formula verifies successfully, close the Edit Formula window.

8. Save your work.

Formula

Your formula should be similar to the following:

DEFAULT FOR distance IS 0

INPUTS ARE distance

travel_payment = distance * XX_COMPANY_TRAVEL_RATE

RETURN travel_payment

Note: To complete the setup for the travel payment, you would:
 Define a formula processing rule to associate the formula with the Travel Payment
element
 Define a formula result rule to return the travel_payment formula result to the
element’s Pay Value

Copyright © Oracle, 2004. All rights reserved.

Writing a Simple Formula 396601392.doc


Effective 01/01/05 Page 4 of 4 Rev 1

Das könnte Ihnen auch gefallen