DBA Data[Home] [Help]

APPS.FA_SRVR_MSG dependencies on FA_SRVR_MSG

Line 1: PACKAGE BODY FA_SRVR_MSG as

1: PACKAGE BODY FA_SRVR_MSG as
2: /* $Header: FASMESGB.pls 120.7 2006/08/17 02:54:54 bridgway ship $ */
3:
4: g_log_statement_level CONSTANT NUMBER := FND_LOG.LEVEL_STATEMENT;
5: g_log_procedure_level CONSTANT NUMBER := FND_LOG.LEVEL_PROCEDURE;

Line 19: FA_SRVR_MSG.FA_MSG_DEBUG := 'YES';

15: PROCEDURE Init_Server_Message IS
16: BEGIN
17: fnd_msg_pub.initialize;
18: if (g_log_statement_level >= g_log_runtime_level) then
19: FA_SRVR_MSG.FA_MSG_DEBUG := 'YES';
20: end if;
21:
22: END init_server_message;
23:

Line 40: FA_SRVR_MSG.FA_ERROR_LEVEL := 1;

36: ( calling_fn in varchar2,
37: p_log_level_rec in fa_api_types.log_level_rec_type default null) IS
38: BEGIN
39: -- reset the global FA_ERROR_LEVEL to 1
40: FA_SRVR_MSG.FA_ERROR_LEVEL := 1;
41:
42: -- insert sql error for unexpected database error to stack
43: fnd_message.set_name('OFA','FA_SHARED_ORACLE_ERR');
44: fnd_message.set_token('ORACLE_ERR',SQLERRM);

Line 117: -- to_char(FA_SRVR_MSG.FA_ERROR_LEVEL) ||

113: end if;
114:
115:
116: -- dbms_output.put_line('add message - level = ' ||
117: -- to_char(FA_SRVR_MSG.FA_ERROR_LEVEL) ||
118: -- ' debug = ' || FA_SRVR_MSG.FA_MSG_DEBUG);
119:
120: -- insert calling function name to the stack if message level
121: -- equals to 1 or debug flag is set in profile

Line 118: -- ' debug = ' || FA_SRVR_MSG.FA_MSG_DEBUG);

114:
115:
116: -- dbms_output.put_line('add message - level = ' ||
117: -- to_char(FA_SRVR_MSG.FA_ERROR_LEVEL) ||
118: -- ' debug = ' || FA_SRVR_MSG.FA_MSG_DEBUG);
119:
120: -- insert calling function name to the stack if message level
121: -- equals to 1 or debug flag is set in profile
122: -- BMR: also check if the calling fn is null as we don't

Line 127: (FA_SRVR_MSG.FA_ERROR_LEVEL = 1 or

123: -- want excessive/bogus errors when debug is enabled
124: -- when displaying a "success" message (bug2247611)
125:
126: if (calling_fn is not null and
127: (FA_SRVR_MSG.FA_ERROR_LEVEL = 1 or
128: FA_SRVR_MSG.FA_MSG_DEBUG = 'YES')) then
129: fnd_message.set_name('OFA', 'FA_SHARED_ERROR_CALL');
130: fnd_message.set_token('CALLING_FN', calling_fn, translate);
131: fnd_msg_pub.add;

Line 128: FA_SRVR_MSG.FA_MSG_DEBUG = 'YES')) then

124: -- when displaying a "success" message (bug2247611)
125:
126: if (calling_fn is not null and
127: (FA_SRVR_MSG.FA_ERROR_LEVEL = 1 or
128: FA_SRVR_MSG.FA_MSG_DEBUG = 'YES')) then
129: fnd_message.set_name('OFA', 'FA_SHARED_ERROR_CALL');
130: fnd_message.set_token('CALLING_FN', calling_fn, translate);
131: fnd_msg_pub.add;
132: end if;

Line 243: END FA_SRVR_MSG;

239: end if;
240: END Write_Msg_Log;
241:
242:
243: END FA_SRVR_MSG;