DBA Data[Home] [Help]

APPS.PV_BATCH_ASSIGN_PUB dependencies on FND_MESSAGE

Line 381: ERRBUF := fnd_message.get;

377: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
378: p_msg_name => 'PV_ALL_OPPTY_FAILED');
379:
380: RETCODE := 1;
381: ERRBUF := fnd_message.get;
382:
383: ELSIF ((l_opp_count <> l_lead_id_tbl.count) AND (l_opp_count <> 0)) THEN
384: Debug('Concurrent Program ran for '||l_lead_id_tbl.count||
385: 'opportunities, of which '||l_opp_count||

Line 389: ERRBUF := fnd_message.get;

385: 'opportunities, of which '||l_opp_count||
386: ' opportunities failed. Check the Log');
387:
388: RETCODE := 1;
389: ERRBUF := fnd_message.get;
390:
391: ELSIF (l_opp_count = 0) THEN
392: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
393: p_msg_name => 'PV_ALL_OPPTY_SUCCESS');

Line 396: ERRBUF := fnd_message.get;

392: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
393: p_msg_name => 'PV_ALL_OPPTY_SUCCESS');
394:
395: RETCODE := 0;
396: ERRBUF := fnd_message.get;
397:
398: ELSIF (l_opp_count IS null) THEN
399: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
400: p_msg_name => 'PV_NO_OPPTY_FOUND');

Line 404: ERRBUF := fnd_message.get;

400: p_msg_name => 'PV_NO_OPPTY_FOUND');
401:
402:
403: RETCODE := 0;
404: ERRBUF := fnd_message.get;
405: END IF;
406:
407: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
408: p_msg_name => 'PV_CREATE_BATCH_END_TIME',

Line 419: ERRBUF := fnd_message.get;

415: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
416: p_msg_name => 'PV_NO_RESOURCE_FOUND');
417:
418: RETCODE := 2;
419: ERRBUF := fnd_message.get;
420:
421: WHEN l_user_not_emp_exec THEN
422: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
423: p_msg_name => 'PV_USER_NOT_A_EMPLOYEE');

Line 426: ERRBUF := fnd_message.get;

422: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
423: p_msg_name => 'PV_USER_NOT_A_EMPLOYEE');
424:
425: RETCODE := 2;
426: ERRBUF := fnd_message.get;
427:
428: WHEN l_no_user_exec THEN
429: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
430: p_msg_name => 'PV_NO_BATCH_USER',

Line 436: ERRBUF := fnd_message.get;

432: p_token1_value => 'No Assignment Manager specified, Cannot run the ' ||
433: 'Assignment process');
434:
435: RETCODE := 2;
436: ERRBUF := fnd_message.get;
437:
438: WHEN l_null_timeout_exec THEN
439: Debug('Timeout value is not set. Set the timeout value and run the process');
440:

Line 442: ERRBUF := fnd_message.get;

438: WHEN l_null_timeout_exec THEN
439: Debug('Timeout value is not set. Set the timeout value and run the process');
440:
441: RETCODE := 2;
442: ERRBUF := fnd_message.get;
443:
444: WHEN OTHERS THEN
445: Set_Message(p_msg_level => FND_MSG_PUB.G_MSG_LVL_ERROR,
446: p_msg_name => 'PV_UNKNOWN_ERROR',

Line 451: ERRBUF := fnd_message.get;

447: p_token1 => 'TEXT',
448: p_token1_value => 'Database Error:'||sqlcode||' '||sqlerrm);
449:
450: RETCODE := 1;
451: ERRBUF := fnd_message.get;
452: END PROCESS_UNASSIGNED;
453:
454:
455: --=============================================================================+

Line 476: FND_MESSAGE.Set_Name('PV', p_msg_type);

472: p_msg_type IN VARCHAR2 := 'PV_DEBUG_MESSAGE'
473: )
474: IS
475: BEGIN
476: FND_MESSAGE.Set_Name('PV', p_msg_type);
477: FND_MESSAGE.Set_Token('TEXT', p_msg_string);
478:
479: IF (g_log_to_file = 'N') THEN
480: FND_MSG_PUB.Add;

