Search Results cs_forum_cat_msgs




Overview

CS_FORUM_CAT_MSGS is a Service (CS) module table in Oracle E-Business Suite 12.1.1 and 12.2.2 that stores the association between forum categories and the individual messages posted within them. In operational terms, it acts as the cross-reference that determines which forum messages belong to which category. The table is owned by the CS schema and is documented as VALID in the ETRM metadata for both releases.

The heuristic Data Vault classification mined from the foreign key structure is link. This is a modeling suggestion: the table does not carry its own natural business entity, but instead resolves a many-to-many or associative relationship between two hubs — forum categories and forum messages. The composite primary key of two foreign keys is the classic signature of a link table.

Key Information Stored

The table contains 24 documented columns. The most significant are the two key columns that define the row identity:

There is no separate single-column surrogate key. The primary key is the composite of CATEGORY_ID and MESSAGE_ID. The unique index CS_FORUM_CAT_MSGS_U1 covers the same two columns, making the pair the effective business-key candidate and preventing duplicate category-message pairings.

Common Use Cases and Queries

Typical use cases include retrieving all messages in a given forum category, determining which categories a message has been posted to, and driving threaded discussion reports. A standard join pattern is:

  • Join CS_FORUM_CAT_MSGS to CS_FORUM_CATEGORIES_B on CATEGORY_ID to obtain category names and metadata.
  • Join CS_FORUM_CAT_MSGS to CS_FORUM_MESSAGES_B on MESSAGE_ID to obtain message subject and body.
  • Filter by SECURITY_GROUP_ID to enforce the caller's security context, or join to FND_SECURITY_GROUPS for security-group reporting.

A representative query selects c.CATEGORY_NAME, m.MESSAGE_SUBJECT from CS_FORUM_CAT_MSGS fcm, CS_FORUM_CATEGORIES_B c, CS_FORUM_MESSAGES_B m where fcm.CATEGORY_ID = c.CATEGORY_ID and fcm.MESSAGE_ID = m.MESSAGE_ID and fcm.SECURITY_GROUP_ID = :p_security_group. Reporting use cases include forum activity metrics per category, message distribution counts, and audit extracts based on the CREATION_DATE and LAST_UPDATE_DATE columns.

Related Objects

The following objects are the most significant dependents and references based on the documented foreign key and primary key relationships:

  • CS_FORUM_CATEGORIES_B — Referenced by CS_FORUM_CAT_MSGS.CATEGORY_ID; the parent category definition.
  • CS_FORUM_MESSAGES_B — Referenced by CS_FORUM_CAT_MSGS.MESSAGE_ID; the parent message definition.
  • FND_SECURITY_GROUPS — Referenced by CS_FORUM_CAT_MSGS.SECURITY_GROUP_ID; governs row-level security partitioning.
  • CS_FORUM_CAT_MSGS_PK — The composite primary key constraint on (CATEGORY_ID, MESSAGE_ID).
  • CS_FORUM_CAT_MSGS_U1 — The unique index on (CATEGORY_ID, MESSAGE_ID), enforcing business-key uniqueness.

Because the table functions purely as an associative link, it should be treated as a join bridge rather than a transactional entity, and any ETL or integration design should preserve the composite key to avoid orphaning category-message relationships.