Calculate Time Based on a User-Defined Value
Let's look at an example that shows how to calculate time using a business-specific attribute such as company code.
This example doesn't cover the payroll calculation. But it does support the configuration to calculate a rate based on a user-defined value for a time element in the payroll run.
Create Element
You can choose to calculate relief allowance payments based on a worker's company code. Use the Elements task to create an hours rate element for relief allowance.-
In the Primary Classification field, select Standard Earnings.
-
In the Category field, select Time.
Create Value Definition
Use the Calculation Value Definitions task to create a company code value definition. You can capture the company code on the worker's time card and pass it to payroll for calculation purposes.-
In the Value Definition Group field, select Time.
-
In the Calculation Type field, select Identifier.
-
Select Enterable Calculation Values on the calculation card and complete these steps:
-
Select Identifier as the value type.
-
Enter a display value, such as Company.
Note:Ensure that you select the total amount.
-
-
Create Usage Rules by completing these steps:
-
In the Calculation Card field, select Time Cards.
-
Select your relief allowance calculation component.
-
Select a value set, if appropriate.
-
Create Calculation Step
Use the Payroll Calculation Information task to create a company code calculation step.-
In the Component Group field, navigate to the Calculation Overview page, and search for time.
-
Navigate through all the calculation steps tasks.
-
Create a calculation step and enter a name, such as Company Code.
Create Calculation Factor on Element
Use the Elements task to create a calculation factor.-
Search for your relief allowance element.
-
Navigate to the Calculation Factor page.
-
In the Calculation Step field, select the company code calculation step.
-
In the Value Definition field, select the company code value definition.
Edit Formula on Element
Use the Elements task to edit the element formula.-
Edit the appropriate relief allowance element formula to use the company code value using the CALL_CALC_VALUES formula.
Remember to run the Generate Data Dictionary Time Attributes process in the Oracle Time and Labor application after you've created the value definitions. This process creates the attributes necessary to capture the information, such as company code, on a time card and pass these details to Payroll.