Search Results ecx_xref_hdr_b




Overview

The ECX_XREF_HDR_B table is a core data structure within the XML Gateway (ECX) module of Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2. It functions as the master definition table for code conversion categories, a critical component for enabling disparate trading partners to exchange business documents. The XML Gateway facilitates B2B and A2A integration by transforming internal EBS data formats into standardized external XML messages and vice-versa. This table provides the categorical framework for mapping internal application values, such as transaction types or unit of measure codes, to equivalent values understood by an external partner's system, ensuring semantic consistency across organizational boundaries.

Key Information Stored

The primary purpose of the table is to define and manage distinct categories of code conversions. While the full column list is not detailed in the provided metadata, the documented primary key and foreign key relationship reveal its essential structure. The central column is XREF_CATEGORY_ID, which serves as the unique identifier (Primary Key: ECX_XREF_HDR_B_PK) for each conversion category. Typical categories stored might include, but are not limited to, ORDER_TYPE, ITEM_CODE, CUSTOMER_STATUS, or COUNTRY_CODE. The table likely contains additional descriptive columns, such as a name, description, and active date fields, to manage the lifecycle and purpose of each category definition.

Common Use Cases and Queries

This table is primarily accessed during the setup and execution of XML Gateway transactions. Administrators query it to review or maintain existing conversion categories. A common operational query involves joining to its detail table to see all mappings for a specific partner or document type. For example, to list all code conversion categories available in the system, a query would be: SELECT xref_category_id, name FROM ecx_xref_hdr_b WHERE enabled_flag = 'Y' ORDER BY name;. For troubleshooting inbound or outbound XML messages, support personnel might query the specific mappings under a category to verify the translation logic: SELECT internal_code, external_code FROM ecx_xref_dtl_b WHERE xref_category_id = (SELECT xref_category_id FROM ecx_xref_hdr_b WHERE name = 'ORDER_TYPE') AND trading_partner_id = <PARTNER_ID>;.

Related Objects

  • ECX_XREF_DTL_B: This is the most directly related object, holding the actual code mapping values. A foreign key constraint (ECX_XREF_DTL_B.XREF_CATEGORY_ID) enforces referential integrity, ensuring every detail mapping record is associated with a valid category defined in the ECX_XREF_HDR_B table.
  • ECX_TRANSACTIONS: Outbound and inbound XML Gateway transactions may reference code conversion categories during payload generation or processing.
  • Trading Partner Setup: Definitions for specific trading partners (likely in tables like ECX_PARTY_MAP or similar) are configured to use specific conversion categories for different document types.