DBA Data[Home] [Help]

APPS.FA_INV_XFR_PUB dependencies on FA_SRVR_MSG

Line 141: fa_srvr_msg.init_server_message;

137:
138: -- Initialize message list if p_init_msg_list is set to TRUE.
139: if (fnd_api.to_boolean(p_init_msg_list)) then
140: -- initialize error message stack.
141: fa_srvr_msg.init_server_message;
142:
143: -- initialize debug message stack.
144: fa_debug_pkg.initialize;
145: end if;

Line 190: fa_srvr_msg.add_message

186: -- Error out if the program is submitted from the Reporting Responsibility
187: -- No transaction permitted directly on reporting books.
188:
189: IF l_mrc_sob_type_code = 'R' THEN
190: fa_srvr_msg.add_message
191: (NAME => 'MRC_OSP_INVALID_BOOK_TYPE',
192: CALLING_FN => l_calling_fn, p_log_level_rec => g_log_level_rec);
193: raise inv_xfr_err;
194: END IF;

Line 203: fa_srvr_msg.add_message(

199: -- additional validation migrated from the external transfers program
200: -- do not allow transfers between books
201: if (px_src_asset_hdr_rec.book_type_code <>
202: px_dest_asset_hdr_rec.book_type_code) then
203: fa_srvr_msg.add_message(
204: calling_fn => l_calling_fn,
205: name => 'FA_TFRINV_NOT_BTWN_BOOKS',
206: token1 => 'BOOK',
207: value1 => px_dest_asset_hdr_rec.book_type_code, p_log_level_rec => g_log_level_rec);

Line 213: fa_srvr_msg.add_message(

209: end if;
210:
211: -- From and To Asset Ids Identical
212: if (px_src_asset_hdr_rec.asset_id = px_dest_asset_hdr_rec.asset_id) then
213: fa_srvr_msg.add_message(
214: calling_fn => l_calling_fn,
215: name => 'FA_TFRINV_NOT_SAME_ASSET', p_log_level_rec => g_log_level_rec);
216: raise inv_xfr_err;
217: end if;

Line 271: fa_srvr_msg.add_message(

267: l_dest_inv_tbl(l_inv_index).payables_cost := p_inv_tbl(l_inv_index).payables_cost;
268: end if;
269:
270: if (p_inv_tbl(l_inv_index).fixed_assets_cost is null) then
271: fa_srvr_msg.add_message(
272: calling_fn => l_calling_fn,
273: name => 'FA_TFRINV_NONE_TFR_COST', p_log_level_rec => g_log_level_rec);
274: end if;
275:

Line 628: fa_srvr_msg.add_message(

624: when No_Data_Found then
625:
626: ROLLBACK to do_transfer;
627:
628: fa_srvr_msg.add_message(
629: CALLING_FN => l_calling_fn,
630: NAME => 'FA_TFRINV_NO_COST_CLR', p_log_level_rec => g_log_level_rec);
631:
632: FND_MSG_PUB.count_and_get (

Line 642: fa_srvr_msg.add_message(

638:
639: when inv_xfr_err then
640: ROLLBACK to do_transfer;
641:
642: fa_srvr_msg.add_message(
643: calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
644:
645: FND_MSG_PUB.count_and_get (
646: p_count => x_msg_count,

Line 655: fa_srvr_msg.add_sql_error(

651:
652: when others then
653: ROLLBACK to do_transfer;
654:
655: fa_srvr_msg.add_sql_error(
656: calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
657:
658: FND_MSG_PUB.count_and_get (
659: p_count => x_msg_count,

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

959: return true;
960:
961: exception
962: when inv_xfr_err then
963: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);
964: return false;
965:
966: when others then
967: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);

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

963: fa_srvr_msg.add_message(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);
964: return false;
965:
966: when others then
967: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn, p_log_level_rec => p_log_level_rec);
968: return false;
969:
970: end do_all_books;
971:

Line 1247: fa_srvr_msg.add_message(calling_fn => l_calling_fn,

1243:
1244: -- Cannot Transfer Lines between expensed and Non Expensed Assets */
1245: if ((l_from_asset_type = 'EXPENSED' and l_to_asset_type <> 'EXPENSED') OR
1246: (l_from_asset_type <> 'EXPENSED' and l_to_asset_type = 'EXPENSED')) THEN
1247: fa_srvr_msg.add_message(calling_fn => l_calling_fn,
1248: name => 'FA_TFRINV_NO_EXP_NONEXP',
1249: p_log_level_rec => p_log_level_rec);
1250: raise inv_xfr_err;
1251: end if;

Line 1258: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn,

1254:
1255: exception
1256: when inv_xfr_err then
1257:
1258: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn,
1259: p_log_level_rec => p_log_level_rec);
1260:
1261: FND_MSG_PUB.count_and_get (p_count => x_msg_count,
1262: p_data => x_msg_data);

Line 1268: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn,

1264: return false;
1265:
1266: when others then
1267:
1268: fa_srvr_msg.add_sql_error(calling_fn => l_calling_fn,
1269: p_log_level_rec => p_log_level_rec);
1270:
1271: FND_MSG_PUB.count_and_get (p_count => x_msg_count,
1272: p_data => x_msg_data);