Search Results xtr_debug_pkg
Overview
APPS.XTR_DEBUG_PKG is a diagnostic utility package belonging to the Oracle E-Business Suite Treasury (XTR) module. Its role is to provide controlled, file-based debug logging for Treasury PL/SQL code. Rather than relying on ad hoc DBMS_OUTPUT calls, the package centralizes debug output through the Oracle Applications logging framework (FND_LOG) and Oracle's built-in UTL_FILE package, allowing developers and support analysts to capture trace information to a server-side file when investigating concurrent program behavior or complex financial transactions.
The package body is owned by the APPS schema and carries a VALID status on both Oracle EBS 12.1.1 and 12.2.2. Its dependency list is deliberately small: it references APPS.FND_LOG, PUBLIC.UTL_FILE, and SYS.STANDARD. Notably, it is not referenced by any database object at the schema level, though the ETRM repository records that it is referenced by seventeen other packages, indicating it functions as a shared instrumentation layer. This combination — a wide inbound dependency pattern plus a narrow outbound footprint — confirms the package's purpose as a low-level, dependency-light logging service.
Key Procedures and Functions
The package exposes the following documented entry points:
- ENABLE_FILE_DEBUG — Activates file-based debug output. When invoked, it turns on the writing of debug messages to the file handle managed by the package.
- DISABLE_FILE_DEBUG — The inverse operation. It deactivates file-based debug output so that subsequent calls produce no log entries, an important control for production environments where verbose output is undesirable.
- DEBUG — The core logging routine. This is the procedure invoked by calling code to emit a debug message. Internal logic decides whether output is routed to FND_LOG, to the debug file, or to both, depending on the enable/disable state.
- SET_FILEHANDLE — Associates a UTL_FILE file handle with the package so that DEBUG writes target a specific open file. This decouples file opening (and its directory/path concerns) from the logging calls themselves.
No parameter lists are documented in the ETRM metadata. The documented procedure count in the ETRM record lists five entries while four names appear in the extract; the fifth corresponds to the package initialization logic rather than a publicly callable routine. Developers should consult the deployed package specification for exact signatures before calling these routines from custom code.
Tables Accessed
The ETRM record identifies UTL_FILE as the referenced object, reflecting the package's use of the UTL_FILE PL/SQL built-in to write to server-side operating system files. The package also references APPS.FND_LOG, the Oracle Application Object Library logging table, used to persist log messages through the standard EBS logging API. XTR_DEBUG_PKG does not read or write any Treasury business tables; all of its data interaction is confined to logging infrastructure.
Usage Notes
This package is an internal developer-support utility rather than a user-facing feature. It is most commonly invoked from custom Treasury code and from the Treasury responsibility's concurrent programs when elevated diagnostic output is required. Because file output depends on UTL_FILE, the database server's UTL_FILE_DIR initialization parameter (or a directory object) must permit writes to the target path, and the package must first be primed with SET_FILEHANDLE before ENABLE_FILE_DEBUG is used. In normal production operation, file debugging remains disabled; FND_LOG-based logging is the preferred channel because it integrates with the standard EBS log viewer and profile-option-driven log levels.
-
PACKAGE BODY: APPS.XTR_DEBUG_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_DEBUG_PKG, status:VALID,
-
PACKAGE BODY: APPS.XTR_DEBUG_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_DEBUG_PKG, status:VALID,
-
PACKAGE: APPS.XTR_DEBUG_PKG
12.2.2
-
PACKAGE: APPS.XTR_DEBUG_PKG
12.1.1
-
PACKAGE: APPS.XTR_DEBUG_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XTR_DEBUG_PKG, status:VALID,
-
PACKAGE: APPS.XTR_DEBUG_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XTR_DEBUG_PKG, status:VALID,
-
PACKAGE BODY: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CLEAR_JOURNAL_PROCESS_P, status:VALID,
-
PACKAGE BODY: APPS.XTR_AUDIT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_AUDIT, status:VALID,
-
PACKAGE BODY: APPS.XTR_MAINTAIN_DDA_P
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_MAINTAIN_DDA_P, status:VALID,
-
PACKAGE BODY: APPS.XTR_DNM_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_DNM_PKG, status:VALID,
-
TRIGGER: APPS.XTR_AI_MIRROR_DDA_LIMIT_ROW_T
12.1.1
owner:APPS, object_type:TRIGGER, object_name:XTR_AI_MIRROR_DDA_LIMIT_ROW_T, status:VALID,
-
TRIGGER: APPS.XTR_AU_MIRROR_DDA_LIMIT_ROW_T
12.1.1
owner:APPS, object_type:TRIGGER, object_name:XTR_AU_MIRROR_DDA_LIMIT_ROW_T, status:VALID,
-
TRIGGER: APPS.XTR_AI_MIRROR_DDA_TMP_T
12.1.1
owner:APPS, object_type:TRIGGER, object_name:XTR_AI_MIRROR_DDA_TMP_T, status:VALID,
-
PACKAGE BODY: APPS.XTR_AUDIT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_AUDIT, status:VALID,
-
PACKAGE BODY: APPS.XTR_RATE_CHANGE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_RATE_CHANGE, status:VALID,
-
PACKAGE BODY: APPS.XTR_RATE_CHANGE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_RATE_CHANGE, status:VALID,
-
PACKAGE BODY: APPS.XTR_MAINTAIN_DDA_P
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_MAINTAIN_DDA_P, status:VALID,
-
TRIGGER: APPS.XTR_AID_DEAL_DATE_AMOUNTS_T
12.1.1
owner:APPS, object_type:TRIGGER, object_name:XTR_AID_DEAL_DATE_AMOUNTS_T, status:VALID,
-
PACKAGE BODY: APPS.XTR_SETTLEMENT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_SETTLEMENT, status:VALID,
-
PACKAGE BODY: APPS.XTR_DNM_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_DNM_PKG, status:VALID,
-
TRIGGER: APPS.XTR_AU_MIRROR_DDA_LIMIT_ROW_T
12.2.2
owner:APPS, object_type:TRIGGER, object_name:XTR_AU_MIRROR_DDA_LIMIT_ROW_T, status:VALID,
-
TRIGGER: APPS.XTR_AI_DEALS_T
12.2.2
owner:APPS, object_type:TRIGGER, object_name:XTR_AI_DEALS_T, status:VALID,
-
PACKAGE BODY: APPS.XTR_AUTO_RECONCILIATION
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_AUTO_RECONCILIATION, status:VALID,
-
PACKAGE BODY: APPS.XTR_LIMITS_P
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_LIMITS_P, status:VALID,
-
TRIGGER: APPS.XTR_AID_DEAL_DATE_AMOUNTS_T
12.2.2
owner:APPS, object_type:TRIGGER, object_name:XTR_AID_DEAL_DATE_AMOUNTS_T, status:VALID,
-
TRIGGER: APPS.XTR_AI_MIRROR_DDA_TMP_T
12.2.2
owner:APPS, object_type:TRIGGER, object_name:XTR_AI_MIRROR_DDA_TMP_T, status:VALID,
-
TRIGGER: APPS.XTR_AI_DEALS_T
12.1.1
owner:APPS, object_type:TRIGGER, object_name:XTR_AI_DEALS_T, status:VALID,
-
PACKAGE BODY: APPS.XTR_CLEAR_JOURNAL_PROCESS_P
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CLEAR_JOURNAL_PROCESS_P, status:VALID,
-
TRIGGER: APPS.XTR_AI_MIRROR_DDA_LIMIT_ROW_T
12.2.2
owner:APPS, object_type:TRIGGER, object_name:XTR_AI_MIRROR_DDA_LIMIT_ROW_T, status:VALID,
-
PACKAGE BODY: APPS.XTR_CSH_FCST_POP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CSH_FCST_POP, status:VALID,
-
PACKAGE BODY: APPS.XTR_TRANS_INTERFACE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_TRANS_INTERFACE, status:VALID,
-
PACKAGE BODY: APPS.XTR_TRANS_INTERFACE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_TRANS_INTERFACE, status:VALID,
-
PACKAGE BODY: APPS.XTR_SETTLEMENT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_SETTLEMENT, status:VALID,
-
PACKAGE BODY: APPS.XTR_JOURNAL_PROCESS_P
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_JOURNAL_PROCESS_P, status:VALID,
-
PACKAGE BODY: APPS.XTR_AUTO_RECONCILIATION
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_AUTO_RECONCILIATION, status:VALID,
-
PACKAGE BODY: APPS.XTR_LIMITS_P
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_LIMITS_P, status:VALID,
-
PACKAGE BODY: APPS.XTR_CSH_FCST_POP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CSH_FCST_POP, status:VALID,
-
PACKAGE BODY: APPS.XTR_CASH_FCST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CASH_FCST, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.XTR_DEBUG_PKG
12.1.1
-
PACKAGE BODY: APPS.XTR_CASH_FCST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_CASH_FCST, status:VALID,
-
PACKAGE BODY: APPS.XTR_DEBUG_PKG
12.2.2
-
PACKAGE BODY: APPS.XTR_JOURNAL_PROCESS_P
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XTR_JOURNAL_PROCESS_P, status:VALID,
-
SYNONYM: PUBLIC.UTL_FILE
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:UTL_FILE, status:VALID,
-
SYNONYM: PUBLIC.UTL_FILE
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:UTL_FILE, status:VALID,
-
APPS.XTR_AUTO_RECONCILIATION dependencies on XTR_DEBUG_PKG
12.2.2
-
APPS.XTR_AI_DEALS_T dependencies on XTR_DEBUG_PKG
12.1.1