Skip to the content.

INV Item Subinventory Upload – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.

Overview

Create, update and delete item-to-subinventory assignments (plus their optional item-subinventory-locator ties) across accessible inventory organizations.

Each row is one (Organization, Item, Subinventory, Locator?) combination. When the Locator column is blank, only the item-subinventory header is processed. When the Locator column is populated, the item-subinventory header (if not already processed in this run) AND the locator tie are processed. When multiple rows share the same Organization/Item/Subinventory triple, the header is processed only on the first row of the triple (siblings contribute only their locator portion); header cells on subsequent rows are silently ignored. Order data by Organization, Item, Subinventory, Locator to make sibling grouping deterministic.

Subinventory selection is restricted to Storage subinventories (Receiving subinventories cannot hold item assignments).

Download Locator Assignments controls whether the template pulls in existing locator ties. Choose Yes (the default) to see the current locator ties alongside each item-subinventory assignment. Leave blank to suppress them — useful when you only want to update item-subinventory header data without duplicated rows for each existing locator.

Min-Max Planning is a Yes/No flag matching the form’s Min-Max checkbox: Yes enables Min-Max planning (and makes Min Qty / Max Qty required); blank means Not Planned. This choice is independent of the subinventory’s own planning level.

PAR Level is only meaningful when the parent Subinventory has PAR Level planning enabled. If the Subinventory is not PAR-enabled, any PAR Level value supplied on the row is silently ignored on create, and any legacy stored value is cleared on update.

Source Type drives the conditional requirement on Source Organization and Source Subinventory. Inventory and Subinventory source types require Source Organization; Subinventory source type additionally restricts Source Organization to the row’s own organization (same-org self-sourcing only). Supplier and blank source types must leave both source fields blank.

Delete Option lets you specify what to delete. Choose Subinventory to delete the item-subinventory assignment (cascades to all locator ties for that item-subinventory). Choose Locator to delete just the locator assignment on this row (only offered when Locator is populated). Once a row deletes an item-subinventory, any subsequent rows for the same Organization/Item/Subinventory triple are rejected with a clear error to prevent orphaned inserts on the deleted parent.

Organization, Item, Subinventory and Locator are read-only on existing rows — to change a key column, delete the row and create a new one.

Stock locators referenced here must already exist in the chosen Subinventory (use the INV Stock Locator Upload to create them).

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Upload Mode, Organization Code, Subinventory, Item, Download Locators, Min-Max Planned Only

Oracle EBS Tables Used

mtl_item_sub_inventories, mtl_onhand_quantities_detail, mtl_parameters, mtl_system_items_vl, mtl_secondary_inventories, mtl_secondary_locators, mtl_item_locations_kfv, org_access_view

Report Categories

Enginatics, R12 only, Upload

INV Onhand Quantities, INV Physical Inventory Locator Count Sheet, CRP Resource Plan, CAC Inventory Lot and Locator OPM Value (Period-End), WIP Discrete Job Shortage

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output Example
Blitz Report™ XML Import INV_Item_Subinventory_Upload.xml
SQL Source INV Item Subinventory Upload.sql
Full Report on Enginatics www.enginatics.com/reports/inv-item-subinventory-upload/

Case Study & Technical Analysis: INV Item Subinventory Upload

Executive Summary

The INV Item Subinventory Upload is a Blitz Report upload for the item-to-subinventory assignments in Oracle Inventory. It creates, updates and deletes the assignment of an item to a storage subinventory, together with the optional tie of that item-subinventory to a stock locator. Inventory and supply chain planners use it to maintain min-max planning parameters, lot sizing, lead times, sourcing and PAR levels for many items at once, across all accessible inventory organizations. Rows are applied through the same rules as the Item Subinventories form, so the validations of the form apply to each change. The workflow runs in Excel through Blitz Report.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. MTL_ITEM_SUB_INVENTORIES joins to MTL_PARAMETERS on the organization ID, restricted to organizations in ORG_ACCESS_VIEW.
  2. The assignment joins to MTL_SYSTEM_ITEMS_VL on the item and organization, and to MTL_SECONDARY_INVENTORIES on the organization and subinventory name.
  3. The source organization is an outer join to MTL_PARAMETERS, so assignments without a source organization are kept.
  4. Locator ties come from MTL_SECONDARY_LOCATORS on the item, organization and subinventory, and their names come from MTL_ITEM_LOCATIONS_KFV. These are included only when Download Locators is Y.
  5. The on-hand value is a correlated sum over MTL_ONHAND_QUANTITIES_DETAIL for the same item and subinventory.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Why does a row sometimes show no changes to header cells? A: When several rows share an organization, item and subinventory, header cells on the second and later rows are ignored, so only the locator cells on those rows are processed.

Q: How do I change an organization, item, subinventory or locator on an existing row? A: Those key columns are read-only on existing rows. Delete the row and create a new one with the new key values.

Q: Which subinventories can be assigned? A: The description states that only storage subinventories can hold item assignments, so receiving subinventories are not selectable.


© Enginatics GmbH