Search Results opi_dbi_inv_value_utl_pkg
Overview
The APPS.OPI_DBI_INV_VALUE_UTL_PKG package body is a utility package within the Oracle E-Business Suite Discrete Build/Inventory (OPI/DBI) intelligence schema. It supports the Oracle Inventory and Warehouse Management analytics infrastructure, specifically the value-based inventory reporting and staging processes that populate the Daily Business Intelligence (DBI) inventory value dashboards and related operational reports. In Oracle EBS 12.1.1 and 12.2.2, this package operates against the staging tables that aggregate on-hand quantities, in-transit quantities, beginning balances, WIP balances, and process manufacturing (OPM) inventory positions, converting them into consistent monetary values for downstream reporting.
The package is classified as OTHER in the ETRM repository and is owned by the APPS schema, with a VALID status. It is referenced by three other database objects, indicating it functions as a shared utility layer whose logic is consumed by multiple higher-level collection or reporting programs rather than being invoked directly by end users. Its responsibilities center on currency conversion and availability validation for in-transit inventory, both of which are prerequisites for accurate valuation in the DBI inventory value collection cycle.
Key Procedures and Functions
The ETRM metadata documents two public program units within this package body:
- GET_CONVERSION_RATE — Retrieves the applicable currency conversion rate required to translate inventory balances into the reporting (functional or ledger) currency. This routine supports multi-currency inventory valuation by resolving rates against the configured conversion rate staging data, ensuring that on-hand, in-transit, and WIP values are expressed in a common currency for aggregation and comparison.
- CHECK_INTRANSIT_AVAILABILITY — Determines whether in-transit inventory data is available or applicable for the current collection context, typically by evaluating inventory organization parameters and setup configuration. This function acts as a gating check so that valuation logic is only applied when the organization actually maintains in-transit stock, avoiding spurious or zero-value rows in the staging tables.
Tables Accessed
The package reads and writes the following documented objects, primarily through APPS synonyms:
- OPI_DBI_INV_BEG_STG, OPI_DBI_ONHAND_STG, OPI_DBI_ONH_QTY_STG, OPI_DBI_INTRANSIT_STG, OPI_DBI_WIP_STG, and OPI_DBI_OPM_INV_STG — the DBI inventory value and quantity staging tables that hold beginning balances, on-hand values, on-hand quantities, in-transit stock, WIP balances, and OPM inventory respectively; these are the primary targets and sources of valuation processing.
- OPI_DBI_CONVERSION_RATES — stores or caches the currency conversion rates used by
GET_CONVERSION_RATE. - HR_ORGANIZATION_INFORMATION and MTL_PARAMETERS — supply organization-level setup attributes, including inventory organization classification and parameter flags consulted by
CHECK_INTRANSIT_AVAILABILITY. - GL_SETS_OF_BOOKS and FII_CURRENCY — provide ledger and functional currency context for conversion.
- FND_GLOBAL and FND_INSTALLATION — supply session context (user, responsibility, org) and installation/application status.
- BIS_COLLECTION_UTILITIES and BIS_COMMON_PARAMETERS — the DBI collection framework utilities and parameter definitions that govern the collection run.
Usage Notes
This package is not exposed through an Oracle Forms UI. It is invoked programmatically during the DBI inventory value collection cycle, either by concurrent programs that populate the OPI_DBI staging tables or by custom code extending DBI inventory reporting. Because it is referenced by three other database objects, dependent packages and collection routines should be considered the typical callers. The STANDARD dependency reflects Oracle's standard PL/SQL package usage. Given its role in currency conversion and in-transit validation, it should be treated as an internal utility; direct modification is unsupported, and customizations should wrap rather than alter the delivered body.
-
PACKAGE BODY: APPS.OPI_DBI_INV_VALUE_UTL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OPI_DBI_INV_VALUE_UTL_PKG, status:VALID,
-
PACKAGE: APPS.OPI_DBI_INV_VALUE_UTL_PKG
12.1.1
-
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_OPM_INV_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_OPM_INV_STG, 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.OPI_DBI_WIP_STG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_WIP_STG, 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,
-
SYNONYM: APPS.OPI_DBI_CONVERSION_RATES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OPI_DBI_CONVERSION_RATES, status:VALID,
-
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 BODY: APPS.OPI_DBI_INV_CPCS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OPI_DBI_INV_CPCS_PKG, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
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,
-
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.FII_CURRENCY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FII_CURRENCY, status:VALID,
-
PACKAGE: APPS.BIS_COLLECTION_UTILITIES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIS_COLLECTION_UTILITIES, status:VALID,
-
PACKAGE: APPS.BIS_COMMON_PARAMETERS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:BIS_COMMON_PARAMETERS, status:VALID,
-
PACKAGE BODY: APPS.OPI_DBI_INV_VALUE_UTL_PKG
12.1.1
-
APPS.OPI_DBI_INV_VALUE_INCR_PKG dependencies on OPI_DBI_INV_VALUE_UTL_PKG
12.1.1
-
APPS.OPI_DBI_INV_VALUE_INIT_PKG dependencies on OPI_DBI_INV_VALUE_UTL_PKG
12.1.1
-
APPS.OPI_DBI_INV_CPCS_PKG dependencies on OPI_DBI_INV_VALUE_UTL_PKG
12.1.1
-
APPS.OPI_DBI_INV_VALUE_UTL_PKG dependencies on OPI_DBI_INV_VALUE_UTL_PKG
12.1.1
-
PACKAGE: APPS.FND_INSTALLATION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_INSTALLATION, status:VALID,
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
SYNONYM: APPS.MTL_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_PARAMETERS, status:VALID,
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
eTRM - SQLGL Tables and Views
12.1.1
description: USSGL transaction codes ,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,