Results for “cs_kb_set_chg_hists”

24 results




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

Overview

CS_KB_SET_CHG_HISTS is a table in the CS (Service) product schema of Oracle E-Business Suite, documented as VALID in both 12.1.1 and 12.2.2. Its stated purpose is to store knowledge base set change histories, implementing the many-to-many relationship between knowledge base sets and their change history records. The table is a historical remnants object: Oracle's own documentation records that it has not been used since before release 11.5.8. Consequently, in any 12.1.1 or 12.2.2 environment the table will typically exist with its original DDL and indexes but contain no rows written by current application logic.

From a modeling perspective, the Data Vault classification mined from the foreign key structure is a link. This is a sound suggestion: the primary key is composed entirely of two foreign key columns, and the table exists solely to associate two independent entities — knowledge base sets and history records — in a many-to-many pattern. There is no descriptive business payload that would justify treating it as a satellite; the remaining columns are standard who-columns and a DFF-style attribute block.

Key Information Stored

The table contains 25 documented columns. The most significant are:

The surrogate/primary key is CS_KB_SET_CHG_HISTS_PK, defined on (SET_ID, HISTORY_ID). A second unique index, CS_KB_SET_CHG_HISTS_U1, is documented on the same two columns. Because the PK columns are entirely foreign keys to the two parent entities, there is no separate business-key candidate distinct from the entity resolution keys themselves; the pair (SET_ID, HISTORY_ID) is both the unique identifier and the natural link key.

Common Use Cases and Queries

Because the table is obsolete, its use cases are largely diagnostic, migration-related, or archaeological. Typical scenarios include confirming whether legacy data survived upgrades, validating orphan rows before a clean-up exercise, and documenting the historical data model during a re-implementation that replaces knowledge base functionality with Oracle Knowledge or an external KM platform.

A basic reconciliation query returns the join keys and their parents:

SELECT h.SET_ID, h.HISTORY_ID, h.CHG_TYPE,
       h.CREATION_DATE, h.SECURITY_GROUP_ID
  FROM   CS.CS_KB_SET_CHG_HISTS h
  WHERE  h.SET_ID = :set_id;

An existence check is the most common operational query, since most sites expect zero rows:

SELECT COUNT(*) FROM CS.CS_KB_SET_CHG_HISTS;

Orphan detection joins to the parent tables to find rows whose set or history no longer exists:

SELECT h.SET_ID, h.HISTORY_ID
  FROM   CS.CS_KB_SET_CHG_HISTS h
  WHERE  NOT EXISTS (SELECT 1 FROM CS.CS_KB_SETS_B s
                     WHERE s.SET_ID = h.SET_ID)
     OR  NOT EXISTS (SELECT 1 FROM CS.CS_KB_HISTORIES_B b
                     WHERE b.HISTORY_ID = h.HISTORY_ID);

For reporting, the table is not a viable source of current service knowledge base analytics; consult the live knowledge base tables instead.

Related Objects

  • CS_KB_SETS_B — parent set table; joined on SET_ID (CS_KB_SETS_B.SET_ID = CS_KB_SET_CHG_HISTS.SET_ID).
  • CS_KB_HISTORIES_B — parent history table; joined on HISTORY_ID (CS_KB_HISTORIES_B.HISTORY_ID = CS_KB_SET_CHG_HISTS.HISTORY_ID).
  • FND_SECURITY_GROUPS — referenced by SECURITY_GROUP_ID, providing multi-org security group context.
  • CS_KB_SET_CHG_HISTS_PK / CS_KB_SET_CHG_HISTS_U1 — the primary key constraint and unique index enforcing uniqueness on (SET_ID, HISTORY_ID).
  • Other CS_KB_* knowledge base family tables (sets, histories, and their related child tables) that share the SET_ID and HISTORY_ID key domains and would be examined together during any legacy data investigation.