Search Results get_string
Overview
PV_MESSAGE is an Oracle E-Business Suite PL/SQL package owned by APPS that provides the message-handling layer for the ProcessView (PV) product family. Its central purpose is to decouple application code from message text stored in the Oracle EBS Message Dictionary, allowing tokens, translations, and message numbers to be resolved at runtime rather than hard-coded in forms or concurrent programs. The package serves two distinct roles: an in-memory message buffer (used when a message is built token by token and later retrieved or edited), and a stateless lookup interface for querying translated message text directly from the Message Dictionary database. Documentation classifies the API as OTHER, and it is referenced by one other package within the APPS schema. The header of the source file (pvxvmsgs.pls, version 115.6, dated December 2002) confirms the package is a long-standing component of the EBS code base carried forward unchanged into 12.1.1 and 12.2.2.
Key Procedures and Functions
The package exposes several procedures and functions, each with a specific role:
- SET_NAME — identifies the message name (and application) that subsequent operations act upon.
- SET_TOKEN — registers a named token and its substitution value within the current message buffer; the TRANSLATE flag controls whether the supplied value itself should be translated.
- RETRIEVE — returns the accumulated message with tokens substituted and clears the buffer, making it the terminating call in the build-then-read pattern.
- CLEAR — empties the message buffer without returning a value, useful when discarding a partially built message.
- GET_STRING — the direct lookup function highlighted by the search term; a one-call interface that returns a translated message from the Message Dictionary by application and message name. It performs no token substitution and returns NULL when the message cannot be located.
- GET_NUMBER — returns the numeric message identifier associated with an application and message name, or NULL if the message is not found.
- GET — returns the currently buffered message with translation and token substitution applied.
- GET_ENCODED — retrieves an encoded representation of a message from the message stack.
- PARSE_ENCODED — decodes an encoded message back into its component parts.
- SET_ENCODED — places an encoded message onto the stack.
- RAISE_ERROR — raises an application error using the buffered message data.
Tables Accessed
According to documented metadata, PV_MESSAGE references two tables through APPS synonyms. FND_APPLICATION is used to identify the owning application of a message, since messages are uniquely keyed by application and name. FND_NEW_MESSAGES is the Message Dictionary table storing the translated message text retrieved by GET_STRING and GET, and the source of the message number returned by GET_NUMBER. The package performs read-only access to these tables; message maintenance itself is handled through standard AD administration utilities.
Usage Notes
PV_MESSAGE is typically invoked from ProcessView forms and concurrent programs where translated messages must be displayed to end users, and from custom PL/SQL that needs consistent, translated error text. The most common simple usage is a direct call to GET_STRING, passing the application short name and message name; this is appropriate when no token substitution is required. When tokens must be substituted, developers use the SET_NAME / SET_TOKEN / RETRIEVE sequence or GET after populating the buffer. Because the functions are defined with WNDS (and, for GET_STRING, GET_NUMBER, and GET_ENCODED, additional purity restrictions), they can safely be called from SQL contexts and from within other PL/SQL units. The buffer-based procedures are not re-entrant, so concurrent use within a single session should be serialized. All functions return NULL, rather than raising an exception, when a message cannot be found, so calling code should validate results before use.
-
PACKAGE: APPS.PV_MESSAGE
12.1.1
-
PACKAGE: APPS.PV_MESSAGE
12.2.2
-
TYPE BODY: APPS.FUN_RULE_RESULT
12.1.1
-
TYPE BODY: APPS.FUN_RULE_RESULT
12.2.2
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
-
PACKAGE: APPS.JL_JLBRRIVB_XMLP_PKG
12.2.2
-
PACKAGE: APPS.JL_JLBRRIVB_XMLP_PKG
12.1.1
-
PACKAGE: APPS.FND_MESSAGE_CACHE
12.2.2
-
PACKAGE: APPS.FND_MESSAGE_CACHE
12.1.1
-
APPS.HR_BPL_MESSAGE SQL Statements
12.1.1
-
APPS.HR_BPL_MESSAGE SQL Statements
12.2.2
-
TYPE: APPS.FUN_RULE_RESULT
12.2.2
owner:APPS, object_type:TYPE, object_name:FUN_RULE_RESULT, status:VALID,
-
TYPE: APPS.FUN_RULE_RESULT
12.1.1
owner:APPS, object_type:TYPE, object_name:FUN_RULE_RESULT, status:VALID,
-
PACKAGE BODY: APPS.JL_JLBRRIVB_XMLP_PKG
12.1.1
-
PACKAGE: APPS.JG_JGZZTAJA_XMLP_PKG
12.1.1
-
PACKAGE: APPS.JG_JGZZTAJA_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_JLBRRIVB_XMLP_PKG
12.2.2
-
PACKAGE: APPS.CE_CEXTRXCD_XMLP_PKG
12.1.1
-
PACKAGE: APPS.CE_CEXTRXCD_XMLP_PKG
12.2.2
-
PACKAGE: APPS.PON_PROFILE_UTIL_PKG
12.1.1
-
PACKAGE BODY: APPS.PV_MESSAGE
12.1.1
-
PACKAGE BODY: APPS.PV_MESSAGE
12.2.2
-
PACKAGE BODY: APPS.JG_JGZZTAJA_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.JG_JGZZTAJA_XMLP_PKG
12.1.1
-
PACKAGE: APPS.CE_CEFCERR_XMLP_PKG
12.1.1
-
PACKAGE: APPS.PON_PROFILE_UTIL_PKG
12.2.2
-
PACKAGE: APPS.CE_CEFCERR_XMLP_PKG
12.2.2
-
PACKAGE: APPS.XTR_XTRIRHED_XMLP_PKG
12.1.1
-
PACKAGE: APPS.XTR_XTRIRHED_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.FND_MESSAGE_CACHE
12.1.1
-
PACKAGE BODY: APPS.CE_CEFCERR_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.FND_MESSAGE
12.2.2
-
PACKAGE BODY: APPS.CE_CEFCERR_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.FND_MESSAGE_CACHE
12.2.2
-
PACKAGE BODY: APPS.FND_MESSAGE
12.1.1
-
PACKAGE BODY: APPS.CE_CEXTRXCD_XMLP_PKG
12.1.1
-
PACKAGE: APPS.JL_JLARFEFR_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.XTR_XTRIRHED_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.XTR_XTRIRHED_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.CE_CEXTRXCD_XMLP_PKG
12.2.2
-
PACKAGE: APPS.JL_JLARFEFR_XMLP_PKG
12.1.1
-
PACKAGE: APPS.CE_CEZBAERR_XMLP_PKG
12.1.1
-
PACKAGE: APPS.JE_JEPTARER_XMLP_PKG
12.1.1
-
PACKAGE: APPS.JE_JEPTARER_XMLP_PKG
12.2.2
-
PACKAGE: APPS.CE_CEXINERR_XMLP_PKG
12.2.2
-
PACKAGE: APPS.CE_CEZBAERR_XMLP_PKG
12.2.2
-
PACKAGE: APPS.CE_CEXINERR_XMLP_PKG
12.1.1
-
PACKAGE: APPS.JE_JEPTAPER_XMLP_PKG
12.1.1
-
PACKAGE: APPS.CE_CEXCSHTR_XMLP_PKG
12.2.2