Search Results ece_mvsto_headers
Overview
The ECE_MVSTO_HEADERS table resides in the EC (e-Commerce Gateway) schema and serves as the header-level staging and reference structure for the outbound Movement Statistics transaction. In Oracle EBS 12.1.1 and 12.2.2, it holds the summarized movement statistics data that the e-Commerce Gateway uses to generate outbound EDI or flat-file transmissions to statistical and customs authorities. Each row represents a single movement statistics document header, capturing legal entity, reporting period, movement type, statistical type, and translation-related attributes required for regulatory filing.
The table is classified heuristically as standalone within a Data Vault modeling suggestion. Although it references several parent entities through foreign keys, its own business transactions are not generalized into a shared hub or link pattern; it is best treated as a satellite or standalone reference table centered on the TRANSACTION_RECORD_ID unique key rather than as a pure hub. This classification reflects its role as a document-header store where the primary uniqueness constraint is the transaction record, not a natural business key.
Key Information Stored
The table contains 106 columns, reflecting the breadth of movement statistics metadata. The most significant columns include:
- TRANSACTION_RECORD_ID — Surrogate unique identifier; enforced by the unique index
ECE_MVSTO_HEADERS_U1. This is the business-key candidate for row-level identification. - TP_DOCUMENT_ID — Foreign key to
ECE_AR_TRX_HEADERS, linking the movement statistics header to the originating transaction document. - LEGAL_ENTITY_ID — Foreign key to
FV_LEGAL_ENTITIES, identifying the reporting legal entity. - ENTITY_ORG_ID — Foreign key to
MTL_MOVEMENT_PARAMETERS, tying the header to the inventory organization movement parameters. - SECURITY_GROUP_ID — Foreign key to
FND_SECURITY_GROUPS, used for row-level security partitioning. - PERIOD_NAME — The reporting period for which movement statistics are being transmitted.
- MOVEMENT_TYPE, STAT_TYPE, USAGE_TYPE, MOVEMENT_STATUS — Core statistical classifiers, each accompanied by up to five extension columns (
_EXT1through_EXT5) for regional or country-specific values. - ZONE_CODE and ECONOMIC_ZONE_EXT* — Economic zone identifiers used in statistical reporting.
- TOTAL_STATISTICAL_VALUE, TOTAL_INVOICE_EXT_VALUE, TOTAL_TOTAL_WEIGHT, TOTAL_SUPPLEMENTARY_UNITS, TOTAL_RECORDS — Aggregated totals for the header, summarizing the associated detail lines.
- LEGAL_ENTITY_NAME, LEGAL_ENTITY_VAT_CODE, LEGAL_ENTITY_ADDRESS1 through LEGAL_ENTITY_POSTAL_CODE, LEGAL_ENTITY_COUNTRY_INT, and the region columns — Denormalized address and tax registration details for the reporting entity.
- RUN_ID, TRANSACTION_DATE, EDI_TRANSACTION_REFERENCE, EDI_TRANSACTION_DATE — Execution and transmission metadata.
- HEADER_DATA_EXIST_FLAG — Indicates whether detail data exists for this header, controlling downstream processing.
Common Use Cases and Queries
The primary use case is generating outbound Movement Statistics transactions through the e-Commerce Gateway concurrent programs. Users query this table to verify that header data was staged correctly, to reconcile aggregated totals against detail records, and to audit transmitted documents by period or legal entity.
A typical reconciliation query joins the header to the legal entity and transaction document tables:
SELECT h.TRANSACTION_RECORD_ID, h.PERIOD_NAME, h.MOVEMENT_TYPE, le.NAME, h.TOTAL_STATISTICAL_VALUE FROM EC.ECE_MVSTO_HEADERS h, FV_LEGAL_ENTITIES le WHERE h.LEGAL_ENTITY_ID = le.LEGAL_ENTITY_ID AND h.PERIOD_NAME = :period;- To trace back to the source transaction:
SELECT a.TRX_NUMBER, h.EDI_TRANSACTION_REFERENCE FROM EC.ECE_MVSTO_HEADERS h, ECE_AR_TRX_HEADERS a WHERE h.TP_DOCUMENT_ID = a.TP_DOCUMENT_ID; - To audit by security group: filter on
SECURITY_GROUP_IDin multi-org or multi-entity deployments.
Reporting use cases include period-over-period statistical value comparisons, movement type analysis, and verification of completeness using HEADER_DATA_EXIST_FLAG and TOTAL_RECORDS.
Related Objects
The following objects are the most significant related entities based on the documented foreign key relationships:
- ECE_AR_TRX_HEADERS — Joined via
TP_DOCUMENT_ID; provides the originating transaction document context. - FV_LEGAL_ENTITIES — Joined via
LEGAL_ENTITY_ID; supplies legal entity master data. - MTL_MOVEMENT_PARAMETERS — Joined via
ENTITY_ORG_ID; defines inventory organization movement statistics parameters. - FND_SECURITY_GROUPS — Joined via
SECURITY_GROUP_ID; controls access partitioning. - Detail-level MVSTO tables and the e-Commerce Gateway concurrent programs that stage and transmit the Movement Statistics transaction are the primary consumers of this header data.
-
Table: ECE_MVSTO_HEADERS
12.1.1
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_MVSTO_HEADERS, object_name:ECE_MVSTO_HEADERS, status:VALID, product: EC - e-Commerce Gateway , description: Contains the movement statistics header data to support the outbound Movement Statistics transaction. , implementation_dba_data: EC.ECE_MVSTO_HEADERS ,
-
Table: ECE_MVSTO_HEADERS
12.2.2
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_MVSTO_HEADERS, object_name:ECE_MVSTO_HEADERS, status:VALID, product: EC - e-Commerce Gateway , description: Contains the movement statistics header data to support the outbound Movement Statistics transaction. , implementation_dba_data: EC.ECE_MVSTO_HEADERS ,
-
SYNONYM: APPS.ECE_MVSTO_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:ECE_MVSTO_HEADERS, status:VALID,
-
SYNONYM: APPS.ECE_MVSTO_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:ECE_MVSTO_HEADERS, status:VALID,
-
Table: ECE_MVSTO_HEADERS_X
12.1.1
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_MVSTO_HEADERS_X, object_name:ECE_MVSTO_HEADERS_X, status:VALID, product: EC - e-Commerce Gateway , description: Extension table for ECE_MVSTO_HEADERS. , implementation_dba_data: EC.ECE_MVSTO_HEADERS_X ,
-
Table: ECE_MVSTO_HEADERS_X
12.2.2
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_MVSTO_HEADERS_X, object_name:ECE_MVSTO_HEADERS_X, status:VALID, product: EC - e-Commerce Gateway , description: Extension table for ECE_MVSTO_HEADERS. , implementation_dba_data: EC.ECE_MVSTO_HEADERS_X ,
-
VIEW: EC.ECE_MVSTO_HEADERS#
12.2.2
owner:EC, object_type:VIEW, object_name:ECE_MVSTO_HEADERS#, status:VALID,
-
TABLE: EC.ECE_MVSTO_HEADERS
12.1.1
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_MVSTO_HEADERS, object_name:ECE_MVSTO_HEADERS, status:VALID,
-
TABLE: EC.ECE_MVSTO_HEADERS
12.2.2
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_MVSTO_HEADERS, object_name:ECE_MVSTO_HEADERS, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
VIEW: EC.ECE_MVSTO_HEADERS#
12.2.2
-
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_MVSTO_HEADERS_X
12.1.1
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_MVSTO_HEADERS_X, object_name:ECE_MVSTO_HEADERS_X, status:VALID,
-
TABLE: EC.ECE_MVSTO_HEADERS_X
12.2.2
owner:EC, object_type:TABLE, fnd_design_data:EC.ECE_MVSTO_HEADERS_X, object_name:ECE_MVSTO_HEADERS_X, status:VALID,
-
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. ,
-
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. ,
-
APPS.ECE_MVSTO_TRANSACTION dependencies on UTL_FILE
12.2.2
-
APPS.ECE_MVSTO_TRANSACTION dependencies on UTL_FILE
12.1.1
-
PACKAGE BODY: APPS.ECE_MVSTO_TRANSACTION
12.1.1
-
PACKAGE BODY: APPS.ECE_MVSTO_TRANSACTION
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. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1