DBA Data[Home] [Help]

APPS.FA_RECLASS_PUB dependencies on FA_SRVR_MSG

Line 108: FA_SRVR_MSG.Init_Server_Message;

104: l_err_stage:= 'Initialize message list if p_init_msg_list is set to TRUE.';
105: -- dbms_output.put_line(l_err_stage);
106: IF FND_API.To_Boolean(p_init_msg_list) THEN
107: -- Initialize error message stack.
108: FA_SRVR_MSG.Init_Server_Message;
109: -- Initialize debug message stack.
110: FA_DEBUG_PKG.Initialize;
111: END IF;
112:

Line 124: fa_srvr_msg.add_message(

120: l_err_stage := 'validate required parameters';
121: -- -- dbms_output.put_line(l_err_stage);
122: if ( px_asset_hdr_rec.asset_id is null or
123: px_asset_cat_rec_new.category_id is null ) then
124: fa_srvr_msg.add_message(
125: calling_fn => l_calling_fn,
126: name => 'FA_SHARED_ITEM_NULL' , p_log_level_rec => g_log_level_rec);
127: raise FND_API.G_EXC_ERROR;
128: end if;

Line 139: fa_srvr_msg.add_message(

135: from fa_books b
136: where asset_id = px_asset_hdr_rec.asset_id
137: and date_ineffective is null;
138: if l_num_dummy = 0 then
139: fa_srvr_msg.add_message(
140: calling_fn => l_calling_fn,
141: name => 'FA_INVALID_ASSET' , p_log_level_rec => g_log_level_rec);
142: raise FND_API.G_EXC_ERROR;
143: end if;

Line 151: FA_SRVR_MSG.Add_Message(

147: open c_corp_book( px_asset_hdr_rec.asset_id );
148: fetch c_corp_book into l_corp_book;
149: if l_corp_book is null then
150: close c_corp_book;
151: FA_SRVR_MSG.Add_Message(
152: calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
153: raise FND_API.G_EXC_ERROR;
154: end if;
155: close c_corp_book;

Line 192: FA_SRVR_MSG.Add_Message(

188: X_asset_id =>px_asset_hdr_rec.asset_id,
189: X_trx_type =>'RECLASS',
190: X_trx_date =>px_trans_rec.transaction_date_entered,
191: X_init_message_flag=>'NO', p_log_level_rec => g_log_level_rec) then
192: FA_SRVR_MSG.Add_Message(
193: Calling_FN => l_calling_fn, p_log_level_rec => g_log_level_rec);
194: raise FND_API.G_EXC_ERROR;
195: end if;
196: end if;

Line 230: fa_srvr_msg.add_message(

226: -- dbms_output.put_line(l_err_stage);
227: if not fa_util_pvt.get_asset_desc_rec(
228: p_asset_hdr_rec => px_asset_hdr_rec ,
229: px_asset_desc_rec => l_asset_desc_rec , p_log_level_rec => g_log_level_rec) then
230: fa_srvr_msg.add_message(
231: calling_fn => l_calling_fn,
232: name => 'FA_PROJ_GET_ASSET_INFO' , p_log_level_rec => g_log_level_rec);
233: raise FND_API.G_EXC_ERROR;
234: end if;

Line 242: fa_srvr_msg.add_message(

238: if not fa_util_pvt.get_asset_type_rec(
239: p_asset_hdr_rec => px_asset_hdr_rec,
240: px_asset_type_rec => l_asset_type_rec,
241: p_date_effective => null , p_log_level_rec => g_log_level_rec) then
242: fa_srvr_msg.add_message(
243: calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
244: raise FND_API.G_EXC_ERROR;
245: end if;
246:

Line 254: fa_srvr_msg.add_message(

250: if not fa_util_pvt.get_asset_cat_rec(
251: p_asset_hdr_rec => px_asset_hdr_rec,
252: px_asset_cat_rec => l_asset_cat_rec_old,
253: p_date_effective => null , p_log_level_rec => g_log_level_rec) then
254: fa_srvr_msg.add_message(
255: calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
256: raise FND_API.G_EXC_ERROR;
257: end if;
258:

Line 283: fa_srvr_msg.add_message(

279: p_book_type_code => px_asset_hdr_rec.book_type_code,
280: p_asset_id => px_asset_hdr_rec.asset_id,
281: x_override_flag => l_override_flag,
282: p_log_level_rec => g_log_level_rec)) then
283: fa_srvr_msg.add_message(
284: calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
285: raise FND_API.G_EXC_ERROR;
286: end if;
287: if l_override_flag = 'N' then

Line 288: fa_srvr_msg.add_message(

284: calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
285: raise FND_API.G_EXC_ERROR;
286: end if;
287: if l_override_flag = 'N' then
288: fa_srvr_msg.add_message(
289: calling_fn => l_calling_fn,
290: name => 'FA_OVERRIDE_NOT_ALLOWED',
291: token1 => 'CATEGORY', p_log_level_rec => g_log_level_rec);
292: raise FND_API.G_EXC_ERROR;

Line 379: FA_SRVR_MSG.Add_Message(

375:
376: EXCEPTION
377: when FND_API.G_EXC_ERROR then
378: rollback to Reclass_Asset_Begin;
379: FA_SRVR_MSG.Add_Message(
380: calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
381: FND_MSG_PUB.Count_And_Get(
382: p_count => x_msg_count,
383: p_data => x_msg_data );

Line 388: fa_srvr_msg.add_sql_error(

384: x_return_status := FND_API.G_RET_STS_ERROR;
385:
386: when others then
387: rollback to Reclass_Asset_Begin;
388: fa_srvr_msg.add_sql_error(
389: calling_fn => l_calling_fn, p_log_level_rec => g_log_level_rec);
390: FND_MSG_PUB.Count_And_Get(
391: p_count => x_msg_count,
392: p_data => x_msg_data );