Search Results substitution_context
Overview
APPS.QPFV_TERM_SUBSTITUTIONS is a read-only Oracle EBS view that exposes term substitution records defined within Oracle Advanced Pricing. It is a filtered, attribute-decorated projection of the QP_LIST_LINES table, restricted to rows where LIST_LINE_TYPE_CODE equals 'TSN' (term substitution). The view presents substitution rules — the mechanism by which the pricing engine swaps a qualifying attribute context and value in place of a term or qualifier during pricing evaluation.
The view is significant because it decodes the denormalized code columns stored in QP_LIST_LINES into human-readable meanings. Rather than exposing raw lookup codes, it invokes QP_QP_FORM_PRICING_ATTR.GET_ATTRIBUTE and GET_ATTRIBUTE_VALUE to resolve SUBSTITUTION_ATTRIBUTE into a descriptive attribute name and SUBSTITUTION_VALUE into its display value, both keyed against the QP_ATTR_DEFNS_QUALIFIER context. Similarly, lookup codes such as INCOMPATIBILITY_GRP_CODE, LIST_LINE_TYPE_CODE, and MODIFIER_LEVEL_CODE are tagged with '_LA' tokens that instruct the Oracle Applications framework to resolve their MEANING from the QP_LOOKUPS lookup type. The '_DF:QP:QP_LIST_LINES' token flags the row's originating data source for the framework. The view therefore functions as a reporting-friendly, presentation-layer representation of pricing substitution setup.
Underlying Base Objects
The view is defined exclusively over two documented objects:
- QP_LIST_LINES (SYNONYM) — the primary source table holding pricing list lines, including qualifiers, modifiers, and term substitution lines. The WHERE clause constrains the result set to substitution lines only.
- QP_QP_FORM_PRICING_ATTR (PACKAGE) — a pricing attribute resolution package exposing GET_ATTRIBUTE and GET_ATTRIBUTE_VALUE, used inline to translate the stored attribute context, attribute code, and substitution value into readable descriptors.
No joins to other tables appear in the view text; all relational expansion occurs through the two package function calls. Because the view is declared WITH READ ONLY, DML against it is not permitted, and all modifications must be performed against QP_LIST_LINES through supported pricing APIs or forms.
Key Columns
- LIST_HEADER_ID, LIST_LINE_ID, LIST_LINE_NO — identifiers linking the substitution line to its parent price list header and its sequence within that list.
- START_DATE_ACTIVE, END_DATE_ACTIVE — the effective date range governing when the substitution applies.
- SUBSTITUTION_CONTEXT — the pricing attribute context under which the substitution operates.
- GET_ATTRIBUTE(...) — resolved display name of SUBSTITUTION_ATTRIBUTE for the given context.
- GET_ATTRIBUTE_VALUE(...) — resolved display value of SUBSTITUTION_VALUE for the given attribute and context.
- PRODUCT_PRECEDENCE, PRICING_PHASE_ID, ESTIM_GL_VALUE — precedence, pricing phase, and estimated GL value controls for the line.
- INCOMPATIBILITY_GRP_CODE — incompatibility grouping, decoded to MEANING via QP_LOOKUPS.
- LIST_LINE_TYPE_CODE, MODIFIER_LEVEL_CODE — line type and modifier level, both decoded to MEANING.
- ORIG_SYS_HEADER_REF, ORIG_SYS_LINE_REF — originating external system references, supporting multi-source pricing data.
- CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY — standard audit columns.
Common Use Cases and Queries
This view is used to audit substitution configurations, validate that contexts and values resolve cleanly, and diagnose pricing behavior driven by term substitutions. Because it resolves attribute names and lookup meanings, it is well suited to reporting layers and ad hoc analysis.
List all active substitutions for a given price list:
SELECT list_header_id, list_line_no, substitution_context, QP_QP_FORM_PRICING_ATTR.GET_ATTRIBUTE('QP_ATTR_DEFNS_QUALIFIER', substitution_context, substitution_attribute) attribute_name FROM apps.qpfv_term_substitutions WHERE list_header_id = :p_header_id AND TRUNC(SYSDATE) BETWEEN start_date_active AND NVL(end_date_active, TRUNC(SYSDATE)+1);
Identify substitutions by decoded modifier level and incompatibility group:
SELECT list_line_id, substitution_context, incompatibility_grp_code, modifier_level_code FROM apps.qpfv_term_substitutions WHERE modifier_level_code = 'LINE';
Review substitutions sourced from external systems:
SELECT list_header_id, list_line_no, orig_sys_header_ref, orig_sys_line_ref FROM apps.qpfv_term_substitutions WHERE orig_sys_line_ref IS NOT NULL;
These queries respect the read-only nature of the view and rely solely on the documented base objects and package functions.
-
VIEW: APPS.QPFV_TERM_SUBSTITUTIONS
12.2.2
-
VIEW: APPS.QPFV_TERM_SUBSTITUTIONS
12.1.1
-
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 ,
-
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: APPS.QPBV_TERM_SUBSTITUTIONS
12.1.1
-
View: QPBV_TERM_SUBSTITUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QPBV_TERM_SUBSTITUTIONS, object_name:QPBV_TERM_SUBSTITUTIONS, status:VALID, product: QP - Advanced Pricing , description: This view gives information about Term Substitutuions type of Modifiers. , implementation_dba_data: APPS.QPBV_TERM_SUBSTITUTIONS ,
-
View: QPBV_TERM_SUBSTITUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QPBV_TERM_SUBSTITUTIONS, object_name:QPBV_TERM_SUBSTITUTIONS, status:VALID, product: QP - Advanced Pricing , description: This view gives information about Term Substitutuions type of Modifiers. , implementation_dba_data: APPS.QPBV_TERM_SUBSTITUTIONS ,
-
VIEW: APPS.QPBV_TERM_SUBSTITUTIONS
12.2.2
-
VIEW: QP.QP_LIST_LINES#
12.2.2
-
VIEW: QP.QP_INTERFACE_LIST_LINES#
12.2.2
-
VIEW: QP.QP_ARCH_LIST_LINES#
12.2.2
-
VIEW: APPS.QPBV_TERM_SUBSTITUTIONS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QPBV_TERM_SUBSTITUTIONS, object_name:QPBV_TERM_SUBSTITUTIONS, status:VALID,
-
VIEW: APPS.QPBV_TERM_SUBSTITUTIONS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QPBV_TERM_SUBSTITUTIONS, object_name:QPBV_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,
-
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.QP_LISTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LISTS_V, object_name:QP_LISTS_V, status:VALID,
-
VIEW: APPS.QP_LISTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LISTS_V, object_name:QP_LISTS_V, status:VALID,
-
VIEW: APPS.QP_LIST_ATTRIBUTES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LIST_ATTRIBUTES_V, object_name:QP_LIST_ATTRIBUTES_V, status:VALID,
-
VIEW: APPS.QP_LINE_LVL_QUAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LINE_LVL_QUAL_V, object_name:QP_LINE_LVL_QUAL_V, status:VALID,
-
VIEW: APPS.QP_LINES_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LINES_SUMMARY_V, object_name:QP_LINES_SUMMARY_V, status:VALID,
-
VIEW: APPS.QP_LINE_LVL_QUAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LINE_LVL_QUAL_V, object_name:QP_LINE_LVL_QUAL_V, status:VALID,
-
VIEW: APPS.QP_LINES_SUMMARY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LINES_SUMMARY_V, object_name:QP_LINES_SUMMARY_V, status:VALID,
-
VIEW: APPS.QP_HDR_LVL_QUAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_HDR_LVL_QUAL_V, object_name:QP_HDR_LVL_QUAL_V, status:VALID,
-
VIEW: APPS.QP_LIST_ATTRIBUTES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LIST_ATTRIBUTES_V, object_name:QP_LIST_ATTRIBUTES_V, status:VALID,
-
VIEW: APPS.QP_HDR_LVL_QUAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_HDR_LVL_QUAL_V, object_name:QP_HDR_LVL_QUAL_V, status:VALID,
-
VIEW: QP.QP_INTERFACE_LIST_LINES#
12.2.2
owner:QP, object_type:VIEW, object_name:QP_INTERFACE_LIST_LINES#, status:VALID,
-
VIEW: QP.QP_LIST_LINES#
12.2.2
owner:QP, object_type:VIEW, object_name:QP_LIST_LINES#, status:VALID,
-
TABLE: QP.QP_LIST_LINES_TMP
12.1.1
owner:QP, object_type:TABLE, object_name:QP_LIST_LINES_TMP, status:VALID,
-
TABLE: QP.QP_LIST_LINES_TMP
12.2.2
owner:QP, object_type:TABLE, object_name:QP_LIST_LINES_TMP, status:VALID,
-
VIEW: QP.QP_ARCH_LIST_LINES#
12.2.2
owner:QP, object_type:VIEW, object_name:QP_ARCH_LIST_LINES#, status:VALID,
-
APPS.QP_LOCK_PRICELIST_PVT SQL Statements
12.2.2
-
APPS.QP_LOCK_PRICELIST_PVT SQL Statements
12.1.1
-
APPS.QP_PRICE_LIST_LINE_UTIL SQL Statements
12.1.1
-
VIEW: APPS.QP_PRICE_BREAKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_PRICE_BREAKS_V, object_name:QP_PRICE_BREAKS_V, status:VALID,
-
VIEW: APPS.QP_LIST_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LIST_LINES_V, object_name:QP_LIST_LINES_V, status:VALID,
-
APPS.QP_PRICE_LIST_LINE_UTIL SQL Statements
12.2.2
-
VIEW: APPS.QP_LIST_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LIST_LINES_V, object_name:QP_LIST_LINES_V, status:VALID,
-
VIEW: APPS.QP_PRICE_BREAKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_PRICE_BREAKS_V, object_name:QP_PRICE_BREAKS_V, status:VALID,
-
VIEW: APPS.QP_ARCH_LIST_LINES_V
12.1.1
owner:APPS, object_type:VIEW, object_name:QP_ARCH_LIST_LINES_V, status:VALID,
-
VIEW: APPS.QP_ARCH_LIST_LINES_V
12.2.2
owner:APPS, object_type:VIEW, object_name:QP_ARCH_LIST_LINES_V, status:VALID,
-
APPS.QP_MODIFIERS_UTIL SQL Statements
12.1.1
-
View: QP_LISTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LISTS_V, object_name:QP_LISTS_V, status:VALID, product: QP - Advanced Pricing , description: View that joins QP_LIST_HEADERS_VL (MLS View on Base Tables) and QP_LIST_LINES. This view is used to retrieve all the list types (E.g Price Lists, Discounts etc..) and their lines. All the columns of the underlying tables or views are incl , implementation_dba_data: APPS.QP_LISTS_V ,
-
View: QP_LISTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LISTS_V, object_name:QP_LISTS_V, status:VALID, product: QP - Advanced Pricing , description: View that joins QP_LIST_HEADERS_VL (MLS View on Base Tables) and QP_LIST_LINES. This view is used to retrieve all the list types (E.g Price Lists, Discounts etc..) and their lines. All the columns of the underlying tables or views are incl , implementation_dba_data: APPS.QP_LISTS_V ,
-
VIEW: APPS.QP_ARCH_MOD_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, object_name:QP_ARCH_MOD_SUMMARY_V, status:VALID,
-
VIEW: APPS.QP_ARCH_MOD_SUMMARY_V
12.2.2
owner:APPS, object_type:VIEW, object_name:QP_ARCH_MOD_SUMMARY_V, status:VALID,
-
APPS.QP_MODIFIERS_UTIL SQL Statements
12.2.2
-
View: QP_LINE_LVL_QUAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LINE_LVL_QUAL_V, object_name:QP_LINE_LVL_QUAL_V, status:VALID, product: QP - Advanced Pricing , description: View that joins QP_LIST_HEADERS_VL (MLS View on Base Tables), QP_LIST_LINES and QP_QUALIFIERS. This view is used to retrieve all the list types (E.g Price Lists, Discounts etc..) and their lines whose lines are associated with pricing qual , implementation_dba_data: APPS.QP_LINE_LVL_QUAL_V ,
-
View: QP_LINE_LVL_QUAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LINE_LVL_QUAL_V, object_name:QP_LINE_LVL_QUAL_V, status:VALID, product: QP - Advanced Pricing , description: View that joins QP_LIST_HEADERS_VL (MLS View on Base Tables), QP_LIST_LINES and QP_QUALIFIERS. This view is used to retrieve all the list types (E.g Price Lists, Discounts etc..) and their lines whose lines are associated with pricing qual , implementation_dba_data: APPS.QP_LINE_LVL_QUAL_V ,
-
View: QP_HDR_LVL_QUAL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_HDR_LVL_QUAL_V, object_name:QP_HDR_LVL_QUAL_V, status:VALID, product: QP - Advanced Pricing , description: View that joins QP_LIST_HEADERS_VL (MLS View on Base Tables), QP_LIST_LINES and QP_QUALIFIERS. This view is used to retrieve all the list types (E.g Price Lists, Discounts etc..) and their lines whose headers are associate with pricing qual , implementation_dba_data: APPS.QP_HDR_LVL_QUAL_V ,
-
View: QP_HDR_LVL_QUAL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_HDR_LVL_QUAL_V, object_name:QP_HDR_LVL_QUAL_V, status:VALID, product: QP - Advanced Pricing , description: View that joins QP_LIST_HEADERS_VL (MLS View on Base Tables), QP_LIST_LINES and QP_QUALIFIERS. This view is used to retrieve all the list types (E.g Price Lists, Discounts etc..) and their lines whose headers are associate with pricing qual , implementation_dba_data: APPS.QP_HDR_LVL_QUAL_V ,