Oracle HRMS API
Oracle HRMS API
Such kind of Bespoke/custom application requires these Oracle tables access which are divided into
three major tracks.
Business groups, payrolls related information : In this set you requires company
and payroll reference information , which is required to validate employee information for
your company
hr_locations
pay_payrolls
fnd_common_lookups
Counties, cities, states, zips : Contains the address info for employee address and tax
validation. Tax validation is required if there is seperate rule for taxation or may have
multiorg installation.
pay_us_counties
pay_us_city_names
pay_us_zip_codes
Deductions and levies : These are all the deductions and levies whatever configured in
Oracle Apps.
o You can map with these payroll table
pay_element_types_f
pay_element_links_f
pay_element_values
Persons and address tables :These are employee personal and employment
information
pay_people_groups
per_assignments_f
per_addresses
Deductions and levies
pay_element_entries_f
pay_element_entry_values_f
Direct Deposits
o You can map with these payroll table
pay_external_accounts
pay_org_payment_methods_f
pay_personal_payment_methods_f
Payroll summary :Contains all the payroll details such as earnings, deductions,
bonuses, and hours in a few tables
pay_assignment_actions
pay_run_results
pay_run_result_values
pay_element_classifications
pay_element_types_f
pay_input_values_f
Payment summary :Contains check and direct deposit details such as amount and
account numbers
pay_assignment_actions
pay_pre_payments
pay_org_payment_methods_f
pay_personal_payment_methods_f
1.
2.
3.
4.
5.
6.
7.
8.
9.
Address
1. Insert or Update Addresses :hr_person_address_api.create_person_address
2. Update existing address records
:hr_person_address_api.update_person_address
Phones
1. Insert or create a phone :hr_phone_api.create_phone
2. update existing phone
records :hr_person_address_api.update_person_address
Schools and Colleges
1. Insert or create a schol and college information :per_esa_ins.ins
2. update existing records :per_esa_upd.upd
Insert or Update Deductions
1. If deduction is ended, use the delete API to set end
date :hr_entry_api.delete_element_entry
2. Update deduction if exists, else insert it :hr_entry_api.insert_element_entry
Qualifications
1. Insert or create a qualifications information
:per_qualifications_api.create_qualification
2. update qualifications records :per_qualifications_api.update_qualification
1.
2.
3.
4.
5.
6.
7.
SELECT text
FROM all_source
WHERE name LIKE '%your_api_name%'
AND text LIKE '%Header%';
This query will return the header line of the pac kage and package body showing the package name
and current version number.
1.
2.
3. SELECT object_type,object_name
4. FROM user_objects
5. WHERE object_name
6. LIKE 'HR%API';
7.
Publicly Callable Business Process APIs in Oracle HRMS
Oracle APIs are a logical grouping of all external process routines. The Oracle HRMS API sets delivers
a set of PL/SQL packages procedures and functions that provide an open interface to the database.
There are three options for you to find the details:
1. Oracle Documents
To find a current list of publicly callable business process APIs in Oracle HRMS; you need to go
into your On Line Help from within applications and use the search field to find 'Publicly
Callable Business'. In the Search Results frame you will see a link to 'Publicly Callable Business
Process APIs in Oracle HRMS (Oracle HRMS)' listed.
2. Irep
To find correct information on APIs you check Oracle Integration Repository (irep) which can
accessed via MetaLink by selecting the Knowledge tab - Knowledge Browser sub-tab, then in
the Online Documentation box select - Oracle Integration Repository.
3. Search the database
You may find official documentation on Publicaly Callable APIs as in options 1.
You can search in the HR Schema for the stored procedures with name 'HR%API'. Open the
Package spec and then read the inline comment about the parameters. This is very useful to
understand what is meant by each paramater and what the API does.
4. Etrm via metalink
TRM helpful in selecting the appropriate API call.