Search Results cost_allocation_id
Overview
The HR_H2PI_COST_ALLOCATIONS table is a critical staging object within Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2, specifically for the Human Resources (HR) module. It functions as a temporary data repository for the Oracle HR to Oracle Payroll Interface (H2PI). Its primary role is to store cost allocation data extracted from Oracle HR during the data upload process to Oracle Payroll. This staging mechanism ensures data integrity and manageability by holding intermediate records while the upload is in progress, facilitating a controlled and auditable transfer of compensation-related information between the two core systems.
Key Information Stored
The table's structure is designed to capture the essential attributes of cost allocation records for the interface. The primary key, HR_H2PI_COST_ALLOCATIONS_PK, is a composite key based on the COST_ALLOCATION_ID, EFFECTIVE_START_DATE, EFFECTIVE_END_DATE, and BUSINESS_GROUP_ID columns, enforcing uniqueness and temporal validity for each staged record. The COST_ALLOCATION_ID uniquely identifies the cost allocation definition. The EFFECTIVE_START_DATE and EFFECTIVE_END_DATE columns define the period for which the allocation is valid. The BUSINESS_GROUP_ID associates the record with a specific business entity within the HRMS setup. An additional CLIENT_ID column is present, which may be used for multi-tenant architectures or to track the source of the data upload process.
Common Use Cases and Queries
The primary use case for this table is the H2PI data transfer process. Administrators and technical consultants may query this table to monitor the status of payroll cost data uploads, troubleshoot failed interface runs, or validate extracted data before final submission. A common diagnostic query would involve checking for records that have been staged but not yet processed, often by looking for records with specific CLIENT_ID values or within a certain date range. For example:
- Monitoring staged data:
SELECT COUNT(*), BUSINESS_GROUP_ID FROM HR.HR_H2PI_COST_ALLOCATIONS WHERE CLIENT_ID = '&client_value' GROUP BY BUSINESS_GROUP_ID; - Validating data for a specific employee assignment:
SELECT * FROM HR.HR_H2PI_COST_ALLOCATIONS WHERE COST_ALLOCATION_ID = &alloc_id AND SYSDATE BETWEEN EFFECTIVE_START_DATE AND NVL(EFFECTIVE_END_DATE, SYSDATE);
It is important to note that this is a staging table; persistent reporting on cost allocations should be performed against the main HRMS tables once the interface is complete.
Related Objects
HR_H2PI_COST_ALLOCATIONS is intrinsically linked to the H2PI interface process. It is directly populated by extraction logic from core HRMS tables holding permanent cost allocation definitions, such as PAY_COST_ALLOCATIONS_F. The table's data is subsequently consumed by the H2PI interface programs to update the corresponding payroll system tables. It may also be referenced by custom PL/SQL procedures or views built to extend or monitor the standard interface functionality. As a staging table, it typically has a lifecycle tied to interface run IDs and is purged or archived after successful completion of the payroll data upload.
-
Table: HR_H2PI_COST_ALLOCATIONS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_H2PI_COST_ALLOCATIONS, object_name:HR_H2PI_COST_ALLOCATIONS, status:VALID, product: PER - Human Resources , description: This is staging table for the Oracle HR to Oracle Payroll Interface (H2PI) and stores data related to cost allocations s while data upload is in progress. , implementation_dba_data: HR.HR_H2PI_COST_ALLOCATIONS ,
-
Table: HR_H2PI_COST_ALLOCATIONS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.HR_H2PI_COST_ALLOCATIONS, object_name:HR_H2PI_COST_ALLOCATIONS, status:VALID, product: PER - Human Resources , description: This is staging table for the Oracle HR to Oracle Payroll Interface (H2PI) and stores data related to cost allocations s while data upload is in progress. , implementation_dba_data: HR.HR_H2PI_COST_ALLOCATIONS ,
-
View: HR_H2PI_COST_ALLOCATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_COST_ALLOCATIONS_V, object_name:HR_H2PI_COST_ALLOCATIONS_V, status:VALID, product: PER - Human Resources , description: Contains data related to Oracle HR to Oracle Payroll Interface (H2PI) for cost allocations , implementation_dba_data: APPS.HR_H2PI_COST_ALLOCATIONS_V ,
-
View: HR_H2PI_COST_ALLOCATIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PER.HR_H2PI_COST_ALLOCATIONS_V, object_name:HR_H2PI_COST_ALLOCATIONS_V, status:VALID, product: PER - Human Resources , description: Contains data related to Oracle HR to Oracle Payroll Interface (H2PI) for cost allocations , implementation_dba_data: APPS.HR_H2PI_COST_ALLOCATIONS_V ,