Search Results oe_discount_lines_115_v
Overview
The OE_DISCOUNT_LINES_115_V view is an APPS-owned database object shipped with Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 within the QP (Advanced Pricing) product family. As its name implies, the view reproduces the discount line interface that existed in Oracle Order Entry release 11.5, and Oracle documents it explicitly as "Discount Line information, provided for backward compatibility for other applications." The view is therefore a compatibility shim rather than a strategic data source: it allows legacy integrations, reports, and third-party code written against the older OE discount line structure to continue functioning after the pricing engine was consolidated under Advanced Pricing and the Oracle Pricing (QP) schema.
Its status is VALID, meaning the object compiles cleanly and is available for query. Because the view is owned by APPS, it is ordinarily accessed through the APPS schema or via a synonym/GRANT to a custom schema. For the user searching on entity_value, the salient point is that ENTITY_VALUE is exposed directly by this view, sourced from the OE_DISCOUNT_LINES table, and is filtered so that only rows with a NULL CUSTOMER_ITEM_ID are returned.
Underlying Base Objects
The documented base objects referenced by the view are:
- OE_DISCOUNT_LINES (referenced via SYNONYM) — the physical discount line table holding qualifier entities, pricing attributes, and discount values.
- QP_VIEW_UTIL (PACKAGE) — a QP utility package used in the pricing views, typically for security/org context or view construction logic.
Structurally, the view is a straightforward projection over OE_DISCOUNT_LINES. Its defining SELECT lists the DDL audit columns (CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN), concurrent program columns (PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, REQUEST_ID), the pricing keys DISCOUNT_ID and DISCOUNT_LINE_ID, and the qualifier columns ENTITY_ID and ENTITY_VALUE. Notably, the deprecated CUSTOMER_ITEM_ID column is replaced in the projection by a literal NULL aliased as CUSTOMER_ITEM_ID, and the WHERE clause restricts output to rows where CUSTOMER_ITEM_ID IS NULL — i.e., only the entity-based discount qualifier lines, not customer-item specific lines.
Key Columns
- DISCOUNT_LINE_ID — primary identifier of the discount line row.
- DISCOUNT_ID — foreign key to the parent discount header.
- ENTITY_ID — the qualifier entity identifier (for example, a product, customer, or price list context).
- ENTITY_VALUE — the value of the qualifier entity; together with ENTITY_ID it defines the discount's applicability. This is the column most commonly referenced by legacy interfaces.
- CUSTOMER_ITEM_ID — always NULL in this view by construction (reserved for backward compatibility).
- PERCENT, AMOUNT, PRICE — the discount value attributes (percentage off, fixed amount, or override price).
- START_DATE_ACTIVE / END_DATE_ACTIVE — validity dates for the discount line.
- CONTEXT and ATTRIBUTE1–15 — descriptive flexfield columns for extensibility.
Common Use Cases and Queries
This view is used primarily to retrieve entity-qualified discount lines for reconciliation and legacy reporting. A typical query filters by DISCOUNT_ID and inspects ENTITY_VALUE:
- SELECT discount_id, discount_line_id, entity_id, entity_value, percent, amount FROM apps.oe_discount_lines_115_v WHERE discount_id = :p_discount_id;
- Searching for a specific qualifier value: ... WHERE entity_value = :p_entity_value;
- Active discounts as of a date: ... WHERE SYSDATE BETWEEN start_date_active AND NVL(end_date_active, SYSDATE+1);
Because the view excludes non-NULL CUSTOMER_ITEM_ID rows, queries intended to capture all discount lines should account for that filter or query OE_DISCOUNT_LINES directly. Oracle recommends using the current Advanced Pricing views for new development.
-
View: OE_DISCOUNT_LINES_115_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.OE_DISCOUNT_LINES_115_V, object_name:OE_DISCOUNT_LINES_115_V, status:VALID, product: QP - Advanced Pricing , description: Discount Line information. Provided for backward compatibility for other applications. , implementation_dba_data: APPS.OE_DISCOUNT_LINES_115_V ,
-
View: OE_DISCOUNT_LINES_115_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.OE_DISCOUNT_LINES_115_V, object_name:OE_DISCOUNT_LINES_115_V, status:VALID, product: QP - Advanced Pricing , description: Discount Line information. Provided for backward compatibility for other applications. , implementation_dba_data: APPS.OE_DISCOUNT_LINES_115_V ,
-
SYNONYM: APPS.OE_DISCOUNT_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_DISCOUNT_LINES, status:VALID,
-
SYNONYM: APPS.SO_DISCOUNT_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:SO_DISCOUNT_LINES, status:VALID,
-
PACKAGE: APPS.QP_VIEW_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:QP_VIEW_UTIL, status:VALID,
-
SYNONYM: APPS.OE_DISCOUNT_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_DISCOUNT_LINES, status:VALID,
-
PACKAGE: APPS.QP_VIEW_UTIL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:QP_VIEW_UTIL, status:VALID,
-
SYNONYM: APPS.SO_DISCOUNT_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:SO_DISCOUNT_LINES, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.OE_DISCOUNT_LINES_115_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.OE_DISCOUNT_LINES_115_V, object_name:OE_DISCOUNT_LINES_115_V, status:VALID,
-
VIEW: APPS.OE_DISCOUNT_LINES_115_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.OE_DISCOUNT_LINES_115_V, object_name:OE_DISCOUNT_LINES_115_V, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
eTRM - QP Tables and Views
12.1.1
description: This table stores information about which workers handle which list_lines, headers, formulas or price adjustments at the time of upgrade. ,
-
eTRM - QP Tables and Views
12.2.2
description: This table stores information about which workers handle which list_lines, headers, formulas or price adjustments at the time of upgrade. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - QP Tables and Views
12.2.2
description: This table stores information about which workers handle which list_lines, headers, formulas or price adjustments at the time of upgrade. ,
-
eTRM - QP Tables and Views
12.1.1
description: This table stores information about which workers handle which list_lines, headers, formulas or price adjustments at the time of upgrade. ,