0% found this document useful (0 votes)
2K views20 pages

Payroll Tables PDF

This document provides an overview of Oracle HRMS Payroll concepts including important tables, their relationships and descriptions, as well as useful queries. It discusses key payroll terms and summarizes the purpose and structure of tables related to elements, element links, element entries, input values, and payroll processing. These tables contain information about employees, assignments, earnings, deductions, benefits, and payroll actions and results.

Uploaded by

vijayshankarbm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views20 pages

Payroll Tables PDF

This document provides an overview of Oracle HRMS Payroll concepts including important tables, their relationships and descriptions, as well as useful queries. It discusses key payroll terms and summarizes the purpose and structure of tables related to elements, element links, element entries, input values, and payroll processing. These tables contain information about employees, assignments, earnings, deductions, benefits, and payroll actions and results.

Uploaded by

vijayshankarbm
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

1 1

Oracle HRMS Payroll


Oracle HRMS Payroll
Concepts
Concepts
(c) AboutOracleApps.com (c) AboutOracleApps.com
2 2
Table of Contents
Table of Contents
!
Payroll Terms
Payroll Terms
!
Important Tables
Important Tables
!
Tables Relationship and Description
Tables Relationship and Description
!
Useful Queries
Useful Queries
!
Other Related Tables
Other Related Tables
3 3
! Element
Elements are simply the units used to build the earnings, deductions and benefits
that can be given to an employee.
! Input Value
Input Value is like a placeholder for holding the actual value of the
Element. An element can have more than one input value.
! Element Link
Element Link is the one which links the element to employees. This linking can
be done by associating an element to a payroll and then associating that payroll
to an employees assignment. An element can also be linked to employee by
Employment Category, Grade and Job.
! Element Entry
When an element is assigned to employees assignment it is called as
Element Entry
Payroll Terms
Payroll Terms
4 4
!
Element Entry Value
The actual value of the element entry
!
Payroll Action
Any payroll related action performed on employees assignment is referred to as
Payroll Action. It can be a Payroll Run, Quick-Pay, Pre-payments or Payments
!
Assignment Action
This is a record of actions performed by the Payroll process on each and every
assignment.
!
Run Result
This is the actual calculated result of the payroll process for each and every
element entry
!
Run Result Value
This is the actual calculated value of each and every input value of an element.
Payroll Terms (contd.)
Payroll Terms (contd.)
5 5
Important Tables
Important Tables
! Per_all_people_f Per_all_people_f
! Per_all_assignments_f Per_all_assignments_f
! Pay_element_types_f Pay_element_types_f
! Pay_input_values_f Pay_input_values_f
! Pay_element_links_f Pay_element_links_f
! Pay_element_entries_f Pay_element_entries_f
! Pay_element_entry_values_f Pay_element_entry_values_f
! Pay_payroll_actions Pay_payroll_actions
! Pay_assignment_actions Pay_assignment_actions
! Pay_run_results Pay_run_results
! Pay_run_result_values Pay_run_result_values
6 6
Table Flow Diagram
Table Flow Diagram


