Search Results lot_fk_key
Overview
APPS.OPI_EDW_INV_TURNS_QTR_V is a quarterly inventory turns view that belongs to the Oracle E-Business Suite Operational Intelligence (OPI) enterprise data warehouse family. It presents aggregated inventory movement and valuation metrics at the quarter, item, and locator level of granularity, deriving inventory turns as a function of cost of goods sold (COGS) and average on-hand value. The view is designed for analytical reporting and performance measurement within the OPM (Oracle Process Manufacturing) inventory domain, supporting calculations that would otherwise require complex joins across the transaction and dimensional models of the EDW schema.
The view consolidates inventory data into a form suitable for inventory turns analysis, a standard supply chain KPI that measures how efficiently inventory is converted into sales over a defined period. Because it aggregates by calendar quarter and inventory locator, it enables period-over-period comparison of turn rates across companies, organizations, operating units, plants, subinventories, and items.
Underlying Base Objects
The view is defined over three documented base objects:
- OPI_EDW_INV_PERD_STAT_F — the inventory periodic statistics fact table, which supplies the COGS and average on-hand value measures (IPS.TOT_CUST_SHIP_VAL_G and IPS.AVG_ONH_VAL_G) and the foreign keys LOCATOR_FK_KEY and PRD_DATE_FK_KEY.
- EDW_MTL_INVENTORY_LOC_M — the material inventory locator dimension, aliased INV, which provides the locator and organizational hierarchy keys (ALL_PK_KEY, PCMP_OPM_COMPANY_PK_KEY, PORG_OPM_ORGANIZATION_PK_KEY, OU_OPERATING_UNIT_PK_KEY, PLNT_PLANT_PK_KEY, SUBI_STOCK_ROOM_PK_KEY) and the locator primary key INVL_LOCATOR_PK_KEY.
- EDW_TIME_M — the time dimension, aliased TIME, which supplies the calendar quarter key CQTR_CAL_QTR_PK_KEY and the calendar day key CDAY_CAL_DAY_PK_KEY used to join the fact table.
The joins are performed between the locator foreign key and the inventory locator dimension, and between the period date foreign key and the time dimension, with a filter restricting the fact records to those whose period end date (CPER_END_DATE) is on or before the current system date.
Key Columns
- ALL_LOCATORS_ID — derived from INV.ALL_PK_KEY; the primary locator identifier.
- PCMP_ID, PORG_ID, OPERATING_UNIT_ID, PLANT_ID, SUB_INV_ID — the company, organization, operating unit, plant, and subinventory identifiers forming the organizational hierarchy.
- CAL_QTR_ID — the calendar quarter key (CQTR_CAL_QTR_PK_KEY) defining the aggregation period.
- ITEM — the item-organization foreign key (ITEM_ORG_FK_KEY); this is the column the user searched for. It groups the results at the item/organization level and is the principal attribute for item-level inventory turn analysis.
- COGS — computed as
-1 * SUM(IPS.TOT_CUST_SHIP_VAL_G), expressing the cost of goods shipped as a positive value. - AVG_ONH_VAL — computed as
AVG(IPS.AVG_ONH_VAL_G), the average on-hand inventory value for the group. - LOT_FK_KEY — included in the GROUP BY clause, permitting lot-level granularity in the aggregate.
Common Use Cases and Queries
The view is typically queried to compute quarterly inventory turns per item or organization, supporting supply chain and cost management dashboards. A representative query follows:
SELECT CAL_QTR_ID, ITEM, SUM(COGS) COGS, AVG(AVG_ONH_VAL) AVG_ONH FROM APPS.OPI_EDW_INV_TURNS_QTR_V GROUP BY CAL_QTR_ID, ITEM;- Joining ITEM back to the item-organization dimension to resolve item names and descriptions for reporting.
- Filtering by PLANT_ID or SUB_INV_ID to analyze turns by facility or subinventory.
- Trending COGS versus average on-hand value across quarters to identify slow-moving or excess inventory.
Because the view already applies the CPER_END_DATE <= SYSDATE filter, it excludes future periods, making it suitable for point-in-time historical analysis.
-
VIEW: APPS.OPI_EDW_INV_TURNS_QTR_V
12.1.1
-
TABLE: OPI.OPI_EDW_IDS_NET_CHG
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_EDW_IDS_NET_CHG, object_name:OPI_EDW_IDS_NET_CHG, status:VALID,
-
VIEW: APPS.OPI_EDW_INV_TURNS_YR_V
12.1.1
-
View: OPI_EDW_INV_TURNS_QTR_V
12.2.2
product: OPI - Operations Intelligence (Obsolete) , description: Inventory Turns (Quarter Level) report source view , implementation_dba_data: Not implemented in this database ,
-
TABLE: OPI.OPI_EDW_INV_PERD_STAT_F
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_EDW_INV_PERD_STAT_F, object_name:OPI_EDW_INV_PERD_STAT_F, status:VALID,
-
TABLE: OPI.OPI_EDW_IPS_NET_CHG
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_EDW_IPS_NET_CHG, object_name:OPI_EDW_IPS_NET_CHG, status:VALID,
-
View: OPI_EDW_INV_TURNS_QTR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OPI.OPI_EDW_INV_TURNS_QTR_V, object_name:OPI_EDW_INV_TURNS_QTR_V, status:VALID, product: OPI - Operations Intelligence , description: Inventory Turns (Quarter Level) report source view , implementation_dba_data: APPS.OPI_EDW_INV_TURNS_QTR_V ,
-
View: OPI_EDW_INV_TURNS_YR_V
12.2.2
product: OPI - Operations Intelligence (Obsolete) , description: Inventory Turns (Year Level) report source view , implementation_dba_data: Not implemented in this database ,
-
View: OPI_EDW_INV_TURNS_YR_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OPI.OPI_EDW_INV_TURNS_YR_V, object_name:OPI_EDW_INV_TURNS_YR_V, status:VALID, product: OPI - Operations Intelligence , description: Inventory Turns (Year Level) report source view , implementation_dba_data: APPS.OPI_EDW_INV_TURNS_YR_V ,
-
TABLE: OPI.OPI_EDW_INV_DAILY_STAT_F
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_EDW_INV_DAILY_STAT_F, object_name:OPI_EDW_INV_DAILY_STAT_F, status:VALID,
-
APPS.OPI_COLLECTION_HOOK_P SQL Statements
12.1.1
-
TABLE: OPI.OPI_EDW_INV_DAILY_STAT_F_DLOG
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_EDW_INV_DAILY_STAT_F_DLOG, object_name:OPI_EDW_INV_DAILY_STAT_F_DLOG, status:VALID,
-
TABLE: OPI.OPI_EDW_INV_DAILY_STAT_FSTG
12.1.1
owner:OPI, object_type:TABLE, fnd_design_data:OPI.OPI_EDW_INV_DAILY_STAT_FSTG, object_name:OPI_EDW_INV_DAILY_STAT_FSTG, status:VALID,
-
PACKAGE BODY: APPS.OPI_COLLECTION_HOOK_P
12.1.1
-
eTRM - OPI Tables and Views
12.1.1
-
APPS.OPI_COLLECTION_HOOK_P dependencies on OPI_EDW_IDS_NET_CHG
12.1.1
-
APPS.OPI_COLLECTION_HOOK_P dependencies on OPI_EDW_IPS_NET_CHG
12.1.1
-
APPS.OPI_COLLECTION_HOOK_P dependencies on EDW_OWB_COLLECTION_UTIL
12.1.1