Results for “jtf_ih_activities_vl”

50+ results




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

Overview

JTF_IH_ACTIVITIES_VL is an Oracle E-Business Suite database view owned by the APPS schema and defined within the JTF - CRM Foundation product family. It exposes the interaction history activities of the CRM Interaction History module in a denormalized, presentation-ready form. Where the underlying transactional table JTF_IH_ACTIVITIES stores raw activity records, this view joins those records to the surrounding interaction context, party identity, resource, media item, lookup, and reference data needed to render a meaningful activity row. In Oracle EBS 12.1.1 and 12.2.2, the object is documented as VALID. Its practical role is twofold: it supports CRM reporting and inquiry screens that list call activities, and it provides a stable, joined interface for custom reporting, extracts, and integration routines that must not query the base tables directly.

Underlying Base Objects

The view is constructed primarily from JTF_IH_ACTIVITIES (aliased ACT), which supplies the core activity columns, and JTF_IH_INTERACTIONS (INT), which contributes the owning interaction's resource, handler, and party identifiers. HZ_PARTIES (HZ) provides the party name, while HZ_CUST_ACCOUNTS supplies the account number. JTF_IH_MEDIA_ITEMS (MEDIA) adds the media direction and media item attributes that describe the channel of the activity. Descriptive, translated lookups are drawn from JTF_IH_OUTCOMES_TL, JTF_IH_RESULTS_TL, JTF_IH_REASONS_TL, JTF_IH_ACTIONS_TL, and JTF_IH_ACTION_ITEMS_TL. FND_APPLICATION_VL supplies the application short name and name, and additional object-function metadata comes from JTF_OBJECTS_B and JTF_TASKS_B. Resource details are resolved through JTF_RS_RESOURCE_EXTNS_VL. The view therefore spans both transactional and reference data, which explains its breadth and the volume of joined columns it exposes.

Key Columns

Common Use Cases and Queries

Typical scenarios include listing all activities for a customer, reporting activity volumes by resource or channel, and extracting interaction history for analytics or archival. Because the view already resolves the party, resource, media, and translated lookup descriptions, most queries need no additional joins.

SELECT activity_id, interaction_id, party_name, resource_name,
       start_date_time, duration, outcome_code, out_desc,
       direction, media_item_type
FROM   apps.jtf_ih_activities_vl
WHERE  interaction_id = :p_interaction_id
ORDER  BY start_date_time;
SELECT resource_name, direction, COUNT(*) activity_count
FROM   apps.jtf_ih_activities_vl
WHERE  start_date_time BETWEEN :p_from AND :p_to
GROUP  BY resource_name, direction
ORDER  BY activity_count DESC;

In both patterns the view serves as a reporting layer over the CRM Foundation interaction history model, allowing consumers to avoid direct dependency on JTF_IH_ACTIVITIES and its satellite tables.