Search Results opi_inv_val_sum_mv
Overview
OPI_INV_VAL_SUM_MV is a materialized view owned by the APPS schema in Oracle E-Business Suite, registered under the FND – Application Object Library product. It functions as a pre-aggregated inventory valuation summary, consolidating on-hand, in-transit, and work-in-process (WIP) values across organization, subinventory, category, and time dimensions. In 12.1.1 the object exposes 44 physical columns. Its presence as a materialized view indicates it supports reporting performance, allowing inventory valuation inquiries and analytical dashboards to avoid querying transactional inventory tables directly.
From a heuristic Data Vault modeling perspective, the mined FK structure classifies this object as standalone. This suggests it does not function as a classic hub, link, or satellite in a normalized Data Vault sense; rather, it behaves as a self-contained aggregate/snapshot structure. It may be treated as a derived reporting object that summarizes facts without distributing normalized business keys into separate hub tables.
Key Information Stored
The materialized view stores dimensional identifiers and additive value/quantity measures. Its unique business-key candidate is defined by the index I_SNAP$_OPI_INV_VAL_SUM_MV, which spans the non-null forms of ORGANIZATION_ID, SOURCE, SUBINVENTORY_CODE, INV_CATEGORY_ID, UOM_CODE, ITEM_ORG_ID, YEAR_ID, QTR_ID, MONTH_ID, WEEK_ID, DAY_ID, AGGREGATION_LEVEL_FLAG, and GRP_ID. Unlike a single surrogate primary key, this composite unique index effectively serves as the grain definition for the aggregate.
The most significant columns include:
- ORGANIZATION_ID — inventory organization context.
- SUBINVENTORY_CODE — subinventory-level breakdown.
- ITEM_ORG_ID — item and organization reference.
- INV_CATEGORY_ID — inventory category dimension.
- SOURCE and GRP_ID — source system and grouping identifiers.
- AGGREGATION_LEVEL_FLAG — indicates the aggregation grain of the row.
- YEAR_ID, QTR_ID, MONTH_ID, WEEK_ID, DAY_ID — time dimension hierarchy.
- ONHAND_VALUE_G / ONHAND_VALUE_B / ONHAND_VALUE_SG — on-hand values expressed in different currencies or bases, with corresponding COUNT_OVG, COUNT_OVB, and COUNT_OVSG count measures.
- INTRANSIT_VALUE_* / INTRANSIT_QTY — in-transit inventory values and quantities.
- WIP_VALUE_* — work-in-process valuation amounts.
- INV_TOTAL_VALUE_* — total inventory valuation roll-ups.
- COUNT_TOTAL — total record or item count for the aggregate.
Common Use Cases and Queries
Typical usage centers on inventory valuation reporting by period and organization. A common pattern filters on the time dimension and organization:
- SELECT organization_id, subinventory_code, SUM(onhand_value_g), SUM(intransit_value_g), SUM(wip_value_g), SUM(inv_total_value_g) FROM opi_inv_val_sum_mv WHERE year_id = :year AND month_id = :month GROUP BY organization_id, subinventory_code;
- Comparing on-hand versus in-transit and WIP valuations for a subinventory or category.
- Trending inventory value across months using YEAR_ID, QTR_ID, MONTH_ID, WEEK_ID, and DAY_ID.
- Reconciling aggregated totals back to transactional inventory balances.
Because it is a materialized view, queries should account for refresh timing; the data may lag source transactions depending on the refresh schedule.
Related Objects
The documented FK relationship ties YEAR_ID to JAI_FA_AST_YEARS. Beyond this, the materialized view depends conceptually on inventory organization, item, category, and period objects referenced by its dimensional columns. Its key relationships include:
- JAI_FA_AST_YEARS — joined via OPI_INV_VAL_SUM_MV.YEAR_ID = JAI_FA_AST_YEARS.YEAR_ID.
- INV_ORGANIZATION_DEFINITIONS — via ORGANIZATION_ID.
- MTL_SYSTEM_ITEMS_B — via ITEM_ORG_ID.
- MTL_CATEGORIES_B / MTL_ITEM_CATEGORIES — via INV_CATEGORY_ID.
- MTL_SECONDARY_INVENTORIES — via SUBINVENTORY_CODE.
- GL_DAILY_CONVERSION_TYPES / currency tables — supporting _G, _B, and _SG value columns.
These relationships should be validated against the source views underlying the materialized view, as the ETRM metadata records only the YEAR_ID foreign key explicitly.
-
Table: OPI_INV_VAL_SUM_MV
12.1.1
owner:APPS, object_type:TABLE, fnd_design_data:FND.OPI_INV_VAL_SUM_MV, object_name:OPI_INV_VAL_SUM_MV, status:VALID, product: FND - Application Object Library , implementation_dba_data: APPS.OPI_INV_VAL_SUM_MV ,
-
Table: OPI_INV_VAL_SUM_MV
12.2.2
product: FND - Application Object Library , implementation_dba_data: Not implemented in this database ,
-
MATERIALIZED VIEW: APPS.OPI_INV_ITD_ORG_MV
12.1.1
-
MATERIALIZED VIEW: APPS.OPI_INV_TYP_ORG_MV
12.1.1
owner:APPS, object_type:MATERIALIZED VIEW, object_name:OPI_INV_TYP_ORG_MV, status:VALID,
-
MATERIALIZED VIEW: APPS.OPI_INV_ITD_ORG_MV
12.1.1
owner:APPS, object_type:MATERIALIZED VIEW, object_name:OPI_INV_ITD_ORG_MV, status:VALID,
-
MATERIALIZED VIEW: APPS.OPI_INV_VAL_SUM_MV
12.1.1
owner:APPS, object_type:MATERIALIZED VIEW, object_name:OPI_INV_VAL_SUM_MV, status:VALID,
-
VIEW: APPS.MSD_SR_ONHAND_INVENTORY_V
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.MSD_SR_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MSD_SR_UTIL, status:VALID,
-
MATERIALIZED VIEW: APPS.OPI_INV_TYP_ORG_MV
12.1.1
-
TABLE: APPS.OPI_INV_VAL_SUM_MV
12.1.1
owner:APPS, object_type:TABLE, fnd_design_data:FND.OPI_INV_VAL_SUM_MV, object_name:OPI_INV_VAL_SUM_MV, status:VALID,
-
VIEW: APPS.MSD_SR_ONHAND_INVENTORY_V
12.1.1
owner:APPS, object_type:VIEW, object_name:MSD_SR_ONHAND_INVENTORY_V, status:VALID,
-
TABLE: OPI.OPI_DBI_INV_VALUE_F
12.1.1
owner:OPI, object_type:TABLE, object_name:OPI_DBI_INV_VALUE_F, status:VALID,
-
TABLE: ENI.ENI_OLTP_ITEM_STAR
12.1.1
owner:ENI, object_type:TABLE, object_name:ENI_OLTP_ITEM_STAR, status:VALID,
-
TABLE: FII.FII_TIME_DAY
12.1.1
owner:FII, object_type:TABLE, fnd_design_data:FII.FII_TIME_DAY, object_name:FII_TIME_DAY, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
APPS.MSD_SR_UTIL SQL Statements
12.1.1
-
APPS.MSD_SR_UTIL dependencies on OPI_INV_VAL_SUM_MV
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
APPS.MSD_SR_UTIL SQL Statements
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.OPI_DBI_RPT_UTIL_PKG
12.1.1
-
APPS.MSD_SR_UTIL dependencies on FII_TIME_RPT_STRUCT_V
12.1.1
-
PACKAGE BODY: APPS.MSD_SR_UTIL
12.1.1
-
PACKAGE BODY: APPS.MSD_SR_UTIL
12.2.2
-
eTRM - FII Tables and Views
12.1.1
description: This table stores the mapping of leaf nodes from pruned dimension to nodes in the child value sets ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,
-
eTRM - FII Tables and Views
12.1.1
description: This table stores the mapping of leaf nodes from pruned dimension to nodes in the child value sets ,