Search Results qp_list_headers_vl




Overview

QP_LIST_HEADERS_VL is a seeded, read-only view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the Advanced Pricing (QP) product family. It is an example of the standard EBS "_VL" naming convention, which denotes a view that joins a "_B" (base) table to its corresponding "_TL" (translation) table and filters the translation rows to the session's language. The view presents pricing list header information — the top-level definition of a price list, discount list, promotion, or surcharge list — with the descriptive columns rendered in the language of the current user session, as determined by USERENV('LANG'). Because it returns human-readable, language-resolved data and carries both a VIEW_FLAG and UPDATE_FLAG set to 'Y', QP_LIST_HEADERS_VL is the recommended access path for queries, concurrent programs, reports, and integration extracts that need list header details without having to resolve the base-to-translation relationship themselves. It is one of the primary entry points when analysis begins from the header level of the pricing list hierarchy and then drills down to QP_LIST_LINES.

Underlying Base Objects

The view text joins two documented synonyms in the APPS schema:

  • QP_LIST_HEADERS_B — the base table holding all language-independent attributes of a list header, including identifiers, flags, effective dates, currency, freight and shipping references, and DFF attribute columns.
  • QP_LIST_HEADERS_TL — the translation table holding the language-dependent (translatable) columns.

The join is performed on LIST_HEADER_ID, with the translation side restricted by the predicate T.LANGUAGE = USERENV('LANG'). The view text also selects B.ROWID as ROW_ID and appends the literal constants 'Y' AS VIEW_FLAG and 'Y' AS UPDATE_FLAG, marker columns commonly used by EBS maintenance and form logic. Because it is a view rather than a table, it holds no data of its own; all DML against the underlying header must be performed through the base and translation tables or through the supported Forms/API layer.

Key Columns

Common Use Cases and Queries

Typical uses include identifying active price lists by currency or date, listing promotional and discount headers for a given operating unit, and reporting on list headers created by a specific concurrent request or user. The view is also a convenient starting point for joins to QP_LIST_LINES (on LIST_HEADER_ID) and to QP_PRICING_ATTRIBUTES. The following examples are representative:

  • Retrieve active price lists for a currency:
    SELECT list_header_id, name, list_type_code, currency_code, start_date_active, end_date_active FROM apps.qp_list_headers_vl WHERE list_type_code = 'PRL' AND currency_code = 'USD' AND TRUNC(SYSDATE) BETWEEN NVL(start_date_active, SYSDATE) AND NVL(end_date_active, SYSDATE);
  • Find a list by name pattern (translated name):
    SELECT list_header_id, name, description, version_no FROM apps.qp_list_headers_vl WHERE UPPER(name) LIKE 'CORP PRICE%';
  • List headers created under a specific concurrent request:
    SELECT list_header_id, name, request_id, created_by, creation_date FROM apps.qp_list_headers_vl WHERE request_id = :p_request_id;

Because language filtering is applied internally, users in different sessions see the same header record with the NAME, DESCRIPTION, and VERSION_NO rendered in their own language, which simplifies multilingual reporting and integration extracts. Queries should always qualify the view with the APPS schema or an appropriate synonym and avoid reliance on the undocumented marker columns for business logic.