Search Results debug_other_string
Overview
PSA_UTILS is a utility package body owned by the APPS schema in Oracle E-Business Suite, valid across releases 12.1.1 and 12.2.2. It is classified as an OTHER-type API and functions primarily as a shared services layer rather than a business transaction API. Its two dominant responsibilities are diagnostic logging and validation, together with a specialized set of accounting reversal routines for Subledger Accounting (XLA) entries originating from Oracle Payables and Purchasing. The package exposes sixteen documented procedures and functions that are consumed broadly across the EBS application stack; the ETRM metadata records that PSA_UTILS is referenced by thirty other database objects, confirming its role as a foundational dependency rather than a terminal consumer.
Internally, PSA_UTILS depends on FND_FILE for concurrent program output, FND_LOG and FND_LOG_MESSAGES_S for the application diagnostic framework, and FND_MESSAGE for message dictionary retrieval. This dependency profile indicates that debugging output can be routed either to the concurrent manager log file or to the FND logging tables depending on the runtime context.
Key Procedures and Functions
The documented entry points divide into three functional groups.
- Debugging and logging: DEBUG_UNEXPECTED_MSG, DEBUG_OTHER_MSG, DEBUG_OTHER_STRING, and DEBUG_MESG provide controlled diagnostic output during execution. These are the most widely called members of the package and are used by calling programs to emit context-specific trace information without writing bespoke logging code.
- Validation: VALIDATE_USER_NAME and VALIDATE_USER_ID verify FND_USER records; VALIDATE_RESP_ID confirms a valid responsibility in FND_RESPONSIBILITY; VALIDATE_INVOICE_ID confirms the existence of an invoice in the Payables tables; VALIDATE_GL_DATE checks a date against open GL periods; VALIDATE_TAR_NUMBER, VALIDATE_BUG_NUMBER, and VALIDATE_PO_HEADER_ID perform format and existence checks on tracking identifiers and purchase order headers.
- Accounting reversal and re-derivation: UNDO_XLA_ACCOUNTING_FOR_INV and UNDO_XLA_ACCOUNTING_FOR_PO reverse Subledger Accounting entries for invoices and purchase orders respectively, while REDO_XLA_ACCOUNTING_FOR_PO re-creates them. PSA_GET_RFE_CCID retrieves a code combination identifier, typically in support of the accounting logic in this group.
Parameter lists are not documented in the available metadata and should be confirmed against the deployed package specification before use.
Tables Accessed
PSA_UTILS accesses its tables through APPS synonyms. Payables-related objects include AP_INVOICES_ALL, AP_INVOICES, AP_INVOICE_DISTRIBUTIONS, AP_INVOICE_DISTRIBUTIONS_ALL, AP_HOLDS_ALL, AP_PREPAY_APP_DISTS, AP_PREPAY_HISTORY_ALL, and AP_SELF_ASSESSED_TAX_DIST_ALL, reflecting the invoice validation and hold/prepayment inspection duties. FND_USER and FND_RESPONSIBILITY support the user and responsibility validations. FND_LOG_MESSAGES_S is written by the debugging routines. GL_BC_PACKETS, GL_LEDGERS, and GL_PERIOD_STATUSES support the CCID lookup and GL date validation, while GMS_AWARD_DISTRIBUTIONS is used by the grants-related distribution logic. The XLA reversal procedures operate primarily through the Subledger Accounting APIs rather than direct table DML.
Usage Notes
PSA_UTILS is not intended to be invoked by end users directly. It is called from concurrent programs, Oracle Forms personalizations and customizations, and other PL/SQL packages. The debugging procedures are typically guarded by a profile option or a local flag so that trace output is produced only when diagnostics are enabled. The validation routines are commonly used at the top of custom programs to fail fast on invalid input. The UNDO and REDO XLA procedures are used in correction scenarios where subledger accounting entries must be reversed and regenerated, and should be exercised with the same care as any accounting-affecting operation, including appropriate testing in a non-production environment.
-
PACKAGE BODY: APPS.PSA_UTILS
12.2.2
-
PACKAGE BODY: APPS.PSA_UTILS
12.1.1
-
APPS.PSA_UTILS SQL Statements
12.2.2
-
PACKAGE: APPS.IGI_IAC_DEBUG_PKG
12.2.2
-
PACKAGE: APPS.PSA_UTILS
12.1.1
-
PACKAGE: APPS.IGI_IAC_DEBUG_PKG
12.1.1
-
PACKAGE: APPS.PSA_UTILS
12.2.2
-
PACKAGE BODY: APPS.IGI_IAC_DEBUG_PKG
12.1.1
-
PACKAGE BODY: APPS.IGI_IAC_DEBUG_PKG
12.2.2
-
APPS.PSA_UTILS dependencies on XLA_AE_HEADERS
12.2.2
-
APPS.PSA_UTILS dependencies on XLA_AE_HEADERS_GT
12.2.2
-
APPS.PSA_UTILS dependencies on XLA_AE_LINES_GT
12.2.2
-
APPS.PSA_UTILS dependencies on XLA_VALIDATION_LINES_GT
12.2.2
-
APPS.PSA_UTILS dependencies on AP_INVOICE_DISTRIBUTIONS_ALL
12.2.2
-
APPS.PSA_UTILS dependencies on XLA_ACCT_PROG_EVENTS_GT
12.2.2
-
APPS.PSA_UTILS dependencies on AP_SELF_ASSESSED_TAX_DIST_ALL
12.2.2
-
APPS.PSA_UTILS dependencies on AP_INVOICE_DISTRIBUTIONS
12.2.2
-
APPS.PSA_UTILS dependencies on PSA_BC_XLA_EVENTS_GT
12.2.2
-
APPS.PSA_UTILS dependencies on AP_PREPAY_APP_DISTS
12.2.2
-
APPS.PSA_UTILS dependencies on FND_LOG_MESSAGES_S
12.2.2
-
APPS.PSA_UTILS dependencies on AP_PREPAY_HISTORY_ALL
12.2.2
-
APPS.PSA_UTILS dependencies on FND_LOG
12.2.2
-
APPS.PSA_UTILS dependencies on AP_HOLDS_ALL
12.2.2
-
APPS.PSA_UTILS dependencies on XLA_SECURITY_PKG
12.2.2
-
APPS.PSA_UTILS dependencies on GMS_AWARD_DISTRIBUTIONS
12.2.2
-
APPS.PSA_UTILS dependencies on FND_API
12.2.2
-
APPS.PSA_UTILS dependencies on GL_CODE_COMBINATIONS_KFV
12.2.2
-
APPS.PSA_UTILS dependencies on FND_FILE
12.2.2
-
APPS.PSA_UTILS dependencies on FND_FLEX_EXT
12.2.2
-
APPS.PSA_UTILS dependencies on MO_GLOBAL
12.2.2
-
APPS.PSA_UTILS dependencies on FND_LOG
12.1.1
-
APPS.PSA_UTILS dependencies on PSA_UTILS
12.2.2
-
APPS.PSA_UTILS dependencies on DBMS_OUTPUT
12.2.2
-
APPS.PSA_UTILS dependencies on XLA_EVENTS
12.2.2
-
APPS.PSA_UTILS dependencies on FND_GLOBAL
12.2.2
-
APPS.IGI_IAC_DEBUG_PKG dependencies on FND_LOG
12.1.1
-
APPS.IGI_IAC_DEBUG_PKG dependencies on FND_LOG
12.2.2
-
APPS.PSA_UTILS dependencies on GL_PERIOD_STATUSES
12.2.2
-
APPS.PSA_UTILS dependencies on AP_INVOICES
12.2.2
-
APPS.PSA_UTILS dependencies on XLA_TRANSACTION_ENTITIES
12.2.2