Search Results xref_key




Overview

EC.ECE_XREF_DATA is a code conversion (cross-reference) table in the Oracle E-Business Suite EDI/XML Gateway schema (EC). It stores the mapping rules that translate between Oracle internal values and the external values exchanged with trading partners across inbound and outbound transactions. Each row represents one unique internal-to-external relationship, qualified by a category and up to five search keys. The table is referenced extensively by the e-Commerce Gateway during outbound document generation and inbound document processing.

From a Data Vault modeling perspective, the mined FK structure classifies ECE_XREF_DATA as satellite-leaning: it carries descriptive and directional attributes anchored to a parent category key (XREF_CATEGORY_ID) rather than acting as a pure hub or link. This classification is a heuristic suggestion only; the table predates Data Vault conventions and uses a natural surrogate key design.

Key Information Stored

XREF_DATA_ID is the system-generated surrogate primary key (backed by unique index ECE_XREF_DATA_U1); it is invisible to end users. The documented physical schema defines 25 columns, of which the following are the most operationally significant:

Common Use Cases and Queries

Typical scenarios include validating that every internal value has a defined external equivalent, auditing conversion rules per category, and troubleshooting failed EDI transactions where the cross-reference is missing or ambiguous.

  • Listing all conversion values for a category:
    SELECT XREF_INT_VALUE, XREF_EXT_VALUE1, XREF_KEY1
    FROM   EC.ECE_XREF_DATA
    WHERE  XREF_CATEGORY_ID = :p_category_id
    AND    DIRECTION = 'OUTBOUND';
  • Reverse lookup for inbound processing by external value and search key:
    SELECT XREF_INT_VALUE
    FROM   EC.ECE_XREF_DATA
    WHERE  XREF_CATEGORY_CODE = :p_code
    AND    XREF_EXT_VALUE1 = :p_ext_value
    AND    XREF_KEY1 = :p_key1;
  • Identifying orphaned or duplicate mappings using the non-unique index columns (XREF_CATEGORY_ID, XREF_DATA_ID, XREF_KEY1).
  • Reporting categories lacking required external values for go-live readiness.

Related Objects

The FK metadata identifies the following dependency chain. Additional EC.x gateway objects are commonly referenced during transaction processing.

  • EC.ECE_XREF_CATEGORIES — Parent table; join on ECE_XREF_DATA.XREF_CATEGORY_ID = ECE_XREF_CATEGORIES.XREF_CATEGORY_ID (one-to-many).
  • EC.ECE_XREF_DATA indexes — ECE_XREF_DATA_U1 (XREF_DATA_ID), ECE_XREF_DATA_N1 (XREF_CATEGORY_ID, XREF_DATA_ID, XREF_KEY1).
  • EC.ECE_TP_LOCATIONS / EC.ECE_TP_HEADERS — Trading partner definitions providing category context for inbound/outbound processing.
  • EC.ECE_IN_PROCESS_DATA / EC.ECE_OUT_PROCESS_DATA — Staging tables whose values are resolved against this table during conversion.
  • Define Code Conversion Values window — The Oracle Forms UI used to maintain rows in this table.
  • TABLE: EC.ECE_XREF_DATA 12.1.1

    owner:EC,  object_type:TABLE,  fnd_design_data:EC.ECE_XREF_DATA,  object_name:ECE_XREF_DATA,  status:VALID, 

  • TABLE: EC.ECE_XREF_DATA 12.2.2

    owner:EC,  object_type:TABLE,  fnd_design_data:EC.ECE_XREF_DATA,  object_name:ECE_XREF_DATA,  status:VALID, 

  • TABLE: EC.ECE_INTERFACE_COLUMNS 12.1.1

    owner:EC,  object_type:TABLE,  fnd_design_data:EC.ECE_INTERFACE_COLUMNS,  object_name:ECE_INTERFACE_COLUMNS,  status:VALID, 

  • TABLE: EC.ECE_INTERFACE_COLUMNS 12.2.2

    owner:EC,  object_type:TABLE,  fnd_design_data:EC.ECE_INTERFACE_COLUMNS,  object_name:ECE_INTERFACE_COLUMNS,  status:VALID, 

  • eTRM - EC Tables and Views 12.1.1

    description: Contains the information for code conversions which identify external values for a given Oracle internal value and vice versa. , 

  • eTRM - EC Tables and Views 12.2.2

    description: Contains the information for code conversions which identify external values for a given Oracle internal value and vice versa. ,