Search Results oe_debug_pub
Overview
OE_DEBUG_PUB is a public PL/SQL package body owned by the APPS schema in Oracle E-Business Suite. It is the central debugging and diagnostic utility for the Oracle Order Management (OE) application family and related supply chain modules. The package provides a controlled instrumentation layer that allows developers, support analysts, and implementers to trace runtime behavior of Order Management APIs, concurrent programs, and forms without modifying or recompiling the underlying business logic. Within the ETRM metadata it is classified as an API of type PUB, confirming that it is intended for external invocation rather than internal-only use.
The package is heavily embedded across the application: it is referenced by 524 other packages, and it does not itself reference any database object that calls back into it, indicating a terminal utility that many modules depend upon but which remains independent. Its primary role is to manage debug mode flags, accumulate debug messages during a session, buffer and retrieve those messages for display or logging, and integrate with Oracle Workflow (WSH_DEBUG_INTERFACE) and Inventory (INV_DEBUG_INTERFACE) debug frameworks.
Key Procedures and Functions
The package exposes fifteen documented procedures and functions that manage the lifecycle of a debug session:
- SET_DEBUG_MODE — enables or disables debugging for the current session or context.
- INITIALIZE — prepares internal debug storage and the message index.
- DEBUG_ON — activates the debugger and begins collecting messages.
- DEBUG_OFF — deactivates the debugger and stops collection.
- ISDEBUGON — boolean function returning whether debug mode is currently active.
- COUNTDEBUG — returns the number of debug messages recorded in the buffer.
- ADD — writes a message into the debug buffer.
- GETFIRST — positions the internal index at the first buffered message.
- GETNEXT — retrieves the next message sequentially from the buffer.
- GETNEXTBUFFER — retrieves the next buffer block, supporting large message volumes.
- DUMPDEBUG — outputs the accumulated buffer, typically to a file or output device.
- RESETINDEX — resets the read index back to the start of the buffer.
- SETDEBUGLEVEL — sets the verbosity threshold used to filter messages.
- START_ONT_DEBUGGER — starts the Order Management debugger interface.
- STOP_ONT_DEBUGGER — stops the Order Management debugger interface.
Tables Accessed
Documented dependencies include OE_DEBUG_S, a sequence used to generate identifiers for buffered debug messages, and DUAL, used for scalar evaluations and sequencing logic. UTL_FILE and PLITBLM are referenced to support file output and PL/SQL table/index-by-table operations behind GETNEXT and DUMPDEBUG. DBMS_UTILITY and FND_FILE are leveraged for formatted output and error/utility routines. The package also interacts with FND_PROFILE, FND_GLOBAL, and FND_API, allowing debug settings to be governed by profile options and the runtime application context. Integration hooks with INV_DEBUG_INTERFACE and WSH_DEBUG_INTERFACE allow the Order Management debugger to coordinate with the Inventory and Workflow debuggers.
Usage Notes
OE_DEBUG_PUB is normally invoked from Order Management forms, concurrent programs, and custom PL/SQL that needs to capture diagnostic traces of order processing. It is not intended for direct end-user execution. Because it is referenced by over five hundred packages, enabling debug mode can produce substantial output; the SETDEBUGLEVEL and SET_DEBUG_MODE routines should be used to bound verbosity before activating the debugger. The START_ONT_DEBUGGER and STOP_ONT_DEBUGGER procedures wrap the Order Management debugger around a transaction so the buffer can be dumped cleanly. The package is valid in both EBS 12.1.1 and 12.2.2 and remains schema-owned by APPS.
-
PACKAGE BODY: APPS.OE_DEBUG_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DEBUG_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_DEBUG_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DEBUG_PUB, status:VALID,
-
SYNONYM: APPS.OE_DEBUG_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OE_DEBUG_S, status:VALID,
-
SYNONYM: APPS.OE_DEBUG_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OE_DEBUG_S, status:VALID,
-
PACKAGE BODY: APPS.GML_READ_IC_B
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GML_READ_IC_B, status:VALID,
-
PACKAGE BODY: APPS.OTA_OM_DEBUG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_OM_DEBUG, status:VALID,
-
PACKAGE BODY: APPS.OE_ADV_ITEM_PURGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ADV_ITEM_PURGE, status:VALID,
-
PACKAGE BODY: APPS.ONT_OS_MV_REFRESH
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ONT_OS_MV_REFRESH, status:VALID,
-
PACKAGE BODY: APPS.ONT_COACOC_PACKAGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ONT_COACOC_PACKAGE, status:VALID,
-
PACKAGE BODY: APPS.ONT_COACOC_PACKAGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ONT_COACOC_PACKAGE, status:VALID,
-
PACKAGE BODY: APPS.ONT_OS_MV_REFRESH
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ONT_OS_MV_REFRESH, status:VALID,
-
PACKAGE BODY: APPS.GML_READ_IC_B
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GML_READ_IC_B, status:VALID,
-
PACKAGE BODY: APPS.OE_SALES_CREDIT_HOOK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_SALES_CREDIT_HOOK, status:VALID,
-
PACKAGE BODY: APPS.GML_MOLINE_DATA_FIX_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GML_MOLINE_DATA_FIX_PKG, status:VALID,
-
PACKAGE BODY: APPS.OE_COGS_EXTENSION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_COGS_EXTENSION, status:VALID,
-
PACKAGE BODY: APPS.OE_ADV_ITEM_PURGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ADV_ITEM_PURGE, status:VALID,
-
PACKAGE BODY: APPS.QP_CUST_MRG_DATA_CLEANUP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:QP_CUST_MRG_DATA_CLEANUP, status:VALID,
-
PACKAGE BODY: APPS.ONT_ICP_GET_USER_DETAILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ONT_ICP_GET_USER_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.GML_MOLINE_DATA_FIX_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GML_MOLINE_DATA_FIX_PKG, status:VALID,
-
PACKAGE BODY: APPS.OE_INVOICE_EXT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_INVOICE_EXT_PVT, status:VALID,
-
PACKAGE BODY: APPS.CTO_OM_WF_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CTO_OM_WF_API, status:VALID,
-
PACKAGE BODY: APPS.OE_SALES_CREDIT_HOOK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_SALES_CREDIT_HOOK, status:VALID,
-
PACKAGE BODY: APPS.WSH_CC_RESPONSE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_CC_RESPONSE_PKG, status:VALID,
-
PACKAGE BODY: APPS.ONT_OS_CATEGORIES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ONT_OS_CATEGORIES, status:VALID,
-
PACKAGE BODY: APPS.QP_CUST_MRG_DATA_CLEANUP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:QP_CUST_MRG_DATA_CLEANUP, status:VALID,
-
PACKAGE BODY: APPS.OE_INVOICE_EXT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_INVOICE_EXT_PVT, status:VALID,
-
PACKAGE BODY: APPS.CTO_OM_WF_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:CTO_OM_WF_API, status:VALID,
-
PACKAGE BODY: APPS.ONT_OS_CATEGORIES
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ONT_OS_CATEGORIES, status:VALID,
-
PACKAGE BODY: APPS.OE_CREDIT_CHECK_CP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CREDIT_CHECK_CP, status:VALID,
-
PACKAGE BODY: APPS.OE_MESSAGE_PURGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_MESSAGE_PURGE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_LINEINFO_GRP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINEINFO_GRP, status:VALID,
-
PACKAGE BODY: APPS.OE_HEADER_ADJ_PCFWK
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HEADER_ADJ_PCFWK, status:VALID,
-
PACKAGE BODY: APPS.OE_HEADER_ADJ_PCFWK
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HEADER_ADJ_PCFWK, status:VALID,
-
PACKAGE BODY: APPS.OE_CREDIT_CHECK_CP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CREDIT_CHECK_CP, status:VALID,
-
PACKAGE BODY: APPS.OE_VALIDATE_SCH_LINE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALIDATE_SCH_LINE, status:VALID,
-
PACKAGE BODY: APPS.WSH_ITM_CUSTOM_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_ITM_CUSTOM_PROCESS, status:VALID,
-
PACKAGE BODY: APPS.OE_UPG_PC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_UPG_PC, status:VALID,
-
PACKAGE BODY: APPS.ONT_ICP_GET_USER_DETAILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ONT_ICP_GET_USER_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.OTA_OM_DEBUG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_OM_DEBUG, status:VALID,
-
PACKAGE BODY: APPS.OE_DEPENDENCIES_EXTN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DEPENDENCIES_EXTN, status:VALID,
-
PACKAGE BODY: APPS.OE_COMMITMENT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_COMMITMENT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_BLANKET_UTIL_MISC
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_BLANKET_UTIL_MISC, status:VALID,
-
PACKAGE BODY: APPS.OE_COMMITMENT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_COMMITMENT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_CREDIT_CHECK_GLOBALS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CREDIT_CHECK_GLOBALS, status:VALID,
-
PACKAGE BODY: APPS.DEFELEMENTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:DEFELEMENTS_PKG, status:VALID,
-
PACKAGE BODY: APPS.WSH_ITM_RESPONSE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_ITM_RESPONSE_PKG, status:VALID,
-
PACKAGE BODY: APPS.OE_SYS_PARAMETERS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_SYS_PARAMETERS, status:VALID,
-
PACKAGE BODY: APPS.OE_SECURITY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_SECURITY_PVT, status:VALID,
-
PACKAGE BODY: APPS.WSH_ITM_CUSTOM_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:WSH_ITM_CUSTOM_PROCESS, status:VALID,
-
PACKAGE: APPS.INV_DEBUG_INTERFACE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_DEBUG_INTERFACE, status:VALID,