Search Results cs_kb_set_ele_types




Overview

The CS_KB_SET_ELE_TYPES table is a core data structure within the Service (CS) knowledge base module of Oracle E-Business Suite 12.1.1 and 12.2.2. It functions as a junction or intersection table, implementing a many-to-many relationship between two fundamental knowledge base entities: set types and element types. Its primary role is to define and govern which types of content elements (e.g., solutions, notes, attachments) can be included within which types of knowledge sets (e.g., solution sets, document libraries). This relationship is essential for enforcing the structural rules and content validity of the knowledge management system, ensuring that only permissible element types are associated with a given set type during content creation and maintenance.

Key Information Stored

The table's structure is intentionally simple, consisting solely of the two foreign key columns that form its composite primary key. It does not store descriptive or transactional data itself but instead acts as a definitive mapping table. The SET_TYPE_ID column holds the unique identifier for a knowledge set type, as defined in the CS_KB_SET_TYPES_B table. The ELEMENT_TYPE_ID column holds the unique identifier for a knowledge element type, as defined in the CS_KB_ELEMENT_TYPES_B table. Each unique combination of these two IDs represents a single, authorized relationship between a specific set type and a specific element type that the application will permit.

Common Use Cases and Queries

A primary use case is the validation performed by the application's UI and APIs when a user attempts to add content to a knowledge set. The system queries this table to verify if the element type of the content being added is allowed for the set type in question. Administrators configuring the knowledge base rely on this table to understand or modify the permissible content structures. Common reporting queries involve joining to the referenced tables to produce human-readable lists of relationships. For example, to list all element types allowed for a specific set type:

  • SELECT st.name set_type_name, et.name element_type_name
  • FROM cs_kb_set_ele_types se,
  • cs_kb_set_types_b st,
  • cs_kb_element_types_b et
  • WHERE se.set_type_id = st.set_type_id
  • AND se.element_type_id = et.element_type_id
  • AND st.name = 'Solution Set';

Related Objects

The CS_KB_SET_ELE_TYPES table is centrally positioned between two key master data tables, as defined by its documented foreign key constraints. It has a mandatory relationship with the CS_KB_SET_TYPES_B table via the SET_TYPE_ID column, which defines the valid set types in the system. Similarly, it has a mandatory relationship with the CS_KB_ELEMENT_TYPES_B table via the ELEMENT_TYPE_ID column, which defines the valid content element types. These relationships ensure referential integrity; a mapping cannot exist for a set or element type that has not been formally defined in its respective base table. The table itself is referenced by application logic that validates content associations within the knowledge base.