Search Results blanket_version_number
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: APPS.OE_PRN_ORDER_HEADERS_V
12.2.2
-
VIEW: APPS.OE_PRN_ORDER_HEADERS_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: OE_PRN_ORDER_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PRN_ORDER_LINES_V, object_name:OE_PRN_ORDER_LINES_V, status:VALID, product: ONT - Order Management , description: The view is for obtaining line details for printing a sales order , implementation_dba_data: APPS.OE_PRN_ORDER_LINES_V ,
-
VIEW: APPS.OE_PRN_ORDER_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PRN_ORDER_LINES_V, object_name:OE_PRN_ORDER_LINES_V, status:VALID,
-
View: OE_PRN_ORDER_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PRN_ORDER_LINES_V, object_name:OE_PRN_ORDER_LINES_V, status:VALID, product: ONT - Order Management , description: The view is for obtaining line details for printing a sales order , implementation_dba_data: APPS.OE_PRN_ORDER_LINES_V ,
-
VIEW: APPS.OE_PRN_ORDER_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_PRN_ORDER_LINES_V, object_name:OE_PRN_ORDER_LINES_V, status:VALID,
-
VIEW: APPS.OE_PRN_ORDER_LINES_V
12.1.1
-
VIEW: ONT.OE_BLANKET_LINES_ALL#
12.2.2
-
VIEW: ONT.OE_BLANKET_LINES_HIST#
12.2.2
-
VIEW: APPS.OE_PRN_ORDER_LINES_V
12.2.2
-
VIEW: ONT.OE_ORDER_LINES_ALL#
12.2.2
-
VIEW: ONT.OE_ORDER_LINES_HISTORY#
12.2.2
-
VIEW: ONT.OE_BLANKET_LINES_ALL#
12.2.2
owner:ONT, object_type:VIEW, object_name:OE_BLANKET_LINES_ALL#, status:VALID,
-
VIEW: ONT.OE_BLANKET_LINES_HIST#
12.2.2
owner:ONT, object_type:VIEW, object_name:OE_BLANKET_LINES_HIST#, status:VALID,
-
VIEW: ONT.OE_ORDER_LINES_ALL#
12.2.2
owner:ONT, object_type:VIEW, object_name:OE_ORDER_LINES_ALL#, status:VALID,
-
VIEW: APPS.OE_BLKT_LINES_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_BLKT_LINES_HIST_V, object_name:OE_BLKT_LINES_HIST_V, status:VALID,
-
VIEW: APPS.OE_BLANKET_LINES_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_BLANKET_LINES_HIST_V, object_name:OE_BLANKET_LINES_HIST_V, status:VALID,
-
VIEW: APPS.OE_BLKT_LINES_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_BLKT_LINES_HIST_V, object_name:OE_BLKT_LINES_HIST_V, status:VALID,
-
VIEW: ONT.OE_ORDER_LINES_HISTORY#
12.2.2
owner:ONT, object_type:VIEW, object_name:OE_ORDER_LINES_HISTORY#, status:VALID,
-
APPS.OE_VERSION_HISTORY_UTIL SQL Statements
12.2.2
-
VIEW: APPS.OE_ORDER_LINES_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_LINES_HIST_V, object_name:OE_ORDER_LINES_HIST_V, status:VALID,
-
VIEW: APPS.OE_BLANKET_LINES_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_BLANKET_LINES_HIST_V, object_name:OE_BLANKET_LINES_HIST_V, status:VALID,
-
APPS.OE_VERSION_HISTORY_UTIL SQL Statements
12.1.1
-
VIEW: APPS.OE_ORDER_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_LINES_V, object_name:OE_ORDER_LINES_V, status:VALID,
-
View: OE_AK_ORDER_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AK_ORDER_LINES_V, object_name:OE_AK_ORDER_LINES_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_AK_ORDER_LINES_V ,
-
View: OE_AK_ORDER_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AK_ORDER_LINES_V, object_name:OE_AK_ORDER_LINES_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_AK_ORDER_LINES_V ,
-
VIEW: APPS.OE_ORDER_LINES_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_LINES_HIST_V, object_name:OE_ORDER_LINES_HIST_V, status:VALID,
-
VIEW: APPS.OE_ORDER_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_LINES_V, object_name:OE_ORDER_LINES_V, status:VALID,
-
View: OE_BLANKET_LINES_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_BLANKET_LINES_HIST_V, object_name:OE_BLANKET_LINES_HIST_V, status:VALID, product: ONT - Order Management , description: This view is used to get BSA line history information, and it is udes in BSA version comparison UI. , implementation_dba_data: APPS.OE_BLANKET_LINES_HIST_V ,
-
TYPE: APPS.OE_ORDER_PUB_LINE_REC_TYPE
12.1.1
owner:APPS, object_type:TYPE, object_name:OE_ORDER_PUB_LINE_REC_TYPE, status:VALID,
-
TYPE: APPS.OE_ORDER_PUB_LINE_REC25
12.2.2
owner:APPS, object_type:TYPE, object_name:OE_ORDER_PUB_LINE_REC25, status:VALID,
-
View: OE_BLANKET_LINES_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_BLANKET_LINES_HIST_V, object_name:OE_BLANKET_LINES_HIST_V, status:VALID, product: ONT - Order Management , description: This view is used to get BSA line history information, and it is udes in BSA version comparison UI. , implementation_dba_data: APPS.OE_BLANKET_LINES_HIST_V ,
-
View: OE_ORDER_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_LINES_V, object_name:OE_ORDER_LINES_V, status:VALID, product: ONT - Order Management , description: View for Order Lines used in the Sales Order form. , implementation_dba_data: APPS.OE_ORDER_LINES_V ,
-
View: OE_ORDER_LINES_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_LINES_HIST_V, object_name:OE_ORDER_LINES_HIST_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_ORDER_LINES_HIST_V ,
-
View: OE_ORDER_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_LINES_V, object_name:OE_ORDER_LINES_V, status:VALID, product: ONT - Order Management , description: View for Order Lines used in the Sales Order form. , implementation_dba_data: APPS.OE_ORDER_LINES_V ,
-
TYPE: APPS.OE_ORDER_PUB_LINE_REC_TYPE
12.2.2
owner:APPS, object_type:TYPE, object_name:OE_ORDER_PUB_LINE_REC_TYPE, status:VALID,
-
TABLE: ONT.OE_BLANKET_LINES_HIST
12.1.1
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_BLANKET_LINES_HIST, object_name:OE_BLANKET_LINES_HIST, status:VALID,
-
TABLE: ONT.OE_BLANKET_LINES_ALL
12.1.1
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_BLANKET_LINES_ALL, object_name:OE_BLANKET_LINES_ALL, status:VALID,
-
TABLE: ONT.OE_BLANKET_LINES_ALL
12.2.2
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_BLANKET_LINES_ALL, object_name:OE_BLANKET_LINES_ALL, status:VALID,
-
TABLE: ONT.OE_BLANKET_LINES_HIST
12.2.2
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_BLANKET_LINES_HIST, object_name:OE_BLANKET_LINES_HIST, status:VALID,
-
View: OE_BLKT_LINES_HIST_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_BLKT_LINES_HIST_V, object_name:OE_BLKT_LINES_HIST_V, status:VALID, product: ONT - Order Management , description: This view is used to get BSA history lines information, which is used in BSA organizer. , implementation_dba_data: APPS.OE_BLKT_LINES_HIST_V ,
-
View: OE_ORDER_LINES_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_ORDER_LINES_HIST_V, object_name:OE_ORDER_LINES_HIST_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_ORDER_LINES_HIST_V ,
-
View: OE_BLKT_LINES_HIST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_BLKT_LINES_HIST_V, object_name:OE_BLKT_LINES_HIST_V, status:VALID, product: ONT - Order Management , description: This view is used to get BSA history lines information, which is used in BSA organizer. , implementation_dba_data: APPS.OE_BLKT_LINES_HIST_V ,
-
TABLE: ONT.OE_ORDER_LINES_HISTORY
12.2.2
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_ORDER_LINES_HISTORY, object_name:OE_ORDER_LINES_HISTORY, status:VALID,
-
APPS.OE_LINE_UTIL SQL Statements
12.2.2
-
TABLE: ONT.OE_ORDER_LINES_HISTORY
12.1.1
owner:ONT, object_type:TABLE, fnd_design_data:ONT.OE_ORDER_LINES_HISTORY, object_name:OE_ORDER_LINES_HISTORY, status:VALID,