Search Results old_party_number
Overview
CSI_IPH_DETAILS_V is an APPS-owned, VALID database view within the CSI (Install Base) product family in Oracle EBS 12.1.1 and 12.2.2. It is described in the ETRM metadata as the "Instance Party History details view." Its purpose is to expose the full audit trail of changes made to the parties (contacts, roles, vendors, employees and other party relationships) associated with an item instance in the Install Base. Each row of the view represents one historical change to an instance-party relationship, presenting the value of an attribute before the transaction (the OLD_ value) alongside the value after it (the NEW_ value).
The view is not a transactional entry surface; it is a read-only reporting and integration object. It supports queries that reconcile who was associated with an installed item at any point in time, what relationship type or role they held, and whether that association carried flags such as primary or preferred. The presence of the OLD_PRIMARY_FLAG / NEW_PRIMARY_FLAG column pair — the term that prompted the search for "old_primary_flag" — is characteristic of the view's before-and-after design and is central to auditing changes in the primary party designation of an instance.
Underlying Base Objects
The view is defined over three principal history and header objects and a set of lookups and descriptive joins. The documented base objects are CSI_I_PARTIES_H (synonym), CSI_I_PARTIES (synonym), CSI_I_PARTIES_H history, CSI_IPA_RELATION_TYPES (synonym), CSI_LOOKUPS (view), and, for party name and number resolution, HZ_PARTIES along with party-type sources such as JTF_RS_GROUPS_VL, JTF_RS_TEAMS_VL, PER_ALL_PEOPLE_F and PO_VENDORS.
The primary driving table is CSI_I_PARTIES_H, which stores the historical (audit) rows for instance parties; CSI_I_PARTIES holds the current detail rows. CSI_IPA_RELATION_TYPES supplies the relationship name and description both for the OLD and NEW relationship codes, while CSI_LOOKUPS supplies the meaning (translated party type) for the old and new party types. The inline subquery against CSI_I_PARTIES_H is used to derive the resolution of old and new party identifiers into display values (OLD_PARTY_NAME / OLD_PARTY_NUMBER and NEW_PARTY_NAME / NEW_PARTY_NUMBER) from the appropriate source. Collectively, these joins convert raw identifier columns into human-readable descriptions required for reporting.
Key Columns
- INSTANCE_PARTY_HISTORY_ID, INSTANCE_PARTY_ID, TRANSACTION_ID, INSTANCE_ID — Keys identifying the history record, the current party relationship, the originating transaction and the affected instance.
- OLD_PARTY_ID / NEW_PARTY_ID, OLD_PARTY_SOURCE_TABLE / NEW_PARTY_SOURCE_TABLE — The party identifier and its source entity before and after the change.
- OLD_PRIMARY_FLAG / NEW_PRIMARY_FLAG — Whether the party was the primary party for the instance before and after the transaction; this is the attribute most commonly sought when auditing primary-party reassignment.
- OLD_PREFERRED_FLAG / NEW_PREFERRED_FLAG, OLD_CONTACT_FLAG / NEW_CONTACT_FLAG — Preferred and contact designation changes.
- OLD_RELATIONSHIP_TYPE_CODE / NEW_RELATIONSHIP_TYPE_CODE — Relationship role before and after, resolved to OLD_RELATIONSHIP_NAME/DESCR and NEW_RELATIONSHIP_NAME/DESCR.
- OLD_ACTIVE_START_DATE / NEW_ACTIVE_START_DATE, OLD_ACTIVE_END_DATE / NEW_ACTIVE_END_DATE — Effective dating of the association.
- OLD_CONTEXT / NEW_CONTEXT and OLD_ATTRIBUTE1..15 / NEW_ATTRIBUTE1..15 — Descriptive flexfield context and segment values.
- OLD_PARTY_NAME / OLD_PARTY_NUMBER, NEW_PARTY_NAME / NEW_PARTY_NUMBER, OLD_PARTY_TYPE / NEW_PARTY_TYPE — Resolved display values for the party.
- FULL_DUMP_FLAG, OBJECT_VERSION_NUMBER, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — Audit and concurrency columns.
Common Use Cases and Queries
Typical uses include install-base audits, SOX-style change reporting, and data reconciliation between the Install Base and party master. A frequent query is a primary-party history for an instance:
SELECT instance_id, transaction_id, old_party_name, new_party_name,
DECODE(old_primary_flag,'Y','Yes','No') old_primary,
DECODE(new_primary_flag,'Y','Yes','No') new_primary,
last_update_date
FROM apps.csi_iph_details_v
WHERE instance_id = :p_instance_id
ORDER BY last_update_date DESC;
Another common pattern identifies parties whose primary status changed during a period, using OLD_PRIMARY_FLAG and NEW_PRIMARY_FLAG with the audit dates. Because the view joins multiple base objects, query performance is best when filtered by INSTANCE_ID or by a date range on LAST_UPDATE_DATE. Integration use is generally limited to extraction for reporting or reconciliation, since the view is read-only.
-
View: CSI_IPH_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_IPH_DETAILS_V, object_name:CSI_IPH_DETAILS_V, status:VALID, product: CSI - Install Base , description: Instance Party History details view. , implementation_dba_data: APPS.CSI_IPH_DETAILS_V ,
-
VIEW: APPS.CSI_IPH_DETAILS_V
12.1.1
-
VIEW: APPS.CSI_IPH_DETAILS_V
12.2.2
-
View: CSI_IPH_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_IPH_DETAILS_V, object_name:CSI_IPH_DETAILS_V, status:VALID, product: CSI - Install Base , description: Instance Party History details view. , implementation_dba_data: APPS.CSI_IPH_DETAILS_V ,
-
VIEW: APPS.CSI_IPH_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_IPH_DETAILS_V, object_name:CSI_IPH_DETAILS_V, status:VALID,
-
VIEW: APPS.CSI_IPH_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSI.CSI_IPH_DETAILS_V, object_name:CSI_IPH_DETAILS_V, status:VALID,
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT SQL Statements
12.1.1
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT SQL Statements
12.2.2
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on JTF_RS_GROUPS_VL
12.1.1
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on JTF_RS_GROUPS_VL
12.2.2
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on JTF_RS_TEAMS_VL
12.2.2
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on JTF_RS_TEAMS_VL
12.1.1
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on PER_ALL_PEOPLE_F
12.1.1
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on PER_ALL_PEOPLE_F
12.2.2
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on PO_VENDORS
12.2.2
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on PO_VENDORS
12.1.1
-
PACKAGE: APPS.CSI_ITEM_INSTANCE_GRP
12.2.2
-
PACKAGE: APPS.CSI_ITEM_INSTANCE_GRP
12.1.1
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on HZ_PARTIES
12.1.1
-
APPS.CSI_PARTY_RELATIONSHIPS_PVT dependencies on HZ_PARTIES
12.2.2
-
PACKAGE BODY: APPS.CSI_PARTY_RELATIONSHIPS_PVT
12.1.1
-
PACKAGE BODY: APPS.CSI_PARTY_RELATIONSHIPS_PVT
12.2.2
-
PACKAGE: APPS.CSI_DATASTRUCTURES_PUB
12.2.2
-
PACKAGE: APPS.CSI_DATASTRUCTURES_PUB
12.1.1
-
PACKAGE BODY: APPS.CSI_DATASTRUCTURES_PUB_W
12.2.2
-
PACKAGE BODY: APPS.CSI_DATASTRUCTURES_PUB_W
12.1.1
-
PACKAGE BODY: APPS.CSI_ITEM_INSTANCE_GRP
12.1.1
-
APPS.CSI_DATASTRUCTURES_PUB dependencies on FND_API
12.1.1
-
APPS.CSI_DATASTRUCTURES_PUB dependencies on FND_API
12.2.2
-
PACKAGE BODY: APPS.CSI_ITEM_INSTANCE_GRP
12.2.2
-
eTRM - CSI Tables and Views
12.1.1
description: Temporary table that holds the unprocessed XNP messages during data correction process. ,
-
eTRM - CSI Tables and Views
12.2.2
description: Temporary table that holds the unprocessed XNP messages during data correction process. ,