Results for “old_primary_flag”

4 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

The CSI_I_PARTIES_H table is an Install Base historical audit table within the Oracle E-Business Suite CSI (Customer Support & Install Base) product family. Its documented description is "Instance - Party Association History," indicating that it stores the temporal history of associations between Install Base instances and the parties (customers, contacts, or other party entities) linked to them through the CSI_I_PARTIES table. Where the base table captures the current state of an instance-to-party relationship, this history table preserves the before-and-after image of each change so that prior states remain queryable long after the live record has been updated or reassigned.

From a heuristic Data Vault modeling perspective, the foreign-key topology classifies this object as a link — specifically a transactional link, since it records the occurrence of a change event identified by TRANSACTION_ID and anchored to the INSTANCE_PARTY_ID relationship. This classification is a structural suggestion derived from the FK pattern rather than a documented Data Vault design; the physical schema is a conventional Oracle EBS change-tracking table with paired OLD/NEW column images. The table is owned by the CSI schema, is VALID at release 12.2.2, and contains 62 documented columns.

Key Information Stored

The surrogate primary key is INSTANCE_PARTY_HISTORY_ID, enforced by constraint CSI_I_PARTIES_H_PK and backed by unique index CSI_I_PARTIES_H_U01. A second unique index, CSI_I_PARTIES_H_U02 on (TRANSACTION_ID, INSTANCE_PARTY_ID), serves as the principal business-key candidate, guaranteeing that no more than one history row exists per transaction per party association.

Fifteen further attribute pairs (OLD_ATTRIBUTE1–OLD_ATTRIBUTE15 and their NEW_ counterparts) and context columns (OLD_CONTEXT / NEW_CONTEXT) carry descriptive flexfield history.

Common Use Cases and Queries

Typical usage centers on reconstructing the state of an instance's party relationships as of a point in time, auditing who reassigned a party and through which transaction, and reconciling Install Base changes against the transactions that produced them.

  • Change audit trail for one association: select all history rows for a given INSTANCE_PARTY_ID, ordered by LAST_UPDATE_DATE, comparing OLD and NEW column pairs to describe each transition.
  • Transaction-driven investigation: join TRANSACTION_ID to CSI_TRANSACTIONS to identify the business event responsible for a party reassignment.
  • Point-in-time reporting: filter on NEW_ACTIVE_START_DATE and NEW_ACTIVE_END_DATE to reproduce the effective relationship at a historical date.
  • Party reassignment counts: aggregate by NEW_RELATIONSHIP_TYPE_CODE or NEW_PARTY_ID to measure churn in instance ownership or support responsibility.
  • Migration verification: use MIGRATED_FLAG and FULL_DUMP_FLAG to isolate rows generated by data conversion versus live transactions.

A representative pattern combines the history table with its parent and the transaction table:

SELECT h.INSTANCE_PARTY_HISTORY_ID, h.TRANSACTION_ID, h.OLD_PARTY_ID, h.NEW_PARTY_ID, h.NEW_RELATIONSHIP_TYPE_CODE FROM csi.csi_i_parties_h h WHERE h.INSTANCE_PARTY_ID = :instance_party_id ORDER BY h.LAST_UPDATE_DATE;

Related Objects

The most significant related objects, based on documented foreign-key relationships, are as follows.

  • CSI_I_PARTIES — the current-state parent, joined on CSI_I_PARTIES_H.INSTANCE_PARTY_ID = CSI_I_PARTIES.INSTANCE_PARTY_ID.
  • CSI_TRANSACTIONS — the originating transaction, joined on CSI_I_PARTIES_H.TRANSACTION_ID = CSI_TRANSACTIONS.TRANSACTION_ID.
  • FND_SECURITY_GROUPS — referenced through SECURITY_GROUP_ID, supporting Multi-Org access control.
  • CSI_INSTANCES — the Install Base instance reached through the parent CSI_I_PARTIES record, providing instance-level context for party history.
  • CSI_ITEM_INSTANCES and related CSI Inventory/Install Base views — commonly joined for reporting on instance ownership changes.
  • HZ_PARTIES and HZ_RELATIONSHIPS — TCA party master tables that resolve OLD_PARTY_ID and NEW_PARTY_ID to descriptive party names.
  • Install Base public APIs in the CSI schema — the transactional entry points that generate the records captured here.

Together these objects position CSI_I_PARTIES_H as the historical link between live Install Base party associations and the transactions that mutate them.