Search Results inv_debug_file
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.1.1
-
PACKAGE BODY: APPS.INV_DEBUG_INTERFACE
12.2.2
-
PACKAGE BODY: APPS.INV_LOG_UTIL
12.2.2
-
PACKAGE BODY: APPS.INV_LOG_UTIL
12.1.1
-
APPS.INV_DIAG_OBJ SQL Statements
12.2.2
-
APPS.INV_DIAG_OBJ SQL Statements
12.1.1
-
PACKAGE BODY: APPS.RCV_DCP_PVT
12.2.2
-
PACKAGE BODY: APPS.RCV_DCP_PVT
12.1.1
-
PACKAGE BODY: APPS.INV_DIAG_OBJ
12.1.1
-
APPS.INV_DEBUG_INTERFACE dependencies on FND_PROFILE
12.2.2
-
PACKAGE BODY: APPS.INV_DIAG_OBJ
12.2.2
-
APPS.INV_DEBUG_INTERFACE dependencies on FND_PROFILE
12.1.1
-
APPS.RCV_DCP_PVT dependencies on FND_PROFILE
12.2.2
-
APPS.INV_DCP_PVT dependencies on FND_PROFILE
12.2.2
-
APPS.WMS_ZONES_PVT dependencies on DBMS_OUTPUT
12.1.1
-
APPS.WMS_ZONES_PVT dependencies on DBMS_OUTPUT
12.2.2
-
APPS.INV_DCP_PVT dependencies on FND_PROFILE
12.1.1
-
APPS.INV_LABEL dependencies on FND_PROFILE
12.1.1
-
APPS.RCV_DCP_PVT dependencies on FND_PROFILE
12.1.1
-
APPS.INV_LABEL dependencies on FND_PROFILE
12.2.2
-
APPS.INV_LOG_UTIL dependencies on FND_PROFILE
12.1.1
-
PACKAGE: APPS.INV_TRX_UTIL_PUB
12.2.2
-
PACKAGE: APPS.INV_TRX_UTIL_PUB
12.1.1
-
APPS.INV_LOG_UTIL dependencies on FND_PROFILE
12.2.2
-
PACKAGE BODY: APPS.INV_DCP_PVT
12.2.2
-
PACKAGE BODY: APPS.INV_DCP_PVT
12.1.1
-
APPS.WMS_ZONES_PVT dependencies on FND_PROFILE
12.1.1
-
APPS.WMS_ZONES_PVT dependencies on FND_PROFILE
12.2.2
-
APPS.WSH_DEBUG_SV dependencies on FND_PROFILE
12.2.2
-
APPS.WSH_DEBUG_SV dependencies on FND_PROFILE
12.1.1
-
APPS.INV_DEBUG_INTERFACE dependencies on FND_GLOBAL
12.2.2
-
APPS.INV_DEBUG_INTERFACE dependencies on FND_GLOBAL
12.1.1
-
APPS.WMS_ZONES_PVT dependencies on INV_LOG_UTIL
12.2.2
-
APPS.WMS_ZONES_PVT dependencies on INV_LOG_UTIL
12.1.1
-
APPS.INV_LABEL dependencies on FND_GLOBAL
12.1.1
-
APPS.INV_LABEL dependencies on FND_GLOBAL
12.2.2
-
PACKAGE BODY: APPS.WSH_DEBUG_SV
12.1.1
-
PACKAGE BODY: APPS.WSH_DEBUG_SV
12.2.2
-
APPS.WMS_UT_PKG dependencies on FND_GLOBAL
12.2.2
-
APPS.WMS_UT_PKG dependencies on FND_GLOBAL
12.1.1
-
PACKAGE BODY: APPS.INV_LABEL
12.2.2
-
PACKAGE BODY: APPS.INV_LABEL
12.1.1
-
APPS.WMS_UT_PKG dependencies on WMS_UT_PKG
12.2.2
-
APPS.WMS_UT_PKG dependencies on WMS_UT_PKG
12.1.1
-
PACKAGE BODY: APPS.WMS_ZONES_PVT
12.2.2
-
PACKAGE BODY: APPS.WMS_ZONES_PVT
12.1.1
-
PACKAGE BODY: APPS.WMS_UT_PKG
12.2.2
-
PACKAGE BODY: APPS.WMS_UT_PKG
12.1.1
-
APPS.RCV_DCP_PVT dependencies on ASN_DEBUG
12.1.1