Search Results fun_interface_batches
Overview
The FUN_INTERFACE_BATCHES table is the open interface table for Intercompany Batches within the Financials Common Modules (FUN) product of Oracle E-Business Suite. It serves as the staging area into which external sources, feeder systems, or custom processes insert batch header records prior to validation and import into the Intercompany application tables. Records written to FUN_INTERFACE_BATCHES carry the descriptive and control attributes of an intercompany batch—originating ledger, initiator, transaction type, currency, control totals, and general ledger date—and are subsequently consumed by the Intercompany batch import program, which validates each row, accepts or rejects it, and migrates accepted rows into the permanent Intercompany batch schema.
The table is classified public and active, positioned within the FUN_INTERFACE_BATCHES business entity (FUN_INTERCOMPANY_BATCH). Based on the foreign key structure, the ETRM heuristic Data Vault classification for this object is standalone; from a modeling perspective it may reasonably be treated as a hub-like staging entity, since it holds the business identity of a batch (batch number and source) without resolving upstream or downstream links within the modeled relationship graph. Independent of the Data Vault lens, its functional role is that of an inbound integration surface, and its definition is version-stable across the 12.1.1 and 12.2.2 releases.
Key Information Stored
The documented physical schema comprises 45 columns owned by the FUN schema. The most significant columns are:
- SOURCE — identifies the originating system or feeder that supplied the batch; a leading business-key candidate in conjunction with batch identifiers.
- GROUP_ID — groups a set of interface rows submitted in a single import request, enabling selective processing and cleanup.
- BATCH_ID — the surrogate system identifier for the batch record in the interface.
- BATCH_NUMBER — the user-visible batch reference; typically the primary business-key candidate alongside SOURCE.
- INITIATOR_ID / INITIATOR_NAME — the person or process responsible for the intercompany batch.
- FROM_LE_ID / FROM_LE_NAME / FROM_LEDGER_ID — the originating legal entity and ledger context for the batch.
- CONTROL_TOTAL, RUNNING_TOTAL_CR, RUNNING_TOTAL_DR — balancing controls used during validation to confirm debit/credit equilibrium.
- CURRENCY_CODE and EXCHANGE_RATE_TYPE — the transaction currency and the conversion rate convention applied.
- TRX_TYPE_ID, TRX_TYPE_CODE, TRX_TYPE_NAME — the intercompany transaction type governing the batch; TRX_TYPE_ID participates in a foreign key.
- GL_DATE and BATCH_DATE — the accounting date and batch creation date respectively.
- REJECT_ALLOWED_FLAG — controls whether the import may reject individual rows or fail the batch as a whole.
- IMPORT_STATUS_CODE — the processing state of each interface row (for example, pending, processed, or rejected), central to monitoring imports.
- Standard audit columns (CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN) and the ATTRIBUTE1–ATTRIBUTE15 / ATTRIBUTE_CATEGORY descriptive flexfield hooks.
The surrogate identity is BATCH_ID; the principal business-key candidates are SOURCE and BATCH_NUMBER. A foreign key exists from TRX_TYPE_ID to IGI_EXP_TRX_TYPE, linking the batch to the governing transaction type definition.
Common Use Cases and Queries
Typical use cases include populating the interface from external ERP systems, monitoring import status, reconciling control totals before submission, and purging processed staging rows. A common monitoring query filters rows that have not been imported:
SELECT batch_id, batch_number, source, import_status_code, control_total FROM fun_interface_batches WHERE import_status_code = 'PENDING';- Balancing check: compare CONTROL_TOTAL against RUNNING_TOTAL_DR and RUNNING_TOTAL_CR to detect unbalanced batches prior to import.
- Group-based cleanup:
DELETE FROM fun_interface_batches WHERE group_id = :p_group_id AND import_status_code = 'PROCESSED'; - Join to the transaction type definition:
SELECT b.batch_number, t.trx_type_code FROM fun_interface_batches b, igi_exp_trx_type t WHERE b.trx_type_id = t.trx_type_id;
Because the table is an interface, it is not intended for long-term retention; reporting should generally rely on the destination Intercompany tables once import completes.
Related Objects
- IGI_EXP_TRX_TYPE — referenced via TRX_TYPE_ID; provides transaction type code and name context.
- FUN_INTERFACE_DISTRIBUTIONS — companion interface table holding distribution lines associated with each interface batch.
- The Intercompany batch import concurrent program — consumes FUN_INTERFACE_BATCHES and its companion distribution interface rows.
- Permanent Intercompany batch header and distribution tables in the FUN schema — the import destination.
- GL_JE_BATCHES / GL_JE_HEADERS and GL_LEDGERS — referenced conceptually through FROM_LEDGER_ID and GL_DATE for accounting context.
- FND_USER — supplies INITIATOR_ID and the CREATED_BY / LAST_UPDATED_BY audit references.
-
Table: FUN_INTERFACE_BATCHES
12.1.1
owner:FUN, object_type:TABLE, fnd_design_data:FUN.FUN_INTERFACE_BATCHES, object_name:FUN_INTERFACE_BATCHES, status:VALID, product: FUN - Financials Common Modules , description: /*# * Open interface table for Intercompany Batches. * @rep:scope public * @rep:lifecycle active * @rep:displayname Intercompany Batches Interface * @rep:product FUN * @rep:category BUSINESS_ENTITY FUN_INTERCOMPANY_BATCH */ , implementation_dba_data: FUN.FUN_INTERFACE_BATCHES ,
-
Table: FUN_INTERFACE_BATCHES
12.2.2
owner:FUN, object_type:TABLE, fnd_design_data:FUN.FUN_INTERFACE_BATCHES, object_name:FUN_INTERFACE_BATCHES, status:VALID, product: FUN - Financials Common Modules , description: /*# * Open interface table for Intercompany Batches. * @rep:scope public * @rep:lifecycle active * @rep:displayname Intercompany Batches Interface * @rep:product FUN * @rep:category BUSINESS_ENTITY FUN_INTERCOMPANY_BATCH */ , implementation_dba_data: FUN.FUN_INTERFACE_BATCHES ,
-
APPS.FUN_OPEN_INTERFACE_PKG SQL Statements
12.2.2
-
VIEW: FUN.FUN_INTERFACE_BATCHES#
12.2.2
owner:FUN, object_type:VIEW, object_name:FUN_INTERFACE_BATCHES#, status:VALID,
-
SYNONYM: APPS.FUN_INTERFACE_BATCHES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FUN_INTERFACE_BATCHES, status:VALID,
-
VIEW: APPS.FUN_INTERFACE_GROUP_ID_V
12.2.2
-
SYNONYM: APPS.FUN_INTERFACE_BATCHES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FUN_INTERFACE_BATCHES, status:VALID,
-
APPS.FUN_OPEN_INTERFACE_PKG SQL Statements
12.1.1
-
VIEW: FUN.FUN_INTERFACE_BATCHES#
12.2.2
-
APPS.FUN_WEBADI_PKG SQL Statements
12.2.2
-
PACKAGE: APPS.FUN_WEBADI_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FUN_WEBADI_PKG, status:VALID,
-
View: FUN_INTERFACE_GROUP_ID_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FUN_INTERFACE_GROUP_ID_V, object_name:FUN_INTERFACE_GROUP_ID_V, status:VALID, product: FND - Application Object Library , implementation_dba_data: APPS.FUN_INTERFACE_GROUP_ID_V ,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.FUN_WEBADI_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FUN_WEBADI_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.FUN_WEBADI_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_WEBADI_PKG, status:VALID,
-
PACKAGE BODY: APPS.FUN_OPEN_INTERFACE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_OPEN_INTERFACE_PKG, status:VALID,
-
VIEW: APPS.FUN_INTERFACE_GROUP_ID_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.FUN_INTERFACE_GROUP_ID_V, object_name:FUN_INTERFACE_GROUP_ID_V, status:VALID,
-
PACKAGE BODY: APPS.FUN_OPEN_INTERFACE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_OPEN_INTERFACE_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.FUN_WEBADI_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_WEBADI_PKG, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.FUN_OPEN_INTERFACE_PKG
12.2.2
-
APPS.FUN_WEBADI_PKG SQL Statements
12.1.1
-
TABLE: FUN.FUN_INTERFACE_BATCHES
12.2.2
owner:FUN, object_type:TABLE, fnd_design_data:FUN.FUN_INTERFACE_BATCHES, object_name:FUN_INTERFACE_BATCHES, status:VALID,
-
TABLE: FUN.FUN_INTERFACE_BATCHES
12.1.1
owner:FUN, object_type:TABLE, fnd_design_data:FUN.FUN_INTERFACE_BATCHES, object_name:FUN_INTERFACE_BATCHES, status:VALID,
-
PACKAGE BODY: APPS.FUN_OPEN_INTERFACE_PKG
12.1.1
-
PACKAGE BODY: APPS.FUN_WEBADI_PKG
12.2.2
-
APPS.FUN_WEBADI_PKG dependencies on FUN_INTERFACE_BATCHES
12.1.1
-
APPS.FUN_WEBADI_PKG dependencies on FUN_INTERFACE_BATCHES
12.2.2
-
APPS.FUN_WEBADI_PKG dependencies on FUN_INTERFACE_BATCHES
12.2.2
-
APPS.FUN_OPEN_INTERFACE_PKG dependencies on FUN_INTERFACE_BATCHES
12.2.2
-
APPS.FUN_OPEN_INTERFACE_PKG dependencies on FUN_INTERFACE_BATCHES
12.1.1
-
APPS.FUN_WEBADI_PKG dependencies on FUN_INTERFACE_BATCHES
12.1.1
-
PACKAGE BODY: APPS.FUN_WEBADI_PKG
12.1.1
-
eTRM - FUN Tables and Views
12.1.1
-
eTRM - FUN Tables and Views
12.2.2
-
APPS.FUN_OPEN_INTERFACE_PKG dependencies on FUN_INTERFACE_HEADERS
12.1.1
-
APPS.FUN_OPEN_INTERFACE_PKG dependencies on FUN_INTERFACE_REJECTIONS
12.2.2
-
APPS.FUN_OPEN_INTERFACE_PKG dependencies on FUN_INTERFACE_HEADERS
12.2.2
-
APPS.FUN_OPEN_INTERFACE_PKG dependencies on FND_OBJECT_INSTANCE_SETS
12.2.2
-
APPS.FUN_OPEN_INTERFACE_PKG dependencies on FUN_INTERFACE_DIST_LINES
12.1.1
-
APPS.FUN_OPEN_INTERFACE_PKG dependencies on FUN_INTERFACE_BATCHDISTS
12.1.1
-
APPS.FUN_OPEN_INTERFACE_PKG dependencies on FND_GRANTS
12.2.2