Search Results ap_dbi_log
Overview
AP_DBI_LOG is a transaction log table owned by the AP (Payables) schema in Oracle E-Business Suite, present and valid in both release 12.1.1 and 12.2.2. Its documented purpose is to track operations performed against Payables transaction tables that are relevant to the Daily Business Intelligence (DBI) product. In practice, AP_DBI_LOG functions as a change-capture staging area: whenever rows are inserted, updated, or deleted in monitored Payables entities, a corresponding log record is written so that the DBI collection and refresh processes can identify which transactions require re-aggregation. This decouples the high-volume transactional workload from the analytical summarization performed by DBI, allowing incremental refresh rather than full reprocessing.
The ETRM metadata classifies AP_DBI_LOG heuristically as standalone under the Data Vault model. This should be read as a modeling suggestion rather than a normative definition: the table carries no dependent child tables within its documented FK structure, and its single foreign key points outward to an external partition/request mechanism. A standalone classification is consistent with the table's role as an append-oriented event log whose rows are consumed by downstream processes rather than participating in a normalized parent-child hierarchy. The table exposes 12 documented columns in the 12.2.2 physical schema.
Key Information Stored
The most significant columns in AP_DBI_LOG, drawn from the documented schema, are:
- TABLE_NAME — identifies the Payables transaction table on which the logged operation occurred (for example, a source table whose change must propagate to DBI aggregates). This is the primary business-key candidate, since it scopes the event to a specific entity.
- OPERATION_FLAG — encodes the nature of the captured change (typically insert, update, or delete), allowing the DBI refresh logic to apply the correct incremental action.
- KEY_VALUE1 and KEY_VALUE2 — hold the primary or composite key values of the affected transaction row, providing the pointer back to the source record.
- EXP_PROCESSED_FLAG — indicates whether the log entry has been consumed by the expense-related processing path.
- PS_PROCESSED_FLAG — indicates whether the entry has been consumed by the Payables/payment-schedule processing path. Together with EXP_PROCESSED_FLAG, these flags drive work-queue semantics so entries are not reprocessed.
- PARTITION_ID — the sole documented foreign key, referencing JTF_FM_PARTITION_X_REQUEST; it links the log entry to a partition or request context.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard EBS WHO columns recording audit and concurrency context.
The metadata does not document a dedicated surrogate primary-key column; the WHO audit columns are conventional rather than identifying. In the absence of a documented unique index, TABLE_NAME combined with KEY_VALUE1/KEY_VALUE2 and the timestamp columns serves as the practical business-key candidate for tracing an event.
Common Use Cases and Queries
Typical usage centers on monitoring DBI backlog and diagnosing refresh gaps. A common pattern is to identify unprocessed entries by table:
SELECT table_name, operation_flag, COUNT(*) FROM ap.ap_dbi_log WHERE exp_processed_flag = 'N' OR ps_processed_flag = 'N' GROUP BY table_name, operation_flag;- Reconciling a specific transaction via
WHERE key_value1 = :idto confirm that a change was captured and later consumed. - Measuring collection latency by comparing
creation_dateagainst the current time for entries whose processed flags remain unset. - Auditing operation distribution (
operation_flag) to understand workload mix and identify excessive deletes on monitored tables.
These queries support DBI administrators validating that daily aggregation keeps pace with Payables activity.
Related Objects
The documented foreign key establishes the principal dependency:
- JTF_FM_PARTITION_X_REQUEST — referenced by AP_DBI_LOG.PARTITION_ID; supplies partition/request context for logged entries.
Beyond the documented FK, AP_DBI_LOG logically relates to the Payables transaction tables named at runtime in TABLE_NAME (for example invoice, payment, and payment-schedule tables), to the DBI summary and fact objects that consume processed entries, and to the DBI collection programs scheduled to read unprocessed rows. These relationships are operational rather than enforced by declared constraints.
-
Table: AP_DBI_LOG
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_DBI_LOG, object_name:AP_DBI_LOG, status:VALID, product: AP - Payables , description: Log table to track the operations on Payables transaction tables relevant to the Daily Business Intelligence product. , implementation_dba_data: AP.AP_DBI_LOG ,
-
Table: AP_DBI_LOG
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_DBI_LOG, object_name:AP_DBI_LOG, status:VALID, product: AP - Payables , description: Log table to track the operations on Payables transaction tables relevant to the Daily Business Intelligence product. , implementation_dba_data: AP.AP_DBI_LOG ,
-
TABLE PARTITION: AP.AP_DBI_LOG
12.2.2
owner:AP, object_type:TABLE PARTITION, object_name:AP_DBI_LOG, subobject_name:P9, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
TABLE PARTITION: AP.AP_DBI_LOG
12.1.1
owner:AP, object_type:TABLE PARTITION, object_name:AP_DBI_LOG, subobject_name:P9, status:VALID,
-
VIEW: AP.AP_DBI_LOG#
12.2.2
owner:AP, object_type:VIEW, object_name:AP_DBI_LOG#, status:VALID,
-
SYNONYM: APPS.AP_DBI_LOG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_DBI_LOG, status:VALID,
-
APPS.AP_DBI_PKG SQL Statements
12.1.1
-
APPS.AP_DBI_PKG SQL Statements
12.2.2
-
SYNONYM: APPS.AP_DBI_LOG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_DBI_LOG, status:VALID,
-
VIEW: AP.AP_DBI_LOG#
12.2.2
-
TABLE: AP.AP_DBI_LOG
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_DBI_LOG, object_name:AP_DBI_LOG, status:VALID,
-
Table: FII_AP_DBI_LOG_T
12.1.1
owner:FII, object_type:TABLE, fnd_design_data:FII.FII_AP_DBI_LOG_T, object_name:FII_AP_DBI_LOG_T, status:VALID, product: FII - Financial Intelligence , description: Staging table to replicate distinct values from ap_dbi_log , implementation_dba_data: FII.FII_AP_DBI_LOG_T ,
-
Table: FII_AP_DBI_LOG_T
12.2.2
product: FII - Financial Intelligence (Obsolete) , description: Staging table to replicate distinct values from ap_dbi_log , implementation_dba_data: Not implemented in this database ,
-
PACKAGE BODY: APPS.AP_DBI_PKG
12.1.1
-
TABLE: AP.AP_DBI_LOG
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_DBI_LOG, object_name:AP_DBI_LOG, status:VALID,
-
PACKAGE BODY: APPS.AP_DBI_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_DBI_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_DBI_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_DBI_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_DBI_PKG
12.2.2
-
PACKAGE BODY: APPS.FII_AP_INV_SUM_INIT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FII_AP_INV_SUM_INIT, status:VALID,
-
PACKAGE BODY: APPS.FII_AP_INV_DISTRIBUTIONS_B_C
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FII_AP_INV_DISTRIBUTIONS_B_C, status:VALID,
-
PACKAGE BODY: APPS.FII_AP_INV_SUM_INC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FII_AP_INV_SUM_INC, status:VALID,
-
PACKAGE BODY: APPS.FII_AP_INV_B_C
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FII_AP_INV_B_C, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.FII_AP_INV_DISTRIBUTIONS_B_C SQL Statements
12.1.1
-
12.2.2 DBA Data
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
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.FII_AP_INV_DISTRIBUTIONS_B_C
12.1.1
-
APPS.FII_AP_INV_SUM_INIT dependencies on AP_DBI_LOG
12.1.1
-
APPS.AP_DBI_PKG dependencies on AP_DBI_LOG
12.1.1
-
APPS.AP_DBI_PKG dependencies on AP_DBI_LOG
12.2.2
-
APPS.FII_AP_INV_B_C dependencies on AP_DBI_LOG
12.1.1
-
APPS.FII_AP_INV_SUM_INC dependencies on AP_DBI_LOG
12.1.1
-
APPS.FII_AP_INV_B_C SQL Statements
12.1.1
-
APPS.FII_AP_INV_DISTRIBUTIONS_B_C dependencies on AP_DBI_LOG
12.1.1
-
APPS.FII_AP_INV_SUM_INC SQL Statements
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_B_C
12.1.1
-
APPS.AP_DBI_PKG dependencies on AP_PAYMENT_SCHEDULES
12.1.1
-
APPS.AP_DBI_PKG dependencies on AP_PAYMENT_SCHEDULES
12.2.2
-
APPS.FII_AP_INV_DISTRIBUTIONS_B_C dependencies on FII_AP_DBI_LOG_PS_T
12.1.1