Search Results opi_dbi_inv_value_init_pkg
Overview
OPI_DBI_INV_VALUE_INIT_PKG is an Oracle EBS inventory valuation initialization package owned by APPS. It is a member of the Operational Intelligence (OPI) Daily Business Intelligence reporting framework and is responsible for establishing the baseline inventory quantity and value balances consumed by the DBI inventory value dashboards. The package is classified as OTHER under the ETRM convention, meaning it is an internal worker rather than a published public API.
The body carries a header timestamp of 2008/03/07 (version 120.31) and is marked noship, confirming it is an internal ETL component rather than a shipped customer API. Its role is to perform the initial (first) extraction of inventory valuation data, seeding the reporting tables with inception balances before incremental daily activity extraction takes over.
Key Procedures and Functions
- RUN_FIRST_ETL — The primary driver procedure. It orchestrates the initial load: seeding inventory type codes, cleaning staging tables, maintaining DBI logs via OPI_DBI_BOUNDS_PKG.MAINTAIN_OPI_DBI_LOGS, and invoking the extraction of inventory transaction quantity and value. It also delegates to OPI_DBI_INV_VALUE_OPM_INIT_PKG.RUN_OPM_FIRST_ETL for process manufacturing, and finally calls GET_INCEPTION_INV_BALANCE. The RUN_FIRST_ETL block is the entry point for the entire initialization flow.
- GET_INCEPTION_INV_BALANCE — Establishes inception-period inventory balances by aggregating on-hand, intransit, WIP, and costed discrete inception quantities. It is the parent of GET_ONHAND_BALANCE, GET_INTRANSIT_BALANCE, GET_WIP_BALANCE, COST_DISCRETE_INCEPTION_QTY, and COST_OPM_INCEPTION balances.
- INTRANSIT_SETUP — Configures intransit inventory parameters required by GET_INTRANSIT_INITIAL_LOAD and downstream balance extraction.
- GET_OPM_ITEM_COST — Retrieves Process Manufacturing (OPM) item cost information used during OPM inception valuation.
The package declares global constants g_sysdate, g_user_id, g_login_id, and configuration globals for inception date, currency codes, and rate types, plus exceptions INITIALIZATION_ERROR (-20900) and UOM_CONV_ERROR (-20901).
Tables Accessed
- GME_BATCH_HEADER, GME_MATERIAL_DETAILS — OPM batch and material detail data used to derive process manufacturing inception quantities and values. These are directly relevant to the searched term gme_batch_headers.
- CST_ITEM_COSTS, CST_STANDARD_COSTS, CST_QUANTITY_LAYERS — Costing sources for discrete inception valuation and quantity layer balances.
- MTL_MATERIAL_TRANSACTIONS, MTL_TRANSACTION_ACCOUNTS — Transaction quantity and accounting value extraction for the initial load.
- MTL_SUPPLY, MTL_SYSTEM_ITEMS, MTL_PARAMETERS, MTL_INTERORG_PARAMETERS — On-hand, item, and organization/parameter configuration used in balance and intransit calculations.
- GMF_TRANSACTION_VALUATION — OPM transaction valuation for process inventory value extraction.
- CM_ALYS_MST, CM_CMPT_MST, CM_MTHD_MST — OPM cost analysis, component, and method master data supporting OPM cost derivation.
Usage Notes
OPI_DBI_INV_VALUE_INIT_PKG is invoked during the initial setup or rebuild of the DBI inventory value reporting area, rather than on a routine schedule. It is referenced by two other packages, confirming it functions as a shared initialization worker within the OPI_DBI family. RUN_FIRST_ETL is the expected entry point; it validates initialization prerequisites and raises INITIALIZATION_ERROR or UOM_CONV_ERROR when fundamental conditions or unit-of-measure conversions fail. Because the package is marked noship and not registered as a public API, it should be called only through the DBI concurrent program or scheduling framework that owns the inventory value initialization sequence, not directly from custom code. The sequential dependency chain embedded in the package header—from discrete first ETL through OPM first ETL to inception balance extraction—must be preserved, as later incremental packages depend on the baseline rows seeded here.
-
PACKAGE BODY: APPS.OPI_DBI_INV_VALUE_INIT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OPI_DBI_INV_VALUE_INIT_PKG, status:VALID,
-
PACKAGE: APPS.OPI_DBI_INV_VALUE_INIT_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OPI_DBI_INV_VALUE_INIT_PKG, status:VALID,
-
PACKAGE: APPS.OPI_DBI_INV_VALUE_INIT_PKG
12.1.1
-
SYNONYM: APPS.OPI_DBI_ONH_QTY_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_ONH_QTY_STG, status:VALID,
-
SYNONYM: APPS.OPI_DBI_INTRANSIT_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_INTRANSIT_STG, status:VALID,
-
PACKAGE: APPS.OPI_DBI_INV_VALUE_UTL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OPI_DBI_INV_VALUE_UTL_PKG, status:VALID,
-
SYNONYM: APPS.OPI_DBI_INTR_SUP_TMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_INTR_SUP_TMP, status:VALID,
-
SYNONYM: APPS.OPI_DBI_INV_TYPE_CODES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_INV_TYPE_CODES, status:VALID,
-
SYNONYM: APPS.OPI_DBI_ORG_LE_TEMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_ORG_LE_TEMP, status:VALID,
-
SYNONYM: APPS.GMF_TRANSACTION_VALUATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GMF_TRANSACTION_VALUATION, status:VALID,
-
SYNONYM: APPS.OPI_DBI_INTR_MIP_TMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_INTR_MIP_TMP, status:VALID,
-
SYNONYM: APPS.OPI_DBI_OPM_INV_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_OPM_INV_STG, status:VALID,
-
SYNONYM: APPS.OPI_DBI_INTR_MMT_TMP
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_INTR_MMT_TMP, status:VALID,
-
SYNONYM: APPS.OPI_DBI_INV_VALUE_F
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_INV_VALUE_F, status:VALID,
-
PACKAGE: APPS.OPI_DBI_INV_VALUE_OPM_INIT_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OPI_DBI_INV_VALUE_OPM_INIT_PKG, status:VALID,
-
SYNONYM: APPS.OPI_DBI_ONHAND_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_ONHAND_STG, status:VALID,
-
SYNONYM: APPS.CST_STANDARD_COSTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CST_STANDARD_COSTS, status:VALID,
-
PACKAGE BODY: APPS.OPI_DBI_INV_VALUE_INCR_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OPI_DBI_INV_VALUE_INCR_PKG, status:VALID,
-
SYNONYM: APPS.CM_ALYS_MST
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CM_ALYS_MST, status:VALID,
-
SYNONYM: APPS.OPI_DBI_INV_BEG_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_INV_BEG_STG, status:VALID,
-
PACKAGE: APPS.OPI_DBI_INV_CPCS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OPI_DBI_INV_CPCS_PKG, status:VALID,
-
SYNONYM: APPS.OPI_DBI_CONVERSION_RATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_CONVERSION_RATES, status:VALID,
-
PACKAGE BODY: APPS.OPI_DBI_CURR_INV_EXP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OPI_DBI_CURR_INV_EXP_PKG, status:VALID,
-
SYNONYM: APPS.OPI_DBI_CONC_PROG_RUN_LOG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_CONC_PROG_RUN_LOG, status:VALID,
-
SYNONYM: APPS.CM_CMPT_MST
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CM_CMPT_MST, status:VALID,
-
PACKAGE: APPS.OPI_DBI_BOUNDS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OPI_DBI_BOUNDS_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.CM_MTHD_MST
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CM_MTHD_MST, status:VALID,
-
PACKAGE: APPS.GMF_CMCOMMON
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GMF_CMCOMMON, status:VALID,
-
SYNONYM: APPS.WIP_TRANSACTION_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_TRANSACTION_ACCOUNTS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.CST_QUANTITY_LAYERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CST_QUANTITY_LAYERS, status:VALID,
-
PACKAGE: APPS.OPI_DBI_RPT_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OPI_DBI_RPT_UTIL_PKG, status:VALID,
-
SYNONYM: APPS.WIP_PERIOD_BALANCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_PERIOD_BALANCES, status:VALID,
-
SYNONYM: APPS.MTL_SUPPLY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SUPPLY, status:VALID,
-
SYNONYM: APPS.MTL_TRANSACTION_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_TRANSACTION_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.MTL_INTERORG_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_INTERORG_PARAMETERS, status:VALID,
-
SYNONYM: APPS.CST_ITEM_COSTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CST_ITEM_COSTS, status:VALID,
-
VIEW: APPS.MTL_ONHAND_QUANTITIES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_ONHAND_QUANTITIES, object_name:MTL_ONHAND_QUANTITIES, status:VALID,
-
SYNONYM: APPS.GME_MATERIAL_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_MATERIAL_DETAILS, status:VALID,
-
PACKAGE: APPS.BIS_COMMON_PARAMETERS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIS_COMMON_PARAMETERS, status:VALID,
-
SYNONYM: APPS.GME_BATCH_HEADER
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_BATCH_HEADER, status:VALID,
-
PACKAGE: APPS.BIS_COLLECTION_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIS_COLLECTION_UTILITIES, status:VALID,
-
APPS.OPI_DBI_CURR_INV_EXP_PKG dependencies on OPI_DBI_INV_VALUE_INIT_PKG
12.1.1
-
SYNONYM: APPS.MTL_MATERIAL_TRANSACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_TRANSACTIONS, status:VALID,
-
APPS.OPI_DBI_INV_VALUE_INCR_PKG dependencies on OPI_DBI_INV_VALUE_INIT_PKG
12.1.1
-
APPS.OPI_DBI_INV_VALUE_INIT_PKG dependencies on OPI_DBI_INV_VALUE_INIT_PKG
12.1.1
-
SYNONYM: APPS.WIP_ENTITIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WIP_ENTITIES, status:VALID,
-
SYNONYM: APPS.MTL_UNITS_OF_MEASURE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_UNITS_OF_MEASURE, status:VALID,
-
PACKAGE: APPS.INV_CONVERT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_CONVERT, status:VALID,