Results for “pon_thread_entries_s”

20 results




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

Overview

PON.PON_THREAD_ENTRIES is a transactional table within the Oracle E-Business Suite Procurement (PON) schema that stores individual messages posted to discussions and collaborative threads. Each row represents one entry — a message body, its subject, its author, and associated metadata — belonging to a thread managed through the Oracle Sourcing collaboration framework. Records are written primarily by the sourcing and negotiation user interfaces, and the table persists the complete message history for each thread so that discussion context survives across sessions and users.

The object resides in the APPS_TS_TX_DATA tablespace with a storage definition of PCT Free 10, reflecting its role as a high-volatility transactional store rather than a reference or setup table. Under the FND Design Data namespace it is registered as PON.PON_THREAD_ENTRIES. Its primary key is ENTRY_ID, populated from the sequence PON_THREAD_ENTRIES_S.

The heuristic Data Vault classification derived from the foreign-key structure is satellite-leaning. In modeling terms, this suggests treating the table as a descriptive satellite attached to the discussion/thread hub, holding the mutable descriptive attributes (content, subject, author, timestamps) of each message rather than serving as an independent hub or an association link.

Key Information Stored

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

  • ENTRY_ID — Surrogate primary key, NUMBER(15), generated from PON_THREAD_ENTRIES_S. It is also a unique business-key candidate, enforced by the unique index PON_THREAD_ENTRIES_N4.
  • DISCUSSION_ID and THREAD_NUMBER — Together these form part of the foreign key into PON_THREADS; DISCUSSION_ID also references PON_DISCUSSIONS. The non-unique index PON_THREAD_ENTRIES_N3 covers both columns, and DISCUSSION_ID is indexed independently as well, supporting thread navigation and reply sequencing.
  • FROM_ID — Foreign key to HZ_PARTIES identifying the message author. FROM_COMPANY_ID likewise references HZ_PARTIES, capturing the author's organization.
  • FROM_FIRST_NAME / FROM_LAST_NAME — Denormalized from HZ_PARTIES to preserve the author name as posted and to avoid repeated joins on high-volume reads.
  • POSTED_DATE — Timestamp of posting, used both for audit and for chronological header display.
  • CONTENT — CLOB holding the full message body; the LOB segment is backed by the unique LOB index SYS_IL0000202885C00006$$ in APPS_TS_TX_DATA. The CLOB datatype is chosen specifically to retain complete thread history.
  • PARENT_ENTRY_ID — Self-referencing pointer to the entry being replied to; indexed by non-unique index PON_THREAD_ENTRIES_N1, enabling reply-tree reconstruction.
  • SUBJECT, MESSAGE_TYPE, and BROADCAST_FLAG — Descriptive attributes governing display and routing; a broadcast flag marks messages distributed to all participants, collaboration team members, or scoring team members.
  • VENDOR_ID, FROM_COMPANY_NAME, and SCORING_TEAM_ID — Supplier and sourcing-team context; SCORING_TEAM_ID is a foreign key to PON_SCORING_TEAMS.

Common Use Cases and Queries

The dominant access pattern is retrieval of a full thread in chronological order. A typical query joins the entry table to its thread keys:

SELECT e.entry_id, e.parent_entry_id, e.subject, e.from_first_name,
       e.from_last_name, e.posted_date, e.content
  FROM pon_thread_entries e
 WHERE e.discussion_id = :discussion_id
 ORDER BY e.posted_date, e.entry_id;

Because PARENT_ENTRY_ID is indexed by PON_THREAD_ENTRIES_N1, reply-chain reconstruction is efficient when only direct children are required. Reporting use cases include message-volume analysis by discussion, author activity using FROM_ID against HZ_PARTIES, broadcast-versus-targeted message ratios using BROADCAST_FLAG, and audit of scoring-team communications via SCORING_TEAM_ID. Extraction of CONTENT requires care given the CLOB datatype; consumers should use DBMS_LOB or application-tier streaming rather than implicit conversion.

Related Objects

  • PON_THREADS — Parent thread definition; joined on DISCUSSION_ID and THREAD_NUMBER.
  • PON_DISCUSSIONS — Discussion container referenced by DISCUSSION_ID.
  • HZ_PARTIES — Source of author and company identity via FROM_ID and FROM_COMPANY_ID.
  • PON_SCORING_TEAMS — Scoring-team context via SCORING_TEAM_ID.
  • PON_TE_RECIPIENTS — Child table recording per-entry recipients, joined on ENTRY_ID.
  • PON_TE_VIEW_AUDIT — Child audit table tracking message views, joined on ENTRY_ID.

Together these relationships place PON_THREAD_ENTRIES at the center of the sourcing collaboration message model, with two dependent child tables and five inbound references from the surrounding procurement and trading-partner schemas.