Search Results pqh_copy_entity_results
Overview
The table PQH_COPY_ENTITY_RESULTS is a core transaction entity within the Oracle E-Business Suite Public Sector HR (PQH) module. It functions as a detailed log or audit trail for data replication processes. Specifically, it stores granular results for individual data elements processed during a copy operation, such as duplicating a position or a job structure. Each record in this table represents the outcome of copying a single entity from a source to a target, making it critical for tracking the success, failure, and lineage of data within complex HR configuration and setup activities in versions 12.1.1 and 12.2.2.
Key Information Stored
The table's primary purpose is to capture the transactional details of a copy process. Its key columns, as indicated by the provided metadata, include:
- COPY_ENTITY_RESULT_ID: The unique primary key identifier for each result record.
- COPY_ENTITY_TXN_ID: A foreign key linking to the parent transaction header in the PQH_COPY_ENTITY_TXNS table. This associates multiple result records with a single copy job.
- SRC_COPY_ENTITY_RESULT_ID: A self-referencing foreign key within the same table. This is a critical column that establishes a hierarchical relationship between result records, allowing the system to trace the provenance of copied data through multiple generations or iterations of a copy process.
While the full column list is not detailed in the excerpt, typical data in such a table would include identifiers for the source and target records, the type of entity copied (e.g., position, grade), status codes (success/error), and timestamps.
Common Use Cases and Queries
This table is primarily accessed for auditing, troubleshooting, and reporting on data migration or configuration copy jobs. A common scenario involves investigating a failed setup copy process. An administrator would query this table to identify which specific entities failed during a transaction. A typical SQL pattern would join to the parent transaction table to filter by a specific job or date range:
SELECT per.* FROM pqh_copy_entity_results per JOIN pqh_copy_entity_txns pet ON per.copy_entity_txn_id = pet.copy_entity_txn_id WHERE pet.request_id = :req_id AND per.status = 'ERROR';
Another key use case is tracing data lineage. The self-referencing foreign key allows for recursive queries to map the entire history of a copied entity back to its original source, which is essential for compliance and impact analysis in public sector HR environments.
Related Objects
As per the documented metadata, PQH_COPY_ENTITY_RESULTS has defined relationships with several other objects in the PQH schema:
- PQH_COPY_ENTITY_TXNS: This is the primary parent table. The foreign key on COPY_ENTITY_TXN_ID links each detailed result to its overarching copy transaction, which holds high-level information like the requester, submission date, and overall process type.
- Self-Reference: The table has a foreign key relationship with itself via the SRC_COPY_ENTITY_RESULT_ID column. This creates a hierarchical structure where a result record can point to its immediate source, enabling multi-level process tracking.
This table is central to the copy entity engine in Public Sector HR and is likely referenced by various internal APIs, concurrent programs, and diagnostic reports within the PQH module.
-
Table: PQH_COPY_ENTITY_RESULTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_COPY_ENTITY_RESULTS, object_name:PQH_COPY_ENTITY_RESULTS, status:VALID, product: PQH - Public Sector HR , description: Transaction entity which holds process data , implementation_dba_data: HR.PQH_COPY_ENTITY_RESULTS ,
-
Table: PQH_COPY_ENTITY_RESULTS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_COPY_ENTITY_RESULTS, object_name:PQH_COPY_ENTITY_RESULTS, status:VALID, product: PQH - Public Sector HR , description: Transaction entity which holds process data , implementation_dba_data: HR.PQH_COPY_ENTITY_RESULTS ,
-
APPS.BEN_PLAN_DESIGN_TXNS_API dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_CER_UPD dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.GHR_POSN_COPY dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_CER_INS dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.BEN_PLAN_DESIGN_TXNS_API dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.BEN_PLAN_COPY_LOADER dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_GENERIC dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_CET_BUS dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_GSP_PRGRULES dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_CER_DEL dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_GENERIC dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_CER_BUS dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.BEN_PD_MIGRATE dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_GEN_FORM dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_CER_INS dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_CER_SHD dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_GEN_FORM dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_CER_UPD dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.GHR_POSN_COPY dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_COPY_ENTITY_RESULTS_API dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_GEN_FORM dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_COPY_ENTITY_RESULTS_API dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_FR_UTILITY dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.BEN_PD_MIGRATE dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_CET_BUS dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_CER_BUS dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_GEN_FORM dependencies on PQH_COPY_ENTITY_RESULTS
12.1.1
-
APPS.PQH_FR_UTILITY dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_GSP_PRGRULES dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_CER_DEL dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.BEN_PLAN_COPY_LOADER dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.PQH_CER_SHD dependencies on PQH_COPY_ENTITY_RESULTS
12.2.2
-
APPS.BEN_PD_MIGRATE dependencies on PQH_TABLE_ROUTE
12.1.1
-
APPS.BEN_PD_MIGRATE dependencies on PQH_TABLE_ROUTE
12.2.2
-
APPS.PQH_GENERIC SQL Statements
12.2.2
-
APPS.PQH_GENERIC SQL Statements
12.1.1
-
VIEW: APPS.BEN_PLAN_DESIGN_HGRID_VW
12.2.2
-
VIEW: APPS.BEN_PLAN_DESIGN_HGRID_VW
12.1.1
-
APPS.GHR_POSN_COPY dependencies on PQH_GENERIC
12.1.1
-
APPS.GHR_POSN_COPY dependencies on PQH_GENERIC
12.2.2
-
SYNONYM: PUBLIC.PQH_COPY_ENTITY_RESULTS
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PQH_COPY_ENTITY_RESULTS, status:VALID,
-
View: BEN_PLAN_DESIGN_HGRID_VW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BEN.BEN_PLAN_DESIGN_HGRID_VW, object_name:BEN_PLAN_DESIGN_HGRID_VW, status:VALID, product: BEN - Advanced Benefits , description: Plan Design H-Grid View , implementation_dba_data: APPS.BEN_PLAN_DESIGN_HGRID_VW ,
-
SYNONYM: APPS.PQH_COPY_ENTITY_RESULTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PQH_COPY_ENTITY_RESULTS, status:VALID,
-
APPS.PQH_CER_DEL dependencies on HR_API
12.1.1
-
View: BEN_PLAN_DESIGN_HGRID_VW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:BEN.BEN_PLAN_DESIGN_HGRID_VW, object_name:BEN_PLAN_DESIGN_HGRID_VW, status:VALID, product: BEN - Advanced Benefits , description: Plan Design H-Grid View , implementation_dba_data: APPS.BEN_PLAN_DESIGN_HGRID_VW ,
-
APPS.PQH_CER_DEL dependencies on HR_API
12.2.2
-
APPS.PQH_CER_DEL dependencies on HR_UTILITY
12.2.2
-
SYNONYM: APPS.PQH_COPY_ENTITY_RESULTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PQH_COPY_ENTITY_RESULTS, status:VALID,