Search Results mrp_primary_quantity
Overview
PO_REQ_SUPPLY_VIEW is an Oracle E-Business Suite 12.1.1 / 12.2.2 database view owned by the APPS schema within the PO – Purchasing product family. Its documented description is simply "Requisition supply," and its structural purpose is to expose requisition-driven supply records maintained in MTL_SUPPLY and enrich them with requisition header, line, and distribution attributes. Records appear only where MTL_SUPPLY.SUPPLY_TYPE_CODE = 'REQ', meaning every row represents supply created by the planning or sourcing engine in response to a purchase requisition.
Because requisition supply spans planning, purchasing, and inventory perspectives in the same physical supply row, the view presents each relevant quantity or date in three forms: the requisition context, the transactional UOM context, and the MRP/planning context. For a user searching on expected_delivery_date, the view is significant because it exposes both the requisition-driven EXPECTED_DELIVERY_DATE and the planning-driven MRP_EXPECTED_DELIVERY_DATE as separate columns, allowing reports to distinguish the documented delivery expectation from the planning horizon date. Revisions are active at the same time, so the view is a primary reference for reporting on open requisition supply across the enterprise.
Underlying Base Objects
Oracle documents seven referenced base objects (resolved through APPS synonyms) for this view:
PO_REQUISITION_HEADERS_ALL— requisition header; source ofSEGMENT1(requisition number) andTRANSFERRED_TO_OE_FLAG.PO_REQUISITION_LINES_ALL— requisition lines; source of quantity, price, UOM, line number, and suggested vendor information.PO_REQ_DISTRIBUTIONS_ALL— requisition distributions; source ofREQ_LINE_QUANTITY,PROJECT_ID,TASK_ID, andEND_ITEM_UNIT_NUMBER.MTL_SUPPLY— the driving table; source of item, organization, subinventory, supply quantity, destination type, and both expected-delivery dates.MTL_UNITS_OF_MEASURE— resolvesUOM_CODEfrom the supply record's unit of measure.AP_SUPPLIERSandAP_SUPPLIER_SITES_ALL— supplier and supplier-site synonyms supporting suggested vendor name and location.
The join chain is: supply to requisition line (MS.REQ_LINE_ID = PRL.REQUISITION_LINE_ID), line to distribution (PD.REQUISITION_LINE_ID = PRL.REQUISITION_LINE_ID), line to header (PRH.REQUISITION_HEADER_ID = MS.REQ_HEADER_ID), and supply to UOM. The predicate PRL.QUANTITY > 0 is applied to exclude zero-quantity lines. All header, line, and distribution quantities are divided by the requisition line quantity and multiplied by the distribution quantity, producing per-distribution supply amounts.
Key Columns
The view exposes 31 documented columns. Those most relevant to the expected-delivery-date search and to general supply reporting include:
EXPECTED_DELIVERY_DATE— the requisition-oriented expected delivery date carried on the supply record.MRP_EXPECTED_DELIVERY_DATE— the planning engine's expected delivery date, which may differ from the requisition date when MRP has rescheduled the supply.NEED_BY_DATE/EXPECTED_DOCK_DATE— the requisition need-by date and the dock date, useful for lead-time and receipt scheduling reports.ITEM_ID,ORGANIZATION_ID,ITEM_REVISION— the supplied item and its owning organization.REQUISITION_NUMBER(SEGMENT1),REQ_HEADER_ID,REQ_LINE_ID,LINE_NUM— requisition identifiers.QUANTITY,REQ_UOM_CODE,UNIT_PRICE— requisition UOM quantity and price.PRIMARY_UOM_QUANTITY,TO_ORG_PRIMARY_QUANTITY,MRP_PRIMARY_QUANTITY— the same supply expressed in primary UOMs for the receiving organization and planning.TO_ORGANIZATION_ID,TO_SUBINVENTORY,DESTINATION_TYPE_CODE,FROM_ORGANIZATION_ID— destination and source details for transfers.MRP_TO_ORGANIZATION_ID,MRP_TO_SUBINVENTORY,MRP_DESTINATION_TYPE_CODE— planning-side destination attributes.SUGGESTED_VENDOR_NAME,SUGGESTED_VENDOR_LOCATION— sourcing suggestion from the requisition line.PROJECT_ID,TASK_ID,END_ITEM_UNIT_NUMBER— project and task context for project-driven requisitions.TRANSFERRED_TO_OE_FLAG— indicates whether the requisition line has been transferred to the order entry flow.
Common Use Cases and Queries
Typical applications include open requisition supply reporting, expected delivery and need-by-date analysis, MRP-versus-requisition schedule variance, and supplier sourcing summaries.
To locate requisition supply by expected delivery date, filtered to the requisition-level date, a representative query is:
SELECT ri.requisition_number, ri.line_num, ri.item_id, ri.to_organization_id, ri.to_subinventory, ri.expected_delivery_date, ri.need_by_date, ri.quantity, ri.req_uom_code, ri.suggested_vendor_name
FROM apps.po_req_supply_view ri
WHERE TRUNC(ri.expected_delivery_date) BETWEEN :start_date AND :end_date
ORDER BY ri.expected_delivery_date, ri.requisition_number, ri.line_num;
To compare the requisition expectation against the planning schedule, a variance query projects both column values side by side:
SELECT requisition_number, line_num, item_id, expected_delivery_date, mrp_expected_delivery_date, (mrp_expected_delivery_date - expected_delivery_date) days_variance
FROM apps.po_req_supply_view
WHERE mrp_expected_delivery_date <> expected_delivery_date;
To summarize open requisition supply value by destination, aggregate over the primary-UOM columns:
SELECT to_organization_id, to_subinventory, SUM(primary_uom_quantity) supply_qty, SUM(primary_uom_quantity * unit_price) supply_value
FROM apps.po_req_supply_view
GROUP BY to_organization_id, to_subinventory;
Because the view is a single-row-per-distribution read-only construct, it can be consumed directly by BI Publisher reports, custom concurrent programs, and OBIEE or OTBI physical layer mappings without additional join logic. When building such reports on 12.1.1 or 12.2.2, note that the multiplication by requisition line quantity assumes one distribution per line; multiply-distribution requisitions will still yield one row per distribution, so aggregates must be grouped carefully to avoid double counting.
-
View: PO_REQ_SUPPLY_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_REQ_SUPPLY_VIEW, object_name:PO_REQ_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Requisition supply , implementation_dba_data: APPS.PO_REQ_SUPPLY_VIEW ,
-
View: PO_PO_SUPPLY_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_PO_SUPPLY_VIEW, object_name:PO_PO_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Purchasing supply , implementation_dba_data: APPS.PO_PO_SUPPLY_VIEW ,
-
View: PO_PO_SUPPLY_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_PO_SUPPLY_VIEW, object_name:PO_PO_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Purchasing supply , implementation_dba_data: APPS.PO_PO_SUPPLY_VIEW ,
-
View: PO_REQ_SUPPLY_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_REQ_SUPPLY_VIEW, object_name:PO_REQ_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Requisition supply , implementation_dba_data: APPS.PO_REQ_SUPPLY_VIEW ,
-
View: PO_RCV_SUPPLY_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_RCV_SUPPLY_VIEW, object_name:PO_RCV_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Receiving supply , implementation_dba_data: APPS.PO_RCV_SUPPLY_VIEW ,
-
View: PO_RCV_SUPPLY_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_RCV_SUPPLY_VIEW, object_name:PO_RCV_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Receiving supply , implementation_dba_data: APPS.PO_RCV_SUPPLY_VIEW ,
-
View: PO_SHIP_RCV_SUPPLY_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SHIP_RCV_SUPPLY_VIEW, object_name:PO_SHIP_RCV_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Shipment receipts supply , implementation_dba_data: APPS.PO_SHIP_RCV_SUPPLY_VIEW ,
-
View: PO_SHIP_RCV_SUPPLY_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SHIP_RCV_SUPPLY_VIEW, object_name:PO_SHIP_RCV_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Shipment receipts supply , implementation_dba_data: APPS.PO_SHIP_RCV_SUPPLY_VIEW ,
-
View: PO_SHIP_SUPPLY_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SHIP_SUPPLY_VIEW, object_name:PO_SHIP_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Purchasing shipment supply , implementation_dba_data: APPS.PO_SHIP_SUPPLY_VIEW ,
-
View: PO_SHIP_SUPPLY_VIEW
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_SHIP_SUPPLY_VIEW, object_name:PO_SHIP_SUPPLY_VIEW, status:VALID, product: PO - Purchasing , description: Purchasing shipment supply , implementation_dba_data: APPS.PO_SHIP_SUPPLY_VIEW ,