Results for “qp_pricing_phases”

50+ results




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

Overview

QP_PRICING_PHASES is a foundational reference table in the Oracle Advanced Pricing (QP) module, owned by the QP schema. It stores the master definition of every pricing phase recognized by the pricing engine, such as List, Line, Volume, and Total phases. Each phase represents a discrete stage at which the pricing engine evaluates modifiers, qualifiers, and list lines during pricing and order capture. Because the table acts as the authoritative catalog of phase definitions, almost every pricing-related transaction, interface, and archive table references it through the PRICING_PHASE_ID column.

The table is present and valid in both Oracle EBS 12.1.1 and 12.2.2. In 12.2.2 the documented physical schema exposes 39 columns, with edition-aware unique constraints. From a Data Vault modeling perspective, the mined relationship structure is heuristic and hub-leaning: QP_PRICING_PHASES functions as a central hub of pricing phase identities, with numerous dependent and transactional tables acting as links and satellites that reference it. This classification is a modeling suggestion rather than an enforced EBS construct.

Key Information Stored

The table centers on a surrogate primary key and a small set of descriptive and control attributes. The most significant columns are:

The unique indexes QP_PRICING_PHASES_U1 (PRICING_PHASE_ID, ZD_EDITION_NAME) and QP_PRICING_PHASES_U2 (NAME, ZD_EDITION_NAME) establish the surrogate and business-key candidates respectively.

Common Use Cases and Queries

Typical uses include resolving the phase sequence for pricing engine execution, reporting on which phases are active, and joining phase names to transactional pricing records. A common query retrieves ordered phases:

  • SELECT PRICING_PHASE_ID, NAME, PHASE_SEQUENCE, MODIFIER_LEVEL_CODE FROM QP.QP_PRICING_PHASES ORDER BY PHASE_SEQUENCE;
  • Joining to pricing attributes: SELECT p.NAME, a.* FROM QP.QP_PRICING_PHASES p, QP.QP_PRICING_ATTRIBUTES a WHERE a.PRICING_PHASE_ID = p.PRICING_PHASE_ID;
  • Reporting price adjustments by phase: SELECT p.NAME, COUNT(*) FROM OE.OE_PRICE_ADJUSTMENTS e, QP.QP_PRICING_PHASES p WHERE e.PRICING_PHASE_ID = p.PRICING_PHASE_ID GROUP BY p.NAME;

These patterns support troubleshooting pricing behavior, auditing modifier application, and building phase-level analytics.

Related Objects

Numerous tables reference this hub via PRICING_PHASE_ID. The most significant include:

All of these join to QP_PRICING_PHASES on the PRICING_PHASE_ID column, reinforcing its hub role in the Advanced Pricing data model.