Search Results qp_npreq_ldets_tmp
Overview
QP_COPY_DEBUG_PVT is a private PL/SQL package in the APPS schema that supports Oracle E-Business Suite's Oracle Advanced Pricing (QP) debugging infrastructure. Its business purpose is to capture, stage, and persist diagnostic information generated during pricing engine execution, copying debug records from transient processing structures into permanent debug repository tables. The package operates alongside the public QP_COPY_DEBUG_PUB and the QP_PREQ_GRP package that drives pricing request processing.
The object is classified as a PVT package within the ETRM repository, meaning it is intended for internal use by the Oracle Pricing application rather than as a supported customer-facing API. It is a dependency of several higher-level pricing packages and is documented against Oracle EBS 12.1.1 and 12.2.2. Its presence on the ETRM search index under the temporary table QP_NPREQ_LINES_TMP confirms its role in the pricing request debug pipeline, where line-level pricing request data is harvested before being written to permanent debug storage.
Key Procedures and Functions
- REQUEST_ID — Returns or resolves the identifier of the current debug request, providing the correlation key that ties captured debug rows back to the originating pricing request.
- SET_REQUEST_TO_NULL — Clears the request identifier, resetting package state after a debug copy cycle completes or when no active debug request exists.
- WRITE_TO_DEBUG_TABLES — The core driver that copies staged debug content into the permanent QP debug tables, moving data from temporary pricing request structures into the debug repository.
- INSERT_DEBUG_LINE — Inserts an individual debug line or record into the target debug tables, invoked for each row processed during the copy.
- GENERATE_DEBUG_REQ_SEQ — Generates the next sequence value used to assign unique identifiers to debug request records.
These five documented procedures collectively implement the state management, sequence generation, and row-level insertion logic required to persist debug output.
Tables Accessed
- QP_DEBUG_REQ, QP_DEBUG_REQ_LINES, QP_DEBUG_REQ_LINE_ATTRS, QP_DEBUG_REQ_LDETS, QP_DEBUG_REQ_RLTD_LINES, QP_DEBUG_REQ_S — the permanent debug repository tables to which records are written.
- QP_DEBUG_FORMULA_STEP_VALUES, QP_DEBUG_TEXT — debug tables capturing formula evaluation and free-text diagnostic content.
- QP_NPREQ_LINES_TMP, QP_NPREQ_LINE_ATTRS_TMP, QP_NPREQ_LDETS_TMP, QP_NPREQ_RLTD_LINES_TMP, QP_NFORMULA_STEP_VALUES_TMP — temporary pricing request structures from which debug data is read and copied.
- OE_ORDER_HEADERS_ALL, OE_ORDER_LINES_ALL — order headers and lines supplying context for the request being debugged.
- QP_LINE_ATTR_S, QP_PREQ_GRP, DUAL, PLITBLM — supporting objects used for line attribute lookup, request grouping, and control flow.
Usage Notes
The package is invoked indirectly through pricing request processing rather than being called directly by end users. It is referenced by QP_COPY_DEBUG_PVT itself, QP_PREQ_GRP, QP_PREQ_PUB, and QP_UTIL_PUB, indicating that the public pricing APIs and utility routines drive it during debug capture. Typical invocation occurs when Oracle Pricing debug mode is enabled and a pricing request is executed from the order management flow, either through the Sales Orders form, Order Management concurrent programs, or custom code that calls the public Pricing APIs. Because it is a private package with no documented public interface, customizations should avoid direct calls; instead, developers enable the standard debug profile options and allow QP_PREQ_GRP and related public APIs to trigger the copy routines. Debug requests should be purged periodically as the repository tables can accumulate significant row volumes.
-
APPS.QP_RESOLVE_INCOMPATABILITY_PVT SQL Statements
12.2.2
-
APPS.QP_RESOLVE_INCOMPATABILITY_PVT SQL Statements
12.1.1
-
APPS.QP_PROCESS_OTHER_BENEFITS_PVT SQL Statements
12.1.1
-
APPS.QP_PROCESS_OTHER_BENEFITS_PVT SQL Statements
12.2.2
-
APPS.QP_PREQ_PUB SQL Statements
12.2.2
-
APPS.QP_LIMIT_BALANCE_CHECK_PVT SQL Statements
12.1.1
-
APPS.QP_PREQ_PUB SQL Statements
12.1.1
-
APPS.QP_LIMIT_BALANCE_CHECK_PVT SQL Statements
12.2.2
-
APPS.QP_LIMIT_TRANSACTIONS_PVT SQL Statements
12.1.1
-
APPS.QP_CALCULATE_PRICE_PUB SQL Statements
12.1.1
-
APPS.QP_LIMIT_TRANSACTIONS_PVT SQL Statements
12.2.2
-
APPS.QP_CALCULATE_PRICE_PUB SQL Statements
12.2.2
-
PACKAGE: APPS.QP_COPY_DEBUG_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:QP_COPY_DEBUG_PVT, status:VALID,
-
APPS.QP_COUPON_PVT SQL Statements
12.1.1
-
SYNONYM: APPS.QP_PREQ_LDETS_TMP_T
12.1.1
owner:APPS, object_type:SYNONYM, object_name:QP_PREQ_LDETS_TMP_T, status:VALID,
-
PACKAGE BODY: APPS.QP_RESOLVE_INCOMPATABILITY_PVT
12.2.2
-
SYNONYM: APPS.QP_PREQ_LDETS_TMP_T
12.2.2
owner:APPS, object_type:SYNONYM, object_name:QP_PREQ_LDETS_TMP_T, status:VALID,
-
PACKAGE BODY: APPS.QP_LIMIT_BALANCE_CHECK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_LIMIT_BALANCE_CHECK_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_LIMIT_BALANCE_CHECK_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_LIMIT_BALANCE_CHECK_PVT, status:VALID,
-
PACKAGE: APPS.QP_COPY_DEBUG_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:QP_COPY_DEBUG_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_LIMIT_TRANSACTIONS_PVT
12.1.1
-
PACKAGE BODY: APPS.QP_PROCESS_OTHER_BENEFITS_PVT
12.2.2
-
PACKAGE BODY: APPS.QP_LIMIT_TRANSACTIONS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_LIMIT_TRANSACTIONS_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_PROCESS_OTHER_BENEFITS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_PROCESS_OTHER_BENEFITS_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_CALCULATE_PRICE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_CALCULATE_PRICE_PUB, status:VALID,
-
APPS.QP_COUPON_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.QP_LIMIT_TRANSACTIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_LIMIT_TRANSACTIONS_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_PROCESS_OTHER_BENEFITS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_PROCESS_OTHER_BENEFITS_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_RESOLVE_INCOMPATABILITY_PVT
12.1.1
-
PACKAGE BODY: APPS.QP_CLEANUP_ADJUSTMENTS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_CLEANUP_ADJUSTMENTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_COPY_DEBUG_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_COPY_DEBUG_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_CALCULATE_PRICE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_CALCULATE_PRICE_PUB, status:VALID,
-
PACKAGE BODY: APPS.QP_COPY_DEBUG_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_COPY_DEBUG_PVT, status:VALID,
-
APPS.QP_CLEANUP_ADJUSTMENTS_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.QP_RESOLVE_INCOMPATABILITY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_RESOLVE_INCOMPATABILITY_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_CLEANUP_ADJUSTMENTS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_CLEANUP_ADJUSTMENTS_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_RESOLVE_INCOMPATABILITY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_RESOLVE_INCOMPATABILITY_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_COUPON_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_COUPON_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.QP_LIMIT_TRANSACTIONS_PVT
12.2.2
-
PACKAGE BODY: APPS.QP_PROCESS_OTHER_BENEFITS_PVT
12.1.1
-
PACKAGE BODY: APPS.QP_MULTI_CURRENCY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_MULTI_CURRENCY_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_COUPON_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_COUPON_PVT, status:VALID,
-
PACKAGE BODY: APPS.QP_MULTI_CURRENCY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_MULTI_CURRENCY_PVT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.QP_PREQ_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_PREQ_PUB, status:VALID,
-
PACKAGE BODY: APPS.QP_PREQ_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_PREQ_PUB, status:VALID,
-
APPS.QP_CLEANUP_ADJUSTMENTS_PVT SQL Statements
12.1.1
-
PACKAGE: APPS.QP_UTIL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:QP_UTIL_PUB, status:VALID,
-
PACKAGE BODY: APPS.QP_PREQ_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_PREQ_GRP, status:VALID,