Search Results ece_attachment_headers
Overview
ECE_ATTACHMENT_HEADERS is a transient staging table owned by the EC (e-Commerce Gateway) schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It stores temporary header-level data that the e-Commerce Gateway uses to extract document attachments during outbound and inbound transaction processing. Because the e-Commerce Gateway operates on batched, run-based transactions, this table functions as an intermediate holding area: attachment metadata is written, associated with a specific extraction run and transaction record, and then consumed by the gateway's extraction logic. The table's 41 documented columns reflect a hybrid design that combines attachment identification, multi-part key values (PK1_VALUE through PK5_VALUE), and the standard EBS WHO columns used across nearly every transactional table.
From a heuristic Data Vault classification perspective, the mined FK structure suggests this object is best modeled as a standalone structure rather than a hub, link, or satellite. Although it carries a foreign key to FND_ATTACHED_DOCUMENTS and a unique business key, its temporary, run-scoped nature means it does not persist as durable reference data in the way a typical Hub (business key registry) or Satellite (descriptive history) would. Modelers building a warehouse layer should treat it as an operational staging artifact keyed by TRANSACTION_RECORD_ID.
Key Information Stored
The table's most operationally significant columns fall into four groups:
- Run and program context: RUN_ID groups all attachment rows produced by a single e-Commerce Gateway extraction execution. REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, and PROGRAM_UPDATE_DATE tie the row back to the concurrent request that generated it.
- Attachment identification: ATTACHED_DOCUMENT_ID is the FK to FND_ATTACHED_DOCUMENTS. DOCUMENT_ID, ENTITY_NAME, NAME, ATT_SEQ_NUM, USAGE_TYPE, DESCRIPTION, DATATYPE_ID, and LANGUAGE describe the attached document and its handling.
- Multi-part source key: PK1_VALUE through PK5_VALUE carry the concatenated key segments that identify the source transactional entity whose attachment is being extracted.
- Business key and audit columns: TRANSACTION_RECORD_ID is the documented unique index candidate (ECE_ATTACHMENT_HEADERS_U1) and therefore the de facto surrogate business key. The WHO columns — CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN — provide standard auditability, while ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 offer the descriptive flexfield extensibility typical of EC tables.
Common Use Cases and Queries
The primary use case is diagnosing attachment extraction failures in the e-Commerce Gateway. When an outbound document (such as an invoice or purchase order) fails to carry its PDF or text attachment, DBAs query this table by RUN_ID or TRANSACTION_RECORD_ID to confirm whether the attachment was staged. A representative query is:
SELECT RUN_ID, TRANSACTION_RECORD_ID, ATTACHED_DOCUMENT_ID, ENTITY_NAME, NAME, USAGE_TYPE FROM ECE_ATTACHMENT_HEADERS WHERE RUN_ID = :run_id ORDER BY ATT_SEQ_NUM;- Reconciling staged attachments against the source registry with
... JOIN FND_ATTACHED_DOCUMENTS fad ON fad.ATTACHED_DOCUMENT_ID = eah.ATTACHED_DOCUMENT_ID. - Reporting attachment volume per extraction run or per entity using GROUP BY RUN_ID or ENTITY_NAME.
- Identifying stale or orphaned staging rows, since the table is temporary in nature and rows accumulate from historical runs that can be purged by age via CREATION_DATE.
Related Objects
- FND_ATTACHED_DOCUMENTS — referenced by ECE_ATTACHMENT_HEADERS.ATTACHED_DOCUMENT_ID; the authoritative attachment registry.
- FND_DOCUMENTS / FND_DOCUMENT_ENTITIES — the underlying document and entity definitions that FND_ATTACHED_DOCUMENTS resolves to.
- FND_LOBS — stores the actual attachment binary content associated with the attached document.
- ECE_ATTACHMENT_LINES — the line-level counterpart that typically pairs with this header table during extraction.
- ECX_OUTBOUND_LOG / ECX_INBOUND_LOG — transaction logs whose run identifiers correlate with RUN_ID.
- FND_CONCURRENT_REQUESTS — joins on REQUEST_ID to identify the concurrent program execution that staged each row.
- ECX_TP_HEADERS and related EC transaction tables — provide the transactional context for PK1_VALUE through PK5_VALUE.
Together, these relationships make ECE_ATTACHMENT_HEADERS a diagnostic staging layer rather than a permanent data store, which governs how it should be queried, reported on, and purged.
-
Table: ECE_ATTACHMENT_HEADERS
12.2.2
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_HEADERS, object_name:ECE_ATTACHMENT_HEADERS, status:VALID, product: EC - e-Commerce Gateway , description: Contains the temporary header data for extracting attachments. , implementation_dba_data: EC.ECE_ATTACHMENT_HEADERS ,
-
Table: ECE_ATTACHMENT_HEADERS
12.1.1
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_HEADERS, object_name:ECE_ATTACHMENT_HEADERS, status:VALID, product: EC - e-Commerce Gateway , description: Contains the temporary header data for extracting attachments. , implementation_dba_data: EC.ECE_ATTACHMENT_HEADERS ,
-
SYNONYM: APPS.ECE_ATTACHMENT_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ECE_ATTACHMENT_HEADERS, status:VALID,
-
VIEW: EC.ECE_ATTACHMENT_HEADERS#
12.2.2
-
SYNONYM: APPS.ECE_ATTACHMENT_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ECE_ATTACHMENT_HEADERS, status:VALID,
-
VIEW: EC.ECE_ATTACHMENT_HEADERS#
12.2.2
owner:EC, object_type:VIEW, object_name:ECE_ATTACHMENT_HEADERS#, status:VALID,
-
Table: ECE_ATTACHMENT_HEADERS_X
12.1.1
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_HEADERS_X, object_name:ECE_ATTACHMENT_HEADERS_X, status:VALID, product: EC - e-Commerce Gateway , description: Extension table for ECE_ATTACHMENT_HEADERS. , implementation_dba_data: EC.ECE_ATTACHMENT_HEADERS_X ,
-
Table: ECE_ATTACHMENT_HEADERS_X
12.2.2
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_HEADERS_X, object_name:ECE_ATTACHMENT_HEADERS_X, status:VALID, product: EC - e-Commerce Gateway , description: Extension table for ECE_ATTACHMENT_HEADERS. , implementation_dba_data: EC.ECE_ATTACHMENT_HEADERS_X ,
-
TABLE: EC.ECE_ATTACHMENT_HEADERS
12.1.1
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_HEADERS, object_name:ECE_ATTACHMENT_HEADERS, status:VALID,
-
TABLE: EC.ECE_ATTACHMENT_HEADERS
12.2.2
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_HEADERS, object_name:ECE_ATTACHMENT_HEADERS, status:VALID,
-
PACKAGE BODY: APPS.ECE_POO_TRANSACTION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ECE_POO_TRANSACTION, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.ECE_POO_TRANSACTION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ECE_POO_TRANSACTION, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
TABLE: EC.ECE_ATTACHMENT_HEADERS_X
12.2.2
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_HEADERS_X, object_name:ECE_ATTACHMENT_HEADERS_X, status:VALID,
-
TABLE: EC.ECE_ATTACHMENT_HEADERS_X
12.1.1
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_HEADERS_X, object_name:ECE_ATTACHMENT_HEADERS_X, status:VALID,
-
TABLE: EC.ECE_ATTACHMENT_DETAILS
12.1.1
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_DETAILS, object_name:ECE_ATTACHMENT_DETAILS, status:VALID,
-
TABLE: EC.ECE_ATTACHMENT_DETAILS
12.2.2
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_ATTACHMENT_DETAILS, object_name:ECE_ATTACHMENT_DETAILS, status:VALID,
-
APPS.ECE_POO_TRANSACTION SQL Statements
12.2.2
-
APPS.ECE_POO_TRANSACTION SQL Statements
12.1.1
-
APPS.ECE_POO_TRANSACTION dependencies on ECE_ATTACHMENT_HEADERS
12.1.1
-
APPS.ECE_POO_TRANSACTION dependencies on ECE_ATTACHMENT_HEADERS
12.2.2
-
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. ,
-
APPS.ECE_POO_TRANSACTION dependencies on ECE_ATTACHMENT_DETAILS
12.2.2
-
APPS.ECE_POO_TRANSACTION dependencies on ECE_ATTACHMENT_DETAILS
12.1.1
-
PACKAGE BODY: APPS.ECE_POO_TRANSACTION
12.2.2
-
PACKAGE BODY: APPS.ECE_POO_TRANSACTION
12.1.1
-
PACKAGE BODY: APPS.ECE_POCO_TRANSACTION
12.2.2
-
PACKAGE BODY: APPS.ECE_POCO_TRANSACTION
12.1.1
-
APPS.ECE_POCO_TRANSACTION dependencies on ECE_FLATFILE_PVT
12.2.2
-
APPS.ECE_POCO_TRANSACTION dependencies on ECE_FLATFILE_PVT
12.1.1
-
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. ,
-
APPS.ECE_POO_TRANSACTION dependencies on ECE_FLATFILE_PVT
12.2.2
-
APPS.ECE_POO_TRANSACTION dependencies on ECE_FLATFILE_PVT
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1