Search Results parent_uom_code




Overview

QP_DEBUG_REQ_LINES_V is a diagnostic view owned by the APPS schema within the Oracle Advanced Pricing (QP) module. It is defined over the pricing debug request tables and exposes the set of request lines that the pricing engine evaluates during a pricing or reprice call. In Oracle EBS 12.1.1 and 12.2.2, Advanced Pricing maintains a debug repository that captures the state of the pricing engine at runtime; this view is the flattened, human-readable projection of that repository for the line-level records.

The view does not store data of its own. It presents a consolidated picture of each pricing line together with its related line index, allowing technical consultants and support analysts to reconstruct the sequence and outcome of a pricing request. Because it surfaces the hold code, hold text, pricing status, qualifier match flags, and adjustment values, it is frequently used during troubleshooting to determine why a particular line was or was not priced, and whether a hold was applied during processing.

Underlying Base Objects

The view is defined over two synonyms: QP_DEBUG_REQ_LINES and QP_DEBUG_REQ_RLTD_LINES, both resolving to their base tables in the APPS schema. The join is an outer join on the related-line table:

  • QP_DEBUG_REQ_LINES (aliased A) — the driving table, holding one row per priced line, keyed by REQUEST_ID and LINE_INDEX.
  • QP_DEBUG_REQ_RLTD_LINES (aliased B) — the related-line table, supplying RELATED_LINE_INDEX. The outer join condition (A.REQUEST_ID = B.REQUEST_ID (+) AND A.LINE_INDEX = B.LINE_INDEX (+)) preserves every line from A even when no related line exists, in which case NVL(B.RELATED_LINE_INDEX, A.LINE_INDEX) defaults the related index to the line's own index.

The SELECT DISTINCT clause collapses any duplication introduced by multiple related-line matches, so each request/line combination is presented once.

Key Columns

Common Use Cases and Queries

Typical scenarios include debugging why a line was held, verifying which price list and modifiers were applied, and auditing qualifier matches. The following query isolates lines carrying a hold within a request:

  • SELECT request_id, line_index, line_id, hold_code, hold_text, pricing_status_code, pricing_status_text FROM qp_debug_req_lines_v WHERE hold_code IS NOT NULL ORDER BY request_id, line_index;
  • SELECT line_index, line_type_code, unit_price, adjusted_unit_price, line_amount, currency_code FROM qp_debug_req_lines_v WHERE request_id = :request_id ORDER BY processing_order;
  • SELECT request_id, line_index, related_line_index, primary_qualifiers_match_flag, qualifiers_exist_flag FROM qp_debug_req_lines_v WHERE qualifiers_exist_flag = 'Y' AND primary_qualifiers_match_flag = 'N';

Because the view is read-only and diagnostic, it is well suited to ad hoc reporting and integration extracts that need to inspect pricing engine behavior without touching transactional pricing tables.

  • View: QP_DEBUG_REQ_LINES_V 12.2.2

    owner:APPS,  object_type:VIEW,  fnd_design_data:QP.QP_DEBUG_REQ_LINES_V,  object_name:QP_DEBUG_REQ_LINES_V,  status:VALID,  product: QP - Advanced Pricingdescription: View that joins QP_DEBUG_REQ_LINES and QP_DEBUG_REQ_RLTD_LINES. It contains information about the lines being priced. ,  implementation_dba_data: APPS.QP_DEBUG_REQ_LINES_V

  • View: QP_PREQ_LINES_TMP 12.2.2

    owner:APPS,  object_type:VIEW,  fnd_design_data:QP.QP_PREQ_LINES_TMP,  object_name:QP_PREQ_LINES_TMP,  status:VALID,  product: QP - Advanced Pricingdescription: Based on QP_PREQ_LDETS_TMP_T. This view has the information pertaining to the current pricing engine call. ,  implementation_dba_data: APPS.QP_PREQ_LINES_TMP

  • View: QP_DEBUG_REQ_LINES_V 12.1.1

    owner:APPS,  object_type:VIEW,  fnd_design_data:QP.QP_DEBUG_REQ_LINES_V,  object_name:QP_DEBUG_REQ_LINES_V,  status:VALID,  product: QP - Advanced Pricingdescription: View that joins QP_DEBUG_REQ_LINES and QP_DEBUG_REQ_RLTD_LINES. It contains information about the lines being priced. ,  implementation_dba_data: APPS.QP_DEBUG_REQ_LINES_V

  • View: QP_PREQ_LINES_TMP 12.1.1

    owner:APPS,  object_type:VIEW,  fnd_design_data:QP.QP_PREQ_LINES_TMP,  object_name:QP_PREQ_LINES_TMP,  status:VALID,  product: QP - Advanced Pricingdescription: Based on QP_PREQ_LDETS_TMP_T. This view has the information pertaining to the current pricing engine call. ,  implementation_dba_data: APPS.QP_PREQ_LINES_TMP