DBA Data[Home] [Help]

APPS.FA_MASSCHG_PKG dependencies on FA_SRVR_MSG

Line 494: fa_srvr_msg.add_message

490: close c_mass_change_info;
491:
492:
493: if(l_masschg_status <> 'RUNNING') then
494: fa_srvr_msg.add_message
495: (calling_fn => l_calling_fn,
496: name => 'FA_MASSCHG_WRONG_STATUS', p_log_level_rec => g_log_level_rec); -- NOTE! not placing tokens yet
497: raise masschg_err;
498: end if;

Line 554: fa_srvr_msg.add_message

550: end if;
551:
552: -- initial book control validation
553: if (fa_cache_pkg.fazcbc_record.allow_mass_changes <> 'YES') then
554: fa_srvr_msg.add_message
555: (calling_fn => l_calling_fn,
556: name => 'FA_MASSCHG_WRONG_STATUS', p_log_level_rec => g_log_level_rec);
557: raise masschg_err;
558: elsif (fa_cache_pkg.fazcbc_record.date_ineffective is not null) then

Line 559: fa_srvr_msg.add_message

555: (calling_fn => l_calling_fn,
556: name => 'FA_MASSCHG_WRONG_STATUS', p_log_level_rec => g_log_level_rec);
557: raise masschg_err;
558: elsif (fa_cache_pkg.fazcbc_record.date_ineffective is not null) then
559: fa_srvr_msg.add_message
560: (calling_fn => l_calling_fn,
561: name => 'FA_MASSCHG_WRONG_STATUS', p_log_level_rec => g_log_level_rec);
562: raise masschg_err;
563: end if;

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

580:
581: for l_loop_count in 1..l_asset_id.count loop
582:
583: -- reset the message level to prevent bogus errors
584: FA_SRVR_MSG.Set_Message_Level(message_level => 10, p_log_level_rec => g_log_level_rec);
585: l_mesg_name := null;
586:
587: fa_srvr_msg.add_message(
588: calling_fn => NULL,

Line 587: fa_srvr_msg.add_message(

583: -- reset the message level to prevent bogus errors
584: FA_SRVR_MSG.Set_Message_Level(message_level => 10, p_log_level_rec => g_log_level_rec);
585: l_mesg_name := null;
586:
587: fa_srvr_msg.add_message(
588: calling_fn => NULL,
589: name => 'FA_SHARED_ASSET_NUMBER',
590: token1 => 'NUMBER',
591: value1 => l_asset_number(l_loop_count),

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

623: x_failure_count := x_failure_count + 1;
624:
625: write_message(l_asset_number(l_loop_count),
626: null);
627: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
628:
629: if (g_log_level_rec.statement_level) then
630: fa_debug_pkg.dump_debug_messages(max_mesgs => 0, p_log_level_rec => g_log_level_rec);
631: end if;

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

657:
658: -- clear the debug stack for each asset
659: FA_DEBUG_PKG.Initialize;
660: -- reset the message level to prevent bogus errors
661: FA_SRVR_MSG.Set_Message_Level(message_level => 10, p_log_level_rec => g_log_level_rec);
662:
663: l_mesg_name := null;
664:
665: BEGIN

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

1021:
1022: write_message(l_asset_number(l_loop_count),
1023: null);
1024:
1025: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
1026:
1027: if (g_log_level_rec.statement_level) then
1028: fa_debug_pkg.dump_debug_messages(max_mesgs => 0, p_log_level_rec => g_log_level_rec);
1029: end if;

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

1046: x_return_status := 0;
1047:
1048: when masschg_err then
1049: FND_CONCURRENT.AF_ROLLBACK;
1050: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
1051: if (g_log_level_rec.statement_level) then
1052: FA_DEBUG_PKG.dump_debug_messages(max_mesgs => 0, p_log_level_rec => g_log_level_rec);
1053: end if;
1054: x_return_status := 2;

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

1054: x_return_status := 2;
1055:
1056: when others then
1057: FND_CONCURRENT.AF_ROLLBACK;
1058: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
1059: if (g_log_level_rec.statement_level) then
1060: FA_DEBUG_PKG.dump_debug_messages(max_mesgs => 0, p_log_level_rec => g_log_level_rec);
1061: end if;
1062: x_return_status := 2;

Line 1097: fa_srvr_msg.add_message

1093: FND_FILE.put(FND_FILE.output,l_string);
1094: FND_FILE.new_line(FND_FILE.output,1);
1095:
1096: -- now process the messages for the log file
1097: fa_srvr_msg.add_message
1098: (calling_fn => l_calling_fn,
1099: name => l_message, p_log_level_rec => g_log_level_rec);
1100:
1101: EXCEPTION