Per_all_people_f
Per_all_assignments_f
Pay_payroll_actions
Pay_assignment_actions
Pay_element_entries_f
Pay_element_entry_values_f
Pay_run_results
Pay_run_result_values
Pay_input_values_f
Pay_element_types_f
Pay_element_links_f
Payroll Processing
Element and Element
Link Definition
Elements Attached to Employees
Person_id Payroll_action_id
Assignment_action_id
Element_entry_id
Assignment_id
Run_result_id
Element_type_id
Element_type_id
Element_link_id
Assignment_id
Source_id
7 7
Per_all_people_f
Per_all_people_f
This table holds personal information for employees, applicants, ex- This table holds personal information for employees, applicants, ex-
employees, ex-applicants, contacts and other people. employees, ex-applicants, contacts and other people.
Key Columns Key Columns
PERSON_ID PERSON_ID System generated System generated
EFFECTIVE_START_DATE EFFECTIVE_START_DATE Effective start date Effective start date
EFFECTIVE_END_DATE EFFECTIVE_END_DATE Effective end date Effective end date
PERSON_TYPE_ID PERSON_TYPE_ID Links to PER_PERSON_TYPES Links to PER_PERSON_TYPES
START_DATE START_DATE Start date for the person Start date for the person
CURRENT_APPLICANT_FLAG CURRENT_APPLICANT_FLAG Yes or null Yes or null
CURRENT_EMP_OR_APL_FLAG CURRENT_EMP_OR_APL_FLAG Yes or null Yes or null
CURRENT_EMPLOYEE_FLAG CURRENT_EMPLOYEE_FLAG Yes or null Yes or null
DATE_OF_BIRTH DATE_OF_BIRTH Date of birth Date of birth
EMAIL_ADDRESS EMAIL_ADDRESS Holds actual email identifier Holds actual email identifier
EMPLOYEE_NUMBER EMPLOYEE_NUMBER Number assigned to an employee Number assigned to an employee
FULL_NAME FULL_NAME Full Name of the employee Full Name of the employee
8 8
Per_all_assignments_f
Per_all_assignments_f
This table holds information about employee assignments like his Job, This table holds information about employee assignments like his Job,
Manager, Department, Payroll and his expense account. Manager, Department, Payroll and his expense account.
Key Columns Key Columns
ASSIGNMENT_ID ASSIGNMENT_ID System-generated System-generated
EFFECTIVE_START_DATE EFFECTIVE_START_DATE Effective start date Effective start date
EFFECTIVE_END_DATE EFFECTIVE_END_DATE Effective end date Effective end date
BUSINESS_GROUP_ID BUSINESS_GROUP_IDIdentifies the Business group Identifies the Business group
JOB_ID JOB_ID Identifies Employees Job Identifies Employees Job
ASSIGNMENT_STATUS_TYPE_ID ASSIGNMENT_STATUS_TYPE_ID Active or Suspended Active or Suspended
PAYROLL_ID PAYROLL_ID Identifies the payroll assigned Identifies the payroll assigned
SUPERVISOR_ID SUPERVISOR_ID Identifies the manager Identifies the manager
PERSON_ID PERSON_ID links to PER_ALL_PEOPLE_F links to PER_ALL_PEOPLE_F
ORGANIZATION_ID ORGANIZATION_ID Identifies the Cost Center/Dept Identifies the Cost Center/Dept
DEFAULT_CODE_COMB_ID DEFAULT_CODE_COMB_ID Default Expense Account Default Expense Account
PRIMARY_FLAG PRIMARY_FLAG Indicates primary employee assignment. Indicates primary employee assignment.
9 9
Pay_element_types_f
Pay_element_types_f
This table holds the definitions of elements. Elements are the units used to build all the This table holds the definitions of elements. Elements are the units used to build all the
earnings, deductions and benefits that can be given to employees. earnings, deductions and benefits that can be given to employees.
Key Columns Key Columns
ELEMENT_TYPE_ID ELEMENT_TYPE_ID System-generated System-generated
ELEMENT_NAME ELEMENT_NAME User name for the element type User name for the element type
REPORTING_NAME REPORTING_NAME Reporting Name used in SOE Reporting Name used in SOE
CLASSIFICATION_ID CLASSIFICATION_ID Earnings/Deductions/Information Earnings/Deductions/Information
MULTIPLE_ENTRIES_ALLOWED_FLAG Indicates if multiple MULTIPLE_ENTRIES_ALLOWED_FLAG Indicates if multiple entries are allowed entries are allowed
POST_TERMINATION_RULE POST_TERMINATION_RULE Last standard process,final Last standard process,final close,actual term close,actual term
PROCESS_IN_RUN_FLAG PROCESS_IN_RUN_FLAG If the element can be processed If the element can be processed in a payroll run in a payroll run
PROCESSING_TYPE Whether the element is recurring PROCESSING_TYPE Whether the element is recurring or nonrecurring or nonrecurring
EFFECTIVE_START_DATE EFFECTIVE_START_DATE Effective start date Effective start date
EFFECTIVE_END_DATE EFFECTIVE_END_DATE Effective end date Effective end date
10 10
Pay_input_values_f
Pay_input_values_f
This table This table holds the definitions of the input values associated with a specific element. holds the definitions of the input values associated with a specific element.
Input Value is like a placeholder for storing the actual values of the element Input Value is like a placeholder for storing the actual values of the element
Key Columns Key Columns
INPUT_VALUE_ID INPUT_VALUE_ID System-generated System-generated
NAME NAME Input value name Input value name
UOM UOM Hours, Money, Date etc Hours, Money, Date etc
USER_ENTERABLE USER_ENTERABLE If Users can enter values here If Users can enter values here
directly directly
DATABASE_ITEM DATABASE_ITEM If Database item needs to be created If Database item needs to be created (used (used
for FF) for FF)
ELEMENT_TYPE_ID ELEMENT_TYPE_ID Links to PAY_ELEMENT_TYPES_F Links to PAY_ELEMENT_TYPES_F
EFFECTIVE_START_DATE EFFECTIVE_START_DATE Effective start date Effective start date
EFFECTIVE_END_DATE EFFECTIVE_END_DATE Effective end date Effective end date
11 11
Pay_element_links_f
Pay_element_links_f
This table that holds the eligibility rules that link elements to employees. An This table that holds the eligibility rules that link elements to employees. An
assignment must match the eligibility criteria defined for the element link before it assignment must match the eligibility criteria defined for the element link before it
can have an entry of that element. can have an entry of that element.
Key Columns Key Columns
ELEMENT_LINK_ID ELEMENT_LINK_ID System-generated System-generated
PAYROLL_ID PAYROLL_ID Payroll attached to this element Payroll attached to this element
COST_ALLOCATION_KEYFLEX_ID COST_ALLOCATION_KEYFLEX_ID To which account this element will To which account this element will be costed against be costed against
ELEMENT_TYPE_ID ELEMENT_TYPE_ID Links to Links to PAY_ELEMENT_TYPES_F PAY_ELEMENT_TYPES_F
BALANCING_KEYFLEX_ID BALANCING_KEYFLEX_ID To which account this element will To which account this element will be costed against be costed against
COSTABLE_TYPE COSTABLE_TYPE If the Element can be costed or not If the Element can be costed or not
TRANSFER_TO_GL_FLAG TRANSFER_TO_GL_FLAG If the element values can be transfer to GL If the element values can be transfer to GL
EFFECTIVE_START_DATE EFFECTIVE_START_DATE Effective start date Effective start date
EFFECTIVE_END_DATE EFFECTIVE_END_DATE Effective end date Effective end date
12 12
Pay_element_entries_f
Pay_element_entries_f
This table holds the list of all elements that are actually This table holds the list of all elements that are actually
assigned to an employees assignment. Each element is assigned to an employees assignment. Each element is
identified by element_link_id identified by element_link_id
Key Columns
Key Columns
ELEMENT_ENTRY_ID ELEMENT_ENTRY_ID System-generated System-generated
ASSIGNMENT_ID ASSIGNMENT_ID Links to Links to
PER_ALL_ASSIGNMENTS_F PER_ALL_ASSIGNMENTS_F
ELEMENT_LINK_ID ELEMENT_LINK_ID Links to Links to
PAY_ELEMENT_LINKS_F PAY_ELEMENT_LINKS_F
EFFECTIVE_START_DATE EFFECTIVE_START_DATE Effective start date Effective start date
EFFECTIVE_END_DATE EFFECTIVE_END_DATE Effective end date Effective end date
13 13
Pay_element_entry_values_f
Pay_element_entry_values_f
This table holds the actual values of the element entries. This table holds the actual values of the element entries.
Key Columns
Key Columns
ELEMENT_ENTRY_VALUE_ID ELEMENT_ENTRY_VALUE_ID System-generated System-generated
ELEMENT_ENTRY_ID ELEMENT_ENTRY_ID Links to Links to
PAY_ELEMENT_ENTRIES_F PAY_ELEMENT_ENTRIES_F
INPUT_VALUE_ID INPUT_VALUE_ID Links to Links to
PAY_INPUT_VALUES_F PAY_INPUT_VALUES_F
SCREEN_ENTRY_VALUE SCREEN_ENTRY_VALUE Actual value of the Element Actual value of the Element
entry entry
EFFECTIVE_START_DATE EFFECTIVE_START_DATE Effective start date Effective start date
EFFECTIVE_END_DATE EFFECTIVE_END_DATE Effective end date Effective end date
14 14
Pay_payroll_actions
Pay_payroll_actions
This table holds general details about the execution of payroll processes, including This table holds general details about the execution of payroll processes, including
their type and all the parameters passed to them. their type and all the parameters passed to them.
Key Columns Key Columns
PAYROLL_ACTION_ID PAYROLL_ACTION_ID System-generated System-generated
ACTION_TYPE ACTION_TYPE R-Run, Q-Quick Pay and P-Prepayments R-Run, Q-Quick Pay and P-Prepayments
CONSOLIDATION_SET_ID This is used to consolidate multiple payroll CONSOLIDATION_SET_ID This is used to consolidate multiple payroll
processes processes
PAYROLL_ID PAYROLL_ID Identifies the Payroll Identifies the Payroll
ACTION_POPULATION_STATUS Indicates if the insert of assignment ACTION_POPULATION_STATUS Indicates if the insert of assignment
actions is complete actions is complete
ACTION_STATUS ACTION_STATUS Unprocessed, Processing, Error, Complete. Unprocessed, Processing, Error, Complete.
EFFECTIVE_DATE EFFECTIVE_DATE Payroll Run Date Payroll Run Date
ELEMENT_SET_ID ELEMENT_SET_ID Identifies the Element Set for which Payroll is run Identifies the Element Set for which Payroll is run
ASSIGNMENT_SET_ID ASSIGNMENT_SET_ID Identifies the Assignment Set Identifies the Assignment Set
15 15
Pay_assignment_actions
Pay_assignment_actions
When you run a payroll the payroll process creates a row(Assignment action) in When you run a payroll the payroll process creates a row(Assignment action) in
this table for each assignment which has been processed by the payroll process. this table for each assignment which has been processed by the payroll process.
If at all there is a row in this table for an assignment that means that some If at all there is a row in this table for an assignment that means that some
payroll processing has taken place for that assignment and we can know the payroll processing has taken place for that assignment and we can know the
status of that payroll action by looking at the ACTION_STATUS which indicates status of that payroll action by looking at the ACTION_STATUS which indicates
whether it processed successfully, unsuccessfully, or not at all. whether it processed successfully, unsuccessfully, or not at all.
Key Columns Key Columns
ASSIGNMENT_ACTION_ID ASSIGNMENT_ACTION_ID System-generated System-generated
ASSIGNMENT_ID ASSIGNMENT_ID Links to Links to
PER_ALL_ASSIGNMENTS_F PER_ALL_ASSIGNMENTS_F
PAYROLL_ACTION_ID PAYROLL_ACTION_ID Links to Links to
PAY_PAYROLL_ACTIONS PAY_PAYROLL_ACTIONS
ACTION_STATUS ACTION_STATUS C-complete, E-error and P-processed C-complete, E-error and P-processed
16 16
Pay_run_results
Pay_run_results
This table holds the run results from processing each element entry. This table holds the run results from processing each element entry.
There is always a single run result for each entry. There is always a single run result for each entry.
Key Columns
Key Columns
RUN_RESULT_ID RUN_RESULT_ID System-generated System-generated
ELEMENT_TYPE_ID ELEMENT_TYPE_ID Links to PAY_ELEMENT_TYPES_F Links to PAY_ELEMENT_TYPES_F
ASSIGNMENT_ACTION_ID ASSIGNMENT_ACTION_ID Links to PAY_ASSIGNMENT_ACTIONS Links to PAY_ASSIGNMENT_ACTIONS
ENTRY_TYPE ENTRY_TYPE E-element entry, D-additional entry, S- E-element entry, D-additional entry, S-
Override Override
SOURCE_ID SOURCE_ID Links to PAY_ELEMENT_ENTRIES_F Links to PAY_ELEMENT_ENTRIES_F
SOURCE_TYPE SOURCE_TYPE For example, E-normal entry, I-indirect result For example, E-normal entry, I-indirect result
STATUS STATUS P-processed, U-unprocessed P-processed, U-unprocessed
17 17
Pay_run_result_values
Pay_run_result_values
This table holds the actual run result values that are This table holds the actual run result values that are
calculated from processing a single element entry. calculated from processing a single element entry.
Key Columns
Key Columns
INPUT_VALUE_ID INPUT_VALUE_ID Links to PAY_INPUT_VALUES_F Links to PAY_INPUT_VALUES_F
RUN_RESULT_ID RUN_RESULT_ID Links to PAY_RUN_RESULTS Links to PAY_RUN_RESULTS
RESULT_VALUE RESULT_VALUE The value of the result. (calculated The value of the result. (calculated
amount) amount)
18 18
Query to get Element Entry
Query to get Element Entry
information
information
SELECT ppf.employee_number PRN, SELECT ppf.employee_number PRN,
ppf.full_name Name, ppf.full_name Name,
pev.screen_entry_value "Annual Salary" pev.screen_entry_value "Annual Salary"
FROM per_all_people_f FROM per_all_people_f ppf ppf
,per_assignments_f ,per_assignments_f paf paf
,pay_element_entries_f ,pay_element_entries_f pee pee
,pay_element_entry_values_f ,pay_element_entry_values_f pev pev
,pay_element_links_f ,pay_element_links_f pel pel
,pay_element_types_f ,pay_element_types_f pet pet
,pay_input_values_f ,pay_input_values_f piv piv
WHERE ppf.person_id WHERE ppf.person_id = paf.person_id = paf.person_id
AND paf.assignment_id = pee.assignment_id AND paf.assignment_id = pee.assignment_id
AND pee.element_entry_id = pev.element_entry_id AND pee.element_entry_id = pev.element_entry_id
AND pee.element_link_id = pel.element_link_id AND pee.element_link_id = pel.element_link_id
AND pel.element_type_id = pet.element_type_id AND pel.element_type_id = pet.element_type_id
AND piv.element_type_id AND piv.element_type_id = pet.element_type_id = pet.element_type_id
AND piv.input_value_id = pev.input_value_id AND piv.input_value_id = pev.input_value_id
AND pet.element_name = 'Salary' AND pet.element_name = 'Salary'
AND piv.name = 'annual' AND piv.name = 'annual'
AND ppf.business_group_id = 28 AND ppf.employee_number = '1350' AND ppf.business_group_id = 28 AND ppf.employee_number = '1350'
19 19
Query to get Run Results
Query to get Run Results
information
information
SELECT INITCAP(ppf.last_name ||','||ppf.first_name) name, SELECT INITCAP(ppf.last_name ||','||ppf.first_name) name,
ety.element_name, ety.element_name,
TO_NUMBER(rrv.result_value) Commission TO_NUMBER(rrv.result_value) Commission
FROM per_people_x ppf, FROM per_people_x ppf,
per_assignments_x paf, per_assignments_x paf,
pay_assignment_actions pas pay_assignment_actions pas
pay_payroll_actions ppa, pay_payroll_actions ppa,
pay_run_results rr, pay_run_results rr,
pay_run_result_values rrv, pay_run_result_values rrv,
pay_element_types_f ety, pay_element_types_f ety,
pay_input_values_x I, pay_input_values_x I,
WHERE ppf.person_id = paf.person_id WHERE ppf.person_id = paf.person_id
AND paf.assignment_id = pas.assignment_id AND paf.assignment_id = pas.assignment_id
AND pas.assignment_action_id = rr.assignment_action_id AND pas.assignment_action_id = rr.assignment_action_id
AND ppa.payroll_action_id = pas.payroll_action_id AND ppa.payroll_action_id = pas.payroll_action_id
AND rr.element_type_id = ety.element_type_id AND rr.element_type_id = ety.element_type_id
AND i.element_type_id = ety.element_type_id AND i.element_type_id = ety.element_type_id
AND rrv.run_result_id = rr.run_result_id AND rrv.run_result_id = rr.run_result_id
AND rrv.input_value_id = i.input_value_id AND rrv.input_value_id = i.input_value_id
AND i.name = 'Pay Value' AND i.name = 'Pay Value'
AND ety.element_name = Salary' AND ety.element_name = Salary'
20 20
Other related tables
Other related tables
! Pay_payrolls_f - Pay_payrolls_f - Holds Payroll Definitions Holds Payroll Definitions
! Per_time_periods - Per_time_periods - Holds Payroll Periods Information Holds Payroll Periods Information
! Per_time_period_types - Per_time_period_types - Holds Payroll Period Types Information Holds Payroll Period Types Information
! Pay_element_classifications - Pay_element_classifications - Holds Element Classifications Holds Element Classifications
! Pay_consolidation_sets Pay_consolidation_sets Holds Consolidation Set Definitions Holds Consolidation Set Definitions
! Pay_cost_allocation_keyflex - Pay_cost_allocation_keyflex - Holds Accounting flex field info Holds Accounting flex field info
! Pay_personal_payment_methods_f - Pay_personal_payment_methods_f - Holds Payment Holds Payment
Methods Information Methods Information
! Pay_payment_types - Pay_payment_types - Holds Different Payment Type Definitions Holds Different Payment Type Definitions

You might also like