Results for “qp_organization_id”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

APPS.AMS_PRICE_LIST_LINES_V is a seeded Oracle E-Business Suite view that presents the item-level lines attached to Oracle Advanced Pricing list headers. It denormalizes the relationship between pricing list lines (QP_LIST_LINES), the pricing attributes that qualify each line (QP_PRICING_ATTRIBUTES), and the inventory item master (MTL_SYSTEM_ITEMS_KFV) into a single reporting-friendly result set. The view is restricted to product-level list lines, identified by list_line_type_code = 'PLL', and excludes records flagged as excluders (excluder_flag = 'N'), so the output represents qualifying item lines rather than negative or exclusion criteria.

The view belongs to the APPS schema and is typically consumed in pricing analysis, list maintenance reporting, and integration extracts where the descriptive identity of an item must be joined to its price list line. A defining characteristic is its reliance on the QP_ORGANIZATION_ID profile option through FND_PROFILE.VALUE, which scopes the item join to a single inventory organization determined by the session profile rather than by a column in the query. This makes the view context-sensitive and a frequent point of investigation for users searching on qp_organization_id.

Underlying Base Objects

The documented base objects referenced by the view are:

  • QP_LIST_LINES — the driving pricing list line records, filtered to list_line_type_code = 'PLL'.
  • QP_PRICING_ATTRIBUTES — supplies the pricing attribute context, product attribute value, UOM, and excluder flag for each line.
  • MTL_SYSTEM_ITEMS_KFV — the key flexfield view of the item master, providing concatenated segments and item description.
  • FND_PROFILE — the profile option package invoked as FND_PROFILE.VALUE('QP_ORGANIZATION_ID') to derive the organization filter.

The join from QP_PRICING_ATTRIBUTES to MTL_SYSTEM_ITEMS_KFV is an implicit character-to-number conversion: qpa.product_attr_value = to_char(msi.inventory_item_id), qualified by product_attribute_context = 'ITEM'. The line linkage is established through qpll.list_line_id = qpa.list_line_id.

Key Columns

Common Use Cases and Queries

Typical scenarios include auditing which items appear on a given price list, extracting item descriptions alongside pricing lines, and validating list line effective dates. Because the item filter depends on the profile option, callers should ensure the intended organization is set, or set it explicitly by calling FND_PROFILE.PUT before querying.

SELECT list_header_id, list_line_id, product_attr_value,
       concatenated_segments, item_description,
       operand, start_date_active, end_date_active
FROM   apps.ams_price_list_lines_v
WHERE  list_header_id = :p_list_header_id
ORDER  BY product_precedence, concatenated_segments;

For organization-aware reporting, the profile value can be confirmed with SELECT fnd_profile.value('QP_ORGANIZATION_ID') FROM dual. When broader organization coverage is required, querying QP_LIST_LINES and QP_PRICING_ATTRIBUTES directly and joining to MTL_SYSTEM_ITEMS_VL without the profile restriction is preferable, since the view inherently returns items for only one organization.