Results for “mtl_onhand_total_v”

32 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

MTL_ONHAND_TOTAL_V is an Oracle E-Business Suite inventory reporting view owned by the APPS schema within the INV (Inventory) product. It exposes a consolidated, denormalized snapshot of on-hand quantities held in the MTL_ONHAND_QUANTITIES_DETAIL table, joined to descriptive attributes for organizations, subinventories, locators, items, lots, and secondary inventory parameters. Because the view resolves item, locator, lot, and organization identifiers into human-readable concatenated segments and descriptions in a single query, it is widely used as a foundational data source for on-hand reporting, custom concurrent programs, Discoverer workbooks, OBIEE/BI Publisher extracts, and open-interface-style integrations.

The view is documented as VALID in ETRM metadata for both 12.1.1 and 12.2.2. A defining characteristic is the presence of the INVCONV marker comments (/* INVCONV START RNRAO */ and /* INVCONV END RNRAO */) around the secondary UOM columns, indicating conditional inclusion driven by the dual-UOM / secondary quantity enhancement. It also emits a set of NULL placeholder columns (LPN, serial number, unit number) that give the view a fixed column shape suitable for downstream consumers even where those attributes are not applicable.

Underlying Base Objects

The view is defined over the following documented base objects:

  • MTL_ONHAND_QUANTITIES_DETAIL (synonym) — the primary fact source supplying quantities, revision, lot, subinventory, locator, and cost group.
  • MTL_PARAMETERS (synonym) — provides the owning organization context and joins to ORGANIZATION_ID.
  • MTL_ITEM_LOCATIONS_KFV (view) — the key flexfield view over locators, supplying CONCATENATED_SEGMENTS as LOCATOR plus project/task/status attributes.
  • MTL_SECONDARY_INVENTORIES (synonym) — supplies the subinventory STATUS_ID.
  • MTL_LOT_NUMBERS (synonym) — supplies lot expiration date, grade code, and lot status.
  • MTL_SYSTEM_ITEMS_VL (view) — the item validation view supplying item description, concatenated item segment, primary UOM, lot control, and serial control codes.

The joins link each on-hand quantity row to its organization, subinventory, locator, item, and (where applicable) lot, so consumers receive fully described on-hand records without performing the multi-table joins themselves.

Key Columns

Common Use Cases and Queries

Typical scenarios include item availability checks, subinventory balance reports, lot/expiry dashboards, and extracts feeding planning or WMS systems. A standard query filters by organization and item:

  • SELECT organization_code, subinventory_code, locator, item, uom, on_hand, lot_number, expiration_date FROM mtl_onhand_total_v WHERE organization_id = :org AND inventory_item_id = :item;

For aggregate availability by subinventory, sum ON_HAND grouped by ORGANIZATION_CODE and SUBINVENTORY_CODE. For dual-UOM reporting, select SECONDARY_ONHAND alongside SECONDARY_UOM_CODE. Because LPN and serial columns are NULL, serial- or LPN-level detail must be sourced from the underlying on-hand tables directly rather than this view.