Search Results primary_reservation_quantity
Overview
MTL_RESERVATIONS_VIEW is a read-only database view owned by the APPS schema within the Oracle E-Business Suite Inventory (INV) module. It is documented in ETRM 12.2.2 with the status VALID and an accompanying description of "Not used," indicating that the object is retained for backward compatibility and does not carry a functional role in the current application code path. Despite this designation, the view remains a valid queryable object in both 12.1.1 and 12.2.2 and exposes a curated projection of reservation data.
The view presents one row per active reservation detail record, drawn from the MTL_DEMAND table. It is not a table or a materialized view; no data is stored, so all results are computed at query time against the underlying demand records. Its principal value in reporting and integration is that it pre-filters MTL_DEMAND to reservation rows only and renames several columns to more intuitive identifiers, reducing the filtering logic that downstream queries must otherwise repeat.
Underlying Base Objects
The view is defined over a single referenced base object, MTL_DEMAND (SYNONYM), which is the core Inventory table that stores all demand and reservation records for an organization. The view applies four static predicates to that table:
RESERVATION_TYPE = 2— restricts output to reservation-type demand records.ROW_STATUS_FLAG = 1— restricts output to active, non-deleted rows.PARENT_DEMAND_ID IS NOT NULL— restricts output to detail-level demand rows that have a parent demand record.PRIMARY_UOM_QUANTITY - COMPLETED_QUANTITY != 0— excludes rows whose reservation quantity has been fully consumed, so only outstanding reservations are returned.
Because the view references only MTL_DEMAND, any transaction that inserts, updates, or deletes demand records is immediately reflected in subsequent queries. No join to MTL_SYSTEM_ITEMS, MTL_ITEM_LOCATIONS, or MTL_LOT_NUMBERS is embedded; descriptive attributes such as item, locator, and lot are returned only in coded form.
Key Columns
The view exposes thirteen columns. The DEMAND_SOURCE_HEADER_ID column is of particular interest to users searching on that term, as it identifies the header record of the originating demand source (for example, a sales order header or a move order header). Related columns are DEMAND_SOURCE_TYPE_ID (aliased from DEMAND_SOURCE_TYPE), DEMAND_SOURCE_LINE_ID (cast from DEMAND_SOURCE_LINE to a number), DEMAND_SOURCE_NAME, and DEMAND_SOURCE_DELIVERY. Together these form the full demand-source key. Rounding out the projection are ORGANIZATION_ID, INVENTORY_ITEM_ID, SUPPLY_SOURCE_TYPE_ID, PRIMARY_RESERVATION_QUANTITY (computed as PRIMARY_UOM_QUANTITY - COMPLETED_QUANTITY), REVISION, LOT_NUMBER, SUBINVENTORY_CODE (from SUBINVENTORY), and LOCATOR_ID.
Common Use Cases and Queries
The view is typically used to report outstanding reservations against a demand source, to reconcile reserved quantities before pick, and to feed integration extracts. A representative query locating reservations by demand source header is:
SELECT organization_id, inventory_item_id, demand_source_header_id, demand_source_line_id, primary_reservation_quantity FROM mtl_reservations_view WHERE demand_source_header_id = :header_id;SELECT inventory_item_id, subinventory_code, locator_id, primary_reservation_quantity FROM mtl_reservations_view WHERE organization_id = :org_id AND inventory_item_id = :item_id;
Because the view carries no indexes, performance depends on the underlying MTL_DEMAND indexes, and queries should always be constrained by ORGANIZATION_ID and INVENTORY_ITEM_ID or by the demand source columns.
-
APPS.INV_RESERVATION_AVAIL_PVT SQL Statements
12.1.1
-
APPS.INV_RESERVATION_AVAIL_PVT SQL Statements
12.2.2
-
APPS.INV_TRX_RELIEF_C_PVT SQL Statements
12.2.2
-
APPS.INV_TRX_RELIEF_C_PVT SQL Statements
12.1.1
-
View: MTL_RESERVATIONS_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_VIEW, object_name:MTL_RESERVATIONS_VIEW, status:VALID, product: INV - Inventory , description: Not used , implementation_dba_data: APPS.MTL_RESERVATIONS_VIEW ,
-
View: MTL_RESERVATIONS_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_VIEW, object_name:MTL_RESERVATIONS_VIEW, status:VALID, product: INV - Inventory , description: Not used , implementation_dba_data: APPS.MTL_RESERVATIONS_VIEW ,
-
VIEW: INV.MTL_RESERVATIONS#
12.2.2
-
VIEW: APPS.MTL_RESERVATIONS_VIEW
12.2.2
-
VIEW: APPS.MTL_RESERVATIONS_VIEW
12.1.1
-
APPS.WMS_CATCH_WEIGHT_PVT SQL Statements
12.2.2
-
VIEW: APPS.MTL_RESERVATIONS_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_VIEW, object_name:MTL_RESERVATIONS_VIEW, status:VALID,
-
VIEW: INV.MTL_RESERVATIONS_INTERFACE#
12.2.2
-
VIEW: APPS.MTL_RESERVATIONS_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_VIEW, object_name:MTL_RESERVATIONS_VIEW, status:VALID,
-
View: MTL_RESERVATIONS_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_ALL_V, object_name:MTL_RESERVATIONS_ALL_V, status:VALID, product: INV - Inventory , implementation_dba_data: APPS.MTL_RESERVATIONS_ALL_V ,
-
View: MTL_RESERVATIONS_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_ALL_V, object_name:MTL_RESERVATIONS_ALL_V, status:VALID, product: INV - Inventory , implementation_dba_data: APPS.MTL_RESERVATIONS_ALL_V ,
-
TRIGGER: APPS.MTL_DEMAND_T
12.2.2
-
TRIGGER: APPS.MTL_DEMAND_T
12.1.1
-
VIEW: APPS.MTL_RESERVATIONS_ALL_V
12.1.1
-
VIEW: INV.MTL_RESERVATIONS#
12.2.2
owner:INV, object_type:VIEW, object_name:MTL_RESERVATIONS#, status:VALID,
-
VIEW: APPS.MTL_RESERVATIONS_ALL_V
12.2.2
-
APPS.CTO_WORKBENCH_UTIL_PK SQL Statements
12.2.2
-
VIEW: APPS.MTL_RESERVATIONS_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_ALL_V, object_name:MTL_RESERVATIONS_ALL_V, status:VALID,
-
PACKAGE BODY: APPS.INV_TRX_RELIEF_C_PVT
12.1.1
-
APPS.INV_PICK_RELEASE_PVT SQL Statements
12.2.2
-
VIEW: APPS.MTL_RESERVATIONS_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_ALL_V, object_name:MTL_RESERVATIONS_ALL_V, status:VALID,
-
PACKAGE BODY: APPS.INV_TRX_RELIEF_C_PVT
12.2.2
-
TABLE: WMS.WMS_WP_RESERVATIONS_GTMP
12.2.2
owner:WMS, object_type:TABLE, fnd_design_data:WMS.WMS_WP_RESERVATIONS_GTMP, object_name:WMS_WP_RESERVATIONS_GTMP, status:VALID,
-
APPS.AHL_INV_RESERVATIONS_GRP SQL Statements
12.1.1
-
APPS.INV_DIAG_WDD_STAGED SQL Statements
12.1.1
-
APPS.INV_EXPRESS_PICK_PUB SQL Statements
12.1.1
-
APPS.INV_DIAG_WDD_STAGED SQL Statements
12.2.2
-
APPS.INV_DIAG_RSV_WDD_STG_MCH SQL Statements
12.2.2
-
APPS.INV_DIAG_RSV_WDD_STG_MCH SQL Statements
12.1.1
-
APPS.INV_EXPRESS_PICK_PUB SQL Statements
12.2.2
-
APPS.INV_PICK_RELEASE_PVT SQL Statements
12.1.1
-
APPS.CTO_WIP_WORKFLOW_API_PK SQL Statements
12.1.1
-
APPS.CTO_WIP_WORKFLOW_API_PK SQL Statements
12.2.2
-
APPS.INV_LPN_RESERVATIONS_PVT SQL Statements
12.2.2
-
VIEW: INV.MTL_RESERVATIONS_INTERFACE#
12.2.2
owner:INV, object_type:VIEW, object_name:MTL_RESERVATIONS_INTERFACE#, status:VALID,
-
APPS.INV_DIAG_RSV_MS_DUMP SQL Statements
12.1.1
-
APPS.INV_LPN_RESERVATIONS_PVT SQL Statements
12.1.1
-
APPS.INV_DIAG_RSV_MS_DUMP SQL Statements
12.2.2
-
APPS.CTO_WORKBENCH_UTIL_PK SQL Statements
12.1.1
-
APPS.INV_RESERVATION_WORKFLOW SQL Statements
12.1.1
-
APPS.INV_RESERVATION_WORKFLOW SQL Statements
12.2.2
-
VIEW: APPS.MTL_RESERVATIONS_INTERFACE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_INTERFACE_V, object_name:MTL_RESERVATIONS_INTERFACE_V, status:VALID,
-
PACKAGE BODY: APPS.INV_RESERVATION_AVAIL_PVT
12.1.1
-
APPS.AHL_INV_RESERVATIONS_GRP SQL Statements
12.2.2
-
VIEW: APPS.MTL_RESERVATIONS_INTERFACE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RESERVATIONS_INTERFACE_V, object_name:MTL_RESERVATIONS_INTERFACE_V, status:VALID,
-
APPS.WMS_WORKFLOW_WRAPPERS SQL Statements
12.1.1