Search Results gml_batch_so_reservations_v1
Overview
The GML_BATCH_SO_RESERVATIONS_V1 view, owned by the APPS schema, is a reporting construct within the Oracle E-Business Suite Process Manufacturing Logistics (GML) module. Its stated purpose, per the ETRM documentation, is to present "OM Batch reservation" information, serving as a consolidated read-only interface joining Oracle Order Management (OM) sales orders with Process Manufacturing batch and reservation data. The view is most relevant in Oracle EBS 12.1.1 and 12.2.2 environments where discrete batch reservations against process-manufactured goods must be reconciled with open sales orders.
The view exposes batch-level reservation detail aligned to sales order headers and lines, batch header attributes, item master properties, and customer identification. It is typically used by reporting tools, integration feeds, and customer-facing operational dashboards where batch traceability must be tied to order fulfillment activity.
Underlying Base Objects
The view is defined over the following documented base objects, all accessed via APPS synonyms:
- GME_BATCH_HEADER — batch master (BATCH_NO, BATCH_TYPE, BATCH_STATUS, dates, PLANT_CODE).
- GME_MATERIAL_DETAILS — batch material lines linked via BATCH_ID and MATERIAL_DETAIL_ID.
- GML_BATCH_SO_RESERVATIONS — the core reservation fact table (BATCH_RES_ID, RESERVED_QTY, SO_LINE_ID, ORDER_ID, DELETE_MARK).
- OE_ORDER_HEADERS_ALL and OE_ORDER_LINES_ALL — sales order header and line data (ORDER_NUMBER, LINE_NUMBER, ORDERED_QUANTITY, SCHEDULE_SHIP_DATE).
- OE_TRANSACTION_TYPES_TL — translated order type descriptions.
- IC_ITEM_MST_B — process item master (ITEM_NO, LOT_CTL, STATUS_CTL, GRADE_CTL, LOCT_CTL, SUBLOT_CTL, DUALUM_IND).
- HZ_CUST_ACCOUNTS and HZ_PARTIES — customer name and identifier for the sold-to party.
Joins are driven by BATCH_ID, ITEM_ID, ORDER_ID, SO_LINE_ID, and ORGANIZATION_ID, with filters restricting batches to active statuses (BATCH_STATUS between 1 and 3) and excluding logically deleted reservations (DELETE_MARK = 0). Language localization is enforced via USERENV('LANG') against the order type translation table.
Key Columns
The view surfaces several categories of information:
- Order context: ORDER_NUMBER, ORDER_TYPE_ID, HEADER_ID, LINE_NUMBER, LINE_ID, ORDER_TYPE (translated description).
- Batch context: BATCH_NO, BATCH_ID, PLANT_CODE, BATCH_TYPE_CODE and decoded BATCH_TYPE ('BATCH' or 'FPO'), BATCH_STATUS_CODE with decoded BATCH_STATUS (PENDING, WIP, COMPLETED).
- Item context: ITEM_NO, ITEM_UM, ITEM_UM2, DUALUM_IND, NONINV_IND, LOT_INDIVISIBLE, and the critical control flags LOT_CTL, STATUS_CTL, GRADE_CTL, LOCT_CTL, and SUBLOT_CTL. The LOT_CTL column is of particular interest to users searching this view, as it identifies whether the item is lot-controlled.
- Reservation quantities: RESERVED_QTY, RESERVED_QTY2, QTY_UOM, QTY2_UOM, alongside OL.ORDERED_QUANTITY, ORDERED_QUANTITY2, and UOMs.
- Customer and dates: CUSTOMER_NAME, CUSTOMER_ID, SCHEDULE_SHIP_DATE, and batch start/complete dates (actual falling back to planned).
- Warehouse and identity: WHSE_CODE, ORGANIZATION_ID, BATCH_RES_ID, BATCH_LINE_ID, ITEM_ID.
Common Use Cases and Queries
Typical uses include identifying reservations on lot-controlled items, reconciling open sales orders to WIP batches, and feeding warehouse or shipping systems with batch allocation detail.
Query for reservations on lot-controlled items:
SELECT order_number, line_number, batch_no, item_no, reserved_qty, lot_ctl FROM apps.gml_batch_so_reservations_v1 WHERE lot_ctl = 1;
Query for reservations by customer and batch status:
SELECT customer_name, order_number, batch_no, batch_status, reserved_qty FROM apps.gml_batch_so_reservations_v1 WHERE batch_status = 'WIP' ORDER BY customer_name;
Query to summarize reserved quantity per sales order line:
SELECT order_number, line_number, item_no, SUM(reserved_qty) FROM apps.gml_batch_so_reservations_v1 GROUP BY order_number, line_number, item_no;
Because the view is read-only and filtered to active, non-deleted reservations, it should be used for reporting and integration rather than transactional updates. Applications should account for the USERENV language filter to ensure order type descriptions resolve in the intended locale.
-
View: GML_BATCH_SO_RESERVATIONS_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GML.GML_BATCH_SO_RESERVATIONS_V1, object_name:GML_BATCH_SO_RESERVATIONS_V1, status:VALID, product: GML - Process Manufacturing Logistics , description: OM Batch reservation view , implementation_dba_data: APPS.GML_BATCH_SO_RESERVATIONS_V1 ,
-
View: GML_BATCH_SO_RESERVATIONS_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GML.GML_BATCH_SO_RESERVATIONS_V1, object_name:GML_BATCH_SO_RESERVATIONS_V1, status:VALID, product: GML - Process Manufacturing Logistics , description: OM Batch reservation view , implementation_dba_data: APPS.GML_BATCH_SO_RESERVATIONS_V1 ,
-
SYNONYM: APPS.GML_BATCH_SO_RESERVATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GML_BATCH_SO_RESERVATIONS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.GML_BATCH_SO_RESERVATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GML_BATCH_SO_RESERVATIONS, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.IC_ITEM_MST_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:IC_ITEM_MST_B, status:VALID,
-
SYNONYM: APPS.IC_ITEM_MST_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IC_ITEM_MST_B, status:VALID,
-
VIEW: APPS.GML_BATCH_SO_RESERVATIONS_V1
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GML.GML_BATCH_SO_RESERVATIONS_V1, object_name:GML_BATCH_SO_RESERVATIONS_V1, status:VALID,
-
VIEW: APPS.GML_BATCH_SO_RESERVATIONS_V1
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GML.GML_BATCH_SO_RESERVATIONS_V1, object_name:GML_BATCH_SO_RESERVATIONS_V1, status:VALID,
-
SYNONYM: APPS.OE_TRANSACTION_TYPES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_TRANSACTION_TYPES_TL, status:VALID,
-
SYNONYM: APPS.OE_TRANSACTION_TYPES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_TRANSACTION_TYPES_TL, status:VALID,
-
SYNONYM: APPS.GME_MATERIAL_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_MATERIAL_DETAILS, status:VALID,
-
SYNONYM: APPS.GME_MATERIAL_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GME_MATERIAL_DETAILS, status:VALID,
-
SYNONYM: APPS.GME_BATCH_HEADER
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GME_BATCH_HEADER, status:VALID,
-
SYNONYM: APPS.GME_BATCH_HEADER
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GME_BATCH_HEADER, status:VALID,
-
SYNONYM: APPS.OE_ORDER_HEADERS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HEADERS_ALL, status:VALID,
-
SYNONYM: APPS.OE_ORDER_HEADERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_HEADERS_ALL, status:VALID,
-
SYNONYM: APPS.OE_ORDER_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_LINES_ALL, status:VALID,
-
SYNONYM: APPS.OE_ORDER_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_ORDER_LINES_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
SYNONYM: APPS.HZ_PARTIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTIES, status:VALID,
-
eTRM - GML Tables and Views
12.2.2
description: Tax reporting classes. ,
-
eTRM - GML Tables and Views
12.1.1
description: Tax reporting classes. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - GML Tables and Views
12.2.2
description: Tax reporting classes. ,
-
eTRM - GML Tables and Views
12.1.1
description: Tax reporting classes. ,