Results for “re_source_flag”
24 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.OE_MRP_OPEN_DEMANDS_V is a read-only database view in the Oracle E-Business Suite Order Management (ONT) product. Its documented purpose is to supply Material Requirements Planning (MRP) with the open demand lines the planning engine requires for the Scheduler's Workbench. In both 12.1.1 and 12.2.2 the object is deployed in the APPS schema with a status of VALID and is treated as a reporting and integration surface rather than a transactional entity; no data is stored in the view itself, and all values are derived at query time from the Order Management tables.
The view consolidates the scheduling attributes of open sales order lines — request, promise, schedule, and latest acceptable dates — into a single row per document line or shipment line. MRP's Scheduler's Workbench consumes this output to sequence and re-schedule demand against supply, which is why the view filters aggressively to expose only demand that is genuinely available to the planner.
Underlying Base Objects
The ETRM metadata documents the following referenced base objects: OE_ORDER_HEADERS_ALL (synonym), OE_ORDER_LINES_ALL (synonym), OE_SETS (synonym), and OE_TRANSACTION_TYPES_VL (view). The header and line tables are joined on HEADER_ID, providing order-level context (order number, order date type, order type) alongside line-level scheduling data. OE_SETS is outer-joined twice, once through SHIP_SET_ID and once through ARRIVAL_SET_ID, to resolve ship-set and arrival-set names. OE_TRANSACTION_TYPES_VL supplies the transaction type name and is joined on ORDER_TYPE_ID and ORG_ID.
The view text applies several mandatory predicates. Only lines where SHIPPED_QUANTITY IS NULL and ORDERED_QUANTITY > 0 are returned, and lines whose SOURCE_TYPE_CODE is 'EXTERNAL' (outside the NVL default of 'INTERNAL') are excluded. In addition, OPEN_FLAG must equal 'Y' and NVL(VISIBLE_DEMAND_FLAG,'N') must equal 'Y'. These filters ensure the Scheduler's Workbench sees only unshipped, non-external, visible open demand.
Key Columns
- ORDER_NUMBER, HEADER_ID, LINE_ID, LINE_NUMBER, SHIPMENT_NUMBER, OPTION_NUMBER — document identity and line hierarchy.
- ORG_ID — operating unit that owns the order line.
- ORDERED_ITEM, INVENTORY_ITEM_ID — the ordered item and its inventory key.
- REQUEST_SHIP_DATE and REQUEST_ARRIVAL_DATE — the two decoded scheduling dates, split from REQUEST_DATE according to ORDER_DATE_TYPE_CODE ('ARRIVAL' routes the value to REQUEST_ARRIVAL_DATE; otherwise it lands in REQUEST_SHIP_DATE).
- PROMISE_DATE, SCHEDULE_SHIP_DATE, SCHEDULE_ARRIVAL_DATE, LATEST_ACCEPTABLE_DATE — planning dates used by the Scheduler's Workbench.
- ORDERED_QUANTITY, ORDER_QUANTITY_UOM, DELIVERY_LEAD_TIME — demand quantity and lead-time values.
- SHIP_FROM_ORG_ID, SHIP_TO_ORG_ID, SOLD_TO_ORG_ID — inventory and trading partner organization references.
- DEMAND_CLASS_CODE, FLOW_STATUS_CODE, PLANNING_PRIORITY, LINE_CATEGORY_CODE — demand classification and prioritization attributes.
- PROJECT_ID, TASK_ID, SHIPPING_METHOD_CODE, FREIGHT_CARRIER_CODE — project and shipment characteristics.
- ATO/configured-item columns such as ATO_LINE_ID, COMPONENT_NUMBER, TOP_MODEL_LINE_ID, SHIP_MODEL_COMPLETE_FLAG, plus set names from OE_SETS.
Common Use Cases and Queries
Typical use is to report open order demand by item, organization, or date window, and to verify which lines MRP considers visible. The following query lists open demands scheduled to ship within a date range:
SELECT order_number, line_number, shipment_number, ordered_item, ordered_quantity, schedule_ship_date, promise_date, flow_status_code FROM apps.oe_mrp_open_demands_v WHERE org_id = :org_id AND schedule_ship_date BETWEEN :start_date AND :end_date ORDER BY schedule_ship_date, order_number;SELECT ordered_item, SUM(ordered_quantity) demand_qty FROM apps.oe_mrp_open_demands_v WHERE org_id = :org_id GROUP BY ordered_item ORDER BY demand_qty DESC;SELECT order_number, line_id, latest_acceptable_date, planning_priority FROM apps.oe_mrp_open_demands_v WHERE plan_priority IS NOT NULL AND org_id = :org_id;
Because the view is a database object rather than an executable concurrent program, it is queried directly through SQL, BLT, or custom reporting, and it should not be updated or extended with insert or update statements. All reported behavior is consistent with the documented ETRM metadata for release 12.2.2.
-
View: OE_MRP_OPEN_DEMANDS_V 12.1.1
This vew is used by MRP for their Scheduler's Workbench.
APPS.OE_MRP_OPEN_DEMANDS_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_ORDER_LINES_ALL·↳ OE_SETS·Explore ONT module →
-
View: OE_MRP_OPEN_DEMANDS_V 12.2.2
This vew is used by MRP for their Scheduler's Workbench.
APPS.OE_MRP_OPEN_DEMANDS_V·↳ OE_ORDER_HEADERS_ALL·↳ OE_ORDER_LINES_ALL·↳ OE_SETS·Explore ONT module →
-
View: OE_ORDER_LINES_HIST_V 12.1.1
APPS.OE_ORDER_LINES_HIST_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore ONT module →
-
View: OE_BLANKET_LINES_V 12.1.1
This view is used to get the BSA lines information, used in BSA entry UI.
APPS.OE_BLANKET_LINES_V·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore ONT module →
-
View: OE_ORDER_LINES_HIST_V 12.2.2
APPS.OE_ORDER_LINES_HIST_V·↳ AR_LOOKUPS·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore ONT module →
-
View: OE_LINE_ACKS_V 12.1.1
Information about the acknowledgements for Order Lines
-
View: OE_LINE_ACKS_V 12.2.2
Information about the acknowledgements for Order Lines
-
This view is used to get BSA line history information, and it is udes in BSA version comparison UI.
APPS.OE_BLANKET_LINES_HIST_V·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore ONT module →
-
View: OE_BLANKET_LINES_V 12.2.2
This view is used to get the BSA lines information, used in BSA entry UI.
APPS.OE_BLANKET_LINES_V·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore ONT module →
-
This view is used to get BSA line history information, and it is udes in BSA version comparison UI.
APPS.OE_BLANKET_LINES_HIST_V·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore ONT module →
-
View: OE_AK_ORDER_LINES_V 12.1.1
APPS.OE_AK_ORDER_LINES_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ OE_ORDER_LINES_ALL·Explore ONT module →
-
View: OE_AK_ORDER_LINES_V 12.2.2
APPS.OE_AK_ORDER_LINES_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ OE_ORDER_LINES_ALL·Explore ONT module →
-
View: OE_BLKT_LINES_HIST_V 12.1.1
This view is used to get BSA history lines information, which is used in BSA organizer.
APPS.OE_BLKT_LINES_HIST_V·↳ MTL_GRADES·↳ MTL_PARAMETERS·↳ OE_AGREEMENTS_TL·Explore ONT module →
-
View: OE_BLKT_LINES_HIST_V 12.2.2
This view is used to get BSA history lines information, which is used in BSA organizer.
APPS.OE_BLKT_LINES_HIST_V·↳ MTL_GRADES·↳ MTL_PARAMETERS·↳ OE_AGREEMENTS_TL·Explore ONT module →
-
This table stores information about the acknowledgements for Order Lines.
-
This table stores information about the acknowledgements for Order Lines.
-
Table to capture sales agreement Line details.(Attributes common between Sales Order and Sales Agreements).
-
Table to capture sales agreement Line details.(Attributes common between Sales Order and Sales Agreements).
-
Stores history of attribute change for Order Lines.
-
Table to capture sales agreement lines history.
-
Table to capture sales agreement lines history.
-
OE_ORDER_LINES_ALL stores information for all order lines in Oracle Order Management.
-
OE_ORDER_LINES_ALL stores information for all order lines in Oracle Order Management.
-
Stores history of attribute change for Order Lines.