Line 477: FND_MESSAGE.Set_Token('TEXT', p_msg_string);

473: )
474: IS
475: BEGIN
476: FND_MESSAGE.Set_Name('PV', p_msg_type);
477: FND_MESSAGE.Set_Token('TEXT', p_msg_string);
478:
479: IF (g_log_to_file = 'N') THEN
480: FND_MSG_PUB.Add;
481:

Line 483: FND_FILE.PUT_LINE( FND_FILE.LOG, fnd_message.get );

479: IF (g_log_to_file = 'N') THEN
480: FND_MSG_PUB.Add;
481:
482: ELSIF (g_log_to_file = 'Y') THEN
483: FND_FILE.PUT_LINE( FND_FILE.LOG, fnd_message.get );
484: END IF;
485: END Debug;
486: -- =================================End of Debug================================
487:

Line 518: FND_MESSAGE.Set_Name('PV', p_msg_name);

514: )
515: IS
516: BEGIN
517: IF FND_MSG_PUB.Check_Msg_Level(p_msg_level) THEN
518: FND_MESSAGE.Set_Name('PV', p_msg_name);
519: FND_MESSAGE.Set_Token(p_token1, p_token1_value);
520:
521: IF (p_token1 IS NOT NULL) THEN
522: FND_MESSAGE.Set_Token(p_token1, p_token1_value);

Line 519: FND_MESSAGE.Set_Token(p_token1, p_token1_value);

515: IS
516: BEGIN
517: IF FND_MSG_PUB.Check_Msg_Level(p_msg_level) THEN
518: FND_MESSAGE.Set_Name('PV', p_msg_name);
519: FND_MESSAGE.Set_Token(p_token1, p_token1_value);
520:
521: IF (p_token1 IS NOT NULL) THEN
522: FND_MESSAGE.Set_Token(p_token1, p_token1_value);
523: END IF;

Line 522: FND_MESSAGE.Set_Token(p_token1, p_token1_value);

518: FND_MESSAGE.Set_Name('PV', p_msg_name);
519: FND_MESSAGE.Set_Token(p_token1, p_token1_value);
520:
521: IF (p_token1 IS NOT NULL) THEN
522: FND_MESSAGE.Set_Token(p_token1, p_token1_value);
523: END IF;
524:
525: IF (p_token2 IS NOT NULL) THEN
526: FND_MESSAGE.Set_Token(p_token2, p_token2_value);

Line 526: FND_MESSAGE.Set_Token(p_token2, p_token2_value);

522: FND_MESSAGE.Set_Token(p_token1, p_token1_value);
523: END IF;
524:
525: IF (p_token2 IS NOT NULL) THEN
526: FND_MESSAGE.Set_Token(p_token2, p_token2_value);
527: END IF;
528:
529: IF (p_token3 IS NOT NULL) THEN
530: FND_MESSAGE.Set_Token(p_token3, p_token3_value);

Line 530: FND_MESSAGE.Set_Token(p_token3, p_token3_value);

526: FND_MESSAGE.Set_Token(p_token2, p_token2_value);
527: END IF;
528:
529: IF (p_token3 IS NOT NULL) THEN
530: FND_MESSAGE.Set_Token(p_token3, p_token3_value);
531: END IF;
532:
533: IF (g_log_to_file = 'N') THEN
534: FND_MSG_PUB.Add;

Line 537: FND_FILE.PUT_LINE( FND_FILE.LOG, fnd_message.get );

533: IF (g_log_to_file = 'N') THEN
534: FND_MSG_PUB.Add;
535:
536: ELSIF (g_log_to_file = 'Y') THEN
537: FND_FILE.PUT_LINE( FND_FILE.LOG, fnd_message.get );
538: END IF;
539: END IF;
540: END Set_Message;
541: -- ==============================End of Set_Message==============================