Results for “oe_blanket_lines_hist_v”
42 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
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.
-
This view is used to get BSA line history information, and it is udes in BSA version comparison UI.
APPS.OE_BLANKET_LINES_HIST_V·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore ONT module →
-
This view is used to get BSA line history information, and it is udes in BSA version comparison UI.
APPS.OE_BLANKET_LINES_HIST_V·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore ONT module →
-
SYNONYM: APPS.RA_TERMS_TL 12.1.1
-
SYNONYM: APPS.QC_GRAD_MST 12.1.1
-
SYNONYM: APPS.QC_GRAD_MST 12.2.2
-
SYNONYM: APPS.RA_TERMS_TL 12.2.2
-
12.1.1 FND Design Data 12.1.1
-
SYNONYM: APPS.RA_RULES 12.1.1
-
SYNONYM: APPS.RA_RULES 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 FND Design Data 12.2.2
-
VIEW: APPS.OE_LOOKUPS 12.1.1
-
VIEW: APPS.OE_LOOKUPS 12.2.2
-
SYNONYM: APPS.QP_LIST_LINES 12.1.1
-
SYNONYM: APPS.QP_LIST_LINES 12.2.2
-
SYNONYM: APPS.HZ_LOCATIONS 12.2.2
-
SYNONYM: APPS.HZ_LOCATIONS 12.1.1
-
SYNONYM: APPS.HZ_PARTY_SITES 12.1.1
-
SYNONYM: APPS.HZ_PARTY_SITES 12.2.2
-
SYNONYM: APPS.MTL_PARAMETERS 12.2.2
-
SYNONYM: APPS.MTL_PARAMETERS 12.1.1
-
eTRM - ONT Tables and Views 12.2.2
OM WorkFlow Activity Skip Log.
-
eTRM - ONT Tables and Views 12.1.1
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
OM WorkFlow Activity Skip Log.
-
eTRM - ONT Tables and Views 12.1.1
OM WorkFlow Activity Skip Log.