Results for “qp_mass_maintain_util”
48 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The APPS.QP_MASS_MAINTAIN_UTIL package body is a utility library within the Oracle Advanced Pricing (QP) module. It supports the mass maintenance of pricing entities — price lists, modifier lists, and their associated lines — by providing shared helper logic used across the pricing mass-maintenance flow. The package is classified as a UTIL object in the ETRM repository under Oracle EBS 12.1.1 and 12.2.2, and it is referenced by three other packages, confirming its role as a reusable, low-level service rather than a standalone business API. Its functions encapsulate frequently needed lookups: resolving descriptive text for pricing attributes, validating that a pricing list matches the session profile context, retrieving unit-of-measure codes, and executing a valueset query. Together these routines allow mass-maintenance programs and forms to present consistent, meaningful labels and validation to end users when bulk-editing pricing data.
Key Procedures and Functions
- CHECK_SS_PTE_CODES_MATCH — Evaluates whether the source system code and pricing transaction entity (PTE) code stored on a given price list header match the values held in the
QP_SOURCE_SYSTEM_CODEandQP_PRICING_TRANSACTION_ENTITYprofiles. It returns'N'when they match and'Y'when they do not; the inverted convention is intentional, as noted in the source comments. This function is typically used to decide whether a list may be safely mass-maintained under the current context. - GET_PRODUCT_DESC — Returns the product description for a pricing attribute value. Based on the supplied attribute context and attribute name (for example, resolving
PRICING_ATTRIBUTE1against inventory item description orPRICING_ATTRIBUTE2against a category), it translates a stored ID into human-readable descriptive text for display in mass-maintenance output. - GET_PRODUCT_UOM_CODE — Returns the unit-of-measure code associated with a product, allowing pricing lines to be displayed and maintained with correct UOM context.
- GET_VALUESET_SELECT — Retrieves the select statement text for a named valueset, enabling dynamic LOV or validation behavior driven by flexfield valueset definitions.
Tables Accessed
The package reads from several core Advanced Pricing and application foundation tables through APPS synonyms. QP_LIST_HEADERS_B supplies the source system code and PTE code for validation in CHECK_SS_PTE_CODES_MATCH. QP_PRICING_ATTRIBUTES, QP_PRC_CONTEXTS_B, and QP_SEGMENTS_B provide the attribute context, segment, and attribute definitions required to resolve product descriptions and UOM values. FND_FLEX_VALUE_SETS is queried by GET_VALUESET_SELECT to obtain the SQL used by the valueset. Inventory data is also consulted during description resolution to map item and category identifiers to their descriptive text.
Usage Notes
QP_MASS_MAINTAIN_UTIL is not intended to be called directly by end users. It is invoked primarily by the pricing mass-maintenance forms and concurrent programs that allow bulk updates to price and modifier lists, and by custom extensions that require the same context-validation and description-resolution logic. Because it is referenced by three other packages and depends on profile option values and attributes set in the user session, callers should ensure that the correct operating unit and pricing profile context are established before invocation. Its functions are read-only helpers and should be treated as shared utilities rather than transactional APIs.
-
SYNONYM: APPS.QP_SEGMENTS_B 12.1.1
-
SYNONYM: APPS.QP_SEGMENTS_B 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
VIEW: APPS.MTL_CATEGORIES_VL 12.1.1
-
VIEW: APPS.MTL_CATEGORIES_VL 12.2.2
-
eTRM - INV Tables and Views 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
eTRM - INV Tables and Views 12.1.1