DBA Data[Home] [Help]

APPS.FA_RECLASS_PUB dependencies on FND_API

Line 23: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,

19:
20: PROCEDURE do_reclass (
21: -- std parameters
22: p_api_version IN NUMBER,
23: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
24: p_commit IN VARCHAR2 := FND_API.G_FALSE,
25: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
26: p_calling_fn IN VARCHAR2,
27: x_return_status OUT NOCOPY VARCHAR2,

Line 24: p_commit IN VARCHAR2 := FND_API.G_FALSE,

20: PROCEDURE do_reclass (
21: -- std parameters
22: p_api_version IN NUMBER,
23: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
24: p_commit IN VARCHAR2 := FND_API.G_FALSE,
25: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
26: p_calling_fn IN VARCHAR2,
27: x_return_status OUT NOCOPY VARCHAR2,
28: x_msg_count OUT NOCOPY NUMBER,

Line 25: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,

21: -- std parameters
22: p_api_version IN NUMBER,
23: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
24: p_commit IN VARCHAR2 := FND_API.G_FALSE,
25: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_FULL,
26: p_calling_fn IN VARCHAR2,
27: x_return_status OUT NOCOPY VARCHAR2,
28: x_msg_count OUT NOCOPY NUMBER,
29: x_msg_data OUT NOCOPY VARCHAR2,

Line 88: raise FND_API.G_EXC_UNEXPECTED_ERROR;

84: if (not g_log_level_rec.initialized) then
85: if (NOT fa_util_pub.get_log_level_rec (
86: x_log_level_rec => g_log_level_rec
87: )) then
88: raise FND_API.G_EXC_UNEXPECTED_ERROR;
89: end if;
90: end if;
91:
92:

Line 95: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version,

91:
92:
93: l_err_stage:= 'Standard call to check for call compatibility.';
94: -- dbms_output.put_line(l_err_stage);
95: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version,
96: l_api_name, G_PKG_NAME) then
97: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
98: END IF;
99:

Line 97: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

93: l_err_stage:= 'Standard call to check for call compatibility.';
94: -- dbms_output.put_line(l_err_stage);
95: IF NOT FND_API.Compatible_API_Call(l_api_version, p_api_version,
96: l_api_name, G_PKG_NAME) then
97: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
98: END IF;
99:
100: l_err_stage:= 'Initialize message list if p_init_msg_list is set to TRUE.';
101: -- dbms_output.put_line(l_err_stage);

Line 102: IF FND_API.To_Boolean(p_init_msg_list) THEN

98: END IF;
99:
100: l_err_stage:= 'Initialize message list if p_init_msg_list is set to TRUE.';
101: -- dbms_output.put_line(l_err_stage);
102: IF FND_API.To_Boolean(p_init_msg_list) THEN
103: -- Initialize error message stack.
104: FA_SRVR_MSG.Init_Server_Message;
105: -- Initialize debug message stack.
106: FA_DEBUG_PKG.Initialize;

Line 110: -- IF FND_API.To_Boolean(p_debug_flag) THEN

106: FA_DEBUG_PKG.Initialize;
107: END IF;
108:
109: -- bugfix 2158910 Override FA: PRINT_DEBUG profile option.
110: -- IF FND_API.To_Boolean(p_debug_flag) THEN
111: -- FA_DEBUG_PKG.Set_Debug_Flag;
112: -- ELSE
113: -- FA_DEBUG_PKG.Set_Debug_Flag('NO');
114: -- END IF;

Line 124: raise FND_API.G_EXC_ERROR;

120: fa_srvr_msg.add_message(
121: calling_fn => l_calling_fn,
122: name => 'FA_SHARED_ITEM_NULL'
123: ,p_log_level_rec => g_log_level_rec);
124: raise FND_API.G_EXC_ERROR;
125: end if;
126:
127:
128: l_err_stage:= 'check that asset is valid';

Line 140: raise FND_API.G_EXC_ERROR;

136: fa_srvr_msg.add_message(
137: calling_fn => l_calling_fn,
138: name => 'FA_INVALID_ASSET'
139: ,p_log_level_rec => g_log_level_rec);
140: raise FND_API.G_EXC_ERROR;
141: end if;
142:
143: l_err_stage:= 'determine the corporate book';
144: -- dbms_output.put_line(l_err_stage);

Line 152: raise FND_API.G_EXC_ERROR;

148: close c_corp_book;
149: FA_SRVR_MSG.Add_Message(
150: calling_fn => l_calling_fn
151: ,p_log_level_rec => g_log_level_rec);
152: raise FND_API.G_EXC_ERROR;
153: end if;
154: close c_corp_book;
155:
156: px_asset_hdr_rec.book_type_code := l_corp_book;

Line 161: raise FND_API.G_EXC_ERROR;

157:
158: -- load the book controls cache
159: if not fa_cache_pkg.fazcbc(X_book => px_asset_hdr_rec.book_type_code,
160: p_log_level_rec => g_log_level_rec) then
161: raise FND_API.G_EXC_ERROR;
162: end if;
163:
164: if (g_log_level_rec.statement_level) then
165: fa_debug_pkg.add(l_calling_fn, 'Book', px_asset_hdr_rec.book_type_code

Line 190: raise FND_API.G_EXC_ERROR;

186: p_log_level_rec => g_log_level_rec) then
187: FA_SRVR_MSG.Add_Message(
188: Calling_FN => l_calling_fn
189: ,p_log_level_rec => g_log_level_rec);
190: raise FND_API.G_EXC_ERROR;
191: end if;
192: end if;
193:
194: -- BUG# 3549470

Line 201: raise FND_API.G_EXC_ERROR;

197: if not FA_UTIL_PVT.get_period_rec
198: (p_book => px_asset_hdr_rec.book_type_code,
199: x_period_rec => l_period_rec,
200: p_log_level_rec => g_log_level_rec) then
201: raise FND_API.G_EXC_ERROR;
202: end if;
203:
204: px_trans_rec.transaction_date_entered :=
205: greatest(l_period_rec.calendar_period_open_date,

Line 233: raise FND_API.G_EXC_ERROR;

229: fa_srvr_msg.add_message(
230: calling_fn => l_calling_fn,
231: name => 'FA_PROJ_GET_ASSET_INFO'
232: ,p_log_level_rec => g_log_level_rec);
233: raise FND_API.G_EXC_ERROR;
234: end if;
235:
236: l_err_stage:= 'fa_utils_pvt.get_asset_type_rec';
237: -- dbms_output.put_line(l_err_stage);

Line 246: raise FND_API.G_EXC_ERROR;

242: p_log_level_rec => g_log_level_rec) then
243: fa_srvr_msg.add_message(
244: calling_fn => l_calling_fn
245: ,p_log_level_rec => g_log_level_rec);
246: raise FND_API.G_EXC_ERROR;
247: end if;
248:
249: -- get current category details
250: l_err_stage:= 'fa_utils_pvt.get_asset_cat_rec';

Line 260: raise FND_API.G_EXC_ERROR;

256: p_log_level_rec => g_log_level_rec) then
257: fa_srvr_msg.add_message(
258: calling_fn => l_calling_fn
259: ,p_log_level_rec => g_log_level_rec);
260: raise FND_API.G_EXC_ERROR;
261: end if;
262:
263: l_err_stage:= 'check if old and new categories are same';
264: -- dbms_output.put_line(l_err_stage);

