Search Results inv_debug_trace
Overview
APPS.INV_DEBUG_INTERFACE is a utility package body in Oracle E-Business Suite that provides a standardized mechanism for enabling and disabling the Inventory Debugger from external products and calling modules. The Inventory Debugger is a diagnostic facility used by Oracle Inventory and related modules (such as shipping, receiving, and order management) to capture detailed runtime trace information during the execution of inventory transactions and APIs. Rather than requiring each product to manage debugger state independently, INV_DEBUG_INTERFACE centralizes the activation logic and manipulates the underlying FND profile options that the debugger framework consumes.
The package is classified in ETRM as an "OTHER" API, meaning it is not a formal business object API but an infrastructure utility. Its header identifies it as a shipped, non-customized database object maintained under the INV product family. The package exposes a minimal, stable surface area consisting of two documented procedures, and it is referenced by four other packages within the E-Business Suite, confirming its role as a shared diagnostic integration point.
Key Procedures and Functions
- start_inv_debugger — Turns the Inventory Debugger on. It sets the
INV_DEBUG_LEVELprofile to 10, setsINV_DEBUG_TRACEto 1, and assigns an output file target via theINV_DEBUG_FILEprofile. When the package is invoked from within a concurrent program context (that is, a valid concurrent request ID exists), it applies default debugger settings and returns immediately, directing output to a placeholder destination rather than a caller-supplied file. When no concurrent request context exists, the procedure requires the caller to supply a directory name, a file name, and an already-open UTL_FILE handle; it constructs a fully qualified file path, applies the debugger profile settings, and stores the file handle in a package global for subsequent trace writes. - stop_inv_debugger — Turns the Inventory Debugger off. It resets the debug level profile to a null value, sets
INV_DEBUG_TRACEto 2 to signal termination of tracing, and clears theINV_DEBUG_FILEprofile, restoring the profile environment to its default state.
Both procedures encapsulate their logic in an exception handler that suppresses errors, ensuring that diagnostic activation or deactivation never interrupts the calling transaction.
Tables Accessed
The package does not read or write application tables directly. Its only documented table reference is through the UTL_FILE package, used to validate and manage the open file handle supplied by the caller. All persistent debugger state is held in FND profile options — INV_DEBUG_LEVEL, INV_DEBUG_TRACE, and INV_DEBUG_FILE — which the debugger framework reads at runtime to determine whether to emit trace output and where to write it.
Usage Notes
INV_DEBUG_INTERFACE is typically invoked from custom or standard PL/SQL code that needs to capture Inventory debugger output for troubleshooting, such as during the execution of inventory transaction APIs. A caller first opens a file with UTL_FILE (or relies on the concurrent program context), then calls start_inv_debugger, executes the code under investigation, and finally calls stop_inv_debugger to reset the profile options. Because the package keys off FND_GLOBAL.CONC_REQUEST_ID, it behaves differently in concurrent processing versus online form or ad hoc sessions. The INV_DEBUG_TRACE profile referenced in the source corresponds to the user-visible trace control often searched as "inv_debug_trace," making this package the programmatic entry point for that setting.
-
PACKAGE BODY: APPS.INV_DEBUG_INTERFACE
12.2.2
-
PACKAGE BODY: APPS.INV_COST_GROUP_PUB
12.1.1
-
PACKAGE BODY: APPS.INV_COST_GROUP_PUB
12.2.2
-
PACKAGE BODY: APPS.INV_DEBUG_INTERFACE
12.1.1
-
PACKAGE BODY: APPS.INV_MOBILE_HELPER_FUNCTIONS
12.1.1
-
PACKAGE BODY: APPS.INV_DEFAULT_TROHDR
12.1.1
-
PACKAGE BODY: APPS.WMS_UTILITY_PVT
12.1.1
-
PACKAGE BODY: APPS.INV_DEFAULT_TROHDR
12.2.2
-
PACKAGE BODY: APPS.INV_MOBILE_HELPER_FUNCTIONS
12.2.2
-
PACKAGE BODY: APPS.WMS_UTILITY_PVT
12.2.2
-
PACKAGE BODY: APPS.INV_VALUE_TO_ID
12.2.2
-
PACKAGE BODY: APPS.INV_VALUE_TO_ID
12.1.1
-
PACKAGE BODY: APPS.INV_ITEM_MSG
12.2.2
-
PACKAGE BODY: APPS.INV_ITEM_MSG
12.1.1
-
PACKAGE BODY: APPS.WMS_CAROUSEL_INTEGRATION_PKG
12.2.2
-
PACKAGE BODY: APPS.WMS_CAROUSEL_INTEGRATION_PKG
12.1.1
-
PACKAGE BODY: APPS.INV_RCV_CACHE
12.1.1
-
PACKAGE BODY: APPS.INVTROAP
12.1.1
-
PACKAGE BODY: APPS.INV_RCV_CACHE
12.2.2
-
PACKAGE BODY: APPS.WMS_LABEL_FORMATS_PKG
12.2.2
-
PACKAGE BODY: APPS.WMS_LABEL_FORMATS_PKG
12.1.1
-
PACKAGE BODY: APPS.WMS_SHIPPING_LPN_UTILS_PUB
12.1.1
-
APPS.WMS_ATF_DEST_LOCATOR SQL Statements
12.1.1
-
APPS.WMS_ATF_DEST_LOCATOR SQL Statements
12.2.2
-
PACKAGE BODY: APPS.WMS_SHIPPING_LPN_UTILS_PUB
12.2.2
-
PACKAGE BODY: APPS.INV_UI_PROJECT_LOVS
12.1.1
-
PACKAGE BODY: APPS.INVTROAP
12.2.2
-
PACKAGE BODY: APPS.INV_UI_PROJECT_LOVS
12.2.2
-
PACKAGE BODY: APPS.INV_LOG_UTIL
12.2.2
-
PACKAGE BODY: APPS.INV_LOG_UTIL
12.1.1
-
PACKAGE BODY: APPS.INV_3PL_BILLING_PUB
12.2.2
-
APPS.INV_CONSUMPTION_TXN_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.WMS_SHIPPING_MESSAGES
12.2.2
-
APPS.INV_CONSUMPTION_TXN_PVT SQL Statements
12.2.2
-
APPS.WMS_OP_RUNTIME_PVT_APIS SQL Statements
12.2.2
-
APPS.WMS_OP_RUNTIME_PVT_APIS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.WMS_SHIPPING_MESSAGES
12.1.1
-
PACKAGE BODY: APPS.INV_REPLENISH_COUNT_LOVS
12.1.1
-
PACKAGE BODY: APPS.INV_CR_ASN_DETAILS
12.1.1
-
PACKAGE BODY: APPS.INV_CR_ASN_DETAILS
12.2.2
-
APPS.INV_ITEM_MSG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.WMS_WCS_DEVICE_GRP
12.2.2
-
PACKAGE BODY: APPS.WMS_WCS_DEVICE_GRP
12.1.1
-
PACKAGE BODY: APPS.WMS_LPN_LOVS
12.2.2
-
PACKAGE BODY: APPS.WMS_TASK_DISPATCH_DEVICE
12.2.2
-
PACKAGE BODY: APPS.WMS_TASK_DISPATCH_DEVICE
12.1.1
-
PACKAGE BODY: APPS.INV_CUST_CALC_EXP_DATE
12.2.2
-
PACKAGE BODY: APPS.INV_CUST_CALC_EXP_DATE
12.1.1
-
APPS.INV_ITEM_MSG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.INV_TABLE_LOCK_PVT
12.1.1