1 PACKAGE GL_PUBLIC_SECTOR AUTHID CURRENT_USER AS
2 /* $Header: glgvutls.pls 120.1 2005/05/05 02:06:04 kvora noship $ */
3
4 --
5 -- Function
6 -- GET_MESSAGE_NAME
7 --
8 -- Purpose
9 -- Takes a message name. If the profile option 'INDUSTRY' is set to 'G'
10 -- at the responsibility level and an equivalent message name appended
11 -- with '_G' for the calling application exists then the public sector
12 -- specific message name is returned. Otherwise the original message
13 -- name is returned.
14 --
15 -- Arguments
16 -- p_message_name Message Name
17 -- p_app_short_name Application Short Name
18 -- p_user_resp_id Responsibility ID
19 --
20 -- Notes
21 -- 1. The profile option 'INDUSTRY' can be set only at site and responsibility
22 -- levels. The site level profile value is defaulted if it is not defined at
23 -- the responsibility.
24 --
25 -- 2. p_user_resp_id is optional provided FND_GLOBAL.APPS_INITIALIZE has been
26 -- invoked prior to calling this function.
27 --
28
29
30 FUNCTION GET_MESSAGE_NAME(P_MESSAGE_NAME IN VARCHAR2,
31 P_APP_SHORT_NAME IN VARCHAR2,
32 P_USER_RESP_ID IN NUMBER DEFAULT NULL) RETURN VARCHAR2;
33
34 END GL_PUBLIC_SECTOR;