Search Results lines_total
Overview
OE_PRN_ORDER_HEADERS_V is an APPS-owned database view in the Oracle E-Business Suite Order Management (ONT) module. It is a denormalized, print-oriented projection of order header data, intended to supply the reporting and document-printing layers with a single, ready-to-consume row per sales order header. Unlike the transactional base table OE_ORDER_HEADERS_ALL, which stores identifiers and foreign keys, this view resolves many of those keys into descriptive names and computes monetary totals at query time. It carries a VALID status in both 12.1.1 and 12.2.2, and its structure is identical across the two releases, so reports and integrations built against it remain portable during an upgrade.
Because the view joins transaction type, agreement, blanket, invoicing rule, payment terms and currency descriptions, it is frequently used as the header source for order acknowledgements, pick/pack documents and custom operational reports where a flat, printable result set is preferred over multi-table joins. It is a read-only object; no DML should be issued against it.
Underlying Base Objects
The view is defined primarily over OE_ORDER_HEADERS_ALL (aliased H), which supplies all header identifiers, dates, contact references, shipping attributes and the transactional currency code. Three outer joins enrich the header with descriptive text: OE_AGREEMENTS_TL supplies the agreement name and revision, OE_BLANKET_HEADERS_ALL supplies the blanket version number, RA_TERMS_TL supplies the payment terms name, and RA_RULES supplies the invoicing rule name. FND_CURRENCIES_TL provides the transactional currency name.
Two additional objects perform computation rather than description. The OE_TOTALS_GRP package exposes GET_ORDER_TOTAL, which is called four times to produce the order, line, charges and tax totals, and FND_CURRENCY.SAFE_GET_FORMAT_MASK supplies the currency-specific format mask used by TO_CHAR. An inner join to OE_TRANSACTION_TYPES_ALL restricts the result set to order types whose TRANSACTION_TYPE_CODE is 'ORDER', excluding returns and other non-order flows. The TL tables are joined with LANGUAGE = USERENV('LANG'), so descriptions are returned in the session language.
Key Columns
- HEADER_ID, ORG_ID, ORDER_NUMBER, VERSION_NUMBER — primary identifiers and operating unit context for the order.
- ORDERED_DATE, REQUEST_DATE — order entry and requested ship dates.
- SOLD_TO_ORG_ID, SHIP_TO_ORG_ID, INVOICE_TO_ORG_ID, DELIVER_TO_ORG_ID — party and site identifiers for each address role, with corresponding contact ID columns.
- TRANSACTIONAL_CURR_NAME — descriptive currency name resolved from FND_CURRENCIES_TL.
- ORDER_TOTAL, LINES_TOTAL, CHARGES_TOTAL, TAXES_TOTAL — character-formatted totals returned by OE_TOTALS_GRP.GET_ORDER_TOTAL and converted with TO_CHAR. TAXES_TOTAL is the column most often searched for, matching the 'TAXES' parameter passed to GET_ORDER_TOTAL.
- AGREEMENT_NAME, AGREEMENT_VERSION, BLANKET_NUMBER, BLANKET_VERSION_NUMBER — agreement and blanket context.
- INVOICING_RULE_NAME, PAYMENT_TERMS — billing and settlement terms.
- CUST_PO_NUMBER, TAX_EXEMPT_NUMBER, SHIPPING_INSTRUCTIONS, PACKING_INSTRUCTIONS — free-text and reference attributes carried through for document output.
Common Use Cases and Queries
The view is typically queried by ORDER_NUMBER, by ORG_ID for an operating unit, or by a date range on ORDERED_DATE. A representative query listing orders with their tax and overall totals is:
SELECT order_number, transactional_curr_name, lines_total, charges_total, taxes_total, order_total, payment_terms FROM oe_prn_order_headers_v WHERE org_id = :p_org_id AND ordered_date >= :p_from_date ORDER BY order_number;SELECT order_number, taxes_total FROM oe_prn_order_headers_v WHERE header_id = :p_header_id;— retrieves the formatted tax total for a specific order.SELECT agreement_name, blanket_number, order_number, order_total FROM oe_prn_order_headers_v WHERE agreement_name IS NOT NULL;— lists orders governed by agreements or blankets.
Note that the four total columns are stored as formatted character strings, not numbers, so arithmetic or aggregation in SQL requires TO_NUMBER conversion and is generally discouraged. Because totals are computed by a package function at fetch time, performance on large result sets depends on filtering aggressively by org and date rather than on the view definition itself.
-
View: OE_PRN_ORDER_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PRN_ORDER_HEADERS_V, object_name:OE_PRN_ORDER_HEADERS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_PRN_ORDER_HEADERS_V ,
-
View: OE_PRN_ORDER_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PRN_ORDER_HEADERS_V, object_name:OE_PRN_ORDER_HEADERS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_PRN_ORDER_HEADERS_V ,
-
View: IBE_RETURN_DETAIL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_RETURN_DETAIL_V, object_name:IBE_RETURN_DETAIL_V, status:VALID, product: IBE - iStore , description: Stores information about return order detail. , implementation_dba_data: APPS.IBE_RETURN_DETAIL_V ,
-
View: IBE_RETURN_DETAIL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_RETURN_DETAIL_V, object_name:IBE_RETURN_DETAIL_V, status:VALID, product: IBE - iStore , description: Stores information about return order detail. , implementation_dba_data: APPS.IBE_RETURN_DETAIL_V ,
-
VIEW: APPS.OE_PRN_ORDER_HEADERS_V
12.2.2
-
VIEW: APPS.OE_PRN_ORDER_HEADERS_V
12.1.1
-
View: IBE_ORDER_DETAIL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_ORDER_DETAIL_V, object_name:IBE_ORDER_DETAIL_V, status:VALID, product: IBE - iStore , description: Stores information about details of an order line , implementation_dba_data: APPS.IBE_ORDER_DETAIL_V ,
-
View: IBE_ORDER_DETAIL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_ORDER_DETAIL_V, object_name:IBE_ORDER_DETAIL_V, status:VALID, product: IBE - iStore , description: Stores information about details of an order line , implementation_dba_data: APPS.IBE_ORDER_DETAIL_V ,
-
VIEW: APPS.IBE_RETURN_DETAIL_V
12.2.2
-
VIEW: APPS.IBE_RETURN_DETAIL_V
12.1.1
-
VIEW: APPS.OE_PRN_ORDER_HEADERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PRN_ORDER_HEADERS_V, object_name:OE_PRN_ORDER_HEADERS_V, status:VALID,
-
VIEW: APPS.OE_PRN_ORDER_HEADERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PRN_ORDER_HEADERS_V, object_name:OE_PRN_ORDER_HEADERS_V, status:VALID,
-
VIEW: APPS.IBE_ORDER_DETAIL_V
12.2.2
-
VIEW: APPS.IBE_ORDER_DETAIL_V
12.1.1
-
VIEW: APPS.IBE_ORDER_DETAIL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_ORDER_DETAIL_V, object_name:IBE_ORDER_DETAIL_V, status:VALID,
-
View: IBE_ORDER_HEADER_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_ORDER_HEADER_V, object_name:IBE_ORDER_HEADER_V, status:VALID, product: IBE - iStore , implementation_dba_data: APPS.IBE_ORDER_HEADER_V ,
-
VIEW: APPS.IBE_ORDER_DETAIL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_ORDER_DETAIL_V, object_name:IBE_ORDER_DETAIL_V, status:VALID,
-
View: IBE_ORDER_HEADER_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_ORDER_HEADER_V, object_name:IBE_ORDER_HEADER_V, status:VALID, product: IBE - iStore , implementation_dba_data: APPS.IBE_ORDER_HEADER_V ,
-
VIEW: APPS.IBE_RETURN_DETAIL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_RETURN_DETAIL_V, object_name:IBE_RETURN_DETAIL_V, status:VALID,
-
VIEW: APPS.IBE_RETURN_DETAIL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_RETURN_DETAIL_V, object_name:IBE_RETURN_DETAIL_V, status:VALID,
-
APPS.IBE_WORKFLOW_PVT SQL Statements
12.1.1
-
VIEW: APPS.IBE_ORDER_HEADER_V
12.2.2
-
VIEW: APPS.IBE_ORDER_HEADER_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_ORDER_HEADER_V, object_name:IBE_ORDER_HEADER_V, status:VALID,
-
VIEW: APPS.IBE_ORDER_HEADER_V
12.1.1
-
VIEW: APPS.IBE_ORDER_HEADER_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IBE.IBE_ORDER_HEADER_V, object_name:IBE_ORDER_HEADER_V, status:VALID,
-
APPS.IBE_WORKFLOW_PVT SQL Statements
12.2.2
-
APPS.PN_SOI_VOL_IMPORT SQL Statements
12.1.1
-
APPS.PN_SOI_VOL_IMPORT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.IBE_WORKFLOW_PVT
12.2.2
-
PACKAGE BODY: APPS.IBE_WORKFLOW_PVT
12.1.1
-
APPS.IBE_WORKFLOW_PVT dependencies on OE_TOTALS_GRP
12.2.2
-
APPS.IBE_WORKFLOW_PVT dependencies on OE_TOTALS_GRP
12.1.1
-
APPS.IBE_WORKFLOW_PVT dependencies on IBE_RETURN_DETAIL_V
12.2.2
-
APPS.IBE_WORKFLOW_PVT dependencies on IBE_RETURN_DETAIL_V
12.1.1
-
APPS.IBE_WORKFLOW_PVT dependencies on MTL_SYSTEM_ITEMS_TL
12.1.1
-
APPS.IBE_WORKFLOW_PVT dependencies on MTL_SYSTEM_ITEMS_TL
12.2.2
-
PACKAGE BODY: APPS.PN_SOI_VOL_IMPORT
12.1.1
-
PACKAGE BODY: APPS.PN_SOI_VOL_IMPORT
12.2.2
-
APPS.IBE_WORKFLOW_PVT dependencies on OE_ORDER_LINES_ALL
12.2.2
-
APPS.IBE_WORKFLOW_PVT dependencies on OE_ORDER_LINES_ALL
12.1.1
-
APPS.PN_SOI_VOL_IMPORT dependencies on FND_MESSAGE
12.1.1
-
APPS.PN_SOI_VOL_IMPORT dependencies on FND_MESSAGE
12.2.2
-
APPS.PN_SOI_VOL_IMPORT dependencies on PNP_DEBUG_PKG
12.1.1
-
APPS.PN_SOI_VOL_IMPORT dependencies on PNP_DEBUG_PKG
12.2.2
-
eTRM - IBE Tables and Views
12.2.2
description: This table stores information about supported Work Flow notifications in iStore. ,
-
eTRM - IBE Tables and Views
12.1.1
description: This table stores information about supported Work Flow notifications in iStore. ,
-
PACKAGE BODY: APPS.CN_PROC_BATCHES_PKG
12.1.1
-
PACKAGE BODY: APPS.CN_PROC_BATCHES_PKG
12.2.2
-
APPS.IBE_WORKFLOW_PVT dependencies on IBE_UTIL
12.1.1
-
APPS.IBE_WORKFLOW_PVT dependencies on IBE_UTIL
12.2.2