DBA Data[Home] [Help]

APPS.AHL_UMP_BOM_PVT dependencies on FND_MSG_PUB

Line 199: l_msg_count := Fnd_Msg_Pub.count_msg;

195: THEN
196: G_DEBUG_LINE_NUM := l_debug_module||': '||3020;
197: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' ****************************** Unexpected Error ******************************');
198: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' AHL_NR_PROFILE_PVT.populate_prof_mat_req Threw Unexpected Error');
199: l_msg_count := Fnd_Msg_Pub.count_msg;
200: IF (l_msg_count > 0) THEN
201: FOR i IN 1..l_msg_count
202: LOOP
203: fnd_msg_pub.get( p_msg_index => i,

Line 203: fnd_msg_pub.get( p_msg_index => i,

199: l_msg_count := Fnd_Msg_Pub.count_msg;
200: IF (l_msg_count > 0) THEN
201: FOR i IN 1..l_msg_count
202: LOOP
203: fnd_msg_pub.get( p_msg_index => i,
204: p_encoded => FND_API.G_FALSE,
205: p_data => l_err_msg,
206: p_msg_index_out => l_msg_index_out);
207:

Line 218: l_msg_count := Fnd_Msg_Pub.count_msg;

214: THEN
215: G_DEBUG_LINE_NUM := l_debug_module||': '||3030;
216: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' ******************************* Error ******************************');
217: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' AHL_NR_PROFILE_PVT.populate_prof_mat_req Threw Error');
218: l_msg_count := Fnd_Msg_Pub.count_msg;
219: IF (l_msg_count > 0) THEN
220: FOR i IN 1..l_msg_count
221: LOOP
222: fnd_msg_pub.get( p_msg_index => i,

Line 222: fnd_msg_pub.get( p_msg_index => i,

218: l_msg_count := Fnd_Msg_Pub.count_msg;
219: IF (l_msg_count > 0) THEN
220: FOR i IN 1..l_msg_count
221: LOOP
222: fnd_msg_pub.get( p_msg_index => i,
223: p_encoded => FND_API.G_FALSE,
224: p_data => l_err_msg,
225: p_msg_index_out => l_msg_index_out);
226:

Line 354: l_msg_count := Fnd_Msg_Pub.count_msg;

350: G_DEBUG_LINE_NUM := l_debug_module||': '||3185;
351: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' ******************************* Unexpected Error ******************************');
352: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||'AHL_NR_PROFILE_PVT.populate_prof_res_req Threw Unexpected Error');
353: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' message data = '||l_msg_data);
354: l_msg_count := Fnd_Msg_Pub.count_msg;
355: IF (l_msg_count > 0) THEN
356: FOR i IN 1..l_msg_count
357: LOOP
358: fnd_msg_pub.get( p_msg_index => i,

Line 358: fnd_msg_pub.get( p_msg_index => i,

354: l_msg_count := Fnd_Msg_Pub.count_msg;
355: IF (l_msg_count > 0) THEN
356: FOR i IN 1..l_msg_count
357: LOOP
358: fnd_msg_pub.get( p_msg_index => i,
359: p_encoded => FND_API.G_FALSE,
360: p_data => l_err_msg,
361: p_msg_index_out => l_msg_index_out);
362:

Line 374: l_msg_count := Fnd_Msg_Pub.count_msg;

370: G_DEBUG_LINE_NUM := l_debug_module||': '||3187;
371: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' ******************************* Error ******************************');
372: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||'AHL_NR_PROFILE_PVT.populate_prof_res_req Threw Error');
373: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' message data = '||l_msg_data);
374: l_msg_count := Fnd_Msg_Pub.count_msg;
375: IF (l_msg_count > 0) THEN
376: FOR i IN 1..l_msg_count
377: LOOP
378: fnd_msg_pub.get( p_msg_index => i,

Line 378: fnd_msg_pub.get( p_msg_index => i,

374: l_msg_count := Fnd_Msg_Pub.count_msg;
375: IF (l_msg_count > 0) THEN
376: FOR i IN 1..l_msg_count
377: LOOP
378: fnd_msg_pub.get( p_msg_index => i,
379: p_encoded => FND_API.G_FALSE,
380: p_data => l_err_msg,
381: p_msg_index_out => l_msg_index_out);
382:

Line 592: l_msg_count := Fnd_Msg_Pub.count_msg;

588: THEN
589:
590: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' ****************************** AHL_LTP_MTL_REQ_PVT.Get_Route_Mtl_Req Threw error ****************************** ');
591: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' message data = '||l_msg_data);
592: l_msg_count := Fnd_Msg_Pub.count_msg;
593: IF (l_msg_count > 0) THEN
594:
595: FOR i IN 1..l_msg_count
596: LOOP

