Search Results jtf_ih_import
Overview
The APPS.JTF_IH_IMPORT package body is a core component of the Oracle E-Business Suite Interaction History (IH) data import infrastructure. Its business function is to load staged interaction history data — customer interactions, activities performed during those interactions, and associated media items — into the production Interaction History tables. The package supports a two-phase import model: records can first be tested for validity and then imported, with both phases tracked through status flags (0 = not tested or tested/imported with errors, 1 = tested successfully, 2 = imported). This staging model allows data stewards to review errors and duplicates before committing records to the live IH schema.
The most recent documented header revision is 115.50 (2004/07/28). The package is owned by APPS and is classified as OTHER in the ETRM metadata for 12.2.2. Interaction History is used predominantly by CRM Foundation / TeleSales and Contact Center deployments, where external call detail records, campaign responses, or legacy interaction data must be bulk-loaded into EBS.
Key Procedures and Functions
- GO_TEST — The validation entry point. It evaluates staged interaction, activity, and media item records without committing them to the production IH tables, recording outcomes in the corresponding staging log tables. Records that pass validation are flagged as tested successfully (status 1).
- GO_IMPORT — The import entry point. It reads staged records (typically those that passed
GO_TEST) and inserts them into the production Interaction History tables, updating log records with status 2 to indicate successful import.
The package body additionally relies on internal (undocumented in ETRM) helper structures, including Insert_Interaction_Log, Insert_Activity_Log, Insert_Media_Item_Log, and the function ChkDuplicate, all of which accept a nSessionNo (session number) parameter. This is the identifier that ties every row produced during a single import run together, and it is why the search term session_no maps directly to this package. Each invocation of GO_TEST or GO_IMPORT generates or receives a session number, and every log row written during that run is stamped with the same value, enabling later query of the complete audit trail for a given import batch.
Tables Accessed
The package operates against staging and log tables via APPS synonyms:
- JTF_IH_INTERACTIONS_STG and JTF_IH_INTERACTIONS_STG_LOG — source interaction headers and their per-session validation/import log records.
- JTF_IH_ACTIVITIES_STG and JTF_IH_ACTIVITIES_STG_LOG — activities associated with each interaction, plus the corresponding log.
- JTF_IH_MEDIA_ITEMS_STG and JTF_IH_MEDIA_ITEMS_STG_LOG — media items linked to activities, plus the corresponding log.
- JTF_IH_IMPORT_S1 — an import-specific sequence, used to generate surrogate key values.
- DUAL — used for singleton SELECT statements (for example, sequence
NEXTVALretrieval).
Production IH tables (such as JTF_IH_INTERACTIONS, JTF_IH_ACTIVITIES, and JTF_IH_MEDIA_ITEMS) are populated as part of GO_IMPORT. The log tables are the primary mechanism by which session-level diagnostics are surfaced to the user.
Usage Notes
JTF_IH_IMPORT is typically invoked by a concurrent program that accepts a session number (or generates one) and drives the test/import cycle. It may also be called from custom PL/SQL that pre-populates the staging tables and then calls GO_TEST followed by GO_IMPORT. Because the header dates from 2004 and later bug fixes existed (for example, bug 3163407, which removed a hard-coded APPS schema reference), the 12.1.1 and 12.2.2 versions may differ in minor internal behavior even though the public procedure names are stable. The package is not referenced by any other documented package, so callers should treat it as a direct entry point. When troubleshooting failed imports, querying the three staging log tables filtered by SESSION_NO is the standard diagnostic path.
-
PACKAGE BODY: APPS.JTF_IH_IMPORT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_IH_IMPORT, status:VALID,
-
Concurrent Program: JTFIHIMPORT
12.1.1
execution_filename: JTF_IH_IMPORT.GO_IMPORT , product: JTF - CRM Foundation , user_name: JTF_IH_IMPORT , description: Interaction History Data Import , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
Concurrent Program: JTFIHIMPORT
12.2.2
execution_filename: JTF_IH_IMPORT.GO_IMPORT , product: JTF - CRM Foundation , user_name: JTF_IH_IMPORT , description: Interaction History Data Import , argument_method: Standard , enabled: Yes , execution_method: PL/SQL Stored Procedure ,
-
PACKAGE: APPS.JTF_IH_IMPORT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTF_IH_IMPORT, status:VALID,
-
PACKAGE: APPS.JTF_IH_IMPORT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JTF_IH_IMPORT, status:VALID,
-
PACKAGE BODY: APPS.JTF_IH_IMPORT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:JTF_IH_IMPORT, status:VALID,
-
TABLE: JTF.JTF_IH_MEDIA_ITEMS_STG
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_MEDIA_ITEMS_STG, object_name:JTF_IH_MEDIA_ITEMS_STG, status:VALID,
-
TABLE: JTF.JTF_IH_MEDIA_ITEMS_STG_LOG
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_MEDIA_ITEMS_STG_LOG, object_name:JTF_IH_MEDIA_ITEMS_STG_LOG, status:VALID,
-
SYNONYM: APPS.JTF_IH_MEDIA_ITEMS_STG_LOG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_MEDIA_ITEMS_STG_LOG, status:VALID,
-
SYNONYM: APPS.JTF_IH_ACTIVITIES_STG_LOG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_ACTIVITIES_STG_LOG, status:VALID,
-
SYNONYM: APPS.JTF_IH_MEDIA_ITEMS_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_MEDIA_ITEMS_STG, status:VALID,
-
SYNONYM: APPS.JTF_IH_IMPORT_S1
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_IMPORT_S1, status:VALID,
-
PACKAGE: APPS.JTF_IH_IMPORT
12.1.1
-
PACKAGE: APPS.JTF_IH_IMPORT
12.2.2
-
SYNONYM: APPS.JTF_IH_ACTIVITIES_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_ACTIVITIES_STG, status:VALID,
-
SYNONYM: APPS.JTF_IH_MEDIA_ITEMS_STG_LOG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_MEDIA_ITEMS_STG_LOG, status:VALID,
-
SYNONYM: APPS.JTF_IH_ACTIVITIES_STG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_ACTIVITIES_STG, status:VALID,
-
SYNONYM: APPS.JTF_IH_ACTIVITIES_STG_LOG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_ACTIVITIES_STG_LOG, status:VALID,
-
SYNONYM: APPS.JTF_IH_INTERACTIONS_STG_LOG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_INTERACTIONS_STG_LOG, status:VALID,
-
SYNONYM: APPS.JTF_IH_INTERACTIONS_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_INTERACTIONS_STG, status:VALID,
-
SYNONYM: APPS.JTF_IH_MEDIA_ITEMS_STG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_MEDIA_ITEMS_STG, status:VALID,
-
SYNONYM: APPS.JTF_IH_INTERACTIONS_STG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_INTERACTIONS_STG, status:VALID,
-
SYNONYM: APPS.JTF_IH_INTERACTIONS_STG_LOG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_INTERACTIONS_STG_LOG, status:VALID,
-
SYNONYM: APPS.JTF_IH_IMPORT_S1
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_IH_IMPORT_S1, status:VALID,
-
TABLE: JTF.JTF_IH_MEDIA_ITEMS_STG
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_MEDIA_ITEMS_STG, object_name:JTF_IH_MEDIA_ITEMS_STG, status:VALID,
-
TABLE: JTF.JTF_IH_MEDIA_ITEMS_STG_LOG
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_MEDIA_ITEMS_STG_LOG, object_name:JTF_IH_MEDIA_ITEMS_STG_LOG, status:VALID,
-
TABLE: JTF.JTF_IH_ACTIVITIES_STG
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_ACTIVITIES_STG, object_name:JTF_IH_ACTIVITIES_STG, status:VALID,
-
TABLE: JTF.JTF_IH_ACTIVITIES_STG
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_ACTIVITIES_STG, object_name:JTF_IH_ACTIVITIES_STG, status:VALID,
-
TABLE: JTF.JTF_IH_INTERACTIONS_STG
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_INTERACTIONS_STG, object_name:JTF_IH_INTERACTIONS_STG, status:VALID,
-
TABLE: JTF.JTF_IH_INTERACTIONS_STG_LOG
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_INTERACTIONS_STG_LOG, object_name:JTF_IH_INTERACTIONS_STG_LOG, status:VALID,
-
TABLE: JTF.JTF_IH_INTERACTIONS_STG_LOG
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_INTERACTIONS_STG_LOG, object_name:JTF_IH_INTERACTIONS_STG_LOG, status:VALID,
-
TABLE: JTF.JTF_IH_INTERACTIONS_STG
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_INTERACTIONS_STG, object_name:JTF_IH_INTERACTIONS_STG, status:VALID,
-
PACKAGE: APPS.JTF_IH_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JTF_IH_PUB, status:VALID,
-
PACKAGE: APPS.JTF_IH_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTF_IH_PUB, status:VALID,
-
TABLE: JTF.JTF_IH_ACTIVITIES_STG_LOG
12.1.1
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_ACTIVITIES_STG_LOG, object_name:JTF_IH_ACTIVITIES_STG_LOG, status:VALID,
-
TABLE: JTF.JTF_IH_ACTIVITIES_STG_LOG
12.2.2
owner:JTF, object_type:TABLE, fnd_design_data:JTF.JTF_IH_ACTIVITIES_STG_LOG, object_name:JTF_IH_ACTIVITIES_STG_LOG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.JTF_IH_IMPORT dependencies on JTF_IH_IMPORT
12.1.1
-
APPS.JTF_IH_IMPORT dependencies on JTF_IH_IMPORT
12.2.2
-
PACKAGE BODY: APPS.JTF_IH_IMPORT
12.2.2
-
PACKAGE BODY: APPS.JTF_IH_IMPORT
12.1.1
-
PACKAGE: APPS.FND_FILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
eTRM - JTF Tables and Views
12.2.2
description: Interface table to store data that needs to be displayed in Excel ,
-
eTRM - JTF Tables and Views
12.1.1
description: Interface table to store data that needs to be displayed in Excel ,
-
PACKAGE: APPS.FND_MSG_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,