Results for “cs_kb_set_links_u2”

12 results




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

Overview

CS_KB_SET_LINKS is a transaction data table in the CS (Service) schema that implements the one-to-many relationship between a Knowledge Base Set and external entities registered as JTF Objects. In Oracle EBS 12.1.1 and 12.2.2, this table stores the association between a Solution (or other knowledge artifact stored in a Set) and consuming modules such as Service Requests and Depot Repair. Each row links one Set to one external object instance, allowing a single knowledge set to be referenced by many external business entities.

The physical storage resides in the APPS_TS_TX_DATA tablespace with PCTFREE 10, and all four documented indexes reside in APPS_TS_TX_IDX. Based on the mined foreign-key structure to CS_KB_SETS_B, JTF_OBJECTS_B, and FND_SECURITY_GROUPS, the heuristic Data Vault classification for this object is link — it resolves many-to-many associations between knowledge sets and JTF objects rather than acting as a hub or a descriptive satellite.

Key Information Stored

The surrogate primary key is LINK_ID, enforced by the unique index CS_KB_SET_LINKS_U1 and the CS_KB_SET_LINKS_PK constraint. The business-key candidate is the composite unique index CS_KB_SET_LINKS_U2, covering OTHER_ID, OBJECT_CODE, and SET_ID; this triple prevents duplicate links between the same Set and the same external object under the same object type.

  • LINK_ID — surrogate primary key, NUMBER(15).
  • SET_ID — foreign key to CS_KB_SETS_B, identifies the knowledge set being linked.
  • OBJECT_CODE — foreign key to JTF_OBJECTS_B; the JTF object type code (for example the code for Service Request or Depot Repair).
  • OTHER_ID — the identifier of the external object instance within the JTF object type named by OBJECT_CODE.
  • OBJECT_NUMBER — the human-readable object number associated with the external entity.
  • LINK_TYPE — VARCHAR2(30) categorizing the nature of the link.
  • SECURITY_GROUP_ID — foreign key to FND_SECURITY_GROUPS, supporting multi-org/security data partitioning.
  • CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN — standard Who columns for auditability.
  • ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 — the DFF structure; ATTRIBUTE_CATEGORY defines the descriptive flexfield context and the ATTRIBUTE columns hold segment values.

Common Use Cases and Queries

Primary use cases involve reporting which solutions are attached to which Service Requests or Depot Repair orders, auditing duplicate links, and tracing knowledge usage across modules.

  • Retrieve all links for a given Set: SELECT link_id, object_code, other_id, object_number FROM cs_kb_set_links WHERE set_id = :p_set_id;
  • Locate the Set tied to a specific external object: SELECT set_id FROM cs_kb_set_links WHERE object_code = :p_code AND other_id = :p_other_id;
  • Detect duplicate-link candidates against the U2 key: SELECT other_id, object_code, set_id, COUNT(*) FROM cs_kb_set_links GROUP BY other_id, object_code, set_id HAVING COUNT(*) > 1;
  • Join to JTF_OBJECTS_B for object descriptions: SELECT l.link_id, o.object_code FROM cs_kb_set_links l, jtf_objects_b o WHERE l.object_code = o.object_code;
  • Query links created within a period for audit reporting using CREATION_DATE and CREATED_BY.

The nonunique index CS_KB_SET_LINKS_N1 on SET_ID supports efficient lookup of all links for a Set, while CS_KB_SET_LINKS_N2 on OBJECT_CODE and OTHER_ID accelerates reverse lookups from an external object back to its Sets.

Related Objects

The following tables, indexes, and constraints are the most significant dependencies based on the documented FK/parent relationships:

  • CS.CS_KB_SETS_B — parent Set table; join via CS_KB_SET_LINKS.SET_ID = CS_KB_SETS_B.SET_ID.
  • JTF_OBJECTS_B — JTF object registry; join via CS_KB_SET_LINKS.OBJECT_CODE = JTF_OBJECTS_B.OBJECT_CODE.
  • FND_SECURITY_GROUPS — security group master; join via CS_KB_SET_LINKS.SECURITY_GROUP_ID = FND_SECURITY_GROUPS.SECURITY_GROUP_ID.
  • CS_KB_SET_LINKS_PK / CS_KB_SET_LINKS_U1 — primary key and unique index on LINK_ID.
  • CS_KB_SET_LINKS_U2 — composite unique index on OTHER_ID, OBJECT_CODE, SET_ID (the business-key candidate referenced in the user search).
  • CS_KB_SET_LINKS_N1 / CS_KB_SET_LINKS_N2 — nonunique supporting indexes for reverse and forward lookups.