Results for “pqh_copy_entity_prefs_v”
20 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
PQH_COPY_ENTITY_PREFS_V is an APPS-owned database view in the Public Sector HR (PQH) product family of Oracle E-Business Suite, valid in both 12.1.1 and 12.2.2. It exposes user-configured preferences governing the copy of HR entities between business groups, positions, and other organizational constructs. The view is a denormalized reporting and integration layer: it joins the preference table PQH_COPY_ENTITY_PREFS to PQH_TABLE_ROUTE so that consumers can read a human-readable route label (DISPLAY_NAME) alongside the raw foreign key, rather than resolving the lookup themselves.
Because copy-entity preferences drive which records are duplicated and which tables participate in a copy transaction, this view is commonly used by technologists who need to audit configuration, diagnose failures in the copy process, or extract setup data for migration between instances. The search term copy_entity_txn_id reflects a frequent need: identifying which preferences were captured under a given copy transaction so that the resulting rows can be traced back to the originating operation.
Underlying Base Objects
The ETRM metadata documents two referenced base objects. The first is PQH_COPY_ENTITY_PREFS, referenced through a synonym, which is the driving table holding one row per entity preference record. The second is PQH_TABLE_ROUTE_TL, the translatable table-route table, referenced through a synonym and joined to supply the displayed route name. In the view definition the preference table appears with the alias CEP and the route table with the alias TRT, joined on TABLE_ROUTE_ID:
- PQH_COPY_ENTITY_PREFS (CEP) — supplies the primary key, the transaction reference, and the select flag.
- PQH_TABLE_ROUTE (TRT) — supplied as the join partner via TRT.TABLE_ROUTE_ID = CEP.TABLE_ROUTE_ID, exposing DISPLAY_NAME.
The view is read-only with respect to these tables and performs no aggregation or filtering, so each preference row yields exactly one output row.
Key Columns
- COPY_ENTITY_PREF_ID — primary key of the underlying preference row; unique per configured copy entity preference.
- TABLE_ROUTE_ID — foreign key to the table route that determines which entity route the preference applies to.
- DISPLAY_NAME — translated, user-facing name of the table route, sourced from PQH_TABLE_ROUTE.
- COPY_ENTITY_TXN_ID — identifier of the copy entity transaction under which the preference was created or applied. This is the column the searcher is looking for and is the principal link back to the parent copy operation.
- SELECT_FLAG — indicator of whether the entity is selected for inclusion in the copy.
- OBJECT_VERSION_NUMBER — optimistic locking version used by the originating form or API.
- Audit columns — LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATED_BY, and CREATION_DATE, standard WHO columns populated by the APPS schema conventions.
Common Use Cases and Queries
The most frequent requirement is to list all preferences belonging to a specific copy transaction, which is answered directly by COPY_ENTITY_TXN_ID:
SELECT copy_entity_pref_id, table_route_id, display_name, select_flag
FROM apps.pqh_copy_entity_prefs_v
WHERE copy_entity_txn_id = :p_txn_id
ORDER BY display_name;
A second scenario audits configuration across routes, identifying which entities are flagged for copying:
SELECT display_name, select_flag, copy_entity_txn_id
FROM apps.pqh_copy_entity_prefs_v
WHERE select_flag = 'Y';
Finally, because the view carries full audit columns, it supports change tracking for setup migration and reconciliation between environments:
SELECT copy_entity_pref_id, table_route_id, last_update_date, last_updated_by
FROM apps.pqh_copy_entity_prefs_v
WHERE last_update_date >= TRUNC(SYSDATE) - 30;
All queries should be issued against the APPS synonym, with the view treated as read-only; updates must be performed through the underlying preference table or the supported copy-entity APIs.
-
APPS.PQH_COPY_ENTITY_PREFS_V·↳ PQH_COPY_ENTITY_PREFS·↳ PQH_TABLE_ROUTE·Explore PQH module →
-
APPS.PQH_COPY_ENTITY_PREFS_V·↳ PQH_COPY_ENTITY_PREFS·↳ PQH_TABLE_ROUTE_TL·Explore PQH module →
-
12.2.2 DBA Data 12.2.2
-
12.1.1 FND Design Data 12.1.1
-
12.2.2 FND Design Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
eTRM - PQH Tables and Views 12.1.1
This is a Copy of PQH_WORKSHEET_PERIODS table populated by EFC (Euro as functinoal currency) process.
-
eTRM - PQH Tables and Views 12.2.2
This is a Copy of PQH_WORKSHEET_PERIODS table populated by EFC (Euro as functinoal currency) process.
-
eTRM - PQH Tables and Views 12.1.1
This is a Copy of PQH_WORKSHEET_PERIODS table populated by EFC (Euro as functinoal currency) process.
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
eTRM - PQH Tables and Views 12.2.2
This is a Copy of PQH_WORKSHEET_PERIODS table populated by EFC (Euro as functinoal currency) process.