Search Results qpfv_term_substitutions
Overview
The APPS.QPFV_TERM_SUBSTITUTIONS view is a read-only reporting object within the QP – Advanced Pricing module of Oracle E-Business Suite, available in both release 12.1.1 and 12.2.2. It exposes the list lines that define Term Substitution modifiers, meaning pricing adjustments in which one pricing attribute value is conditionally replaced or overridden by an alternative value during pricing engine evaluation. The view carries a status of VALID and is owned by the APPS schema.
Because the view is defined with a WITH READ ONLY clause, it cannot be used to insert, update, or delete pricing data; it functions purely as a query surface for reporting, integration, and diagnostic purposes. Its primary value is that it presents substitution logic in a denormalized, human-readable form: substitution contexts and attribute codes are expanded through the QP_QP_FORM_PRICING_ATTR package, and lookup codes are translated to their meanings, sparing the developer or analyst from manually decoding raw QP_LIST_LINES rows.
Underlying Base Objects
The view is defined over two documented objects:
- QP_LIST_LINES (SYNONYM) — the principal base table supplying all modifier line data. The view restricts this table to rows where
LIST_LINE_TYPE_CODE = 'TSN', which is the system code for Term Substitution line types. - QP_QP_FORM_PRICING_ATTR (PACKAGE) — invoked twice within the SELECT list to resolve attribute display information and attribute values dynamically at query time using functions such as GET_ATTRIBUTE and GET_ATTRIBUTE_VALUE.
Because row filtering is applied directly to QP_LIST_LINES, the view is tightly coupled to the underlying list line identifiers (LIST_HEADER_ID, LIST_LINE_ID) that link substitution modifiers to their parent price lists in QP_LIST_HEADERS.
Key Columns
- LIST_HEADER_ID / LIST_LINE_ID / LIST_LINE_NO — identifiers tying each substitution line to its parent pricing list and its position within that list.
- SUBSTITUTION_CONTEXT — the pricing attribute context (for example, a qualifier context such as item or customer) against which the substitution applies.
- SUBSTITUTION_ATTRIBUTE — the specific attribute within the context; its display label is resolved via GET_ATTRIBUTE.
- SUBSTITUTION_VALUE — the replacement value applied for the attribute. This is the column most frequently searched for by users investigating how a modifier alters pricing input, and its formatted value is produced through GET_ATTRIBUTE_VALUE('QP_ATTR_DEFNS_QUALIFIER', SUBSTITUTION_CONTEXT, SUBSTITUTION_ATTRIBUTE, SUBSTITUTION_VALUE).
- START_DATE_ACTIVE / END_DATE_ACTIVE — the effective date window governing when the substitution is active.
- INCOMPATIBILITY_GRP_CODE, LIST_LINE_TYPE_CODE, MODIFIER_LEVEL_CODE — coded values translated to their lookup meanings through the QP_LOOKUPS lookup type.
- PRODUCT_PRECEDENCE, PRICING_PHASE_ID, ESTIM_GL_VALUE — precedence, pricing phase assignment, and estimated general ledger value for the line.
- Audit columns — CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY.
Common Use Cases and Queries
Typical scenarios include auditing which substitutions exist for a given price list, verifying the substitution values applied to a pricing attribute, and troubleshooting unexpected pricing results by confirming date ranges and incompatibility groups.
Retrieve all substitutions for a specific list:
SELECT list_line_no,
substitution_context,
substitution_attribute,
substitution_value,
start_date_active,
end_date_active
FROM apps.qpfv_term_substitutions
WHERE list_header_id = :p_list_header_id
ORDER BY list_line_no;
Search for a specific substitution value across all active lines:
SELECT list_header_id,
list_line_no,
substitution_attribute,
substitution_value
FROM apps.qpfv_term_substitutions
WHERE substitution_value = :p_substitution_value
AND SYSDATE BETWEEN start_date_active AND NVL(end_date_active, SYSDATE + 1);
Because attribute and lookup values are resolved through package calls at execution time, queries returning many rows may incur additional overhead; filtering by LIST_HEADER_ID or SUBSTITUTION_VALUE where possible is recommended for performance.
-
View: QPFV_TERM_SUBSTITUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QPFV_TERM_SUBSTITUTIONS, object_name:QPFV_TERM_SUBSTITUTIONS, status:VALID, product: QP - Advanced Pricing , description: This view gives information about Term Substitutuions type of Modifiers. , implementation_dba_data: APPS.QPFV_TERM_SUBSTITUTIONS ,
-
View: QPFV_TERM_SUBSTITUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QPFV_TERM_SUBSTITUTIONS, object_name:QPFV_TERM_SUBSTITUTIONS, status:VALID, product: QP - Advanced Pricing , description: This view gives information about Term Substitutuions type of Modifiers. , implementation_dba_data: APPS.QPFV_TERM_SUBSTITUTIONS ,
-
PACKAGE: APPS.QP_QP_FORM_PRICING_ATTR
12.2.2
owner:APPS, object_type:PACKAGE, object_name:QP_QP_FORM_PRICING_ATTR, status:VALID,
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE: APPS.QP_QP_FORM_PRICING_ATTR
12.1.1
owner:APPS, object_type:PACKAGE, object_name:QP_QP_FORM_PRICING_ATTR, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.QPFV_TERM_SUBSTITUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QPFV_TERM_SUBSTITUTIONS, object_name:QPFV_TERM_SUBSTITUTIONS, status:VALID,
-
VIEW: APPS.QPFV_TERM_SUBSTITUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QPFV_TERM_SUBSTITUTIONS, object_name:QPFV_TERM_SUBSTITUTIONS, 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,
-
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. ,