Search Results op_ordr_dtl
Overview
The OP_ORDR_DTL table is a core transactional data store within the Oracle E-Business Suite (EBS) Process Manufacturing Logistics (GML) module. It serves as the detailed line-level repository for sales and distribution orders, capturing all granular information associated with individual order lines. Each record in this table represents a specific item or service requested on an order, linked to a parent header record in the OP_ORDR_HDR table. Its primary role is to manage the lifecycle of order lines, from entry and pricing through to fulfillment and invoicing, integrating deeply with inventory, pricing, shipping, and customer master data.
Key Information Stored
The table's structure is defined by a composite primary key (ORDER_ID, LINE_ID), which uniquely identifies every order line within the system. Key columns and the data they hold include the LINE_ID for sequence, ITEM_ID linking to the IC_ITEM_MST_B table for the ordered product, and various quantity fields (e.g., ORDER_QTY, SHIP_QTY). Critical business rule columns are also present, such as PRICEFF_ID for applied pricing, LINE_STATUS for workflow tracking, and SHIPCUST_ID for the shipping customer. Financial and logistical attributes are extensively covered, including columns for FOB_CODE, TERMS_CODE, SHIP_MTHD, and multiple currency fields (BASE_CURRENCY, BILLING_CURRENCY). The table also maintains references for quality control (QC_GRADE_WANTED), sales representatives (SLSREP_CODE), and textual instructions (TEXT_CODE).
Common Use Cases and Queries
This table is central to operational reporting and process execution. Common use cases include generating pick slips and packing lists by querying open lines for a warehouse, analyzing line-level profitability by joining with pricing and cost tables, and tracking order fulfillment status. Support teams frequently query it to investigate pricing discrepancies or shipment holds (HOLDREAS_CODE). A typical SQL pattern retrieves all lines for a specific order or customer, often joining with header and item master data:
SELECT ood.line_id, ood.item_id, iim.item_no, ood.order_qty, ood.ship_qty, ood.line_status FROM gml.op_ordr_dtl ood JOIN ic_item_mst iim ON ood.item_id = iim.item_id WHERE ood.order_id = :p_order_id ORDER BY ood.line_id;
Another common reporting query aggregates sales by item or sales representative over a date range, requiring a join to OP_ORDR_HDR for the order date.
Related Objects
OP_ORDR_DTL maintains extensive foreign key relationships, acting as a hub that connects order lines to master and transactional data across EBS. Its most critical relationship is with the parent header table, OP_ORDR_HDR, via ORDER_ID. Key documented relationships, as per the ETRM, include:
- Master Data: IC_ITEM_MST_B / IC_ITEM_MST (ITEM_ID), OP_CUST_MST (multiple customer IDs), IC_WHSE_MST (FROM_WHSE, TO_WHSE), GL_CURR_MST (currency codes).
- Pricing & Sales: OP_PRCE_EFF (PRICEFF_ID), OP_SLSR_MST (SLSREP_CODE), OP_PRSL_DTL (PRESALES_ORDLINE_ID).
- Shipping & Logistics: OP_SHIP_MTH (SHIP_MTHD), OP_BILL_LAD (BOL_ID), OP_PORT_MST (embarkation/debarkation ports).
- Workflow & Controls: OP_ORDR_STS_B (LINE_STATUS), SY_REAS_CDS_B (CHANGEREAS_CODE), OP_HOLD_CDS (HOLDREAS_CODE).
- Terms & Conditions: OP_TERM_MST (TERMS_CODE), OP_FOBC_MST (FOB_CODE), OP_TEXT_HDR (TEXT_CODE).
-
Table: OP_ORDR_DTL
12.2.2
owner:GML, object_type:TABLE, fnd_design_data:GML.OP_ORDR_DTL, object_name:OP_ORDR_DTL, status:VALID, product: GML - Process Manufacturing Logistics , description: Order detail (order lines). , implementation_dba_data: GML.OP_ORDR_DTL ,
-
Table: OP_ORDR_DTL
12.1.1
owner:GML, object_type:TABLE, fnd_design_data:GML.OP_ORDR_DTL, object_name:OP_ORDR_DTL, status:VALID, product: GML - Process Manufacturing Logistics , description: Order detail (order lines). , implementation_dba_data: GML.OP_ORDR_DTL ,
-
APPS.PMI_SALES_PKG dependencies on OP_ORDR_DTL
12.1.1
-
APPS.PMI_COMMON_PKG dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMPMRACT dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMD_COA_DATA_NEW dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GML_UPDATE_CUST_DATA_PVT dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GMF_SUBLEDGER_REPORT dependencies on OP_ORDR_DTL
12.1.1
-
APPS.PMI_SALES_PKG dependencies on OP_ORDR_DTL
12.2.2
-
APPS.OPI_OPM_COMMON_PKG dependencies on OP_ORDR_DTL
12.1.1
-
APPS.OPI_EDW_OPMCOGS_F_C dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GR_PROCESS_ORDERS dependencies on OP_ORDR_DTL
12.2.2
-
APPS.PMI_SALES_PKG dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GML_ORAKRP_XMLP_PKG dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GMPMRACT dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GML_UPDATE_CUST_DATA_PVT dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GML_ORAKRP_XMLP_PKG dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMIALLOC dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMI_AUTO_ALLOCATE_PUB dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMF_GMFLCHST_XMLP_PKG dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMD_COA_DATA_NEW dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GMF_SUBLEDGER_REPORT dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GMI_AUTO_ALLOCATE_PUB dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GMD_COA_DATA_OM dependencies on OP_ORDR_DTL
12.2.2
-
APPS.OPI_EDW_COGS_FOPM_SZ dependencies on OP_ORDR_DTL
12.1.1
-
APPS.PMI_SALES_PKG dependencies on OP_ORDR_DTL
12.1.1
-
APPS.OPI_OPM_COMMON_PKG dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GML_RELEASE_SHIPMENT_PKG dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMD_COA_DATA_OM dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GR_PROCESS_ORDERS dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GMD_COA_DATA_NEW dependencies on OP_ORDR_DTL
12.1.1
-
APPS.GMF_GMFLCHST_XMLP_PKG dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GML_RELEASE_SHIPMENT_PKG dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GMIALLOC dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GMD_COA_DATA_NEW dependencies on OP_ORDR_DTL
12.2.2
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_BILL_LAD
12.1.1
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_BILL_LAD
12.2.2
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_CUST_MST
12.2.2
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_CUST_MST
12.1.1
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_ORDR_HDR
12.2.2
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_ORDR_HDR
12.1.1
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_SHIP_MST
12.2.2
-
APPS.GMI_ICR03_XMLP_PKG dependencies on OP_SHIP_MST
12.1.1
-
APPS.GMIALLOC dependencies on OP_HOLD_CDS
12.2.2
-
APPS.GMIALLOC dependencies on OP_HOLD_CDS
12.1.1
-
APPS.PMI_SALES_PKG dependencies on OP_ORDR_HDR
12.2.2
-
Table: SY_UOMS_MST
12.2.2
product: GMA - Process Manufacturing Systems , description: Unit of measure master for Oracle Process Manufacturing. Synchronized with MTL_UNITS_OF_MEASURE and associated tables when Oracle Financials is used. , implementation_dba_data: Not implemented in this database ,
-
Table: OP_CUST_MST
12.2.2
product: GML - Process Manufacturing Logistics , description: Customer master. , implementation_dba_data: Not implemented in this database ,