Search Results mtl_subinventories_trk_val_v




Overview

OE_SUBINVENTORIES_V is a lightweight, read-only view owned by the APPS schema in Oracle E-Business Suite releases 12.1.1 and 12.2.2. It belongs to the Order Management (ONT) product family and exists to support a single, well-defined purpose: providing a constrained list of subinventories for use by defaulting list-of-values (LOV) mechanisms within the Order Management application. The view is documented in ETRM with a VALID status and is described as being "used by defaulting LOV to list subinventories."

Rather than exposing the full breadth of inventory or subinventory configuration, the view deliberately narrows its output to a distinct set of subinventory names drawn from the tracking validation view. This design makes it suitable as a controlled source for user-facing selection lists, where duplicate or non-validated entries would be undesirable. It is a presentation-layer abstraction, not a transactional or master-data table, and therefore carries no independent storage, indexes, or constraints of its own.

Underlying Base Objects

The view is defined over exactly one documented base object: MTL_SUBINVENTORIES_TRK_VAL_V, itself a view in the APPS schema. The relationship is a straightforward pass-through with a projection and a de-duplication step. The defining SQL, as recorded in the ETRM metadata, is:

  • SELECT DISTINCT SECONDARY_INVENTORY_NAME SUBINVENTORY FROM MTL_SUBINVENTORIES_TRK_VAL_V ORDER BY SECONDARY_INVENTORY_NAME

Two characteristics of this definition are worth noting. First, the DISTINCT keyword eliminates repeated secondary inventory names that may appear in the base view, ensuring that each subinventory is surfaced only once. Second, the ORDER BY clause sorts results by subinventory name, which is convenient for alphabetic display in an LOV but carries a minor performance implication, since sorting is performed on every invocation. Because the base object is itself a view over tracking validation logic, the effective source of truth traces back to the underlying inventory subinventory and tracking definitions maintained within the Inventory module.

Key Columns

The view exposes a single column, documented in ETRM as:

  • SUBINVENTORY — the alias applied to SECONDARY_INVENTORY_NAME from the base view. This value represents the name of a secondary inventory (subinventory) that has been validated for tracking purposes. It is the sole attribute returned and serves as both the display value and the candidate return value for an Order Management LOV.

No organization identifier, description, or status flag is exposed. Consequently, callers that require organization-scoped or descriptive information must join back to the base view or to Inventory tables such as MTL_SECONDARY_INVENTORIES.

Common Use Cases and Queries

The primary scenario is supplying a picklist of valid subinventories during Order Management entry or defaulting. A straightforward retrieval mirrors the view definition:

  • SELECT subinventory FROM oe_subinventories_v;

Where organization context is required, the view can be joined to the inventory setup table, for example on secondary_inventory_name, to filter by organization_id or to retrieve descriptions. Developers implementing custom LOVs or concurrent programs in Order Management frequently reference this view to guarantee consistency with the standard application behavior, avoiding hard-coded or unfiltered queries against the base inventory tables.

Because the object is a view, no DML should ever be issued against it; it is intended strictly for query access, and any extension should be performed by wrapping it in a custom view or querying the underlying MTL_SUBINVENTORIES_TRK_VAL_V directly when the DISTINCT and ORDER BY semantics are not desired.