Search Results qp_debug_req_rltd_lines




Overview

The QP_DEBUG_REQ_RLTD_LINES table is a technical repository within the Oracle E-Business Suite Advanced Pricing (QP) module, specifically for releases 12.1.1 and 12.2.2. Its primary role is to store debugging and diagnostic information pertaining to related pricing lines during the execution of the pricing engine. When the pricing engine processes a transaction, it evaluates complex pricing rules, which often involve relationships between different list lines (e.g., discounts tied to specific products, promotional bundles). This table captures the relationships and context between these lines as determined by the pricing logic for a given request, facilitating troubleshooting and analysis of pricing outcomes.

Key Information Stored

Based on the provided ETRM metadata, the table's structure centers on linking pricing list lines. The most critical columns are the foreign keys that define these relationships. The LIST_LINE_ID column stores the identifier for a primary list line from the QP_LIST_LINES table. The RELATED_LIST_LINE_ID column stores the identifier for a secondary list line that is logically related to the primary line within the pricing calculation. This relationship is crucial for understanding how modifiers, discounts, or charges are interconnected during price derivation. The table likely includes additional audit or context columns (such as REQUEST_ID or DEBUG_SESSION_ID) to associate the recorded relationships with a specific pricing engine run, though these are not explicitly detailed in the excerpt.

Common Use Cases and Queries

This table is predominantly used for technical analysis and debugging by functional consultants, developers, or support personnel investigating pricing discrepancies. A common scenario involves tracing why a specific discount was or was not applied by examining the related lines the pricing engine considered. A typical diagnostic query would join this debug table to the main pricing lines table to retrieve the details of the related lines involved in a specific pricing request.

  • Sample Query: To find all related lines considered for a specific pricing list line within a debug session:
    SELECT d.*, ll.list_line_type_code, ll.operand
    FROM qp.qp_debug_req_rltd_lines d,
         qp.qp_list_lines ll
    WHERE d.related_list_line_id = ll.list_line_id
    AND d.list_line_id = :p_list_line_id
    AND d.request_id = :p_request_id;
  • This data is instrumental for validating the setup of complex pricing agreements and understanding the lineage of calculated prices during support incidents.

Related Objects

The QP_DEBUG_REQ_RLTD_LINES table has a direct and integral relationship with the core QP_LIST_LINES table, as defined by its two foreign key constraints. Both the LIST_LINE_ID and RELATED_LIST_LINE_ID columns reference the LIST_LINE_ID column in QP_LIST_LINES. This design means the table is a child entity to QP_LIST_LINES, storing relationship instances between rows in that parent table. The table is part of the Advanced Pricing debugging infrastructure and may be populated by internal pricing engine APIs or concurrent programs designed for diagnostic logging. Its data is typically transient, associated with specific debug sessions, and not intended for direct transactional use in standard business processes.

  • Table: QP_DEBUG_REQ_RLTD_LINES 12.1.1

    owner:QP,  object_type:TABLE,  fnd_design_data:QP.QP_DEBUG_REQ_RLTD_LINES,  object_name:QP_DEBUG_REQ_RLTD_LINES,  status:VALID,  product: QP - Advanced Pricingdescription: This table contains information about the related lines. ,  implementation_dba_data: QP.QP_DEBUG_REQ_RLTD_LINES

  • Table: QP_DEBUG_REQ_RLTD_LINES 12.2.2

    owner:QP,  object_type:TABLE,  fnd_design_data:QP.QP_DEBUG_REQ_RLTD_LINES,  object_name:QP_DEBUG_REQ_RLTD_LINES,  status:VALID,  product: QP - Advanced Pricingdescription: This table contains information about the related lines. ,  implementation_dba_data: QP.QP_DEBUG_REQ_RLTD_LINES

  • View: QP_DEBUG_REQ_RLTD_LINES_V 12.1.1

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

  • View: QP_DEBUG_REQ_RLTD_LINES_V 12.2.2

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

  • Table: QP_LIST_LINES 12.1.1

    owner:QP,  object_type:TABLE,  fnd_design_data:QP.QP_LIST_LINES,  object_name:QP_LIST_LINES,  status:VALID,  product: QP - Advanced Pricingdescription: QP_LIST_LINES stores all list lines for lists in QP_LIST_HEADERS_B. ,  implementation_dba_data: QP.QP_LIST_LINES

  • 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_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

  • Table: QP_LIST_LINES 12.2.2

    owner:QP,  object_type:TABLE,  fnd_design_data:QP.QP_LIST_LINES,  object_name:QP_LIST_LINES,  status:VALID,  product: QP - Advanced Pricingdescription: QP_LIST_LINES stores all list lines for lists in QP_LIST_HEADERS_B. ,  implementation_dba_data: QP.QP_LIST_LINES

  • View: QP_DEBUG_REQ_LDETS_V 12.2.2

    owner:APPS,  object_type:VIEW,  fnd_design_data:QP.QP_DEBUG_REQ_LDETS_V,  object_name:QP_DEBUG_REQ_LDETS_V,  status:VALID,  product: QP - Advanced Pricingdescription: View that joins QP_DEBUG_REQ_LDETS and QP_DEBUG_REQ_RLTD_LINES. It contains information about the line details being priced. It has adjustment and discount details for lines, including adjustments and discounts that the pricing engine elimi ,  implementation_dba_data: APPS.QP_DEBUG_REQ_LDETS_V

  • View: QP_DEBUG_REQ_LDETS_V 12.1.1

    owner:APPS,  object_type:VIEW,  fnd_design_data:QP.QP_DEBUG_REQ_LDETS_V,  object_name:QP_DEBUG_REQ_LDETS_V,  status:VALID,  product: QP - Advanced Pricingdescription: View that joins QP_DEBUG_REQ_LDETS and QP_DEBUG_REQ_RLTD_LINES. It contains information about the line details being priced. It has adjustment and discount details for lines, including adjustments and discounts that the pricing engine elimi ,  implementation_dba_data: APPS.QP_DEBUG_REQ_LDETS_V