DBA Data[Home] [Help]

APPS.AMS_CT_RULE_PVT dependencies on FND_MSG_PUB

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

41: -- HISTORY
42: -- 21-MAR-2001 JIELI Created
43: --===================================================================
44:
45: AMS_DEBUG_HIGH_ON CONSTANT boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);
46: AMS_DEBUG_LOW_ON CONSTANT boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);
47: AMS_DEBUG_MEDIUM_ON CONSTANT boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);
48:
49: PROCEDURE Create_Ct_Rule(

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

42: -- 21-MAR-2001 JIELI Created
43: --===================================================================
44:
45: AMS_DEBUG_HIGH_ON CONSTANT boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);
46: AMS_DEBUG_LOW_ON CONSTANT boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);
47: AMS_DEBUG_MEDIUM_ON CONSTANT boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);
48:
49: PROCEDURE Create_Ct_Rule(
50: p_api_version_number IN NUMBER,

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

43: --===================================================================
44:
45: AMS_DEBUG_HIGH_ON CONSTANT boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);
46: AMS_DEBUG_LOW_ON CONSTANT boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);
47: AMS_DEBUG_MEDIUM_ON CONSTANT boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);
48:
49: PROCEDURE Create_Ct_Rule(
50: p_api_version_number IN NUMBER,
51: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,

Line 97: FND_MSG_PUB.initialize;

93:
94: -- Initialize message list if p_init_msg_list is set to TRUE.
95: IF FND_API.to_Boolean( p_init_msg_list )
96: THEN
97: FND_MSG_PUB.initialize;
98: END IF;
99:
100: -- Debug Message
101: IF (AMS_DEBUG_HIGH_ON) THEN

Line 210: FND_MSG_PUB.Count_And_Get

206: AMS_UTILITY_PVT.debug_message(G_PKG_NAME||' Private API: ' || l_api_name || 'end');
207: END IF;
208:
209: -- Standard call to get message count and if count is 1, get message info.
210: FND_MSG_PUB.Count_And_Get
211: (p_count => x_msg_count,
212: p_data => x_msg_data
213: );
214: EXCEPTION

Line 224: FND_MSG_PUB.Count_And_Get (

220: WHEN FND_API.G_EXC_ERROR THEN
221: ROLLBACK TO CREATE_Ct_Rule_PVT;
222: x_return_status := FND_API.G_RET_STS_ERROR;
223: -- Standard call to get message count and if count=1, get the message
224: FND_MSG_PUB.Count_And_Get (
225: p_encoded => FND_API.G_FALSE,
226: p_count => x_msg_count,
227: p_data => x_msg_data
228: );

Line 234: FND_MSG_PUB.Count_And_Get (

230: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
231: ROLLBACK TO CREATE_Ct_Rule_PVT;
232: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
233: -- Standard call to get message count and if count=1, get the message
234: FND_MSG_PUB.Count_And_Get (
235: p_encoded => FND_API.G_FALSE,
236: p_count => x_msg_count,
237: p_data => x_msg_data
238: );

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

239:
240: WHEN OTHERS THEN
241: ROLLBACK TO CREATE_Ct_Rule_PVT;
242: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
243: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
244: THEN
245: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
246: END IF;
247: -- Standard call to get message count and if count=1, get the message

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

241: ROLLBACK TO CREATE_Ct_Rule_PVT;
242: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
243: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
244: THEN
245: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
246: END IF;
247: -- Standard call to get message count and if count=1, get the message
248: FND_MSG_PUB.Count_And_Get (
249: p_encoded => FND_API.G_FALSE,

Line 248: FND_MSG_PUB.Count_And_Get (

244: THEN
245: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
246: END IF;
247: -- Standard call to get message count and if count=1, get the message
248: FND_MSG_PUB.Count_And_Get (
249: p_encoded => FND_API.G_FALSE,
250: p_count => x_msg_count,
251: p_data => x_msg_data
252: );

Line 317: FND_MSG_PUB.initialize;

313:
314: -- Initialize message list if p_init_msg_list is set to TRUE.
315: IF FND_API.to_Boolean( p_init_msg_list )
316: THEN
317: FND_MSG_PUB.initialize;
318: END IF;
319:
320: -- Debug Message
321: IF (AMS_DEBUG_HIGH_ON) THEN

Line 396: --IF (AMS_DEBUG_HIGH_ON) THENAMS_UTILITY_PVT.debug_message(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW, 'Private API: Calling update table handler');END IF;

392: END IF;
393:
394:
395: -- Debug Message
396: --IF (AMS_DEBUG_HIGH_ON) THENAMS_UTILITY_PVT.debug_message(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW, 'Private API: Calling update table handler');END IF;
397: IF (AMS_DEBUG_HIGH_ON) THEN
398:
399: AMS_UTILITY_PVT.debug_message('Private API: Calling update table handler');
400: END IF;

Line 445: FND_MSG_PUB.Count_And_Get

441: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
442: END IF;
443:
444: -- Standard call to get message count and if count is 1, get message info.
445: FND_MSG_PUB.Count_And_Get
446: (p_count => x_msg_count,
447: p_data => x_msg_data
448: );
449: EXCEPTION

Line 459: FND_MSG_PUB.Count_And_Get (

455: WHEN FND_API.G_EXC_ERROR THEN
456: ROLLBACK TO UPDATE_Ct_Rule_PVT;
457: x_return_status := FND_API.G_RET_STS_ERROR;
458: -- Standard call to get message count and if count=1, get the message
459: FND_MSG_PUB.Count_And_Get (
460: p_encoded => FND_API.G_FALSE,
461: p_count => x_msg_count,
462: p_data => x_msg_data
463: );

Line 469: FND_MSG_PUB.Count_And_Get (

465: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
466: ROLLBACK TO UPDATE_Ct_Rule_PVT;
467: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
468: -- Standard call to get message count and if count=1, get the message
469: FND_MSG_PUB.Count_And_Get (
470: p_encoded => FND_API.G_FALSE,
471: p_count => x_msg_count,
472: p_data => x_msg_data
473: );

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

474:
475: WHEN OTHERS THEN
476: ROLLBACK TO UPDATE_Ct_Rule_PVT;
477: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
478: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
479: THEN
480: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
481: END IF;
482: -- Standard call to get message count and if count=1, get the message

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

476: ROLLBACK TO UPDATE_Ct_Rule_PVT;
477: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
478: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
479: THEN
480: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
481: END IF;
482: -- Standard call to get message count and if count=1, get the message
483: FND_MSG_PUB.Count_And_Get (
484: p_encoded => FND_API.G_FALSE,

Line 483: FND_MSG_PUB.Count_And_Get (

479: THEN
480: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
481: END IF;
482: -- Standard call to get message count and if count=1, get the message
483: FND_MSG_PUB.Count_And_Get (
484: p_encoded => FND_API.G_FALSE,
485: p_count => x_msg_count,
486: p_data => x_msg_data
487: );

Line 538: FND_MSG_PUB.initialize;

534:
535: -- Initialize message list if p_init_msg_list is set to TRUE.
536: IF FND_API.to_Boolean( p_init_msg_list )
537: THEN
538: FND_MSG_PUB.initialize;
539: END IF;
540:
541: -- Debug Message
542: IF (AMS_DEBUG_HIGH_ON) THEN

Line 581: FND_MSG_PUB.Count_And_Get

577: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
578: END IF;
579:
580: -- Standard call to get message count and if count is 1, get message info.
581: FND_MSG_PUB.Count_And_Get
582: (p_count => x_msg_count,
583: p_data => x_msg_data
584: );
585: EXCEPTION

Line 595: FND_MSG_PUB.Count_And_Get (

591: WHEN FND_API.G_EXC_ERROR THEN
592: ROLLBACK TO DELETE_Ct_Rule_PVT;
593: x_return_status := FND_API.G_RET_STS_ERROR;
594: -- Standard call to get message count and if count=1, get the message
595: FND_MSG_PUB.Count_And_Get (
596: p_encoded => FND_API.G_FALSE,
597: p_count => x_msg_count,
598: p_data => x_msg_data
599: );

Line 605: FND_MSG_PUB.Count_And_Get (

601: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
602: ROLLBACK TO DELETE_Ct_Rule_PVT;
603: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
604: -- Standard call to get message count and if count=1, get the message
605: FND_MSG_PUB.Count_And_Get (
606: p_encoded => FND_API.G_FALSE,
607: p_count => x_msg_count,
608: p_data => x_msg_data
609: );

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

610:
611: WHEN OTHERS THEN
612: ROLLBACK TO DELETE_Ct_Rule_PVT;
613: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
614: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
615: THEN
616: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
617: END IF;
618: -- Standard call to get message count and if count=1, get the message

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

612: ROLLBACK TO DELETE_Ct_Rule_PVT;
613: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
614: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
615: THEN
616: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
617: END IF;
618: -- Standard call to get message count and if count=1, get the message
619: FND_MSG_PUB.Count_And_Get (
620: p_encoded => FND_API.G_FALSE,

Line 619: FND_MSG_PUB.Count_And_Get (

615: THEN
616: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
617: END IF;
618: -- Standard call to get message count and if count=1, get the message
619: FND_MSG_PUB.Count_And_Get (
620: p_encoded => FND_API.G_FALSE,
621: p_count => x_msg_count,
622: p_data => x_msg_data
623: );

Line 678: FND_MSG_PUB.initialize;

674:
675: -- Initialize message list if p_init_msg_list is set to TRUE.
676: IF FND_API.to_Boolean( p_init_msg_list )
677: THEN
678: FND_MSG_PUB.initialize;
679: END IF;
680:
681: -- Standard call to check for call compatibility.
682: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,

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

706: FETCH c_Ct_Rule INTO l_CONTENT_RULE_ID;
707:
708: IF (c_Ct_Rule%NOTFOUND) THEN
709: CLOSE c_Ct_Rule;
710: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
711: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
712: FND_MSG_PUB.add;
713: END IF;
714: RAISE FND_API.g_exc_error;

Line 712: FND_MSG_PUB.add;

708: IF (c_Ct_Rule%NOTFOUND) THEN
709: CLOSE c_Ct_Rule;
710: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
711: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
712: FND_MSG_PUB.add;
713: END IF;
714: RAISE FND_API.g_exc_error;
715: END IF;
716:

Line 720: FND_MSG_PUB.count_and_get(

716:
717: CLOSE c_Ct_Rule;
718:
719: -------------------- finish --------------------------
720: FND_MSG_PUB.count_and_get(
721: p_encoded => FND_API.g_false,
722: p_count => x_msg_count,
723: p_data => x_msg_data);
724: IF (AMS_DEBUG_HIGH_ON) THEN

Line 738: FND_MSG_PUB.Count_And_Get (

734: WHEN FND_API.G_EXC_ERROR THEN
735: ROLLBACK TO LOCK_Ct_Rule_PVT;
736: x_return_status := FND_API.G_RET_STS_ERROR;
737: -- Standard call to get message count and if count=1, get the message
738: FND_MSG_PUB.Count_And_Get (
739: p_encoded => FND_API.G_FALSE,
740: p_count => x_msg_count,
741: p_data => x_msg_data
742: );

Line 748: FND_MSG_PUB.Count_And_Get (

744: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
745: ROLLBACK TO LOCK_Ct_Rule_PVT;
746: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
747: -- Standard call to get message count and if count=1, get the message
748: FND_MSG_PUB.Count_And_Get (
749: p_encoded => FND_API.G_FALSE,
750: p_count => x_msg_count,
751: p_data => x_msg_data
752: );

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

753:
754: WHEN OTHERS THEN
755: ROLLBACK TO LOCK_Ct_Rule_PVT;
756: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
757: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
758: THEN
759: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
760: END IF;
761: -- Standard call to get message count and if count=1, get the message

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

755: ROLLBACK TO LOCK_Ct_Rule_PVT;
756: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
757: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
758: THEN
759: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
760: END IF;
761: -- Standard call to get message count and if count=1, get the message
762: FND_MSG_PUB.Count_And_Get (
763: p_encoded => FND_API.G_FALSE,

Line 762: FND_MSG_PUB.Count_And_Get (

758: THEN
759: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
760: END IF;
761: -- Standard call to get message count and if count=1, get the message
762: FND_MSG_PUB.Count_And_Get (
763: p_encoded => FND_API.G_FALSE,
764: p_count => x_msg_count,
765: p_data => x_msg_data
766: );

Line 980: FND_MSG_PUB.Add;

976:
977:
978: IF p_ct_rule_rec.object_type = FND_API.g_miss_char OR p_ct_rule_rec.object_type IS NULL THEN
979: FND_MESSAGE.set_name('AMS', 'AMS_NO_OBJECT_TYPE');
980: FND_MSG_PUB.Add;
981: x_return_status := FND_API.g_ret_sts_error;
982: RETURN;
983: END IF;
984:

Line 987: FND_MSG_PUB.Add;

983: END IF;
984:
985: IF p_ct_rule_rec.trigger_code = FND_API.g_miss_char OR p_ct_rule_rec.trigger_code IS NULL THEN
986: FND_MESSAGE.set_name('AMS', 'AMS_NO_TRIGGER_CODE');
987: FND_MSG_PUB.Add;
988: x_return_status := FND_API.g_ret_sts_error;
989: RETURN;
990: END IF;
991:

Line 994: FND_MSG_PUB.Add;

990: END IF;
991:
992: IF p_ct_rule_rec.cover_letter_id = FND_API.g_miss_num OR p_ct_rule_rec.cover_letter_id IS NULL THEN
993: FND_MESSAGE.set_name('AMS', 'AMS_NO_COVER_LETTER_ID');
994: FND_MSG_PUB.Add;
995:
996: x_return_status := FND_API.g_ret_sts_error;
997: RETURN;
998: END IF;

Line 1005: FND_MSG_PUB.Add;

1001:
1002:
1003: IF p_ct_rule_rec.object_type IS NULL THEN
1004: FND_MESSAGE.set_name('AMS', 'AMS_NO_OBJECT_TYPE');
1005: FND_MSG_PUB.Add;
1006: x_return_status := FND_API.g_ret_sts_error;
1007: RETURN;
1008: END IF;
1009:

Line 1012: FND_MSG_PUB.Add;

1008: END IF;
1009:
1010: IF p_ct_rule_rec.trigger_code IS NULL THEN
1011: FND_MESSAGE.set_name('AMS', 'AMS_NO_TRIGGER_CODE');
1012: FND_MSG_PUB.Add;
1013: x_return_status := FND_API.g_ret_sts_error;
1014: RETURN;
1015: END IF;
1016:

Line 1019: FND_MSG_PUB.Add;

1015: END IF;
1016:
1017: IF p_ct_rule_rec.cover_letter_id IS NULL THEN
1018: FND_MESSAGE.set_name('AMS', 'AMS_NO_COVER_LETTER_ID');
1019: FND_MSG_PUB.Add;
1020: x_return_status := FND_API.g_ret_sts_error;
1021: RETURN;
1022: END IF;
1023:

Line 1300: FND_MSG_PUB.initialize;

1296:
1297: -- Initialize message list if p_init_msg_list is set to TRUE.
1298: IF FND_API.to_Boolean( p_init_msg_list )
1299: THEN
1300: FND_MSG_PUB.initialize;
1301: END IF;
1302: IF p_validation_level >= JTF_PLSQL_API.g_valid_level_item THEN
1303: Check_ct_rule_Items(
1304: p_ct_rule_rec => p_ct_rule_rec,

Line 1356: FND_MSG_PUB.Count_And_Get

1352: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
1353: END IF;
1354:
1355: -- Standard call to get message count and if count is 1, get message info.
1356: FND_MSG_PUB.Count_And_Get
1357: (p_count => x_msg_count,
1358: p_data => x_msg_data
1359: );
1360: EXCEPTION

Line 1370: FND_MSG_PUB.Count_And_Get (

1366: WHEN FND_API.G_EXC_ERROR THEN
1367: ROLLBACK TO VALIDATE_Ct_Rule_;
1368: x_return_status := FND_API.G_RET_STS_ERROR;
1369: -- Standard call to get message count and if count=1, get the message
1370: FND_MSG_PUB.Count_And_Get (
1371: p_encoded => FND_API.G_FALSE,
1372: p_count => x_msg_count,
1373: p_data => x_msg_data
1374: );

Line 1380: FND_MSG_PUB.Count_And_Get (

1376: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1377: ROLLBACK TO VALIDATE_Ct_Rule_;
1378: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1379: -- Standard call to get message count and if count=1, get the message
1380: FND_MSG_PUB.Count_And_Get (
1381: p_encoded => FND_API.G_FALSE,
1382: p_count => x_msg_count,
1383: p_data => x_msg_data
1384: );

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

1385:
1386: WHEN OTHERS THEN
1387: ROLLBACK TO VALIDATE_Ct_Rule_;
1388: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1389: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1390: THEN
1391: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1392: END IF;
1393: -- Standard call to get message count and if count=1, get the message

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

1387: ROLLBACK TO VALIDATE_Ct_Rule_;
1388: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1389: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1390: THEN
1391: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1392: END IF;
1393: -- Standard call to get message count and if count=1, get the message
1394: FND_MSG_PUB.Count_And_Get (
1395: p_encoded => FND_API.G_FALSE,

Line 1394: FND_MSG_PUB.Count_And_Get (

1390: THEN
1391: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1392: END IF;
1393: -- Standard call to get message count and if count=1, get the message
1394: FND_MSG_PUB.Count_And_Get (
1395: p_encoded => FND_API.G_FALSE,
1396: p_count => x_msg_count,
1397: p_data => x_msg_data
1398: );

Line 1428: FND_MSG_PUB.initialize;

1424: BEGIN
1425: -- Initialize message list if p_init_msg_list is set to TRUE.
1426: IF FND_API.to_Boolean( p_init_msg_list )
1427: THEN
1428: FND_MSG_PUB.initialize;
1429: END IF;
1430:
1431: -- Initialize API return status to SUCCESS
1432: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 1445: FND_MSG_PUB.Count_And_Get

1441:
1442: AMS_UTILITY_PVT.debug_message('Private API: Validate_dm_model_rec');
1443: END IF;
1444: -- Standard call to get message count and if count is 1, get message info.
1445: FND_MSG_PUB.Count_And_Get
1446: (p_count => x_msg_count,
1447: p_data => x_msg_data
1448: );
1449: END Validate_ct_rule_Rec;