Search Results demanded_quantity
Overview
APPS.INVFV_INVENTORY_DEMANDS is a reporting view in Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 that consolidates material demand records held in the MTL_DEMAND table. It is defined in the INV (Inventory) application schema and exposes demand originating from multiple transaction source types—principally sales orders and account-based issues—while resolving organization units, item definitions, revision, lot, subinventory and locator context. The view is intended for inquiry, reporting and integration scenarios where a caller needs a denormalized, application-facing projection of open inventory demand rather than the raw table. Its definition uses a UNION ALL to combine different demand source categories, which is significant because column semantics shift between the two halves of the union.
Underlying Base Objects
Per the documented ETRM metadata, the view is defined over the following base objects, all referenced through APPS synonyms: MTL_DEMAND, MTL_SALES_ORDERS, MTL_SYSTEM_ITEMS, MTL_ITEM_LOCATIONS, MTL_TXN_SOURCE_TYPES, MTL_PARAMETERS, HR_ALL_ORGANIZATION_UNITS, MTL_GENERIC_DISPOSITIONS, and GL_CODE_COMBINATIONS. MTL_DEMAND is the driving table, supplying demand identifiers, reservation status and quantities. MTL_SYSTEM_ITEMS is joined on organization and inventory item to validate the item; MTL_ITEM_LOCATIONS is an outer join on locator; MTL_TXN_SOURCE_TYPES supplies the human-readable transaction source type name; HR_ALL_ORGANIZATION_UNITS and MTL_PARAMETERS provide the organization name and organization code. In the sales-order branch, MTL_SALES_ORDERS is joined on the demand source header. In the account branch, the account key flexfield is sourced via GL_CODE_COMBINATIONS, indicated by the "_KF:SQLGL:GL#:GLC" key flex marker. The view filters to reservation type 1 with no parent demand, and restricts to demand where line item quantity less reservation quantity remains positive.
Key Columns
- DEMAND_ID – Primary identifier of the demand record from MTL_DEMAND.
- ORGANIZATION_ID / ORGANIZATION_CODE / NAME – Owning inventory organization identifiers and descriptive attributes.
- INVENTORY_ITEM_ID – Item being demanded, with the key flex marker '_KF:INV:MSTK:MSI'.
- REQUIREMENT_DATE – Date by which the demand must be satisfied.
- DEMAND_SOURCE_TYPE / TRANSACTION_SOURCE_TYPE_NAME – Numeric and descriptive source classification.
- DEMAND_SOURCE_HEADER_ID – Header of the originating document; aliased as SALES_ORDER_ID in the sales-order branch.
- ACCOUNT_ID / ACCOUNT_ALIAS_ID – Account reference columns. In the sales-order branch both are TO_NUMBER(NULL); in the account branch ACCOUNT_ID carries the header value. The searched term account_alias_id corresponds to the ACCOUNT_ALIAS_ID column, which is defined as TO_NUMBER(NULL) and therefore does not carry a populated value in this view definition.
- UOM / DEMANDED_QUANTITY / RESERVED_QUANTITY – Unit of measure and quantity measures.
- REVISION, LOT_NUMBER, SUBINVENTORY, LOCATOR_ID – Material control attributes, with locator key flex marker '_KF:INV:MTLL:MIL'.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE – Audit columns.
Common Use Cases and Queries
Typical usage includes open demand reports, reservation analysis, and feeds into planning or fulfillment integration. A representative query filtering by item and organization is:
SELECT organization_code,
inventory_item_id,
demand_source_type,
transaction_source_type_name,
requirement_date,
demanded_quantity,
reserved_quantity,
account_id,
account_alias_id
FROM apps.invfv_inventory_demands
WHERE organization_id = :p_org_id
AND inventory_item_id = :p_item_id
ORDER BY requirement_date;
Because ACCOUNT_ALIAS_ID resolves to NULL in both branches of the union, queries searching for "account_alias_id" against this view will not return meaningful values; callers requiring alias-based account identification must obtain it from the underlying accounting flexfield sources. The view remains the appropriate entry point for demand-centric reporting that requires organization, item and quantity context in a single projection.
-
VIEW: APPS.INVFV_INVENTORY_DEMANDS
12.2.2
-
VIEW: APPS.INVFV_INVENTORY_DEMANDS
12.1.1
-
View: INVFV_INVENTORY_DEMANDS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INVENTORY_DEMANDS, object_name:INVFV_INVENTORY_DEMANDS, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVFV_INVENTORY_DEMANDS ,
-
VIEW: APPS.INVBV_INVENTORY_DEMANDS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVBV_INVENTORY_DEMANDS, object_name:INVBV_INVENTORY_DEMANDS, status:VALID,
-
View: INVFV_INVENTORY_DEMANDS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INVENTORY_DEMANDS, object_name:INVFV_INVENTORY_DEMANDS, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVFV_INVENTORY_DEMANDS ,
-
VIEW: APPS.INVBV_INVENTORY_DEMANDS
12.1.1
-
View: INVBV_INVENTORY_DEMANDS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVBV_INVENTORY_DEMANDS, object_name:INVBV_INVENTORY_DEMANDS, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVBV_INVENTORY_DEMANDS ,
-
View: INVBV_INVENTORY_DEMANDS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVBV_INVENTORY_DEMANDS, object_name:INVBV_INVENTORY_DEMANDS, status:VALID, product: INV - Inventory , description: - Retrofitted , implementation_dba_data: APPS.INVBV_INVENTORY_DEMANDS ,
-
VIEW: APPS.INVBV_INVENTORY_DEMANDS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVBV_INVENTORY_DEMANDS, object_name:INVBV_INVENTORY_DEMANDS, status:VALID,
-
VIEW: APPS.INVFV_INVENTORY_DEMANDS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INVENTORY_DEMANDS, object_name:INVFV_INVENTORY_DEMANDS, status:VALID,
-
VIEW: APPS.INVBV_INVENTORY_DEMANDS
12.2.2
-
VIEW: APPS.INVFV_INVENTORY_DEMANDS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.INVFV_INVENTORY_DEMANDS, object_name:INVFV_INVENTORY_DEMANDS, status:VALID,
-
eTRM - INV Tables and Views
12.1.1
-
eTRM - INV Tables and Views
12.2.2