Line 597: fnd_msg_pub.get( p_msg_index => i,

593: IF (l_msg_count > 0) THEN
594:
595: FOR i IN 1..l_msg_count
596: LOOP
597: fnd_msg_pub.get( p_msg_index => i,
598: p_encoded => FND_API.G_FALSE,
599: p_data => l_err_msg,
600: p_msg_index_out => l_msg_index_out);
601:

Line 2314: l_msg_count := Fnd_Msg_Pub.count_msg;

2310: EXCEPTION
2311: WHEN FND_API.G_EXC_ERROR THEN
2312: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM|| ' Caught FND_API.G_EXC_ERROR');
2313: g_ret_status := 1;
2314: l_msg_count := Fnd_Msg_Pub.count_msg;
2315: IF (l_msg_count > 0) THEN
2316: FOR i IN 1..l_msg_count
2317: LOOP
2318: fnd_msg_pub.get( p_msg_index => i,

Line 2318: fnd_msg_pub.get( p_msg_index => i,

2314: l_msg_count := Fnd_Msg_Pub.count_msg;
2315: IF (l_msg_count > 0) THEN
2316: FOR i IN 1..l_msg_count
2317: LOOP
2318: fnd_msg_pub.get( p_msg_index => i,
2319: p_encoded => FND_API.G_FALSE,
2320: p_data => l_err_msg,
2321: p_msg_index_out => l_msg_index_out);
2322:

Line 2330: l_msg_count := Fnd_Msg_Pub.count_msg;

2326:
2327: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
2328: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM|| ' Caught G_EXC_UNEXPECTED_ERROR');
2329: g_ret_status := 1;
2330: l_msg_count := Fnd_Msg_Pub.count_msg;
2331: IF (l_msg_count > 0) THEN
2332: FOR i IN 1..l_msg_count
2333: LOOP
2334: fnd_msg_pub.get( p_msg_index => i,

Line 2334: fnd_msg_pub.get( p_msg_index => i,

2330: l_msg_count := Fnd_Msg_Pub.count_msg;
2331: IF (l_msg_count > 0) THEN
2332: FOR i IN 1..l_msg_count
2333: LOOP
2334: fnd_msg_pub.get( p_msg_index => i,
2335: p_encoded => FND_API.G_FALSE,
2336: p_data => l_err_msg,
2337: p_msg_index_out => l_msg_index_out);
2338:

Line 2346: l_msg_count := Fnd_Msg_Pub.count_msg;

2342: WHEN OTHERS THEN
2343: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM|| ' Caught OTHERS');
2344: ROLLBACK TO Process_Ue;
2345: g_ret_status := 2;
2346: l_msg_count := Fnd_Msg_Pub.count_msg;
2347: IF (l_msg_count > 0) THEN
2348: FOR i IN 1..l_msg_count
2349: LOOP
2350: fnd_msg_pub.get( p_msg_index => i,

Line 2350: fnd_msg_pub.get( p_msg_index => i,

2346: l_msg_count := Fnd_Msg_Pub.count_msg;
2347: IF (l_msg_count > 0) THEN
2348: FOR i IN 1..l_msg_count
2349: LOOP
2350: fnd_msg_pub.get( p_msg_index => i,
2351: p_encoded => FND_API.G_FALSE,
2352: p_data => l_err_msg,
2353: p_msg_index_out => l_msg_index_out);
2354:

Line 2648: FND_MSG_PUB.Initialize;

2644: retcode := 0;
2645: g_ret_status := 0;
2646:
2647: -- Initialize message list
2648: FND_MSG_PUB.Initialize;
2649:
2650: -- Validation
2651: IF (UPPER(p_all_flag) = 'Y' AND p_sim_plan_name IS NOT NULL)
2652: THEN

Line 2656: FND_MSG_PUB.ADD;

2652: THEN
2653: retcode := 2;
2654: errbuf := 'All plan flag can not be Y when Plan Name is passed. Please pass only one criteria.';
2655: FND_MESSAGE.Set_Name('AHL','AHL_SIM_MULTIPLE_PARAMS');
2656: FND_MSG_PUB.ADD;
2657: return;
2658: END IF;
2659:
2660: IF (UPPER(p_all_flag) = 'Y')

Line 2678: FND_MSG_PUB.ADD;

2674: THEN
2675: retcode := 2;
2676: errbuf := 'Primary Plan not present';
2677: FND_MESSAGE.Set_Name('AHL','AHL_SIM_PRIMARY_PLAN_ABSENT');
2678: FND_MSG_PUB.ADD;
2679: return;
2680: END;
2681:
2682: G_DEBUG_LINE_NUM := l_debug_module||': '||10;

Line 3322: errbuf := 'Plan Name passed is null.';-- Deb: use fnd_msg_pub

3318:
3319: -- Log
3320: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' Plan Name passed is null. Returning...');
3321: retcode := 2;
3322: errbuf := 'Plan Name passed is null.';-- Deb: use fnd_msg_pub
3323: FND_MESSAGE.Set_Name('AHL','AHL_SIM_NO_PLAN_NAME');
3324: FND_MSG_PUB.ADD;
3325: RETURN;
3326:

Line 3324: FND_MSG_PUB.ADD;

3320: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' Plan Name passed is null. Returning...');
3321: retcode := 2;
3322: errbuf := 'Plan Name passed is null.';-- Deb: use fnd_msg_pub
3323: FND_MESSAGE.Set_Name('AHL','AHL_SIM_NO_PLAN_NAME');
3324: FND_MSG_PUB.ADD;
3325: RETURN;
3326:
3327: END IF;
3328: G_DEBUG_LINE_NUM := l_debug_module||': '||450;

Line 3345: FND_MSG_PUB.ADD;

3341: -- Log
3342: G_DEBUG_LINE_NUM := l_debug_module||': '||460;
3343: FND_FILE.put_line(FND_FILE.log, G_DEBUG_LINE_NUM||' Plan Name passed is invalid. Returning...');
3344: FND_MESSAGE.Set_Name('AHL','AHL_SIM_INVALID_PLAN_NAME');
3345: FND_MSG_PUB.ADD;
3346: retcode := 2;
3347: errbuf := 'Plan Name passed is not found.';
3348: RETURN;
3349: END;