Search Results pa_message_utils




Overview

PA_MESSAGE_UTILS is a utility package in the Oracle Projects (PA) application schema of Oracle E-Business Suite. Its package body, owned by the APPS schema and reported as VALID, provides a centralized mechanism for capturing, storing, and decoding application messages produced during Projects processing. The package sits within the messaging and diagnostics layer of Oracle Projects and is designed to standardize how error and informational messages are persisted and retrieved across the module.

The package is classified as an OTHER API type in the ETRM metadata, indicating that it is an internal helper package rather than a formally published public API. It is not referenced by any database object according to the dependency information, but it is referenced by eight other packages within the Projects footprint. This pattern is consistent with a shared utility whose consumers are PL/SQL packages rather than forms, views, or concurrent program definitions.

Key Procedures and Functions

The documented package body exposes two procedures or functions:

  • SAVE_MESSAGES — Persists messages generated during Projects processing so that they can be retained, reviewed, or surfaced later. It is the write-side routine of the utility and underpins the message-logging behavior relied upon by caller packages.
  • GET_DECODED_MESSAGE — Returns a message in decoded, human-readable form. This function supports the read side of the utility, allowing callers to obtain resolved message text rather than raw message codes or tokens.

Parameter lists are not documented in the ETRM extract and are deliberately not reproduced here. The two routines together form a paired save-and-retrieve facility for Projects messages.

Tables Accessed

The only table documented as referenced through APPS synonyms is PA_REPORTING_EXCEPTIONS. This table stores exception records raised during Projects reporting activity. PA_MESSAGE_UTILS interacts with it in support of its message-handling role — persisting message content via SAVE_MESSAGES and retrieving decoded message text via GET_DECODED_MESSAGE. No other application tables are documented for this package.

Usage Notes

PA_MESSAGE_UTILS depends on several Oracle EBS foundation packages, notably FND_API, FND_MESSAGE, and FND_MSG_PUB, which supply the standard API return-status conventions and the Message Dictionary services used to resolve and decode messages. It also depends on the PA_MESSAGE_UTILS package specification itself and on STANDARD for standard PL/SQL constructs.

Because the package is referenced by eight other packages and is not exposed through forms or concurrent programs, it is typically invoked indirectly. Callers are most commonly other Projects PL/SQL packages that need to record messages during processing and later present decoded text to a user or to a downstream process. Custom code extending Oracle Projects can follow the same pattern, calling SAVE_MESSAGES to record a message and GET_DECODED_MESSAGE to resolve it for display. In EBS 12.1.1 and 12.2.2 the package resides in the APPS schema and is subject to the usual patching and dependency validation performed for the Projects product family. Developers should treat it as an internal utility rather than a supported public interface and should avoid modifying it directly, relying instead on supported extension mechanisms.