Search Results ecx_xref_dtl
Overview
The ECX_XREF_DTL table is a core data repository within the XML Gateway (ECX) module of Oracle E-Business Suite (EBS). It is specifically designed to manage detailed code conversion mappings, which are essential for electronic data interchange (EDI) and B2B integration. Its primary role is to store the actual translation values that enable the seamless exchange of business documents, such as purchase orders and invoices, between an EBS instance and its external trading partners. By mapping an organization's internal codes (e.g., item numbers, transaction types) to a trading partner's specific external codes, this table ensures that data transmitted via XML Gateway is correctly interpreted by both systems, thereby facilitating automated and error-free business communication.
Key Information Stored
The table's structure is centered around defining precise conversion rules. The key columns include:
- XREF_DTL_ID: The unique primary key identifier for each individual code mapping record.
- TP_HEADER_ID: A foreign key to ECX_TP_HEADERS, linking the mapping to a specific trading partner definition.
- XREF_CATEGORY_ID: A foreign key to ECX_XREF_HDR, categorizing the type of code being converted (e.g., Item, Unit of Measure).
- STANDARD_ID: A foreign key to ECX_STANDARDS, identifying the external messaging standard (e.g., OAG, CIDX) for the mapping.
- Complementary columns (implied by the table's purpose) would typically store the INTERNAL_CODE and EXTERNAL_CODE values that form the core of the conversion pair, along with descriptive fields and active date ranges.
Common Use Cases and Queries
This table is primarily accessed for integration setup, troubleshooting, and validation. A common operational query retrieves all active code mappings for a specific trading partner and category to verify or audit setup. For example:
SELECT internal_code, external_code
FROM ecx_xref_dtl xdtl, ecx_tp_headers tph, ecx_xref_hdr xhdr
WHERE xdtl.tp_header_id = tph.tp_header_id
AND xdtl.xref_category_id = xhdr.xref_category_id
AND tph.tp_code = 'TRADING_PARTNER_A'
AND xhdr.category_name = 'ITEM'
AND SYSDATE BETWEEN xdtl.start_date_active AND NVL(xdtl.end_date_active, SYSDATE);
During inbound or outbound XML processing, the XML Gateway engine queries this table in real-time to perform the necessary code substitutions. Support personnel also query it to diagnose mapping errors in failed document transmissions by tracing the conversion for a specific internal code.
Related Objects
ECX_XREF_DTL is a central child table within a well-defined hierarchy of XML Gateway setup entities. Its integrity and utility are governed by key relationships:
- ECX_XREF_HDR: Provides the category (header) definition for the detailed mappings via the XREF_CATEGORY_ID foreign key.
- ECX_TP_HEADERS: Defines the trading partner to which the code conversion applies via the TP_HEADER_ID foreign key.
- ECX_STANDARDS: Defines the external messaging standard (e.g., ANSI X12, EDIFACT) for the mapping via the STANDARD_ID foreign key.
- The table is also intrinsically linked to the runtime components of XML Gateway, which reference these mappings to transform document payloads during execution.
-
Table: ECX_XREF_DTL
12.1.1
product: ECX - XML Gateway , description: This table contains the trading partners code conversion values. , implementation_dba_data: Not implemented in this database ,
-
Table: ECX_XREF_DTL
12.2.2
product: ECX - XML Gateway , description: This table contains the trading partners code conversion values. , implementation_dba_data: Not implemented in this database ,
-
Table: ECX_STANDARDS
12.2.2
product: ECX - XML Gateway , description: This table contains the standards definitions , implementation_dba_data: Not implemented in this database ,
-
Table: ECX_XREF_HDR
12.2.2
product: ECX - XML Gateway , description: This table contains the code conversion categories. , implementation_dba_data: Not implemented in this database ,
-
Table: ECX_XREF_HDR
12.1.1
product: ECX - XML Gateway , description: This table contains the code conversion categories. , implementation_dba_data: Not implemented in this database ,
-
Table: ECX_STANDARDS
12.1.1
product: ECX - XML Gateway , description: This table contains the standards definitions , implementation_dba_data: Not implemented in this database ,
-
Table: ECX_TP_HEADERS
12.2.2
owner:ECX, object_type:TABLE, fnd_design_data:ECX.ECX_TP_HEADERS, object_name:ECX_TP_HEADERS, status:VALID, product: ECX - XML Gateway , description: This table contains Trading Partner header information , implementation_dba_data: ECX.ECX_TP_HEADERS ,
-
Table: ECX_TP_HEADERS
12.1.1
owner:ECX, object_type:TABLE, fnd_design_data:ECX.ECX_TP_HEADERS, object_name:ECX_TP_HEADERS, status:VALID, product: ECX - XML Gateway , description: This table contains Trading Partner header information , implementation_dba_data: ECX.ECX_TP_HEADERS ,