Slide 1: Oracle HRMS Payroll Concepts
Slide 2: Important TablesTable of Contents Payroll Terms Other Related Tables 2 Useful Queries Tables Relationship and Description
Slide 3: Elements are simply thePayroll Terms Element units used to build the earnings, deductions and benefits that can be given to Input Value is like a placeholder for holding thean employee. Input Value actual value of the Element. An element can have more than one input value. Element Link is the one which links the element to employees.Element Link 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. 3
Slide 4: ThePayroll Terms (contd.) Element Entry Value Any payroll related actionactual value of the element entry Payroll Action performed on employee’s assignment is referred to as Payroll Action. It can be a This is aPayroll Run, Quick-Pay, Pre-payments or Payments Assignment Action record of actions performed by the Payroll process on each and every assignment. This is the actual calculated result of the payroll process forRun Result each and every element entry 4
Slide 5: Important Tables Per_all_people_f Pay_input_values_f Pay_element_types_f Per_all_assignments_f Pay_element_entry_values_f Pay_element_entries_f Pay_element_links_f 5 Pay_run_results Pay_assignment_actions Pay_payroll_actions
Slide 6: Table Flow Diagram Element and Element Elements Attached to Employees Payroll Processing Link Definition Per_all_people_f Pay_payroll_actions Pay_input_values_f Person_id Payroll_action_id Element_type_id Assignment_id Per_all_assignments_f Pay_assignment_actions Pay_element_types_f Assignment_id Assignment_action_id Element_type_id Element_link_id Source_id Pay_element_links_f Pay_element_entries_f Pay_run_results Element_entry_id Run_result_id Pay_element_entry_values_f Pay_run_result_values 6
Slide 7: Per_all_people_f This table holds personal information for employees, applicants, ex-employees, ex-applicants, contacts and other people. Key Columns PERSON_ID System generated EFFECTIVE_START_DATE Effective start date EFFECTIVE_END_DATE Effective end date PERSON_TYPE_ID Links to PER_PERSON_TYPES START_DATE Start date for the person CURRENT_APPLICANT_FLAG Yes or null CURRENT_EMP_OR_APL_FLAG Yes or null CURRENT_EMPLOYEE_FLAG Yes or null DATE_OF_BIRTH Date of birth 7
Slide 8: Per_all_assignments_f This table holds information about employee assignments like his Job, Manager, Department, Payroll and his expense account. Key Columns ASSIGNMENT_ID System-generated EFFECTIVE_START_DATE Effective start date EFFECTIVE_END_DATE Effective end date BUSINESS_GROUP_ID Identifies the Business group JOB_ID Identifies Employees Job ASSIGNMENT_STATUS_TYPE_ID Active or Suspended PAYROLL_ID Identifies the payroll assigned SUPERVISOR_ID Identifies the manager PERSON_ID links to PER_ALL_PEOPLE_F ORGANIZATION_ID Identifies the Cost Center/Dept DEFAULT_CODE_COMB_ID Default Expense Account 8
Slide 9: Pay_element_types_f 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. Key Columns ELEMENT_TYPE_ID System-generated ELEMENT_NAME User name for the element type REPORTING_NAME Reporting Name used in SOE CLASSIFICATION_ID Earnings/Deductions/Information MULTIPLE_ENTRIES_ALLOWED_FLAG Indicates if multiple entries are allowed POST_TERMINATION_RULE Last standard process,final close,actual term 9 PROCESS_IN_RUN_FLAG If the element can be processed
Slide 10: Pay_input_values_f This table 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 Key Columns INPUT_VALUE_ID System-generated NAME Input value name UOM Hours, Money, Date etc USER_ENTERABLE If Users can enter values here directly DATABASE_ITEM If Database item needs to be created (used for FF) ELEMENT_TYPE_ID Links to PAY_ELEMENT_TYPES_F 10 EFFECTIVE_START_DATE Effective start date
Slide 11: Pay_element_links_f 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 can have an entry of that element. Key Columns ELEMENT_LINK_ID System-generated PAYROLL_ID Payroll attached to this element COST_ALLOCATION_KEYFLEX_ID To which account this element will be costed against ELEMENT_TYPE_ID Links to PAY_ELEMENT_TYPES_F BALANCING_KEYFLEX_ID To which account this element will be costed against COSTABLE_TYPE If the Element can be costed or not TRANSFER_TO_GL_FLAG If the element values can be transfer to GL EFFECTIVE_START_DATE Effective start date EFFECTIVE_END_DATE Effective end date 11
Slide 12: Pay_element_entries_f This table holds the list of all elements that are actually assigned to an employees assignment. Each element is identified by element_link_id Key Columns ELEMENT_ENTRY_ID System-generated ASSIGNMENT_ID Links to PER_ALL_ASSIGNMENTS_F ELEMENT_LINK_ID Links to PAY_ELEMENT_LINKS_F EFFECTIVE_START_DATE Effective start date EFFECTIVE_END_DATE Effective end date 12
Slide 13: Pay_element_entry_values_f This table holds the actual values of the element entries. Key Columns ELEMENT_ENTRY_VALUE_ID System-generated ELEMENT_ENTRY_ID Links to PAY_ELEMENT_ENTRIES_F INPUT_VALUE_ID Links to PAY_INPUT_VALUES_F SCREEN_ENTRY_VALUE Actual value of the Element entry EFFECTIVE_START_DATE Effective start date EFFECTIVE_END_DATE Effective end date 13
Slide 14: Pay_payroll_actions This table holds general details about the execution of payroll processes, including their type and all the parameters passed to them. Key Columns PAYROLL_ACTION_ID System-generated ACTION_TYPE R-Run, Q-Quick Pay and P-Prepayments CONSOLIDATION_SET_ID This is used to consolidate multiple payroll processes PAYROLL_ID Identifies the Payroll ACTION_POPULATION_STATUS Indicates if the insert of assignment actions is complete ACTION_STATUS Unprocessed, Processing, Error, Complete. 14
Slide 15: Pay_assignment_actions 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. 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 status of that payroll action by looking at the ACTION_STATUS which indicates whether it processed successfully, unsuccessfully, or not at all. Key Columns ASSIGNMENT_ACTION_ID System-generated ASSIGNMENT_ID Links to PER_ALL_ASSIGNMENTS_F PAYROLL_ACTION_ID Links to PAY_PAYROLL_ACTIONS 15
Slide 16: Pay_run_results This table holds the run results from processing each element entry. There is always a single run result for each entry. Key Columns RUN_RESULT_ID System-generated ELEMENT_TYPE_ID Links to PAY_ELEMENT_TYPES_F ASSIGNMENT_ACTION_ID Links to PAY_ASSIGNMENT_ACTIONS ENTRY_TYPE E-element entry, D-additional entry, S- Override SOURCE_ID Links to PAY_ELEMENT_ENTRIES_F SOURCE_TYPE For example, E-normal entry, I-indirect result STATUS P-processed, U-unprocessed 16
Slide 17: Pay_run_result_values This table holds the actual run result values that are calculated from processing a single element entry. Key Columns INPUT_VALUE_ID Links to PAY_INPUT_VALUES_F RUN_RESULT_ID Links to PAY_RUN_RESULTS RESULT_VALUE The value of the result. (calculated amount) 17
Slide 18: Query to get Element Entry information SELECT ppf.employee_number PRN, ppf.full_name Name, pev.screen_entry_value "Annual Salary" FROM per_all_people_f ppf ,per_assignments_f paf ,pay_element_entries_f pee ,pay_element_entry_values_f pev ,pay_element_links_f pel ,pay_element_types_f pet ,pay_input_values_f piv WHERE ppf.person_id = paf.person_id AND paf.assignment_id = pee.assignment_id AND pee.element_entry_id = pev.element_entry_id AND pee.element_link_id = pel.element_link_id AND pel.element_type_id = pet.element_type_id AND piv.element_type_id = pet.element_type_id 18
Slide 19: Query to get Run Results informationname, SELECT INITCAP(ppf.last_name ||','||ppf.first_name) ety.element_name, TO_NUMBER(rrv.result_value) Commission FROM per_people_x ppf, per_assignments_x paf, pay_assignment_actions pas pay_payroll_actions ppa, pay_run_results rr, pay_run_result_values rrv, pay_element_types_f ety, pay_input_values_x I, WHERE ppf.person_id = paf.person_id AND paf.assignment_id = pas.assignment_id AND pas.assignment_action_id = rr.assignment_action_id AND ppa.payroll_action_id = pas.payroll_action_id AND rr.element_type_id = ety.element_type_id AND i.element_type_id = ety.element_type_id 19
Slide 20: Other related tables Pay_payrolls_f - Holds Per_time_periods - Holds Payroll Periods InformationPayroll Definitions Types InformationPer_time_period_types - Holds Payroll Period ClassificationsPay_element_classifications - Holds Element Set DefinitionsPay_consolidation_sets – Holds Consolidation Accounting flex field info 20Pay_cost_allocation_keyflex - Holds
Slide 18: Query to get Element Entry information
ReplyDeletein this query your not write data track conditions. this query fetch duplicate recards...........
I want payrollname, employeename, start date,end date, location with his earnings like
ReplyDeleteActing Allowance
Acting Allowance NR
Arrears
Basic Salary
Car Allowance
House Allowance
Leave Travelling Allowance
Night Allowance
Other Allowance
Other Allowance Recurring
Overtime
Responsibility Allowance
Sales Commission
Transport Allowance
Twelve Hours Shift Allowance
and Deductions like
Absence
Bank of Africa Staff Loan
Coop Savings
Fuel Recovery NR
Gurantee
High Value Special Sal
Advance
Laptop Deduction
Lease Rentals
Leau in Leave
Local Service Tax
Mid Month Salary Advance
NSSF
PAYE
R B Scheme
Revolving Loan
Shortages
Smart TV
Special Salary Advance
Standard Chartered Staff Loan
Union Dues
Please anyone help me to write the query