DBA Data[Home] [Help]

APPS.FA_GAINLOSS_PKG dependencies on FA_SRVR_MSG

Line 130: FA_SRVR_MSG.Set_Message_Level(message_level => 10, p_log_level_rec => g_log_level_rec);

126:
127: -- clear the debug stack for each asset
128: FA_DEBUG_PKG.Initialize;
129: -- reset the message level to prevent bogus errors
130: FA_SRVR_MSG.Set_Message_Level(message_level => 10, p_log_level_rec => g_log_level_rec);
131:
132: BEGIN
133: FA_GAINLOSS_PKG.Do_Calc_GainLoss_Asset
134: (p_retirement_id => l_retirement_id(l_loop_count),

Line 149: fa_srvr_msg.add_message(

145: --fix for bug no.3883501.success count is displayed incorrectly after 3087644
146: --x_success_count := x_success_count + 1;
147:
148: --bug 3087644 fix starts
149: fa_srvr_msg.add_message(
150: calling_fn => NULL,
151: name =>'FA_RET_STATUS_SUCCEED',
152: token1 => 'RETID',
153: value1 => l_retirement_id(l_loop_count),

Line 158: fa_srvr_msg.add_message(

154: token2 => 'ASSET',
155: value2 => l_asset_number(l_loop_count),
156: p_log_level_rec => g_log_level_rec);
157:
158: fa_srvr_msg.add_message(
159: calling_fn => NULL,
160: name => 'FA_ASSET_ID',
161: token1 => 'ASSET_ID',
162: value1 => l_asset_id(l_loop_count),

Line 177: fa_srvr_msg.add_message(

173: fa_debug_pkg.dump_debug_messages(max_mesgs => 0, p_log_level_rec => g_log_level_rec);
174: end if;
175: x_failure_count := x_failure_count + 1;
176: --for bug no.3883501.modified the message name to FA_RET_STATUS_FAIL
177: fa_srvr_msg.add_message(
178: calling_fn => NULL,
179: name =>'FA_RET_STATUS_FAIL',
180: token1 => 'RETID',
181: value1 => l_retirement_id(l_loop_count),

Line 186: fa_srvr_msg.add_message(

182: token2 => 'ASSET',
183: value2 => l_asset_number(l_loop_count),
184: p_log_level_rec => g_log_level_rec); --Bug# 6937117
185:
186: fa_srvr_msg.add_message(
187: calling_fn => NULL,
188: name => 'FA_ASSET_ID',
189: token1 => 'ASSET_ID',
190: value1 => l_asset_id(l_loop_count),

Line 200: fa_srvr_msg.add_message(

196: fa_debug_pkg.dump_debug_messages(max_mesgs => 0, p_log_level_rec => g_log_level_rec);
197: end if;
198: x_failure_count := x_failure_count + 1;
199: --for bug no. 3883501.modifying the value2 to display the asset number
200: fa_srvr_msg.add_message(
201: calling_fn => l_calling_fn,
202: name => 'FA_RET_STATUS_FAIL',
203: token1 => 'RETID',
204: value1 => l_retirement_id(l_loop_count),

Line 232: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);

228: x_return_status := 0;
229:
230: when gainloss_err then
231: FND_CONCURRENT.AF_ROLLBACK;
232: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
233: if (g_log_level_rec.statement_level) then
234: FA_DEBUG_PKG.dump_debug_messages(max_mesgs => 0, p_log_level_rec => g_log_level_rec);
235: end if;
236: x_return_status := 2;

Line 240: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);

236: x_return_status := 2;
237:
238: when others then
239: FND_CONCURRENT.AF_ROLLBACK;
240: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
241: if (g_log_level_rec.statement_level) then
242: fa_debug_pkg.dump_debug_messages(max_mesgs => 0, p_log_level_rec => g_log_level_rec);
243: end if;
244:

Line 396: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);

392: null;
393: end;
394:
395: if (l_count <> 0) then
396: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);
397: end if;
398:
399: if p_log_level_rec.statement_level then
400: fa_debug_pkg.add

Line 522: fa_srvr_msg.add_message(

518: p_book_type_code => ret.book,
519: p_event_id => l_trans_rec.event_id,
520: p_calling_function => l_calling_fn) then
521:
522: fa_srvr_msg.add_message(
523: calling_fn => 'l_calling_fn'||'(Calling IAC)',
524: name => 'FA_RET_STATUS_FAIL',
525: token1 => 'RETID',
526: value1 => ret.retirement_id,

Line 855: fa_srvr_msg.add_message(

851: p_book_type_code => ret.book,
852: p_event_id => l_trans_rec.event_id,
853: p_calling_function => l_calling_fn) then
854:
855: fa_srvr_msg.add_message(
856: calling_fn => 'l_calling_fn'||'(Calling IAC)',
857: name => 'FA_RET_STATUS_FAIL',
858: token1 => 'RETID',
859: value1 => ret.retirement_id,

Line 891: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);

887: (fname => l_calling_fn,
888: element => 'RETIREMENT_ID',
889: value => p_retirement_id, p_log_level_rec => p_log_level_rec);
890: end if;
891: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);
892: if (g_log_level_rec.statement_level) then
893: FA_DEBUG_PKG.dump_debug_messages(max_mesgs => 0, p_log_level_rec => p_log_level_rec);
894: end if;
895: x_return_status := 2;

Line 905: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);

901: (fname => l_calling_fn,
902: element => 'RETIREMENT_ID',
903: value => p_retirement_id, p_log_level_rec => p_log_level_rec);
904: end if;
905: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);
906: x_return_status := 2;
907:
908: END Do_Calc_GainLoss_Asset;
909: