Search Results cs_forum_messages_b




Overview

CS_FORUM_MESSAGES_B is the base table for forum messages within the Oracle E-Business Suite Service (CS) module. It resides in the CS schema and stores the master records for threaded discussion content generated by service agents, customers, and internal users across supported service channels. In Oracle EBS 12.1.1 and 12.2.2, this table functions as the transactional anchor for the forum subsystem, holding the identifying attributes, audit columns, descriptive flexfield segments, and post metadata that define each message entity.

From a data-modeling perspective, the mined relationship metadata classifies CS_FORUM_MESSAGES_B as hub-leaning. This heuristic suggests treating MESSAGE_ID as a business hub key within a Data Vault model, with dependent attributes distributed to satellite tables (such as CS_FORUM_MESSAGES_TL and CS_FORUM_MSG_ATTRS) and relationships represented as links (such as CS_FORUM_MSG_MSGS). The table is registered as VALID in the documented schema, with thirty physical columns and a primary key constraint CS_FORUM_MESSAGES_B_PK.

Key Information Stored

The table's primary key is the surrogate identifier MESSAGE_ID, which uniquely identifies each forum message and is enforced by both CS_FORUM_MESSAGES_B_PK and the unique index CS_FORUM_MESSAGES_B_U1. Additional business-key candidates include MESSAGE_NUMBER, which supports user-facing message numbering, and MESSAGE_NAME, which carries the display name of the message record.

Among the most significant columns documented in the ETRM metadata are:

  • MESSAGE_ID – Surrogate primary key and the join key referenced by all dependent forum tables.
  • MESSAGE_TYPE – Classifies the message (for example, thread, reply, or note) for downstream routing and display logic.
  • MESSAGE_NAME and MESSAGE_NUMBER – Business identifiers used in UI rendering and reporting.
  • POSTED_DATE and POSTED_USER – Capture the posting timestamp and the posting user, essential for chronological and ownership reporting.
  • ACTIVE_STATUS – Flags whether a message is currently active or logically retired.
  • DISTRIBUTION_TYPE – Indicates the message routing or distribution behavior across channels.
  • SECURITY_GROUP_ID – Foreign key to FND_SECURITY_GROUPS, enforcing multi-org and data-security partitioning.
  • ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 – Descriptive flexfield segments enabling customer-specific extension of message metadata.
  • CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN – Standard EBS audit trail columns.

Common Use Cases and Queries

Typical reporting scenarios include forum activity analysis, agent participation tracking, and message aging reports. A common query pattern joins the base table to its translation table to retrieve language-specific content while filtering on active status and posting date range:

  • Count messages per posting user within a date range, pivoting on ACTIVE_STATUS and DISTRIBUTION_TYPE.
  • Retrieve message headers alongside translated subjects by joining MESSAGE_ID to CS_FORUM_MESSAGES_TL.
  • Traverse thread hierarchies by self-joining CS_FORUM_MSG_MSGS on MESSAGE_ID_1 and MESSAGE_ID_2.
  • Segment by category and user associations using CS_FORUM_CAT_MSGS and CS_FORUM_USER_MSGS.
  • Audit security partitioning by joining SECURITY_GROUP_ID to FND_SECURITY_GROUPS.

Related Objects

Several dependent tables reference CS_FORUM_MESSAGES_B through the MESSAGE_ID column and provide satellite and link semantics:

  • CS_FORUM_MESSAGES_TL – Translation table holding language-specific message text; joined on MESSAGE_ID.
  • CS_FORUM_MSG_ATTRS – Stores extended message attributes; joined on MESSAGE_ID.
  • CS_FORUM_MSG_MSGS – Link table capturing relationships between messages; joins via MESSAGE_ID_1 and MESSAGE_ID_2.
  • CS_FORUM_CAT_MSGS – Associates messages with forum categories; joined on MESSAGE_ID.
  • CS_FORUM_USER_MSGS – Associates messages with users; joined on MESSAGE_ID.
  • FND_SECURITY_GROUPS – Parent table referenced by SECURITY_GROUP_ID for data-security resolution.