DBA Data[Home] [Help]

APPS.AMS_LIST_GROUP_PVT dependencies on FND_MSG_PUB

Line 21: AMS_DEBUG_HIGH_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);

17: G_PKG_NAME CONSTANT VARCHAR2(30):= 'AMS_List_Group_PVT';
18: G_FILE_NAME CONSTANT VARCHAR2(12) := 'amsvlgpb.pls';
19:
20:
21: AMS_DEBUG_HIGH_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);
22: AMS_DEBUG_LOW_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);
23: AMS_DEBUG_MEDIUM_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);
24:
25: PROCEDURE Create_List_Group(

Line 22: AMS_DEBUG_LOW_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);

18: G_FILE_NAME CONSTANT VARCHAR2(12) := 'amsvlgpb.pls';
19:
20:
21: AMS_DEBUG_HIGH_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);
22: AMS_DEBUG_LOW_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);
23: AMS_DEBUG_MEDIUM_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);
24:
25: PROCEDURE Create_List_Group(
26: p_api_version_number IN NUMBER,

Line 23: AMS_DEBUG_MEDIUM_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);

19:
20:
21: AMS_DEBUG_HIGH_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);
22: AMS_DEBUG_LOW_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);
23: AMS_DEBUG_MEDIUM_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);
24:
25: PROCEDURE Create_List_Group(
26: p_api_version_number IN NUMBER,
27: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,

Line 71: FND_MSG_PUB.initialize;

67:
68: -- Initialize message list if p_init_msg_list is set to TRUE.
69: IF FND_API.to_Boolean( p_init_msg_list )
70: THEN
71: FND_MSG_PUB.initialize;
72: END IF;
73:
74: -- Debug Message
75: IF (AMS_DEBUG_HIGH_ON) THEN

Line 187: FND_MSG_PUB.Count_And_Get

183: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
184: END IF;
185:
186: -- Standard call to get message count and if count is 1, get message info.
187: FND_MSG_PUB.Count_And_Get
188: (p_count => x_msg_count,
189: p_data => x_msg_data
190: );
191: EXCEPTION

Line 201: FND_MSG_PUB.Count_And_Get (

197: WHEN FND_API.G_EXC_ERROR THEN
198: ROLLBACK TO CREATE_List_Group_PVT;
199: x_return_status := FND_API.G_RET_STS_ERROR;
200: -- Standard call to get message count and if count=1, get the message
201: FND_MSG_PUB.Count_And_Get (
202: p_encoded => FND_API.G_FALSE,
203: p_count => x_msg_count,
204: p_data => x_msg_data
205: );

Line 211: FND_MSG_PUB.Count_And_Get (

207: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
208: ROLLBACK TO CREATE_List_Group_PVT;
209: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
210: -- Standard call to get message count and if count=1, get the message
211: FND_MSG_PUB.Count_And_Get (
212: p_encoded => FND_API.G_FALSE,
213: p_count => x_msg_count,
214: p_data => x_msg_data
215: );

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

216:
217: WHEN OTHERS THEN
218: ROLLBACK TO CREATE_List_Group_PVT;
219: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
220: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
221: THEN
222: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
223: END IF;
224: -- Standard call to get message count and if count=1, get the message

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

218: ROLLBACK TO CREATE_List_Group_PVT;
219: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
220: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
221: THEN
222: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
223: END IF;
224: -- Standard call to get message count and if count=1, get the message
225: FND_MSG_PUB.Count_And_Get (
226: p_encoded => FND_API.G_FALSE,

Line 225: FND_MSG_PUB.Count_And_Get (

221: THEN
222: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
223: END IF;
224: -- Standard call to get message count and if count=1, get the message
225: FND_MSG_PUB.Count_And_Get (
226: p_encoded => FND_API.G_FALSE,
227: p_count => x_msg_count,
228: p_data => x_msg_data
229: );

Line 277: FND_MSG_PUB.initialize;

273:
274: -- Initialize message list if p_init_msg_list is set to TRUE.
275: IF FND_API.to_Boolean( p_init_msg_list )
276: THEN
277: FND_MSG_PUB.initialize;
278: END IF;
279:
280: -- Debug Message
281: IF (AMS_DEBUG_HIGH_ON) THEN

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

351:
352: -- Debug Message
353: IF (AMS_DEBUG_HIGH_ON) THEN
354:
355: AMS_UTILITY_PVT.debug_message(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW, 'Private API: Calling update table handler');
356: END IF;
357:
358: -- Invoke table handler(AMS_ACT_LIST_GROUPS_PKG.Update_Row)
359: AMS_ACT_LIST_GROUPS_PKG.Update_Row(

Line 401: FND_MSG_PUB.Count_And_Get

397: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
398: END IF;
399:
400: -- Standard call to get message count and if count is 1, get message info.
401: FND_MSG_PUB.Count_And_Get
402: (p_count => x_msg_count,
403: p_data => x_msg_data
404: );
405: EXCEPTION

Line 415: FND_MSG_PUB.Count_And_Get (

411: WHEN FND_API.G_EXC_ERROR THEN
412: ROLLBACK TO UPDATE_List_Group_PVT;
413: x_return_status := FND_API.G_RET_STS_ERROR;
414: -- Standard call to get message count and if count=1, get the message
415: FND_MSG_PUB.Count_And_Get (
416: p_encoded => FND_API.G_FALSE,
417: p_count => x_msg_count,
418: p_data => x_msg_data
419: );

Line 425: FND_MSG_PUB.Count_And_Get (

421: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
422: ROLLBACK TO UPDATE_List_Group_PVT;
423: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
424: -- Standard call to get message count and if count=1, get the message
425: FND_MSG_PUB.Count_And_Get (
426: p_encoded => FND_API.G_FALSE,
427: p_count => x_msg_count,
428: p_data => x_msg_data
429: );

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

430:
431: WHEN OTHERS THEN
432: ROLLBACK TO UPDATE_List_Group_PVT;
433: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
434: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
435: THEN
436: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
437: END IF;
438: -- Standard call to get message count and if count=1, get the message

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

432: ROLLBACK TO UPDATE_List_Group_PVT;
433: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
434: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
435: THEN
436: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
437: END IF;
438: -- Standard call to get message count and if count=1, get the message
439: FND_MSG_PUB.Count_And_Get (
440: p_encoded => FND_API.G_FALSE,

Line 439: FND_MSG_PUB.Count_And_Get (

435: THEN
436: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
437: END IF;
438: -- Standard call to get message count and if count=1, get the message
439: FND_MSG_PUB.Count_And_Get (
440: p_encoded => FND_API.G_FALSE,
441: p_count => x_msg_count,
442: p_data => x_msg_data
443: );

Line 480: FND_MSG_PUB.initialize;

476:
477: -- Initialize message list if p_init_msg_list is set to TRUE.
478: IF FND_API.to_Boolean( p_init_msg_list )
479: THEN
480: FND_MSG_PUB.initialize;
481: END IF;
482:
483: -- Debug Message
484: IF (AMS_DEBUG_HIGH_ON) THEN

Line 523: FND_MSG_PUB.Count_And_Get

519: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
520: END IF;
521:
522: -- Standard call to get message count and if count is 1, get message info.
523: FND_MSG_PUB.Count_And_Get
524: (p_count => x_msg_count,
525: p_data => x_msg_data
526: );
527: EXCEPTION

Line 537: FND_MSG_PUB.Count_And_Get (

533: WHEN FND_API.G_EXC_ERROR THEN
534: ROLLBACK TO DELETE_List_Group_PVT;
535: x_return_status := FND_API.G_RET_STS_ERROR;
536: -- Standard call to get message count and if count=1, get the message
537: FND_MSG_PUB.Count_And_Get (
538: p_encoded => FND_API.G_FALSE,
539: p_count => x_msg_count,
540: p_data => x_msg_data
541: );

Line 547: FND_MSG_PUB.Count_And_Get (

543: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
544: ROLLBACK TO DELETE_List_Group_PVT;
545: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
546: -- Standard call to get message count and if count=1, get the message
547: FND_MSG_PUB.Count_And_Get (
548: p_encoded => FND_API.G_FALSE,
549: p_count => x_msg_count,
550: p_data => x_msg_data
551: );

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

552:
553: WHEN OTHERS THEN
554: ROLLBACK TO DELETE_List_Group_PVT;
555: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
556: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
557: THEN
558: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
559: END IF;
560: -- Standard call to get message count and if count=1, get the message

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

554: ROLLBACK TO DELETE_List_Group_PVT;
555: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
556: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
557: THEN
558: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
559: END IF;
560: -- Standard call to get message count and if count=1, get the message
561: FND_MSG_PUB.Count_And_Get (
562: p_encoded => FND_API.G_FALSE,

Line 561: FND_MSG_PUB.Count_And_Get (

557: THEN
558: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
559: END IF;
560: -- Standard call to get message count and if count=1, get the message
561: FND_MSG_PUB.Count_And_Get (
562: p_encoded => FND_API.G_FALSE,
563: p_count => x_msg_count,
564: p_data => x_msg_data
565: );

Line 607: FND_MSG_PUB.initialize;

603:
604: -- Initialize message list if p_init_msg_list is set to TRUE.
605: IF FND_API.to_Boolean( p_init_msg_list )
606: THEN
607: FND_MSG_PUB.initialize;
608: END IF;
609:
610: -- Standard call to check for call compatibility.
611: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,

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

635: FETCH c_List_Group INTO l_ACT_LIST_GROUP_ID;
636:
637: IF (c_List_Group%NOTFOUND) THEN
638: CLOSE c_List_Group;
639: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
640: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
641: FND_MSG_PUB.add;
642: END IF;
643: RAISE FND_API.g_exc_error;

Line 641: FND_MSG_PUB.add;

637: IF (c_List_Group%NOTFOUND) THEN
638: CLOSE c_List_Group;
639: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
640: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
641: FND_MSG_PUB.add;
642: END IF;
643: RAISE FND_API.g_exc_error;
644: END IF;
645:

Line 649: FND_MSG_PUB.count_and_get(

645:
646: CLOSE c_List_Group;
647:
648: -------------------- finish --------------------------
649: FND_MSG_PUB.count_and_get(
650: p_encoded => FND_API.g_false,
651: p_count => x_msg_count,
652: p_data => x_msg_data);
653: IF (AMS_DEBUG_HIGH_ON) THEN

Line 667: FND_MSG_PUB.Count_And_Get (

663: WHEN FND_API.G_EXC_ERROR THEN
664: ROLLBACK TO LOCK_List_Group_PVT;
665: x_return_status := FND_API.G_RET_STS_ERROR;
666: -- Standard call to get message count and if count=1, get the message
667: FND_MSG_PUB.Count_And_Get (
668: p_encoded => FND_API.G_FALSE,
669: p_count => x_msg_count,
670: p_data => x_msg_data
671: );

Line 677: FND_MSG_PUB.Count_And_Get (

673: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
674: ROLLBACK TO LOCK_List_Group_PVT;
675: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
676: -- Standard call to get message count and if count=1, get the message
677: FND_MSG_PUB.Count_And_Get (
678: p_encoded => FND_API.G_FALSE,
679: p_count => x_msg_count,
680: p_data => x_msg_data
681: );

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

682:
683: WHEN OTHERS THEN
684: ROLLBACK TO LOCK_List_Group_PVT;
685: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
686: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
687: THEN
688: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
689: END IF;
690: -- Standard call to get message count and if count=1, get the message

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

684: ROLLBACK TO LOCK_List_Group_PVT;
685: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
686: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
687: THEN
688: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
689: END IF;
690: -- Standard call to get message count and if count=1, get the message
691: FND_MSG_PUB.Count_And_Get (
692: p_encoded => FND_API.G_FALSE,

Line 691: FND_MSG_PUB.Count_And_Get (

687: THEN
688: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
689: END IF;
690: -- Standard call to get message count and if count=1, get the message
691: FND_MSG_PUB.Count_And_Get (
692: p_encoded => FND_API.G_FALSE,
693: p_count => x_msg_count,
694: p_data => x_msg_data
695: );

Line 1095: FND_MSG_PUB.initialize;

1091:
1092: -- Initialize message list if p_init_msg_list is set to TRUE.
1093: IF FND_API.to_Boolean( p_init_msg_list )
1094: THEN
1095: FND_MSG_PUB.initialize;
1096: END IF;
1097: IF p_validation_level >= JTF_PLSQL_API.g_valid_level_item THEN
1098: Check_list_group_Items(
1099: p_list_group_rec => p_list_group_rec,

Line 1151: FND_MSG_PUB.Count_And_Get

1147: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
1148: END IF;
1149:
1150: -- Standard call to get message count and if count is 1, get message info.
1151: FND_MSG_PUB.Count_And_Get
1152: (p_count => x_msg_count,
1153: p_data => x_msg_data
1154: );
1155: EXCEPTION

Line 1165: FND_MSG_PUB.Count_And_Get (

1161: WHEN FND_API.G_EXC_ERROR THEN
1162: ROLLBACK TO VALIDATE_List_Group_;
1163: x_return_status := FND_API.G_RET_STS_ERROR;
1164: -- Standard call to get message count and if count=1, get the message
1165: FND_MSG_PUB.Count_And_Get (
1166: p_encoded => FND_API.G_FALSE,
1167: p_count => x_msg_count,
1168: p_data => x_msg_data
1169: );

Line 1175: FND_MSG_PUB.Count_And_Get (

1171: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1172: ROLLBACK TO VALIDATE_List_Group_;
1173: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1174: -- Standard call to get message count and if count=1, get the message
1175: FND_MSG_PUB.Count_And_Get (
1176: p_encoded => FND_API.G_FALSE,
1177: p_count => x_msg_count,
1178: p_data => x_msg_data
1179: );

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

1180:
1181: WHEN OTHERS THEN
1182: ROLLBACK TO VALIDATE_List_Group_;
1183: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1184: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1185: THEN
1186: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1187: END IF;
1188: -- Standard call to get message count and if count=1, get the message

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

1182: ROLLBACK TO VALIDATE_List_Group_;
1183: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1184: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1185: THEN
1186: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1187: END IF;
1188: -- Standard call to get message count and if count=1, get the message
1189: FND_MSG_PUB.Count_And_Get (
1190: p_encoded => FND_API.G_FALSE,

Line 1189: FND_MSG_PUB.Count_And_Get (

1185: THEN
1186: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1187: END IF;
1188: -- Standard call to get message count and if count=1, get the message
1189: FND_MSG_PUB.Count_And_Get (
1190: p_encoded => FND_API.G_FALSE,
1191: p_count => x_msg_count,
1192: p_data => x_msg_data
1193: );

Line 1210: FND_MSG_PUB.initialize;

1206: BEGIN
1207: -- Initialize message list if p_init_msg_list is set to TRUE.
1208: IF FND_API.to_Boolean( p_init_msg_list )
1209: THEN
1210: FND_MSG_PUB.initialize;
1211: END IF;
1212:
1213: -- Initialize API return status to SUCCESS
1214: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 1227: FND_MSG_PUB.Count_And_Get

1223:
1224: AMS_UTILITY_PVT.debug_message('Private API: Validate_dm_model_rec');
1225: END IF;
1226: -- Standard call to get message count and if count is 1, get message info.
1227: FND_MSG_PUB.Count_And_Get
1228: (p_count => x_msg_count,
1229: p_data => x_msg_data
1230: );
1231: END Validate_list_group_Rec;