DBA Data[Home] [Help]

APPS.AHL_MC_TREE_PVT dependencies on FND_API

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

182: -- Standard start of API savepoint
183: SAVEPOINT Get_MasterConfig_Nodes_SP;
184:
185: -- Standard call to check for call compatibility
186: IF NOT FND_API.compatible_api_call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
187: THEN
188: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
189: END IF;
190:

Line 188: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;

184:
185: -- Standard call to check for call compatibility
186: IF NOT FND_API.compatible_api_call(l_api_version, p_api_version, l_api_name, G_PKG_NAME)
187: THEN
188: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
189: END IF;
190:
191: -- Initialize message list if p_init_msg_list is set to TRUE
192: FND_MSG_PUB.Initialize;

Line 195: x_return_status := FND_API.G_RET_STS_SUCCESS;

191: -- Initialize message list if p_init_msg_list is set to TRUE
192: FND_MSG_PUB.Initialize;
193:
194: -- Initialize API return status to success
195: x_return_status := FND_API.G_RET_STS_SUCCESS;
196:
197: -- API body starts here
198: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
199: THEN

Line 233: RAISE FND_API.G_EXC_ERROR;

229: IF (check_mc_exists%NOTFOUND)
230: THEN
231: FND_MESSAGE.Set_Name('AHL', 'AHL_MC_NOT_FOUND');
232: FND_MSG_PUB.ADD;
233: RAISE FND_API.G_EXC_ERROR;
234: END IF;
235: CLOSE check_mc_exists;
236:
237: -- SATHAPLI : Time-specific debugs

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

410: -- Decode the retrieved position path to a position path table, since the input to get_posref_by_path is a position path table
411: l_pos_path_tbl := Decode_Pos_Path(l_tree_node_rec.POSITION_PATH);
412:
413: -- Retrieve the position path specific position reference code, retrieves default position reference if no position path has already been created
414: l_pos_ref_code := AHL_MC_PATH_POSITION_PVT.get_posref_by_path(l_pos_path_tbl, FND_API.G_TRUE);
415:
416: AHL_UTIL_MC_PKG.Convert_To_LookupMeaning
417: (
418: 'AHL_POSITION_REFERENCE',

Line 496: RAISE FND_API.G_EXC_ERROR;

492: -- Check Error Message stack.
493: x_msg_count := FND_MSG_PUB.count_msg;
494: IF x_msg_count > 0
495: THEN
496: RAISE FND_API.G_EXC_ERROR;
497: END IF;
498:
499: -- Standard call to get message count and if count is 1, get message info
500: FND_MSG_PUB.count_and_get

Line 504: p_encoded => FND_API.G_FALSE

500: FND_MSG_PUB.count_and_get
501: (
502: p_count => x_msg_count,
503: p_data => x_msg_data,
504: p_encoded => FND_API.G_FALSE
505: );
506:
507: EXCEPTION
508: WHEN FND_API.G_EXC_ERROR THEN

Line 508: WHEN FND_API.G_EXC_ERROR THEN

504: p_encoded => FND_API.G_FALSE
505: );
506:
507: EXCEPTION
508: WHEN FND_API.G_EXC_ERROR THEN
509: x_return_status := FND_API.G_RET_STS_ERROR;
510: Rollback to Get_MasterConfig_Nodes_SP;
511: FND_MSG_PUB.count_and_get
512: (

Line 509: x_return_status := FND_API.G_RET_STS_ERROR;

505: );
506:
507: EXCEPTION
508: WHEN FND_API.G_EXC_ERROR THEN
509: x_return_status := FND_API.G_RET_STS_ERROR;
510: Rollback to Get_MasterConfig_Nodes_SP;
511: FND_MSG_PUB.count_and_get
512: (
513: p_count => x_msg_count,

Line 515: p_encoded => FND_API.G_FALSE

511: FND_MSG_PUB.count_and_get
512: (
513: p_count => x_msg_count,
514: p_data => x_msg_data,
515: p_encoded => FND_API.G_FALSE
516: );
517:
518: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
519: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 518: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN

514: p_data => x_msg_data,
515: p_encoded => FND_API.G_FALSE
516: );
517:
518: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
519: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
520: Rollback to Get_MasterConfig_Nodes_SP;
521: FND_MSG_PUB.count_and_get
522: (

Line 519: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

515: p_encoded => FND_API.G_FALSE
516: );
517:
518: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
519: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
520: Rollback to Get_MasterConfig_Nodes_SP;
521: FND_MSG_PUB.count_and_get
522: (
523: p_count => x_msg_count,

Line 525: p_encoded => FND_API.G_FALSE

521: FND_MSG_PUB.count_and_get
522: (
523: p_count => x_msg_count,
524: p_data => x_msg_data,
525: p_encoded => FND_API.G_FALSE
526: );
527:
528: WHEN OTHERS THEN
529: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 529: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

525: p_encoded => FND_API.G_FALSE
526: );
527:
528: WHEN OTHERS THEN
529: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
530: Rollback to Get_MasterConfig_Nodes_SP;
531: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
532: THEN
533: FND_MSG_PUB.add_exc_msg

Line 544: p_encoded => FND_API.G_FALSE

540: FND_MSG_PUB.count_and_get
541: (
542: p_count => x_msg_count,
543: p_data => x_msg_data,
544: p_encoded => FND_API.G_FALSE
545: );
546:
547: END Get_MasterConfig_Nodes;
548: