Search Results oe_blkt_lines_hist_v
Overview
OE_BLKT_LINES_HIST_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, defined within the ONT (Order Management) product family. It is available in both 12.1.1 and 12.2.2 and carries a VALID status in the ETRM data dictionary. The view exposes historical blanket sales agreement (BSA) line information and is documented as the data source consumed by the BSA Organizer, the Order Management workbench used to review blanket agreement activity.
Blanket sales agreements capture long-term customer purchase commitments, typically expressed as a header with one or more lines defining items, pricing, and quantities. The transactional tables store current line state, while the history table preserves superseded versions of each line. OE_BLKT_LINES_HIST_V projects that historical content through the standard APPS synonym layer so concurrent programs, Oracle Forms, and ad hoc reports can retrieve prior versions of BSA lines without querying the underlying table directly.
Because the view returns the ROWID of the underlying history row as its first projected column along with LINE_ID and HEADER_ID, it supports both row-level addressing (for updateable, Forms-based blocks) and relational joins back to the active blanket tables.
Underlying Base Objects
The documented metadata lists the following referenced objects: OE_BLANKET_LINES_HIST, OE_BLANKET_LINES_ALL, OE_BLANKET_HEADERS, OE_BLANKET_LINES_EXT, OE_BLANKET_FORM_CONTROL (package), OE_AGREEMENTS_TL, OE_LOOKUPS, MTL_PARAMETERS, MTL_GRADES, QP_LIST_HEADERS_TL, QP_LIST_LINES, QP_PRICING_ATTRIBUTES, RA_RULES, and RA_TERMS_TL.
The primary projection source is OE_BLANKET_LINES_HIST, the archive table holding previous versions of blanket lines; the view text selects from this object, aliased OBL. Joins to OE_BLANKET_LINES_ALL and OE_BLANKET_HEADERS return the current header context and identify the parent agreement, while OE_BLANKET_LINES_EXT supplies descriptive flexfield context and attribute columns. OE_AGREEMENTS_TL provides the translated agreement name. QP_LIST_HEADERS_TL, QP_LIST_LINES, and QP_PRICING_ATTRIBUTES resolve the price list, pricing attributes, and list line associated with historic pricing. RA_RULES and RA_TERMS_TL supply invoicing and accounting rule and payment term descriptions, and OE_LOOKUPS decodes lookup codes such as DEMAND_CLASS_CODE and SHIPMENT_PRIORITY_CODE. MTL_PARAMETERS and MTL_GRADES resolve inventory organization and grade information. OE_BLANKET_FORM_CONTROL is a database package referenced for form-level control behavior rather than row data. All base objects appear through APPS synonyms, so the view remains name-stable across the 12.1.1 and 12.2.2 code lines.
Key Columns
- ROWID, LINE_ID, HEADER_ID, ORG_ID: Row address, unique line identifier, parent blanket header, and operating unit.
- LINE_TYPE_ID, LINE_NUMBER, ORDERED_ITEM, INVENTORY_ITEM_ID: Line classification, sequence, ordered item name, and inventory item identifier.
- REQUEST_DATE, PROMISE_DATE, SCHEDULE_SHIP_DATE: Order, promise, and scheduling dates carried on the historic line.
- ORDERED_QUANTITY, ORDER_QUANTITY_UOM, PRICING_QUANTITY, PRICING_QUANTITY_UOM, CANCELLED_QUANTITY, SHIPPED_QUANTITY, SHIPPING_QUANTITY, SHIPPING_QUANTITY_UOM: Quantity and unit-of-measure measures for ordered, priced, cancelled, and shipped amounts.
- SHIP_FROM_ORG_ID, SHIP_TO_ORG_ID, INVOICE_TO_ORG_ID, DELIVER_TO_ORG_ID, SOLD_FROM_ORG_ID, SOLD_TO_ORG_ID, INTMED_SHIP_TO_ORG_ID: Party and organization identifiers for ship, invoice, deliver, sold, and intermediary roles.
- SHIP_TO_CONTACT_ID, DELIVER_TO_CONTACT_ID, INVOICE_TO_CONTACT_ID, INTMED_SHIP_TO_CONTACT_ID: Contact identifiers associated with each party role.
- UNIT_SELLING_PRICE, PRICE_LIST_ID, PRICING_DATE: Pricing detail for the historic line.
- TAX_EXEMPT_FLAG, TAX_EXEMPT_NUMBER, TAX_EXEMPT_REASON_CODE, TAX_CODE, TAX_RATE, TAX_VALUE, TAX_DATE: Tax exemption and tax calculation attributes.
- AGREEMENT_ID, SOURCE_DOCUMENT_TYPE_ID, SOURCE_DOCUMENT_ID, SOURCE_DOCUMENT_LINE_ID, ORIG_SYS_DOCUMENT_REF, ORIG_SYS_LINE_REF, REFERENCE_LINE_ID, REFERENCE_TYPE, REFERENCE_HEADER_ID: Agreement and source/reference document linkage used in BSA version tracking.
- CUST_PO_NUMBER, CUSTOMER_JOB, CUSTOMER_PRODUCTION_LINE, CUSTOMER_DOCK_CODE, CUST_MODEL_SERIAL_NUMBER: Customer-supplied reference data.
- SHIPPING_METHOD_CODE, FREIGHT_CARRIER_CODE, FREIGHT_TERMS_CODE, FOB_POINT_CODE, SHIPMENT_NUMBER, SHIPMENT_PRIORITY_CODE: Logistics and shipment attributes.
- PAYMENT_TERM_ID, INVOICING_RULE_ID, ACCOUNTING_RULE_ID: Commercial terms resolved through RA_TERMS_TL and RA_RULES.
- DEMAND_CLASS_CODE, DEMAND_BUCKET_TYPE_CODE, RLA_SCHEDULE_TYPE_CODE: Planning and scheduling classifications decoded through OE_LOOKUPS.
- PROJECT_ID, TASK_ID, INVOICE_INTERFACE_STATUS_CODE: Project accounting and invoice interface context.
- CONTEXT, ATTRIBUTE1 … ATTRIBUTE n: Descriptive flexfield context and attribute segments.
Common Use Cases and Queries
The principal consumer is the BSA Organizer, which uses the view to render prior line states so planners can compare historic versus current quantities, dates, and prices. Additional uses include audit reporting on blanket agreement revision history, reconciliation of changed dates or prices against the current line, and extraction of historic lines into custom OBIEE or BI Publisher reports.
Retrieve all historic versions of a blanket line:
- SELECT line_id, header_id, line_number, ordered_item, ordered_quantity, unit_selling_price FROM oe_blkt_lines_hist_v WHERE header_id = :p_header_id ORDER BY line_number, line_id;
Report historic lines for a customer purchase order reference:
- SELECT h.header_id, h.line_number, h.ordered_item, h.cust_po_number, h.promise_date, h.shipping_quantity FROM oe_blkt_lines_hist_v h WHERE h.cust_po_number = :p_cust_po ORDER BY h.promise_date;
Join history to the current line to detect changes in quantity or price:
- SELECT hl.line_id, cl.line_number, hl.ordered_quantity hist_qty, cl.ordered_quantity curr_qty, hl.unit_selling_price hist_price, cl.unit_selling_price curr_price FROM oe_blkt_lines_hist_v hl, oe_blanket_lines_all cl WHERE hl.line_id = cl.line_id AND hl.ordered_quantity <> cl.ordered_quantity;
When writing custom queries, qualify columns with the view alias to avoid ambiguity with joined blanket tables, and filter on ORG_ID to restrict output to the correct operating unit.
-
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 ,
-
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 ,
-
SYNONYM: APPS.OE_BLANKET_LINES_HIST
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_BLANKET_LINES_HIST, status:VALID,
-
SYNONYM: APPS.OE_BLANKET_LINES_HIST
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_BLANKET_LINES_HIST, status:VALID,
-
SYNONYM: APPS.OE_AGREEMENTS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_AGREEMENTS_TL, status:VALID,
-
SYNONYM: APPS.MTL_GRADES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_GRADES, status:VALID,
-
SYNONYM: APPS.OE_AGREEMENTS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_AGREEMENTS_TL, status:VALID,
-
PACKAGE: APPS.OE_BLANKET_FORM_CONTROL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OE_BLANKET_FORM_CONTROL, status:VALID,
-
PACKAGE: APPS.OE_BLANKET_FORM_CONTROL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OE_BLANKET_FORM_CONTROL, status:VALID,
-
SYNONYM: APPS.OE_BLANKET_LINES_EXT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_BLANKET_LINES_EXT, status:VALID,
-
SYNONYM: APPS.OE_BLANKET_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_BLANKET_LINES_ALL, status:VALID,
-
SYNONYM: APPS.OE_BLANKET_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_BLANKET_LINES_ALL, status:VALID,
-
SYNONYM: APPS.OE_BLANKET_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_BLANKET_HEADERS, status:VALID,
-
SYNONYM: APPS.MTL_GRADES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_GRADES, status:VALID,
-
SYNONYM: APPS.OE_BLANKET_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_BLANKET_HEADERS, status:VALID,
-
SYNONYM: APPS.OE_BLANKET_LINES_EXT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_BLANKET_LINES_EXT, status:VALID,
-
SYNONYM: APPS.RA_TERMS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_TERMS_TL, status:VALID,
-
SYNONYM: APPS.RA_TERMS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_TERMS_TL, status:VALID,
-
SYNONYM: APPS.RA_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_RULES, status:VALID,
-
SYNONYM: APPS.QP_LIST_HEADERS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_HEADERS_TL, status:VALID,
-
SYNONYM: APPS.QP_LIST_HEADERS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_HEADERS_TL, status:VALID,
-
SYNONYM: APPS.RA_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_RULES, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
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.QP_PRICING_ATTRIBUTES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_PRICING_ATTRIBUTES, status:VALID,
-
SYNONYM: APPS.QP_PRICING_ATTRIBUTES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_PRICING_ATTRIBUTES, status:VALID,
-
VIEW: APPS.OE_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LOOKUPS, object_name:OE_LOOKUPS, status:VALID,
-
VIEW: APPS.OE_LOOKUPS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_LOOKUPS, object_name:OE_LOOKUPS, status:VALID,
-
SYNONYM: APPS.QP_LIST_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_LINES, status:VALID,
-
SYNONYM: APPS.QP_LIST_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_LINES, 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: 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,
-
SYNONYM: APPS.MTL_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_PARAMETERS, status:VALID,
-
SYNONYM: APPS.MTL_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_PARAMETERS, status:VALID,
-
eTRM - ONT Tables and Views
12.2.2
description: OM WorkFlow Activity Skip Log. ,
-
eTRM - ONT Tables and Views
12.1.1
description: OM WorkFlow Activity Skip Log. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - ONT Tables and Views
12.2.2
description: OM WorkFlow Activity Skip Log. ,
-
eTRM - ONT Tables and Views
12.1.1
description: OM WorkFlow Activity Skip Log. ,