DBA Data[Home] [Help]

APPS.OZF_ADJ_NEW_PROD_PVT dependencies on FND_MSG_PUB

Line 70: FND_MSG_PUB.initialize;

66:
67: -- Initialize message list if p_init_msg_list is set to TRUE.
68: IF FND_API.to_Boolean( p_init_msg_list )
69: THEN
70: FND_MSG_PUB.initialize;
71: END IF;
72:
73: -- Debug Message
74: OZF_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'start');

Line 166: FND_MSG_PUB.Count_And_Get

162: -- Debug Message
163: OZF_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
164:
165: -- Standard call to get message count and if count is 1, get message info.
166: FND_MSG_PUB.Count_And_Get
167: (p_count => x_msg_count,
168: p_data => x_msg_data
169: );
170: EXCEPTION

Line 180: FND_MSG_PUB.Count_And_Get (

176: WHEN FND_API.G_EXC_ERROR THEN
177: ROLLBACK TO CREATE_Adj_New_Prod_PVT;
178: x_return_status := FND_API.G_RET_STS_ERROR;
179: -- Standard call to get message count and if count=1, get the message
180: FND_MSG_PUB.Count_And_Get (
181: p_encoded => FND_API.G_FALSE,
182: p_count => x_msg_count,
183: p_data => x_msg_data
184: );

Line 190: FND_MSG_PUB.Count_And_Get (

186: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
187: ROLLBACK TO CREATE_Adj_New_Prod_PVT;
188: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
189: -- Standard call to get message count and if count=1, get the message
190: FND_MSG_PUB.Count_And_Get (
191: p_encoded => FND_API.G_FALSE,
192: p_count => x_msg_count,
193: p_data => x_msg_data
194: );

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

195:
196: WHEN OTHERS THEN
197: ROLLBACK TO CREATE_Adj_New_Prod_PVT;
198: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
199: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
200: THEN
201: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
202: END IF;
203: -- Standard call to get message count and if count=1, get the message

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

197: ROLLBACK TO CREATE_Adj_New_Prod_PVT;
198: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
199: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
200: THEN
201: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
202: END IF;
203: -- Standard call to get message count and if count=1, get the message
204: FND_MSG_PUB.Count_And_Get (
205: p_encoded => FND_API.G_FALSE,

Line 204: FND_MSG_PUB.Count_And_Get (

200: THEN
201: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
202: END IF;
203: -- Standard call to get message count and if count=1, get the message
204: FND_MSG_PUB.Count_And_Get (
205: p_encoded => FND_API.G_FALSE,
206: p_count => x_msg_count,
207: p_data => x_msg_data
208: );

Line 258: FND_MSG_PUB.initialize;

254:
255: -- Initialize message list if p_init_msg_list is set to TRUE.
256: IF FND_API.to_Boolean( p_init_msg_list )
257: THEN
258: FND_MSG_PUB.initialize;
259: END IF;
260:
261: -- Debug Message
262: OZF_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'start');

Line 341: FND_MSG_PUB.Count_And_Get

337: -- Debug Message
338: OZF_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
339:
340: -- Standard call to get message count and if count is 1, get message info.
341: FND_MSG_PUB.Count_And_Get
342: (p_count => x_msg_count,
343: p_data => x_msg_data
344: );
345: EXCEPTION

Line 355: FND_MSG_PUB.Count_And_Get (

351: WHEN FND_API.G_EXC_ERROR THEN
352: ROLLBACK TO UPDATE_Adj_New_Prod_PVT;
353: x_return_status := FND_API.G_RET_STS_ERROR;
354: -- Standard call to get message count and if count=1, get the message
355: FND_MSG_PUB.Count_And_Get (
356: p_encoded => FND_API.G_FALSE,
357: p_count => x_msg_count,
358: p_data => x_msg_data
359: );

Line 365: FND_MSG_PUB.Count_And_Get (

361: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
362: ROLLBACK TO UPDATE_Adj_New_Prod_PVT;
363: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
364: -- Standard call to get message count and if count=1, get the message
365: FND_MSG_PUB.Count_And_Get (
366: p_encoded => FND_API.G_FALSE,
367: p_count => x_msg_count,
368: p_data => x_msg_data
369: );

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

370:
371: WHEN OTHERS THEN
372: ROLLBACK TO UPDATE_Adj_New_Prod_PVT;
373: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
374: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
375: THEN
376: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
377: END IF;
378: -- Standard call to get message count and if count=1, get the message

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

372: ROLLBACK TO UPDATE_Adj_New_Prod_PVT;
373: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
374: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
375: THEN
376: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
377: END IF;
378: -- Standard call to get message count and if count=1, get the message
379: FND_MSG_PUB.Count_And_Get (
380: p_encoded => FND_API.G_FALSE,

Line 379: FND_MSG_PUB.Count_And_Get (

375: THEN
376: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
377: END IF;
378: -- Standard call to get message count and if count=1, get the message
379: FND_MSG_PUB.Count_And_Get (
380: p_encoded => FND_API.G_FALSE,
381: p_count => x_msg_count,
382: p_data => x_msg_data
383: );

Line 420: FND_MSG_PUB.initialize;

416:
417: -- Initialize message list if p_init_msg_list is set to TRUE.
418: IF FND_API.to_Boolean( p_init_msg_list )
419: THEN
420: FND_MSG_PUB.initialize;
421: END IF;
422: -- Debug Message
423: OZF_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'start');
424: -- Initialize API return status to SUCCESS

Line 445: FND_MSG_PUB.Count_And_Get

441: END IF;
442: -- Debug Message
443: OZF_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
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 DELETE_Adj_New_Prod_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 DELETE_Adj_New_Prod_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 DELETE_Adj_New_Prod_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 DELETE_Adj_New_Prod_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 523: FND_MSG_PUB.initialize;

519:
520: -- Initialize message list if p_init_msg_list is set to TRUE.
521: IF FND_API.to_Boolean( p_init_msg_list )
522: THEN
523: FND_MSG_PUB.initialize;
524: END IF;
525:
526: -- Standard call to check for call compatibility.
527: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,

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

543: FETCH c_Adj_New_Prod INTO l_OFFER_ADJ_NEW_PRODUCT_ID;
544:
545: IF (c_Adj_New_Prod%NOTFOUND) THEN
546: CLOSE c_Adj_New_Prod;
547: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
548: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
549: FND_MSG_PUB.add;
550: END IF;
551: RAISE FND_API.g_exc_error;

Line 549: FND_MSG_PUB.add;

545: IF (c_Adj_New_Prod%NOTFOUND) THEN
546: CLOSE c_Adj_New_Prod;
547: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
548: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
549: FND_MSG_PUB.add;
550: END IF;
551: RAISE FND_API.g_exc_error;
552: END IF;
553:

Line 556: FND_MSG_PUB.count_and_get(

552: END IF;
553:
554: CLOSE c_Adj_New_Prod;
555: -------------------- finish --------------------------
556: FND_MSG_PUB.count_and_get(
557: p_encoded => FND_API.g_false,
558: p_count => x_msg_count,
559: p_data => x_msg_data);
560: OZF_UTILITY_PVT.debug_message(l_full_name ||': end');

Line 571: FND_MSG_PUB.Count_And_Get (

567: WHEN FND_API.G_EXC_ERROR THEN
568: ROLLBACK TO LOCK_Adj_New_Prod_PVT;
569: x_return_status := FND_API.G_RET_STS_ERROR;
570: -- Standard call to get message count and if count=1, get the message
571: FND_MSG_PUB.Count_And_Get (
572: p_encoded => FND_API.G_FALSE,
573: p_count => x_msg_count,
574: p_data => x_msg_data
575: );

Line 581: FND_MSG_PUB.Count_And_Get (

577: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
578: ROLLBACK TO LOCK_Adj_New_Prod_PVT;
579: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
580: -- Standard call to get message count and if count=1, get the message
581: FND_MSG_PUB.Count_And_Get (
582: p_encoded => FND_API.G_FALSE,
583: p_count => x_msg_count,
584: p_data => x_msg_data
585: );

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

586:
587: WHEN OTHERS THEN
588: ROLLBACK TO LOCK_Adj_New_Prod_PVT;
589: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
590: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
591: THEN
592: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
593: END IF;
594: -- Standard call to get message count and if count=1, get the message

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

588: ROLLBACK TO LOCK_Adj_New_Prod_PVT;
589: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
590: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
591: THEN
592: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
593: END IF;
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,

Line 595: FND_MSG_PUB.Count_And_Get (

591: THEN
592: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
593: END IF;
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 796: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN

792:
793: OPEN c_uom_code_exists(p_adj_new_prod_rec.uom_code,l_organization_id,p_adj_new_prod_rec.product_attr_value);
794: FETCH c_uom_code_exists INTO l_uom_code_exists;
795: IF ( c_uom_code_exists%NOTFOUND) THEN
796: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
797: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_UOM');
798: FND_MSG_PUB.add;
799: x_return_status := FND_API.G_RET_STS_ERROR;
800: END IF;

Line 798: FND_MSG_PUB.add;

794: FETCH c_uom_code_exists INTO l_uom_code_exists;
795: IF ( c_uom_code_exists%NOTFOUND) THEN
796: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
797: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_UOM');
798: FND_MSG_PUB.add;
799: x_return_status := FND_API.G_RET_STS_ERROR;
800: END IF;
801: END IF;
802: CLOSE c_uom_code_exists;

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

813: to_number(p_adj_new_prod_rec.product_attr_value),
814: p_adj_new_prod_rec.uom_code) = 'N'
815: THEN
816: */
817: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
818: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_UOM');
819: FND_MSG_PUB.add;
820: x_return_status := FND_API.G_RET_STS_ERROR;
821: END IF;

Line 819: FND_MSG_PUB.add;

815: THEN
816: */
817: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
818: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_UOM');
819: FND_MSG_PUB.add;
820: x_return_status := FND_API.G_RET_STS_ERROR;
821: END IF;
822: END IF;
823: ELSE

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

823: ELSE
824: OPEN c_general_uom(p_adj_new_prod_rec.uom_code);
825: FETCH c_general_uom INTO l_general_uom;
826: IF ( c_general_uom%NOTFOUND) THEN
827: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
828: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_UOM');
829: FND_MSG_PUB.add;
830: x_return_status := FND_API.G_RET_STS_ERROR;
831: END IF;

Line 829: FND_MSG_PUB.add;

825: FETCH c_general_uom INTO l_general_uom;
826: IF ( c_general_uom%NOTFOUND) THEN
827: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
828: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_UOM');
829: FND_MSG_PUB.add;
830: x_return_status := FND_API.G_RET_STS_ERROR;
831: END IF;
832: END IF;
833: CLOSE c_general_uom;

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

927: );
928: If (l_context_flag = 'N' AND l_error_code = 7) -- invalid context
929: Then
930: x_return_status := FND_API.G_RET_STS_ERROR;
931: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
932: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_CONTEXT' );
933: FND_MSG_PUB.add;
934: END IF;
935: End If;

Line 933: FND_MSG_PUB.add;

929: Then
930: x_return_status := FND_API.G_RET_STS_ERROR;
931: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
932: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_CONTEXT' );
933: FND_MSG_PUB.add;
934: END IF;
935: End If;
936:
937: If (l_attribute_flag = 'N' AND l_error_code = 8) -- invalid attribute

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

936:
937: If (l_attribute_flag = 'N' AND l_error_code = 8) -- invalid attribute
938: Then
939: x_return_status := FND_API.G_RET_STS_ERROR;
940: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
941: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_ATTR' );
942: FND_MSG_PUB.add;
943: END IF;
944: End If;

Line 942: FND_MSG_PUB.add;

938: Then
939: x_return_status := FND_API.G_RET_STS_ERROR;
940: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
941: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_ATTR' );
942: FND_MSG_PUB.add;
943: END IF;
944: End If;
945:
946: If (l_value_flag = 'N' AND l_error_code = 9) -- invalid value

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

945:
946: If (l_value_flag = 'N' AND l_error_code = 9) -- invalid value
947: Then
948: x_return_status := FND_API.G_RET_STS_ERROR;
949: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
950: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_VALUE' );
951: FND_MSG_PUB.add;
952: END IF;
953: End If;

Line 951: FND_MSG_PUB.add;

947: Then
948: x_return_status := FND_API.G_RET_STS_ERROR;
949: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
950: FND_MESSAGE.SET_NAME('QP','QP_INVALID_PROD_VALUE' );
951: FND_MSG_PUB.add;
952: END IF;
953: End If;
954: END Check_adj_new_prod_attr;
955:

Line 1137: FND_MSG_PUB.initialize;

1133:
1134: -- Initialize message list if p_init_msg_list is set to TRUE.
1135: IF FND_API.to_Boolean( p_init_msg_list )
1136: THEN
1137: FND_MSG_PUB.initialize;
1138: END IF;
1139: IF p_validation_level >= JTF_PLSQL_API.g_valid_level_item THEN
1140: Check_adj_new_prod_Items(
1141: p_adj_new_prod_rec => p_adj_new_prod_rec,

Line 1187: FND_MSG_PUB.Count_And_Get

1183: -- Debug Message
1184: OZF_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
1185:
1186: -- Standard call to get message count and if count is 1, get message info.
1187: FND_MSG_PUB.Count_And_Get
1188: (p_count => x_msg_count,
1189: p_data => x_msg_data
1190: );
1191: EXCEPTION

Line 1201: FND_MSG_PUB.Count_And_Get (

1197: WHEN FND_API.G_EXC_ERROR THEN
1198: ROLLBACK TO VALIDATE_Adj_New_Prod_;
1199: x_return_status := FND_API.G_RET_STS_ERROR;
1200: -- Standard call to get message count and if count=1, get the message
1201: FND_MSG_PUB.Count_And_Get (
1202: p_encoded => FND_API.G_FALSE,
1203: p_count => x_msg_count,
1204: p_data => x_msg_data
1205: );

Line 1211: FND_MSG_PUB.Count_And_Get (

1207: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1208: ROLLBACK TO VALIDATE_Adj_New_Prod_;
1209: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1210: -- Standard call to get message count and if count=1, get the message
1211: FND_MSG_PUB.Count_And_Get (
1212: p_encoded => FND_API.G_FALSE,
1213: p_count => x_msg_count,
1214: p_data => x_msg_data
1215: );

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

1216:
1217: WHEN OTHERS THEN
1218: ROLLBACK TO VALIDATE_Adj_New_Prod_;
1219: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1220: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1221: THEN
1222: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1223: END IF;
1224: -- Standard call to get message count and if count=1, get the message

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

1218: ROLLBACK TO VALIDATE_Adj_New_Prod_;
1219: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1220: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1221: THEN
1222: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1223: END IF;
1224: -- Standard call to get message count and if count=1, get the message
1225: FND_MSG_PUB.Count_And_Get (
1226: p_encoded => FND_API.G_FALSE,

Line 1225: FND_MSG_PUB.Count_And_Get (

1221: THEN
1222: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1223: END IF;
1224: -- Standard call to get message count and if count=1, get the message
1225: FND_MSG_PUB.Count_And_Get (
1226: p_encoded => FND_API.G_FALSE,
1227: p_count => x_msg_count,
1228: p_data => x_msg_data
1229: );

Line 1246: FND_MSG_PUB.initialize;

1242: BEGIN
1243: -- Initialize message list if p_init_msg_list is set to TRUE.
1244: IF FND_API.to_Boolean( p_init_msg_list )
1245: THEN
1246: FND_MSG_PUB.initialize;
1247: END IF;
1248:
1249: -- Initialize API return status to SUCCESS
1250: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 1260: FND_MSG_PUB.Count_And_Get

1256:
1257: -- Debug Message
1258: OZF_UTILITY_PVT.debug_message('Private API: Validate_dm_model_rec');
1259: -- Standard call to get message count and if count is 1, get message info.
1260: FND_MSG_PUB.Count_And_Get
1261: (p_count => x_msg_count,
1262: p_data => x_msg_data
1263: );
1264: END Validate_adj_new_prod_Rec;