Search Results jtf_ih_media_item_lc_segs




Overview

The JTF_IH_MEDIA_ITEM_LC_SEGS table is a core data object within the Oracle E-Business Suite CRM Foundation (JTF) module. It functions as a detailed lifecycle log for media items, which are the digital or physical artifacts (e.g., emails, phone calls, web forms) managed by the Interaction History and Service modules. The table's purpose is to chronologically record distinct intervals or states in a media item's existence within the system. Each row represents a specific segment, such as creation, assignment, processing, or closure, enabling comprehensive tracking and auditing of the media item's journey from initiation to resolution.

Key Information Stored

The table stores metadata that defines each lifecycle segment. The primary identifier is the MILCS_ID (Media Item LifeCycle Segment ID). The MEDIA_ID column is a critical foreign key that links the segment to its parent media item in the JTF_IH_MEDIA_ITEMS table. The MILCS_TYPE_ID foreign key classifies the segment by referencing the JTF_IH_MEDIA_ITM_LC_SEG_TYS table, which holds types like "New", "Assigned", or "Completed". The HANDLER_ID, a foreign key to FND_APPLICATION, identifies the specific EBS application or module responsible for processing that segment. Additional columns typically include timestamps for segment start and end times, outcome codes, and agent or resource identifiers, providing a complete audit trail for the segment.

Common Use Cases and Queries

This table is essential for operational reporting and process analysis within customer service and interaction tracking. A common use case is generating a timeline report for a specific customer interaction. Analysts can query this table to determine how long a media item spent in each state, identify processing bottlenecks, or audit the sequence of handler applications involved. A typical query pattern involves joining to the media items table to filter by customer or date, and to the segment types table for readable descriptions.

  • Sample Query: Lifecycle Timeline for a Media Item
    SELECT mi.media_id, ty.segment_type_name, seg.start_date_time, seg.end_date_time, app.application_name
    FROM jtf_ih_media_item_lc_segs seg,
    jtf_ih_media_items mi,
    jtf_ih_media_itm_lc_seg_tys ty,
    fnd_application app
    WHERE seg.media_id = mi.media_id
    AND seg.milcs_type_id = ty.milcs_type_id
    AND seg.handler_id = app.application_id
    AND mi.media_id = &P_MEDIA_ID
    ORDER BY seg.start_date_time;

Related Objects

The JTF_IH_MEDIA_ITEM_LC_SEGS table is centrally connected to several key EBS objects, as defined by its foreign key constraints. Its primary relationship is with the JTF_IH_MEDIA_ITEMS table via the MEDIA_ID column, establishing the core parent-child link. Segment classification is governed by the JTF_IH_MEDIA_ITM_LC_SEG_TYS table through the MILCS_TYPE_ID column. Furthermore, the HANDLER_ID column links to the FND_APPLICATION table, which stores registered Oracle EBS applications, thereby documenting which module processed each lifecycle stage. These relationships are critical for constructing accurate joins in reports and understanding the data's integrity within the CRM Foundation schema.