Line 289: raise FND_API.G_EXC_ERROR;

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

Line 297: raise FND_API.G_EXC_ERROR;

293: calling_fn => l_calling_fn,
294: name => 'FA_OVERRIDE_NOT_ALLOWED',
295: token1 => 'CATEGORY'
296: ,p_log_level_rec => g_log_level_rec);
297: raise FND_API.G_EXC_ERROR;
298: end if;
299:
300: l_err_stage:= 'c_asset_parent';
301: -- dbms_output.put_line(l_err_stage);

Line 340: raise FND_API.G_EXC_ERROR;

336: if not FA_ASSET_HIERARCHY_PVT.create_batch(
337: p_asset_hdr_rec => px_asset_hdr_rec,
338: p_trans_rec => px_trans_rec,
339: p_asset_hr_opt_rec => l_asset_hr_opt_rec) then
340: raise FND_API.G_EXC_ERROR;
341: end if;
342: end if; -- parent_hierarchy not null
343: end if; -- if l_crl_enabled
344:

Line 370: raise FND_API.G_EXC_ERROR;

366: px_asset_cat_rec_new,
367: p_recl_opt_rec,
368: p_log_level_rec => g_log_level_rec) then
369:
370: raise FND_API.G_EXC_ERROR;
371: end if;
372: end if; -- if not crl_enabled
373:
374: if FND_API.To_Boolean(p_commit) THEN

Line 374: if FND_API.To_Boolean(p_commit) THEN

370: raise FND_API.G_EXC_ERROR;
371: end if;
372: end if; -- if not crl_enabled
373:
374: if FND_API.To_Boolean(p_commit) THEN
375: commit;
376: end if;
377:
378: FND_MSG_PUB.Count_And_Get(

Line 382: x_return_status := FND_API.G_RET_STS_SUCCESS;

378: FND_MSG_PUB.Count_And_Get(
379: p_count => x_msg_count,
380: p_data => x_msg_data );
381:
382: x_return_status := FND_API.G_RET_STS_SUCCESS;
383:
384: EXCEPTION
385: when FND_API.G_EXC_ERROR then
386: rollback to Reclass_Asset_Begin;

Line 385: when FND_API.G_EXC_ERROR then

381:
382: x_return_status := FND_API.G_RET_STS_SUCCESS;
383:
384: EXCEPTION
385: when FND_API.G_EXC_ERROR then
386: rollback to Reclass_Asset_Begin;
387: FA_SRVR_MSG.Add_Message(
388: calling_fn => l_calling_fn,
389: p_log_level_rec => g_log_level_rec);

Line 393: x_return_status := FND_API.G_RET_STS_ERROR;

389: 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 );
393: x_return_status := FND_API.G_RET_STS_ERROR;
394:
395: when others then
396: rollback to Reclass_Asset_Begin;
397: fa_srvr_msg.add_sql_error(

Line 403: raise FND_API.G_EXC_UNEXPECTED_ERROR;

399: ,p_log_level_rec => g_log_level_rec);
400: FND_MSG_PUB.Count_And_Get(
401: p_count => x_msg_count,
402: p_data => x_msg_data );
403: raise FND_API.G_EXC_UNEXPECTED_ERROR;
404: END do_reclass;
405:
406:
407: END FA_RECLASS_PUB;