DBA Data[Home] [Help]

APPS.AHL_MC_TREE_PVT dependencies on FND_API

Line 180: IF NOT FND_API.compatible_api_call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)

176: -- Standard start of API savepoint
177: SAVEPOINT Get_MasterConfig_Nodes_SP;
178:
179: -- Standard call to check for call compatibility
180: IF NOT FND_API.compatible_api_call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
181: THEN
182: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
183: END IF;
184:

Line 182: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

178:
179: -- Standard call to check for call compatibility
180: IF NOT FND_API.compatible_api_call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
181: THEN
182: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
183: END IF;
184:
185: -- Initialize message list if p_init_msg_list is set to TRUE
186: FND_MSG_PUB.Initialize;

Line 189: x_return_status := FND_API.G_RET_STS_SUCCESS;

185: -- Initialize message list if p_init_msg_list is set to TRUE
186: FND_MSG_PUB.Initialize;
187:
188: -- Initialize API return status to success
189: x_return_status := FND_API.G_RET_STS_SUCCESS;
190:
191: -- API body starts here
192: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
193: THEN

Line 227: RAISE FND_API.G_EXC_ERROR;

223: IF (check_mc_exists%NOTFOUND)
224: THEN
225: FND_MESSAGE.Set_Name('AHL', 'AHL_MC_NOT_FOUND');
226: FND_MSG_PUB.ADD;
227: RAISE FND_API.G_EXC_ERROR;
228: END IF;
229: CLOSE check_mc_exists;
230:
231:

Line 374: l_pos_ref_code := AHL_MC_PATH_POSITION_PVT.get_posref_by_path(l_pos_path_tbl, FND_API.G_TRUE);

370: -- Decode the retrieved position path to a position path table, since the input to get_posref_by_path is a position path table
371: l_pos_path_tbl := Decode_Pos_Path(l_tree_node_rec.POSITION_PATH);
372:
373: -- Retrieve the position path specific position reference code, retrieves default position reference if no position path has already been created
374: l_pos_ref_code := AHL_MC_PATH_POSITION_PVT.get_posref_by_path(l_pos_path_tbl, FND_API.G_TRUE);
375:
376: AHL_UTIL_MC_PKG.Convert_To_LookupMeaning
377: (
378: 'AHL_POSITION_REFERENCE',

Line 445: RAISE FND_API.G_EXC_ERROR;

441: -- Check Error Message stack.
442: x_msg_count := FND_MSG_PUB.count_msg;
443: IF x_msg_count > 0
444: THEN
445: RAISE FND_API.G_EXC_ERROR;
446: END IF;
447:
448: -- Standard call to get message count and if count is 1, get message info
449: FND_MSG_PUB.count_and_get

Line 453: p_encoded => FND_API.G_FALSE

449: FND_MSG_PUB.count_and_get
450: (
451: p_count => x_msg_count,
452: p_data => x_msg_data,
453: p_encoded => FND_API.G_FALSE
454: );
455:
456: EXCEPTION
457: WHEN FND_API.G_EXC_ERROR THEN

Line 457: WHEN FND_API.G_EXC_ERROR THEN

453: p_encoded => FND_API.G_FALSE
454: );
455:
456: EXCEPTION
457: WHEN FND_API.G_EXC_ERROR THEN
458: x_return_status := FND_API.G_RET_STS_ERROR;
459: Rollback to Get_MasterConfig_Nodes_SP;
460: FND_MSG_PUB.count_and_get
461: (

Line 458: x_return_status := FND_API.G_RET_STS_ERROR;

454: );
455:
456: EXCEPTION
457: WHEN FND_API.G_EXC_ERROR THEN
458: x_return_status := FND_API.G_RET_STS_ERROR;
459: Rollback to Get_MasterConfig_Nodes_SP;
460: FND_MSG_PUB.count_and_get
461: (
462: p_count => x_msg_count,

Line 464: p_encoded => FND_API.G_FALSE

460: FND_MSG_PUB.count_and_get
461: (
462: p_count => x_msg_count,
463: p_data => x_msg_data,
464: p_encoded => FND_API.G_FALSE
465: );
466:
467: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
468: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 467: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

463: p_data => x_msg_data,
464: p_encoded => FND_API.G_FALSE
465: );
466:
467: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
468: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
469: Rollback to Get_MasterConfig_Nodes_SP;
470: FND_MSG_PUB.count_and_get
471: (

Line 468: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

464: p_encoded => FND_API.G_FALSE
465: );
466:
467: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
468: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
469: Rollback to Get_MasterConfig_Nodes_SP;
470: FND_MSG_PUB.count_and_get
471: (
472: p_count => x_msg_count,

Line 474: p_encoded => FND_API.G_FALSE

470: FND_MSG_PUB.count_and_get
471: (
472: p_count => x_msg_count,
473: p_data => x_msg_data,
474: p_encoded => FND_API.G_FALSE
475: );
476:
477: WHEN OTHERS THEN
478: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 478: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

474: p_encoded => FND_API.G_FALSE
475: );
476:
477: WHEN OTHERS THEN
478: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
479: Rollback to Get_MasterConfig_Nodes_SP;
480: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
481: THEN
482: FND_MSG_PUB.add_exc_msg

Line 493: p_encoded => FND_API.G_FALSE

489: FND_MSG_PUB.count_and_get
490: (
491: p_count => x_msg_count,
492: p_data => x_msg_data,
493: p_encoded => FND_API.G_FALSE
494: );
495:
496: END Get_MasterConfig_Nodes;
497: