Search Results oe_blanket_lines_hist_v
Overview
OE_BLANKET_LINES_HIST_V is a valid APPS-owned view in the Oracle E-Business Suite Order Management (ONT) module. It exposes blanket sales agreement (BSA) line history information and is documented as being used by the BSA version comparison user interface. In Oracle EBS 12.1.1 and 12.2.2, blanket sales agreements support versioning, whereby each approved revision of an agreement is retained so that changes to line attributes can be audited and compared. This view provides the line-level historical snapshot consumed by that comparison mechanism.
Because the object is a view rather than a table, no data is physically stored in it. It is a reporting and integration access point that projects columns from the underlying blanket line history entity, OE_BLANKET_LINES_HIST. The view presents row identifiers together with the identifying, pricing, shipping, tax, and reference attributes of a historical agreement line, allowing consumers to retrieve prior-version line detail without directly querying the base history table.
Underlying Base Objects
The documented referenced base objects for this view include:
- OE_BLANKET_LINES_HIST — the primary source of BSA line history rows.
- OE_AGREEMENTS_TL — agreement header translations, providing descriptive agreement context.
- HZ_CUST_ACCT_SITES_ALL, HZ_CUST_SITE_USES_ALL, HZ_LOCATIONS, HZ_PARTY_SITES — customer site and location data for ship-to, invoice-to, deliver-to, and intermediate ship-to references.
- MTL_PARAMETERS — inventory organization parameters for ship-from and sold-from defaults.
- OE_LOOKUPS — value-set lookups used to decode descriptive flexfield or coded columns.
- QP_LIST_HEADERS_TL, QP_LIST_LINES, QP_PRICING_ATTRIBUTES — Advanced Pricing list and pricing attribute information linked to the agreement line.
- RA_RULES, RA_TERMS_TL — accounting rules and payment terms for the invoicing and payment term identifiers.
- QC_GRAD_MST — quality grade master data.
The presence of these joins indicates that the view resolves foreign-key identifiers on the history line into meaningful business context, which is why it is suitable for a version comparison screen that must display customer, pricing, and terms detail across revisions.
Key Columns
The view text exposes a broad set of line attributes. The most significant columns include:
- ROWID, LINE_ID, HEADER_ID, ORG_ID — technical row pointer and the identifying keys for the historical line, its agreement header, and operating unit.
- LINE_TYPE_ID, LINE_NUMBER — line classification and sequence within the agreement.
- ORDERED_ITEM, INVENTORY_ITEM_ID, ITEM_REVISION — item identification for the agreement line.
- ORDERED_QUANTITY, PRICING_QUANTITY, SHIPPING_QUANTITY, CANCELLED_QUANTITY, SHIPPED_QUANTITY and their associated UOM columns — quantity and unit-of-measure measures across pricing, ordering, and shipping.
- UNIT_SELLING_PRICE, PRICE_LIST_ID, PRICING_DATE — price and pricing source details.
- AGREEMENT_ID, SHIPMENT_NUMBER — link back to the agreement and shipment.
- SHIP_TO_ORG_ID, INVOICE_TO_ORG_ID, DELIVER_TO_ORG_ID, SHIP_FROM_ORG_ID, SOLD_TO_ORG_ID, SOLD_FROM_ORG_ID and related contact identifiers — party and site references.
- TAX_EXEMPT_FLAG, TAX_EXEMPT_NUMBER, TAX_CODE, TAX_RATE, TAX_VALUE, TAX_DATE — tax handling attributes.
- PAYMENT_TERM_ID, INVOICING_RULE_ID, ACCOUNTING_RULE_ID — terms and rules derived from RA_TERMS_TL and RA_RULES.
- SOURCE_DOCUMENT_ID, SOURCE_DOCUMENT_LINE_ID, ORIG_SYS_DOCUMENT_REF, ORIG_SYS_LINE_REF — source document and external reference keys.
- REQUEST_DATE, PROMISE_DATE, SCHEDULE_SHIP_DATE — scheduling dates.
Common Use Cases and Queries
The principal use case is the BSA version comparison UI, which reconciles line attributes across successive agreement versions. Beyond that, the view supports historical analysis of agreement lines, audit reporting on prior pricing and shipping terms, and integration extracts that need revision-level line detail.
A typical query retrieving line history for a given agreement header:
- SELECT line_id, line_number, ordered_item, ordered_quantity, pricing_quantity, unit_selling_price, agreement_id FROM oe_blanket_lines_hist_v WHERE header_id = :p_header_id AND org_id = :p_org_id ORDER BY line_number;
A comparison-oriented query selecting key attributes for a line across revisions:
- SELECT line_id, line_number, ordered_item, ordered_quantity, unit_selling_price, price_list_id, payment_term_id FROM oe_blanket_lines_hist_v WHERE header_id = :p_header_id AND line_number = :p_line_number;
A reporting query joining to pricing and terms context:
- SELECT h.line_number, h.ordered_item, h.unit_selling_price, p.name AS price_list, t.name AS payment_terms FROM oe_blanket_lines_hist_v h, qp_list_headers_tl p, ra_terms_tl t WHERE h.header_id = :p_header_id AND h.price_list_id = p.list_header_id AND h.payment_term_id = t.term_id;
Because the view already resolves many foreign keys through its referenced base objects, queries should rely on the exposed columns rather than re-joining to the same master tables unless additional attributes are required. Access is granted through the APPS schema, and reporting should filter by ORG_ID to respect operating unit security.
-
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_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 ,
-
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.OE_AGREEMENTS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_AGREEMENTS_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.QC_GRAD_MST
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QC_GRAD_MST, status:VALID,
-
SYNONYM: APPS.QC_GRAD_MST
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QC_GRAD_MST, status:VALID,
-
SYNONYM: APPS.RA_TERMS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_TERMS_TL, status:VALID,
-
SYNONYM: APPS.QP_LIST_HEADERS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_HEADERS_TL, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.RA_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_RULES, status:VALID,
-
SYNONYM: APPS.RA_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_RULES, status:VALID,
-
SYNONYM: APPS.QP_LIST_HEADERS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_LIST_HEADERS_TL, 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.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,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_SITE_USES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_SITE_USES_ALL, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCT_SITES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCT_SITES_ALL, 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_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,
-
SYNONYM: APPS.HZ_LOCATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_LOCATIONS, status:VALID,
-
SYNONYM: APPS.HZ_LOCATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_LOCATIONS, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_SITES, status:VALID,
-
SYNONYM: APPS.HZ_PARTY_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_PARTY_SITES, 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. ,