Results for “csi_ii_relationships_h”

50+ results




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

Overview

The CSI_II_RELATIONSHIPS_H table, owned by the CSI schema, stores the complete change history of instance-to-instance (II) relationships within the Oracle E-Business Suite Install Base module. In Oracle EBS 12.1.1 and 12.2.2, the Install Base tracks customer assets, configurations, and the relationships between them—such as parent-child, component-to-assembly, or peer associations recorded in CSI_II_RELATIONSHIPS. Whenever a relationship is created, updated, or ended, the prior and new values are captured in this history table, keyed to the transaction that drove the change.

From a Data Vault modeling perspective, the heuristic classification derived from the foreign key structure suggests this object behaves as a link—it records associations between the relationship entity and the transaction/security-group entities. It carries descriptive old/new value pairs that give it a satellite-like quality, but the documented FK topology supports treating it primarily as a link capturing relationship-state transitions over time.

Key Information Stored

The table contains 54 columns. The most significant are grouped below:

Two unique indexes are documented: CSI_II_RELATIONSHIPS_H_U01 on RELATIONSHIP_HISTORY_ID, and CSI_II_RELATIONSHIPS_H_U02 on (TRANSACTION_ID, RELATIONSHIP_ID), the latter serving as the business-key candidate that guarantees one history row per relationship per transaction.

Common Use Cases and Queries

This table is queried to reconstruct the lifecycle of an Install Base relationship, perform audit and compliance reporting, and diagnose configuration changes attributable to specific transactions.

  • Audit trail of a single relationship:
    SELECT relationship_history_id, transaction_id,
           old_subject_id, new_subject_id,
           old_active_end_date, new_active_end_date,
           last_update_date
    FROM   csi.csi_ii_relationships_h
    WHERE  relationship_id = :relationship_id
    ORDER  BY last_update_date;
  • Changes produced by a given transaction:
    SELECT r.relationship_id, h.old_context, h.new_context
    FROM   csi.csi_ii_relationships_h h,
           csi.csi_ii_relationships   r
    WHERE  h.relationship_id = r.relationship_id
    AND    h.transaction_id  = :transaction_id;
  • Reverse chronological change feed for security-group-scoped reporting, joining FND_SECURITY_GROUPS via SECURITY_GROUP_ID.
  • Reconciliation between current state (CSI_II_RELATIONSHIPS) and historical snapshots for data-quality checks.

Related Objects

  • CSI_II_RELATIONSHIPS — parent relationship table; join on RELATIONSHIP_ID.
  • CSI_TRANSACTIONS — originating transaction; join on TRANSACTION_ID.
  • FND_SECURITY_GROUPS — multi-org security partitioning; join on SECURITY_GROUP_ID.
  • CSI_ITEM_INSTANCES — instance records referenced via subject IDs (OLD/NEW_SUBJECT_ID).
  • CSI_RELATIONSHIP_TYPES — defines the relationship semantics referenced by CSI_II_RELATIONSHIPS.
  • CSI_II_RELATIONSHIPS_PUB — public API package used to create and maintain relationships, which writes history rows here.