Search Results pqh_copy_entity_functions
Overview
The PQH_COPY_ENTITY_FUNCTIONS table is a configuration and metadata table within the Oracle E-Business Suite Public Sector Human Resources (PQH) module. It plays a critical role in defining and managing custom business logic during data replication or "copy" operations. Specifically, it stores references to custom PL/SQL functions that are executed before (Pre) or after (Post) a specific event for a given table within a defined context. This mechanism allows for extensive customization and validation of data during complex HR processes, such as copying position or job structures, ensuring data integrity and adherence to specific public sector rules.
Key Information Stored
The table's primary purpose is to map custom functions to specific points in a data flow. While the full column list is not detailed in the provided metadata, the core columns can be inferred from the relationships and description. The primary key, COPY_ENTITY_FUNCTION_ID, uniquely identifies each function mapping. The TABLE_ROUTE_ID is a foreign key to PQH_TABLE_ROUTE, identifying the specific table involved in the copy operation. The CONTEXT column is a foreign key to PQH_COPY_ENTITY_CONTEXTS, defining the specific business scenario or process phase. Other essential columns would logically include the function name, an indicator for Pre or Post event execution, and the specific event type.
Common Use Cases and Queries
This table is primarily accessed by the underlying copy engine logic within PQH processes. A common use case is during the setup or troubleshooting of a custom data copy process. An administrator might query the table to review all custom functions attached to a specific table route or context. Sample queries include listing all configured functions for a particular context, or finding which functions fire before an insert event on a specific table.
- Find functions for a context:
SELECT * FROM pqh_copy_entity_functions WHERE context = '<CONTEXT_NAME>'; - Join to see table and context details:
SELECT cef.*, ptr.table_name, cec.context_name FROM pqh_copy_entity_functions cef, pqh_table_route ptr, pqh_copy_entity_contexts cec WHERE cef.table_route_id = ptr.table_route_id AND cef.context = cec.context;
Related Objects
The PQH_COPY_ENTITY_FUNCTIONS table is central to a small network of configuration tables. Its documented foreign key relationships are critical for understanding its dependencies.
- PQH_TABLE_ROUTE: Linked via
PQH_COPY_ENTITY_FUNCTIONS.TABLE_ROUTE_ID. This table defines the specific database tables that are part of the copy entity routing, providing the target for the custom functions. - PQH_COPY_ENTITY_CONTEXTS: Linked via
PQH_COPY_ENTITY_FUNCTIONS.CONTEXT. This table defines the various business contexts or scenarios (e.g., "Copy Position", "Update Grade") under which the copy operations and their associated functions are executed.
The table is referenced by the application's copy engine logic, which queries it dynamically to determine which custom PL/SQL functions to execute at defined points in a data transaction.
-
Table: PQH_COPY_ENTITY_FUNCTIONS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_COPY_ENTITY_FUNCTIONS, object_name:PQH_COPY_ENTITY_FUNCTIONS, status:VALID, product: PQH - Public Sector HR , description: For a context Pre / Post and event functions for table is listed , implementation_dba_data: HR.PQH_COPY_ENTITY_FUNCTIONS ,
-
Table: PQH_COPY_ENTITY_FUNCTIONS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_COPY_ENTITY_FUNCTIONS, object_name:PQH_COPY_ENTITY_FUNCTIONS, status:VALID, product: PQH - Public Sector HR , description: For a context Pre / Post and event functions for table is listed , implementation_dba_data: HR.PQH_COPY_ENTITY_FUNCTIONS ,
-
APPS.PQH_CEF_DEL dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.2.2
-
APPS.PQH_CEF_INS dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.1.1
-
APPS.PQH_CEF_DEL dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.1.1
-
APPS.PQH_GENERIC dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.2.2
-
APPS.PQH_CEF_UPD dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.1.1
-
APPS.PQH_GEN_FORM dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.2.2
-
APPS.PQH_CEF_INS dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.2.2
-
APPS.PQH_GENERIC dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.1.1
-
APPS.PQH_GEN_FORM dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.1.1
-
APPS.PQH_CEF_UPD dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.2.2
-
APPS.PQH_GENERIC_PURGE dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.2.2
-
APPS.PQH_GENERIC_PURGE dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.1.1
-
APPS.PQH_CEF_SHD dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.1.1
-
APPS.PQH_CEF_SHD dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.2.2
-
APPS.PQH_COPY_ENTITY_FUNCTIONS_API dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.1.1
-
APPS.PQH_COPY_ENTITY_FUNCTIONS_API dependencies on PQH_COPY_ENTITY_FUNCTIONS
12.2.2
-
APPS.PQH_CEC_DEL dependencies on PER_RIC_PKG
12.2.2
-
TABLE: HR.PQH_COPY_ENTITY_FUNCTIONS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_COPY_ENTITY_FUNCTIONS, object_name:PQH_COPY_ENTITY_FUNCTIONS, status:VALID,
-
APPS.PQH_CEF_SHD SQL Statements
12.1.1
-
VIEW: HR.PQH_COPY_ENTITY_FUNCTIONS#
12.2.2
owner:HR, object_type:VIEW, object_name:PQH_COPY_ENTITY_FUNCTIONS#, status:VALID,
-
APPS.PQH_CEF_SHD SQL Statements
12.2.2
-
APPS.PQH_CEF_SHD dependencies on PER_RIC_PKG
12.2.2
-
APPS.PQH_CEF_INS dependencies on PER_RIC_PKG
12.2.2
-
SYNONYM: PUBLIC.PQH_COPY_ENTITY_FUNCTIONS
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PQH_COPY_ENTITY_FUNCTIONS, status:VALID,
-
SYNONYM: APPS.PQH_COPY_ENTITY_FUNCTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PQH_COPY_ENTITY_FUNCTIONS, status:VALID,
-
TRIGGER: APPS.PQH_COPY_ENTITY_FUNCTIONS+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:PQH_COPY_ENTITY_FUNCTIONS+, status:VALID,
-
SYNONYM: APPS.PQH_COPY_ENTITY_FUNCTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PQH_COPY_ENTITY_FUNCTIONS, status:VALID,
-
APPS.PQH_CEF_DEL dependencies on HR_API
12.1.1
-
VIEW: HR.PQH_COPY_ENTITY_FUNCTIONS#
12.2.2
-
TRIGGER: APPS.PQH_COPY_ENTITY_FUNCTIONS+
12.2.2
-
APPS.PQH_CEF_DEL dependencies on HR_API
12.2.2
-
APPS.PQH_GENERIC dependencies on PQH_COPY_ENTITY_CONTEXTS
12.1.1
-
TABLE: HR.PQH_COPY_ENTITY_FUNCTIONS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_COPY_ENTITY_FUNCTIONS, object_name:PQH_COPY_ENTITY_FUNCTIONS, status:VALID,
-
APPS.PQH_GENERIC dependencies on PQH_COPY_ENTITY_CONTEXTS
12.2.2
-
TABLE: HR.PQH_COPY_ENTITY_CONTEXTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_COPY_ENTITY_CONTEXTS, object_name:PQH_COPY_ENTITY_CONTEXTS, status:VALID,
-
FUNCTION: APPS.PQH_COPY_ENTITY_FUNCTIONS=
12.2.2
-
Table: PQH_COPY_ENTITY_CONTEXTS
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_COPY_ENTITY_CONTEXTS, object_name:PQH_COPY_ENTITY_CONTEXTS, status:VALID, product: PQH - Public Sector HR , description: Adjusting Display/criteria/change to Application/Legislation/Responsibility , implementation_dba_data: HR.PQH_COPY_ENTITY_CONTEXTS ,
-
APPS.PQH_CEF_SHD dependencies on PQH_COPY_ENTITY_FUNCTIONS_S
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.PQH_CEF_DEL dependencies on HR_UTILITY
12.1.1
-
TABLE: HR.PQH_TABLE_ROUTE
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_TABLE_ROUTE, object_name:PQH_TABLE_ROUTE, status:VALID,
-
APPS.PQH_CEF_INS dependencies on HR_API
12.1.1
-
FUNCTION: APPS.PQH_COPY_ENTITY_FUNCTIONS=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:PQH_COPY_ENTITY_FUNCTIONS=, status:VALID,
-
PACKAGE BODY: APPS.PQH_CEF_SHD
12.1.1
-
TRIGGER: APPS.PQH_COPY_ENTITY_FUNCTIONS_WHO
12.1.1
owner:APPS, object_type:TRIGGER, object_name:PQH_COPY_ENTITY_FUNCTIONS_WHO, status:VALID,
-
Table: PQH_COPY_ENTITY_CONTEXTS
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PQH.PQH_COPY_ENTITY_CONTEXTS, object_name:PQH_COPY_ENTITY_CONTEXTS, status:VALID, product: PQH - Public Sector HR , description: Adjusting Display/criteria/change to Application/Legislation/Responsibility , implementation_dba_data: HR.PQH_COPY_ENTITY_CONTEXTS ,
-
PACKAGE BODY: APPS.PQH_CEF_SHD
12.2.2
-
APPS.PQH_CEF_INS dependencies on HR_API
12.2.2