DBA Data[Home] [Help]

APPS.AMS_LIST_SRC_FIELD_PVT dependencies on FND_MSG_PUB

Line 100: FND_MSG_PUB.initialize;

96:
97: -- Initialize message list if p_init_msg_list is set to TRUE.
98: IF FND_API.to_Boolean( p_init_msg_list )
99: THEN
100: FND_MSG_PUB.initialize;
101: END IF;
102:
103: -- Debug Message
104: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'start');

Line 248: FND_MSG_PUB.Count_And_Get

244: -- Debug Message
245: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
246:
247: -- Standard call to get message count and if count is 1, get message info.
248: FND_MSG_PUB.Count_And_Get
249: (p_count => x_msg_count,
250: p_data => x_msg_data
251: );
252: EXCEPTION

Line 262: FND_MSG_PUB.Count_And_Get (

258: WHEN FND_API.G_EXC_ERROR THEN
259: ROLLBACK TO CREATE_List_Src_Field_PVT;
260: x_return_status := FND_API.G_RET_STS_ERROR;
261: -- Standard call to get message count and if count=1, get the message
262: FND_MSG_PUB.Count_And_Get (
263: p_encoded => FND_API.G_FALSE,
264: p_count => x_msg_count,
265: p_data => x_msg_data
266: );

Line 272: FND_MSG_PUB.Count_And_Get (

268: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
269: ROLLBACK TO CREATE_List_Src_Field_PVT;
270: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
271: -- Standard call to get message count and if count=1, get the message
272: FND_MSG_PUB.Count_And_Get (
273: p_encoded => FND_API.G_FALSE,
274: p_count => x_msg_count,
275: p_data => x_msg_data
276: );

Line 281: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

277:
278: WHEN OTHERS THEN
279: ROLLBACK TO CREATE_List_Src_Field_PVT;
280: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
281: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
282: THEN
283: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
284: END IF;
285: -- Standard call to get message count and if count=1, get the message

Line 283: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);

279: ROLLBACK TO CREATE_List_Src_Field_PVT;
280: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
281: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
282: THEN
283: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
284: END IF;
285: -- Standard call to get message count and if count=1, get the message
286: FND_MSG_PUB.Count_And_Get (
287: p_encoded => FND_API.G_FALSE,

Line 286: FND_MSG_PUB.Count_And_Get (

282: THEN
283: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
284: END IF;
285: -- Standard call to get message count and if count=1, get the message
286: FND_MSG_PUB.Count_And_Get (
287: p_encoded => FND_API.G_FALSE,
288: p_count => x_msg_count,
289: p_data => x_msg_data
290: );

Line 370: FND_MSG_PUB.initialize;

366:
367: -- Initialize message list if p_init_msg_list is set to TRUE.
368: IF FND_API.to_Boolean( p_init_msg_list )
369: THEN
370: FND_MSG_PUB.initialize;
371: END IF;
372:
373: -- Debug Message
374: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'start');

Line 476: -- AMS_UTILITY_PVT.debug_message(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW, 'Private API: Calling update table handler');

472: END IF;
473:
474:
475: -- Debug Message
476: -- AMS_UTILITY_PVT.debug_message(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW, 'Private API: Calling update table handler');
477:
478: -- Invoke table handler(AMS_LIST_SRC_FIELDS_PKG.Update_Row)
479: AMS_LIST_SRC_FIELDS_PKG.Update_Row(
480: p_list_source_field_id => p_list_src_field_rec.list_source_field_id,

Line 551: FND_MSG_PUB.Count_And_Get

547: -- Debug Message
548: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
549:
550: -- Standard call to get message count and if count is 1, get message info.
551: FND_MSG_PUB.Count_And_Get
552: (p_count => x_msg_count,
553: p_data => x_msg_data
554: );
555: EXCEPTION

Line 565: FND_MSG_PUB.Count_And_Get (

561: WHEN FND_API.G_EXC_ERROR THEN
562: ROLLBACK TO UPDATE_List_Src_Field_PVT;
563: x_return_status := FND_API.G_RET_STS_ERROR;
564: -- Standard call to get message count and if count=1, get the message
565: FND_MSG_PUB.Count_And_Get (
566: p_encoded => FND_API.G_FALSE,
567: p_count => x_msg_count,
568: p_data => x_msg_data
569: );

Line 575: FND_MSG_PUB.Count_And_Get (

571: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
572: ROLLBACK TO UPDATE_List_Src_Field_PVT;
573: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
574: -- Standard call to get message count and if count=1, get the message
575: FND_MSG_PUB.Count_And_Get (
576: p_encoded => FND_API.G_FALSE,
577: p_count => x_msg_count,
578: p_data => x_msg_data
579: );

Line 584: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

580:
581: WHEN OTHERS THEN
582: ROLLBACK TO UPDATE_List_Src_Field_PVT;
583: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
584: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
585: THEN
586: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
587: END IF;
588: -- Standard call to get message count and if count=1, get the message

Line 586: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);

582: ROLLBACK TO UPDATE_List_Src_Field_PVT;
583: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
584: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
585: THEN
586: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
587: END IF;
588: -- Standard call to get message count and if count=1, get the message
589: FND_MSG_PUB.Count_And_Get (
590: p_encoded => FND_API.G_FALSE,

Line 589: FND_MSG_PUB.Count_And_Get (

585: THEN
586: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
587: END IF;
588: -- Standard call to get message count and if count=1, get the message
589: FND_MSG_PUB.Count_And_Get (
590: p_encoded => FND_API.G_FALSE,
591: p_count => x_msg_count,
592: p_data => x_msg_data
593: );

Line 630: FND_MSG_PUB.initialize;

626:
627: -- Initialize message list if p_init_msg_list is set to TRUE.
628: IF FND_API.to_Boolean( p_init_msg_list )
629: THEN
630: FND_MSG_PUB.initialize;
631: END IF;
632:
633: -- Debug Message
634: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'start');

Line 675: FND_MSG_PUB.Count_And_Get

671: -- Debug Message
672: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
673:
674: -- Standard call to get message count and if count is 1, get message info.
675: FND_MSG_PUB.Count_And_Get
676: (p_count => x_msg_count,
677: p_data => x_msg_data
678: );
679: EXCEPTION

Line 689: FND_MSG_PUB.Count_And_Get (

685: WHEN FND_API.G_EXC_ERROR THEN
686: ROLLBACK TO DELETE_List_Src_Field_PVT;
687: x_return_status := FND_API.G_RET_STS_ERROR;
688: -- Standard call to get message count and if count=1, get the message
689: FND_MSG_PUB.Count_And_Get (
690: p_encoded => FND_API.G_FALSE,
691: p_count => x_msg_count,
692: p_data => x_msg_data
693: );

Line 699: FND_MSG_PUB.Count_And_Get (

695: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
696: ROLLBACK TO DELETE_List_Src_Field_PVT;
697: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
698: -- Standard call to get message count and if count=1, get the message
699: FND_MSG_PUB.Count_And_Get (
700: p_encoded => FND_API.G_FALSE,
701: p_count => x_msg_count,
702: p_data => x_msg_data
703: );

Line 708: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

704:
705: WHEN OTHERS THEN
706: ROLLBACK TO DELETE_List_Src_Field_PVT;
707: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
708: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
709: THEN
710: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
711: END IF;
712: -- Standard call to get message count and if count=1, get the message

Line 710: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);

706: ROLLBACK TO DELETE_List_Src_Field_PVT;
707: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
708: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
709: THEN
710: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
711: END IF;
712: -- Standard call to get message count and if count=1, get the message
713: FND_MSG_PUB.Count_And_Get (
714: p_encoded => FND_API.G_FALSE,

Line 713: FND_MSG_PUB.Count_And_Get (

709: THEN
710: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
711: END IF;
712: -- Standard call to get message count and if count=1, get the message
713: FND_MSG_PUB.Count_And_Get (
714: p_encoded => FND_API.G_FALSE,
715: p_count => x_msg_count,
716: p_data => x_msg_data
717: );

Line 756: FND_MSG_PUB.initialize;

752:
753: -- Initialize message list if p_init_msg_list is set to TRUE.
754: IF FND_API.to_Boolean( p_init_msg_list )
755: THEN
756: FND_MSG_PUB.initialize;
757: END IF;
758:
759: -- Standard call to check for call compatibility.
760: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,

Line 782: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN

778: FETCH c_List_Src_Field INTO l_LIST_SOURCE_FIELD_ID;
779:
780: IF (c_List_Src_Field%NOTFOUND) THEN
781: CLOSE c_List_Src_Field;
782: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
783: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
784: FND_MSG_PUB.add;
785: END IF;
786: RAISE FND_API.g_exc_error;

Line 784: FND_MSG_PUB.add;

780: IF (c_List_Src_Field%NOTFOUND) THEN
781: CLOSE c_List_Src_Field;
782: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
783: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
784: FND_MSG_PUB.add;
785: END IF;
786: RAISE FND_API.g_exc_error;
787: END IF;
788:

Line 792: FND_MSG_PUB.count_and_get(

788:
789: CLOSE c_List_Src_Field;
790:
791: -------------------- finish --------------------------
792: FND_MSG_PUB.count_and_get(
793: p_encoded => FND_API.g_false,
794: p_count => x_msg_count,
795: p_data => x_msg_data);
796: AMS_Utility_PVT.debug_message(l_full_name ||': end');

Line 807: FND_MSG_PUB.Count_And_Get (

803: WHEN FND_API.G_EXC_ERROR THEN
804: ROLLBACK TO LOCK_List_Src_Field_PVT;
805: x_return_status := FND_API.G_RET_STS_ERROR;
806: -- Standard call to get message count and if count=1, get the message
807: FND_MSG_PUB.Count_And_Get (
808: p_encoded => FND_API.G_FALSE,
809: p_count => x_msg_count,
810: p_data => x_msg_data
811: );

Line 817: FND_MSG_PUB.Count_And_Get (

813: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
814: ROLLBACK TO LOCK_List_Src_Field_PVT;
815: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
816: -- Standard call to get message count and if count=1, get the message
817: FND_MSG_PUB.Count_And_Get (
818: p_encoded => FND_API.G_FALSE,
819: p_count => x_msg_count,
820: p_data => x_msg_data
821: );

Line 826: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

822:
823: WHEN OTHERS THEN
824: ROLLBACK TO LOCK_List_Src_Field_PVT;
825: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
826: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
827: THEN
828: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
829: END IF;
830: -- Standard call to get message count and if count=1, get the message

Line 828: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);

824: ROLLBACK TO LOCK_List_Src_Field_PVT;
825: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
826: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
827: THEN
828: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
829: END IF;
830: -- Standard call to get message count and if count=1, get the message
831: FND_MSG_PUB.Count_And_Get (
832: p_encoded => FND_API.G_FALSE,

Line 831: FND_MSG_PUB.Count_And_Get (

827: THEN
828: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
829: END IF;
830: -- Standard call to get message count and if count=1, get the message
831: FND_MSG_PUB.Count_And_Get (
832: p_encoded => FND_API.G_FALSE,
833: p_count => x_msg_count,
834: p_data => x_msg_data
835: );

Line 883: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN

879: ||' and list_source_type_id = '||p_list_src_field_rec.list_source_type_id
880:
881: ) = FND_API.g_false
882: THEN
883: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
884: FND_MESSAGE.set_name('AMS', 'BAD_COMB');
885: FND_MSG_PUB.add;
886: END IF;
887: x_return_status := FND_API.g_ret_sts_error;

Line 885: FND_MSG_PUB.add;

881: ) = FND_API.g_false
882: THEN
883: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
884: FND_MESSAGE.set_name('AMS', 'BAD_COMB');
885: FND_MSG_PUB.add;
886: END IF;
887: x_return_status := FND_API.g_ret_sts_error;
888: RETURN;
889: END IF;

Line 1078: FND_MSG_PUB.Add;

1074: FETCH c_lstsrcfld_crt INTO l_lstsrcfld_crt_rec;
1075:
1076: IF (c_lstsrcfld_crt%FOUND) THEN
1077: FND_MESSAGE.set_name('AMS', 'AMS_DUPLICATE_SRC_COL_NAME');
1078: FND_MSG_PUB.Add;
1079: x_return_status := FND_API.g_ret_sts_error;
1080: RETURN;
1081: END IF;
1082:

Line 1088: FND_MSG_PUB.Add;

1084: FETCH c_fldcolname_crt INTO l_fldcolname_crt_rec;
1085:
1086: IF (c_fldcolname_crt%FOUND) THEN
1087: FND_MESSAGE.set_name('AMS', 'AMS_DUPLICATE_FLD_COL_NAME');
1088: FND_MSG_PUB.Add;
1089: x_return_status := FND_API.g_ret_sts_error;
1090: RETURN;
1091: END IF;
1092:

Line 1100: FND_MSG_PUB.Add;

1096: FETCH c_lstsrcfld_upd INTO l_lstsrcfld_upd_rec;
1097:
1098: IF (c_lstsrcfld_upd%FOUND) THEN
1099: FND_MESSAGE.set_name('AMS', 'AMS_DUPLICATE_SRC_COL_NAME');
1100: FND_MSG_PUB.Add;
1101: x_return_status := FND_API.g_ret_sts_error;
1102: RETURN;
1103: END IF;
1104:

Line 1110: FND_MSG_PUB.Add;

1106: FETCH c_fldcolname_upd INTO l_fldcolname_upd_rec;
1107:
1108: IF (c_fldcolname_upd%FOUND) THEN
1109: FND_MESSAGE.set_name('AMS', 'AMS_DUPLICATE_FLD_COL_NAME');
1110: FND_MSG_PUB.Add;
1111: x_return_status := FND_API.g_ret_sts_error;
1112: RETURN;
1113: END IF;
1114:

Line 1333: FND_MSG_PUB.initialize;

1329:
1330: -- Initialize message list if p_init_msg_list is set to TRUE.
1331: IF FND_API.to_Boolean( p_init_msg_list )
1332: THEN
1333: FND_MSG_PUB.initialize;
1334: END IF;
1335:
1336:
1337:

Line 1386: FND_MSG_PUB.Count_And_Get

1382: -- Debug Message
1383: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
1384:
1385: -- Standard call to get message count and if count is 1, get message info.
1386: FND_MSG_PUB.Count_And_Get
1387: (p_count => x_msg_count,
1388: p_data => x_msg_data
1389: );
1390: EXCEPTION

Line 1400: FND_MSG_PUB.Count_And_Get (

1396: WHEN FND_API.G_EXC_ERROR THEN
1397: ROLLBACK TO VALIDATE_List_Src_Field_;
1398: x_return_status := FND_API.G_RET_STS_ERROR;
1399: -- Standard call to get message count and if count=1, get the message
1400: FND_MSG_PUB.Count_And_Get (
1401: p_encoded => FND_API.G_FALSE,
1402: p_count => x_msg_count,
1403: p_data => x_msg_data
1404: );

Line 1410: FND_MSG_PUB.Count_And_Get (

1406: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1407: ROLLBACK TO VALIDATE_List_Src_Field_;
1408: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1409: -- Standard call to get message count and if count=1, get the message
1410: FND_MSG_PUB.Count_And_Get (
1411: p_encoded => FND_API.G_FALSE,
1412: p_count => x_msg_count,
1413: p_data => x_msg_data
1414: );

Line 1419: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)

1415:
1416: WHEN OTHERS THEN
1417: ROLLBACK TO VALIDATE_List_Src_Field_;
1418: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1419: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1420: THEN
1421: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1422: END IF;
1423: -- Standard call to get message count and if count=1, get the message

Line 1421: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);

1417: ROLLBACK TO VALIDATE_List_Src_Field_;
1418: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1419: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1420: THEN
1421: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1422: END IF;
1423: -- Standard call to get message count and if count=1, get the message
1424: FND_MSG_PUB.Count_And_Get (
1425: p_encoded => FND_API.G_FALSE,

Line 1424: FND_MSG_PUB.Count_And_Get (

1420: THEN
1421: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1422: END IF;
1423: -- Standard call to get message count and if count=1, get the message
1424: FND_MSG_PUB.Count_And_Get (
1425: p_encoded => FND_API.G_FALSE,
1426: p_count => x_msg_count,
1427: p_data => x_msg_data
1428: );

Line 1445: FND_MSG_PUB.initialize;

1441: BEGIN
1442: -- Initialize message list if p_init_msg_list is set to TRUE.
1443: IF FND_API.to_Boolean( p_init_msg_list )
1444: THEN
1445: FND_MSG_PUB.initialize;
1446: END IF;
1447:
1448: -- Initialize API return status to SUCCESS
1449: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 1459: FND_MSG_PUB.Count_And_Get

1455:
1456: -- Debug Message
1457: AMS_UTILITY_PVT.debug_message('Private API: Validate_dm_model_rec');
1458: -- Standard call to get message count and if count is 1, get message info.
1459: FND_MSG_PUB.Count_And_Get
1460: (p_count => x_msg_count,
1461: p_data => x_msg_data
1462: );
1463: END Validate_list_src_field_Rec;