DBA Data[Home] [Help]

APPS.AMS_IS_LINE_PVT dependencies on FND_MSG_PUB

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

18: G_FILE_NAME CONSTANT VARCHAR2(12) := 'amsvislb.pls';
19:
20:
21: -- Hint: Primary key needs to be returned.
22: AMS_DEBUG_HIGH_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);
23: AMS_DEBUG_LOW_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);
24: AMS_DEBUG_MEDIUM_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);
25:
26: PROCEDURE Create_Is_Line(

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

19:
20:
21: -- Hint: Primary key needs to be returned.
22: AMS_DEBUG_HIGH_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);
23: AMS_DEBUG_LOW_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);
24: AMS_DEBUG_MEDIUM_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);
25:
26: PROCEDURE Create_Is_Line(
27: p_api_version_number IN NUMBER,

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

20:
21: -- Hint: Primary key needs to be returned.
22: AMS_DEBUG_HIGH_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_HIGH);
23: AMS_DEBUG_LOW_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_LOW);
24: AMS_DEBUG_MEDIUM_ON boolean := FND_MSG_PUB.CHECK_MSG_LEVEL(FND_MSG_PUB.G_MSG_LVL_DEBUG_MEDIUM);
25:
26: PROCEDURE Create_Is_Line(
27: p_api_version_number IN NUMBER,
28: p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,

Line 74: FND_MSG_PUB.initialize;

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

Line 463: FND_MSG_PUB.Count_And_Get

459: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
460: END IF;
461:
462: -- Standard call to get message count and if count is 1, get message info.
463: FND_MSG_PUB.Count_And_Get
464: (p_count => x_msg_count,
465: p_data => x_msg_data
466: );
467: EXCEPTION

Line 477: FND_MSG_PUB.Count_And_Get (

473: WHEN FND_API.G_EXC_ERROR THEN
474: ROLLBACK TO CREATE_Is_Line_PVT;
475: x_return_status := FND_API.G_RET_STS_ERROR;
476: -- Standard call to get message count and if count=1, get the message
477: FND_MSG_PUB.Count_And_Get (
478: p_encoded => FND_API.G_FALSE,
479: p_count => x_msg_count,
480: p_data => x_msg_data
481: );

Line 487: FND_MSG_PUB.Count_And_Get (

483: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
484: ROLLBACK TO CREATE_Is_Line_PVT;
485: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
486: -- Standard call to get message count and if count=1, get the message
487: FND_MSG_PUB.Count_And_Get (
488: p_encoded => FND_API.G_FALSE,
489: p_count => x_msg_count,
490: p_data => x_msg_data
491: );

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

492:
493: WHEN OTHERS THEN
494: ROLLBACK TO CREATE_Is_Line_PVT;
495: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
496: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
497: THEN
498: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
499: END IF;
500: -- Standard call to get message count and if count=1, get the message

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

494: ROLLBACK TO CREATE_Is_Line_PVT;
495: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
496: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
497: THEN
498: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
499: END IF;
500: -- Standard call to get message count and if count=1, get the message
501: FND_MSG_PUB.Count_And_Get (
502: p_encoded => FND_API.G_FALSE,

Line 501: FND_MSG_PUB.Count_And_Get (

497: THEN
498: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
499: END IF;
500: -- Standard call to get message count and if count=1, get the message
501: FND_MSG_PUB.Count_And_Get (
502: p_encoded => FND_API.G_FALSE,
503: p_count => x_msg_count,
504: p_data => x_msg_data
505: );

Line 563: FND_MSG_PUB.initialize;

559:
560: -- Initialize message list if p_init_msg_list is set to TRUE.
561: IF FND_API.to_Boolean( p_init_msg_list )
562: THEN
563: FND_MSG_PUB.initialize;
564: END IF;
565:
566: -- Debug Message
567: IF (AMS_DEBUG_HIGH_ON) THEN

Line 1002: FND_MSG_PUB.Count_And_Get

998: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
999: END IF;
1000:
1001: -- Standard call to get message count and if count is 1, get message info.
1002: FND_MSG_PUB.Count_And_Get
1003: (p_count => x_msg_count,
1004: p_data => x_msg_data
1005: );
1006: EXCEPTION

Line 1016: FND_MSG_PUB.Count_And_Get (

1012: WHEN FND_API.G_EXC_ERROR THEN
1013: ROLLBACK TO UPDATE_Is_Line_PVT;
1014: x_return_status := FND_API.G_RET_STS_ERROR;
1015: -- Standard call to get message count and if count=1, get the message
1016: FND_MSG_PUB.Count_And_Get (
1017: p_encoded => FND_API.G_FALSE,
1018: p_count => x_msg_count,
1019: p_data => x_msg_data
1020: );

Line 1026: FND_MSG_PUB.Count_And_Get (

1022: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1023: ROLLBACK TO UPDATE_Is_Line_PVT;
1024: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1025: -- Standard call to get message count and if count=1, get the message
1026: FND_MSG_PUB.Count_And_Get (
1027: p_encoded => FND_API.G_FALSE,
1028: p_count => x_msg_count,
1029: p_data => x_msg_data
1030: );

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

1031:
1032: WHEN OTHERS THEN
1033: ROLLBACK TO UPDATE_Is_Line_PVT;
1034: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1035: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1036: THEN
1037: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1038: END IF;
1039: -- Standard call to get message count and if count=1, get the message

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

1033: ROLLBACK TO UPDATE_Is_Line_PVT;
1034: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1035: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1036: THEN
1037: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1038: END IF;
1039: -- Standard call to get message count and if count=1, get the message
1040: FND_MSG_PUB.Count_And_Get (
1041: p_encoded => FND_API.G_FALSE,

Line 1040: FND_MSG_PUB.Count_And_Get (

1036: THEN
1037: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1038: END IF;
1039: -- Standard call to get message count and if count=1, get the message
1040: FND_MSG_PUB.Count_And_Get (
1041: p_encoded => FND_API.G_FALSE,
1042: p_count => x_msg_count,
1043: p_data => x_msg_data
1044: );

Line 1081: FND_MSG_PUB.initialize;

1077:
1078: -- Initialize message list if p_init_msg_list is set to TRUE.
1079: IF FND_API.to_Boolean( p_init_msg_list )
1080: THEN
1081: FND_MSG_PUB.initialize;
1082: END IF;
1083:
1084: -- Debug Message
1085: IF (AMS_DEBUG_HIGH_ON) THEN

Line 1124: FND_MSG_PUB.Count_And_Get

1120: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
1121: END IF;
1122:
1123: -- Standard call to get message count and if count is 1, get message info.
1124: FND_MSG_PUB.Count_And_Get
1125: (p_count => x_msg_count,
1126: p_data => x_msg_data
1127: );
1128: EXCEPTION

Line 1138: FND_MSG_PUB.Count_And_Get (

1134: WHEN FND_API.G_EXC_ERROR THEN
1135: ROLLBACK TO DELETE_Is_Line_PVT;
1136: x_return_status := FND_API.G_RET_STS_ERROR;
1137: -- Standard call to get message count and if count=1, get the message
1138: FND_MSG_PUB.Count_And_Get (
1139: p_encoded => FND_API.G_FALSE,
1140: p_count => x_msg_count,
1141: p_data => x_msg_data
1142: );

Line 1148: FND_MSG_PUB.Count_And_Get (

1144: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1145: ROLLBACK TO DELETE_Is_Line_PVT;
1146: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1147: -- Standard call to get message count and if count=1, get the message
1148: FND_MSG_PUB.Count_And_Get (
1149: p_encoded => FND_API.G_FALSE,
1150: p_count => x_msg_count,
1151: p_data => x_msg_data
1152: );

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

1153:
1154: WHEN OTHERS THEN
1155: ROLLBACK TO DELETE_Is_Line_PVT;
1156: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1157: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1158: THEN
1159: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1160: END IF;
1161: -- Standard call to get message count and if count=1, get the message

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

1155: ROLLBACK TO DELETE_Is_Line_PVT;
1156: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1157: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1158: THEN
1159: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1160: END IF;
1161: -- Standard call to get message count and if count=1, get the message
1162: FND_MSG_PUB.Count_And_Get (
1163: p_encoded => FND_API.G_FALSE,

Line 1162: FND_MSG_PUB.Count_And_Get (

1158: THEN
1159: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1160: END IF;
1161: -- Standard call to get message count and if count=1, get the message
1162: FND_MSG_PUB.Count_And_Get (
1163: p_encoded => FND_API.G_FALSE,
1164: p_count => x_msg_count,
1165: p_data => x_msg_data
1166: );

Line 1208: FND_MSG_PUB.initialize;

1204:
1205: -- Initialize message list if p_init_msg_list is set to TRUE.
1206: IF FND_API.to_Boolean( p_init_msg_list )
1207: THEN
1208: FND_MSG_PUB.initialize;
1209: END IF;
1210:
1211: -- Standard call to check for call compatibility.
1212: IF NOT FND_API.Compatible_API_Call ( l_api_version_number,

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

1236: FETCH c_Is_Line INTO l_IMPORT_SOURCE_LINE_ID;
1237:
1238: IF (c_Is_Line%NOTFOUND) THEN
1239: CLOSE c_Is_Line;
1240: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1241: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
1242: FND_MSG_PUB.add;
1243: END IF;
1244: RAISE FND_API.g_exc_error;

Line 1242: FND_MSG_PUB.add;

1238: IF (c_Is_Line%NOTFOUND) THEN
1239: CLOSE c_Is_Line;
1240: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_error) THEN
1241: FND_MESSAGE.set_name('AMS', 'AMS_API_RECORD_NOT_FOUND');
1242: FND_MSG_PUB.add;
1243: END IF;
1244: RAISE FND_API.g_exc_error;
1245: END IF;
1246:

Line 1250: FND_MSG_PUB.count_and_get(

1246:
1247: CLOSE c_Is_Line;
1248:
1249: -------------------- finish --------------------------
1250: FND_MSG_PUB.count_and_get(
1251: p_encoded => FND_API.g_false,
1252: p_count => x_msg_count,
1253: p_data => x_msg_data);
1254: IF (AMS_DEBUG_HIGH_ON) THEN

Line 1268: FND_MSG_PUB.Count_And_Get (

1264: WHEN FND_API.G_EXC_ERROR THEN
1265: ROLLBACK TO LOCK_Is_Line_PVT;
1266: x_return_status := FND_API.G_RET_STS_ERROR;
1267: -- Standard call to get message count and if count=1, get the message
1268: FND_MSG_PUB.Count_And_Get (
1269: p_encoded => FND_API.G_FALSE,
1270: p_count => x_msg_count,
1271: p_data => x_msg_data
1272: );

Line 1278: FND_MSG_PUB.Count_And_Get (

1274: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
1275: ROLLBACK TO LOCK_Is_Line_PVT;
1276: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1277: -- Standard call to get message count and if count=1, get the message
1278: FND_MSG_PUB.Count_And_Get (
1279: p_encoded => FND_API.G_FALSE,
1280: p_count => x_msg_count,
1281: p_data => x_msg_data
1282: );

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

1283:
1284: WHEN OTHERS THEN
1285: ROLLBACK TO LOCK_Is_Line_PVT;
1286: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1287: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1288: THEN
1289: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1290: END IF;
1291: -- Standard call to get message count and if count=1, get the message

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

1285: ROLLBACK TO LOCK_Is_Line_PVT;
1286: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1287: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
1288: THEN
1289: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1290: END IF;
1291: -- Standard call to get message count and if count=1, get the message
1292: FND_MSG_PUB.Count_And_Get (
1293: p_encoded => FND_API.G_FALSE,

Line 1292: FND_MSG_PUB.Count_And_Get (

1288: THEN
1289: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
1290: END IF;
1291: -- Standard call to get message count and if count=1, get the message
1292: FND_MSG_PUB.Count_And_Get (
1293: p_encoded => FND_API.G_FALSE,
1294: p_count => x_msg_count,
1295: p_data => x_msg_data
1296: );

Line 3029: FND_MSG_PUB.initialize;

3025:
3026: -- Initialize message list if p_init_msg_list is set to TRUE.
3027: IF FND_API.to_Boolean( p_init_msg_list )
3028: THEN
3029: FND_MSG_PUB.initialize;
3030: END IF;
3031: IF p_validation_level >= JTF_PLSQL_API.g_valid_level_item THEN
3032: Check_is_line_Items(
3033: p_is_line_rec => p_is_line_rec,

Line 3085: FND_MSG_PUB.Count_And_Get

3081: AMS_UTILITY_PVT.debug_message('Private API: ' || l_api_name || 'end');
3082: END IF;
3083:
3084: -- Standard call to get message count and if count is 1, get message info.
3085: FND_MSG_PUB.Count_And_Get
3086: (p_count => x_msg_count,
3087: p_data => x_msg_data
3088: );
3089: EXCEPTION

Line 3099: FND_MSG_PUB.Count_And_Get (

3095: WHEN FND_API.G_EXC_ERROR THEN
3096: ROLLBACK TO VALIDATE_Is_Line_;
3097: x_return_status := FND_API.G_RET_STS_ERROR;
3098: -- Standard call to get message count and if count=1, get the message
3099: FND_MSG_PUB.Count_And_Get (
3100: p_encoded => FND_API.G_FALSE,
3101: p_count => x_msg_count,
3102: p_data => x_msg_data
3103: );

Line 3109: FND_MSG_PUB.Count_And_Get (

3105: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
3106: ROLLBACK TO VALIDATE_Is_Line_;
3107: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3108: -- Standard call to get message count and if count=1, get the message
3109: FND_MSG_PUB.Count_And_Get (
3110: p_encoded => FND_API.G_FALSE,
3111: p_count => x_msg_count,
3112: p_data => x_msg_data
3113: );

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

3114:
3115: WHEN OTHERS THEN
3116: ROLLBACK TO VALIDATE_Is_Line_;
3117: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3118: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3119: THEN
3120: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
3121: END IF;
3122: -- Standard call to get message count and if count=1, get the message

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

3116: ROLLBACK TO VALIDATE_Is_Line_;
3117: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3118: IF FND_MSG_PUB.Check_Msg_Level ( FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3119: THEN
3120: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
3121: END IF;
3122: -- Standard call to get message count and if count=1, get the message
3123: FND_MSG_PUB.Count_And_Get (
3124: p_encoded => FND_API.G_FALSE,

Line 3123: FND_MSG_PUB.Count_And_Get (

3119: THEN
3120: FND_MSG_PUB.Add_Exc_Msg( G_PKG_NAME,l_api_name);
3121: END IF;
3122: -- Standard call to get message count and if count=1, get the message
3123: FND_MSG_PUB.Count_And_Get (
3124: p_encoded => FND_API.G_FALSE,
3125: p_count => x_msg_count,
3126: p_data => x_msg_data
3127: );

Line 3144: FND_MSG_PUB.initialize;

3140: BEGIN
3141: -- Initialize message list if p_init_msg_list is set to TRUE.
3142: IF FND_API.to_Boolean( p_init_msg_list )
3143: THEN
3144: FND_MSG_PUB.initialize;
3145: END IF;
3146:
3147: -- Initialize API return status to SUCCESS
3148: x_return_status := FND_API.G_RET_STS_SUCCESS;

Line 3161: FND_MSG_PUB.Count_And_Get

3157:
3158: AMS_UTILITY_PVT.debug_message('Private API: Validate_dm_model_rec');
3159: END IF;
3160: -- Standard call to get message count and if count is 1, get message info.
3161: FND_MSG_PUB.Count_And_Get
3162: (p_count => x_msg_count,
3163: p_data => x_msg_data
3164: );
3165: END Validate_is_line_Rec;