DBA Data[Home] [Help]

APPS.AST_UWQ_LLIST_WORK_ACTION dependencies on FND_MESSAGE

Line 83: fnd_message.set_name('AST','AST_UWQ_LAUNCH_OPP_CENTER');

79: l_uwq_actions_list(2).dialog_style := 3;
80: END IF;
81: IF p_action_key = 'LEAD_CONVERT_LEAD_TO_OPP' THEN
82: IF p_lead_id IS NOT NULL THEN
83: fnd_message.set_name('AST','AST_UWQ_LAUNCH_OPP_CENTER');
84: l_launch_opp_lead := fnd_message.get;
85: l_uwq_actions_list(2).message := l_launch_opp_lead;
86: ELSIF p_sales_lead_id IS NOT NULL THEN
87: --From now on, Lead Linking screen will be launched without asking for user's consent.

Line 84: l_launch_opp_lead := fnd_message.get;

80: END IF;
81: IF p_action_key = 'LEAD_CONVERT_LEAD_TO_OPP' THEN
82: IF p_lead_id IS NOT NULL THEN
83: fnd_message.set_name('AST','AST_UWQ_LAUNCH_OPP_CENTER');
84: l_launch_opp_lead := fnd_message.get;
85: l_uwq_actions_list(2).message := l_launch_opp_lead;
86: ELSIF p_sales_lead_id IS NOT NULL THEN
87: --From now on, Lead Linking screen will be launched without asking for user's consent.
88: --Bug 2774004 .

Line 90: -- fnd_message.set_name('AST','AST_UWQ_LAUNCH_LEAD_LINK');

86: ELSIF p_sales_lead_id IS NOT NULL THEN
87: --From now on, Lead Linking screen will be launched without asking for user's consent.
88: --Bug 2774004 .
89:
90: -- fnd_message.set_name('AST','AST_UWQ_LAUNCH_LEAD_LINK');
91: -- l_launch_opp_lead := fnd_message.get;
92: -- l_uwq_actions_list(2).message := l_launch_opp_lead;
93: l_uwq_actions_list(2).dialog_style := 1;
94: END IF;

Line 91: -- l_launch_opp_lead := fnd_message.get;

87: --From now on, Lead Linking screen will be launched without asking for user's consent.
88: --Bug 2774004 .
89:
90: -- fnd_message.set_name('AST','AST_UWQ_LAUNCH_LEAD_LINK');
91: -- l_launch_opp_lead := fnd_message.get;
92: -- l_uwq_actions_list(2).message := l_launch_opp_lead;
93: l_uwq_actions_list(2).dialog_style := 1;
94: END IF;
95: END IF;

Line 284: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');

280: EXCEPTION
281: WHEN VALUE_ERROR THEN
282: l_return_status := 'E';
283: x_return_status := l_return_status;
284: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');
285: FND_MSG_PUB.ADD;
286: RAISE FND_API.G_EXC_ERROR;
287: END;
288: END IF;

Line 299: FND_MESSAGE.Set_Name('AST', 'AST_OPP_TASK_DATE');

295: END IF;
296:
297: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
298: x_return_status := l_return_status;
299: FND_MESSAGE.Set_Name('AST', 'AST_OPP_TASK_DATE');
300: --FND_MESSAGE.Set_Token('TEXT', l_err_mesg, FALSE);
301: FND_MSG_PUB.ADD;
302: RAISE FND_API.G_EXC_ERROR;
303: END IF;

Line 300: --FND_MESSAGE.Set_Token('TEXT', l_err_mesg, FALSE);

296:
297: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
298: x_return_status := l_return_status;
299: FND_MESSAGE.Set_Name('AST', 'AST_OPP_TASK_DATE');
300: --FND_MESSAGE.Set_Token('TEXT', l_err_mesg, FALSE);
301: FND_MSG_PUB.ADD;
302: RAISE FND_API.G_EXC_ERROR;
303: END IF;
304: Log_Mesg('End parameter validation');

Line 382: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

378: x_return_status := l_return_status;
379: x_msg_count := l_msg_count;
380: x_msg_data := l_msg_data;
381: --x_task_id := l_task_id;
382: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
383: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Task: ', FALSE);
384: -- FND_MSG_PUB.ADD;
385: RAISE FND_API.G_EXC_ERROR;
386: ELSE

Line 383: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Task: ', FALSE);

379: x_msg_count := l_msg_count;
380: x_msg_data := l_msg_data;
381: --x_task_id := l_task_id;
382: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
383: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Task: ', FALSE);
384: -- FND_MSG_PUB.ADD;
385: RAISE FND_API.G_EXC_ERROR;
386: ELSE
387: x_return_status := l_return_status;

Line 391: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

387: x_return_status := l_return_status;
388: x_msg_count := l_msg_count;
389: x_msg_data := l_msg_data;
390: --x_task_id := l_task_id;
391: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
392: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Task: '||TO_CHAR(l_task_id), FALSE);
393: -- FND_MSG_PUB.ADD;
394: END IF;
395:

Line 392: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Task: '||TO_CHAR(l_task_id), FALSE);

388: x_msg_count := l_msg_count;
389: x_msg_data := l_msg_data;
390: --x_task_id := l_task_id;
391: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
392: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Task: '||TO_CHAR(l_task_id), FALSE);
393: -- FND_MSG_PUB.ADD;
394: END IF;
395:
396: Log_Mesg('Task Id: '||l_task_id);

Line 427: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

423: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
424: x_return_status := l_return_status;
425: x_msg_count := l_msg_count;
426: x_msg_data := l_msg_data;
427: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
428: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
429: -- FND_MSG_PUB.ADD;
430: RAISE FND_API.G_EXC_ERROR;
431: ELSE

Line 428: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);

424: x_return_status := l_return_status;
425: x_msg_count := l_msg_count;
426: x_msg_data := l_msg_data;
427: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
428: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
429: -- FND_MSG_PUB.ADD;
430: RAISE FND_API.G_EXC_ERROR;
431: ELSE
432: x_return_status := l_return_status;

Line 435: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

431: ELSE
432: x_return_status := l_return_status;
433: x_msg_count := l_msg_count;
434: x_msg_data := l_msg_data;
435: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
436: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
437: -- FND_MSG_PUB.ADD;
438: END IF;
439: ELSE

Line 436: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);

432: x_return_status := l_return_status;
433: x_msg_count := l_msg_count;
434: x_msg_data := l_msg_data;
435: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
436: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
437: -- FND_MSG_PUB.ADD;
438: END IF;
439: ELSE
440: Log_Mesg('User did not enter any note to create.');

Line 568: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');

564: EXCEPTION
565: WHEN VALUE_ERROR THEN
566: l_return_status := 'E';
567: x_return_status := l_return_status;
568: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');
569: FND_MSG_PUB.ADD;
570: RAISE FND_API.G_EXC_ERROR;
571: END;
572: ELSIF l_name = 'PERSON_ID' THEN

Line 637: FND_MESSAGE.Set_Name('AST', 'AST_LEAD_STATUS_REQUIRED');

633: IF l_data_set_id <= 1 AND
634: i = p_work_action_data.COUNT THEN
635: IF l_p_status_code IS NULL THEN
636: x_return_status := FND_API.G_RET_STS_ERROR;
637: FND_MESSAGE.Set_Name('AST', 'AST_LEAD_STATUS_REQUIRED');
638: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);
639: FND_MSG_PUB.ADD;
640: RAISE FND_API.G_EXC_ERROR;
641: END IF;

Line 638: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);

634: i = p_work_action_data.COUNT THEN
635: IF l_p_status_code IS NULL THEN
636: x_return_status := FND_API.G_RET_STS_ERROR;
637: FND_MESSAGE.Set_Name('AST', 'AST_LEAD_STATUS_REQUIRED');
638: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);
639: FND_MSG_PUB.ADD;
640: RAISE FND_API.G_EXC_ERROR;
641: END IF;
642: END IF;

Line 700: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

696: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
697: x_return_status := l_return_status;
698: x_msg_count := l_msg_count;
699: x_msg_data := l_msg_data;
700: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
701: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);
702: -- FND_MSG_PUB.ADD;
703: RAISE FND_API.G_EXC_ERROR;
704: ELSE

Line 701: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);

697: x_return_status := l_return_status;
698: x_msg_count := l_msg_count;
699: x_msg_data := l_msg_data;
700: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
701: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);
702: -- FND_MSG_PUB.ADD;
703: RAISE FND_API.G_EXC_ERROR;
704: ELSE
705: x_return_status := l_return_status;

Line 708: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

704: ELSE
705: x_return_status := l_return_status;
706: x_msg_count := l_msg_count;
707: x_msg_data := l_msg_data;
708: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
709: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Updated Lead: '||TO_CHAR(l_sales_lead_id), FALSE);
710: -- FND_MSG_PUB.ADD;
711: END IF;
712:

Line 709: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Updated Lead: '||TO_CHAR(l_sales_lead_id), FALSE);

705: x_return_status := l_return_status;
706: x_msg_count := l_msg_count;
707: x_msg_data := l_msg_data;
708: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
709: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Updated Lead: '||TO_CHAR(l_sales_lead_id), FALSE);
710: -- FND_MSG_PUB.ADD;
711: END IF;
712:
713: IF l_notes IS NOT NULL THEN

Line 742: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

738: Log_Mesg('Note Creation Failed.');
739: x_return_status := l_return_status;
740: x_msg_count := l_msg_count;
741: x_msg_data := l_msg_data;
742: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
743: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
744: -- FND_MSG_PUB.ADD;
745: RAISE FND_API.G_EXC_ERROR;
746: ELSE

Line 743: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);

739: x_return_status := l_return_status;
740: x_msg_count := l_msg_count;
741: x_msg_data := l_msg_data;
742: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
743: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
744: -- FND_MSG_PUB.ADD;
745: RAISE FND_API.G_EXC_ERROR;
746: ELSE
747: x_return_status := l_return_status;

Line 750: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

746: ELSE
747: x_return_status := l_return_status;
748: x_msg_count := l_msg_count;
749: x_msg_data := l_msg_data;
750: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
751: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
752: -- FND_MSG_PUB.ADD;
753: END IF;
754: ELSE

Line 751: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);

747: x_return_status := l_return_status;
748: x_msg_count := l_msg_count;
749: x_msg_data := l_msg_data;
750: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
751: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
752: -- FND_MSG_PUB.ADD;
753: END IF;
754: ELSE
755: Log_Mesg('User did not enter any note to create.');

Line 843: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');

839: EXCEPTION
840: WHEN VALUE_ERROR THEN
841: l_return_status := 'E';
842: x_return_status := l_return_status;
843: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');
844: FND_MSG_PUB.ADD;
845: RAISE FND_API.G_EXC_ERROR;
846: END;
847: ELSIF l_name = 'ADMIN_GROUP_ID' THEN

Line 940: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

936: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
937: x_return_status := l_return_status;
938: x_msg_count := l_msg_count;
939: x_msg_data := l_msg_data;
940: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
941: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Reassign Lead: ', FALSE);
942: -- FND_MSG_PUB.ADD;
943: RAISE FND_API.G_EXC_ERROR;
944: ELSE

Line 941: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Reassign Lead: ', FALSE);

937: x_return_status := l_return_status;
938: x_msg_count := l_msg_count;
939: x_msg_data := l_msg_data;
940: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
941: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Reassign Lead: ', FALSE);
942: -- FND_MSG_PUB.ADD;
943: RAISE FND_API.G_EXC_ERROR;
944: ELSE
945: x_return_status := l_return_status;

Line 948: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

944: ELSE
945: x_return_status := l_return_status;
946: x_msg_count := l_msg_count;
947: x_msg_data := l_msg_data;
948: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
949: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Reassigned Lead: ', FALSE);
950: -- FND_MSG_PUB.ADD;
951: END IF;
952:

Line 949: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Reassigned Lead: ', FALSE);

945: x_return_status := l_return_status;
946: x_msg_count := l_msg_count;
947: x_msg_data := l_msg_data;
948: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
949: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Reassigned Lead: ', FALSE);
950: -- FND_MSG_PUB.ADD;
951: END IF;
952:
953: IF l_notes IS NOT NULL THEN

Line 982: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

978: Log_Mesg('Note Creation Failed.');
979: x_return_status := l_return_status;
980: x_msg_count := l_msg_count;
981: x_msg_data := l_msg_data;
982: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
983: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
984: -- FND_MSG_PUB.ADD;
985: RAISE FND_API.G_EXC_ERROR;
986: ELSE

Line 983: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);

979: x_return_status := l_return_status;
980: x_msg_count := l_msg_count;
981: x_msg_data := l_msg_data;
982: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
983: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
984: -- FND_MSG_PUB.ADD;
985: RAISE FND_API.G_EXC_ERROR;
986: ELSE
987: x_return_status := l_return_status;

Line 990: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

986: ELSE
987: x_return_status := l_return_status;
988: x_msg_count := l_msg_count;
989: x_msg_data := l_msg_data;
990: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
991: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
992: -- FND_MSG_PUB.ADD;
993: END IF;
994: ELSE

Line 991: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);

987: x_return_status := l_return_status;
988: x_msg_count := l_msg_count;
989: x_msg_data := l_msg_data;
990: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
991: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
992: -- FND_MSG_PUB.ADD;
993: END IF;
994: ELSE
995: Log_Mesg('User did not enter any note to create.');

Line 1132: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');

1128: EXCEPTION
1129: WHEN VALUE_ERROR THEN
1130: l_return_status := 'E';
1131: x_return_status := l_return_status;
1132: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');
1133: FND_MSG_PUB.ADD;
1134: RAISE FND_API.G_EXC_ERROR;
1135: END;
1136: ELSIF l_name = 'PERSON_ID' THEN

Line 1202: FND_MESSAGE.Set_Name('AST', 'AST_LEAD_STATUS_REQUIRED');

1198: IF l_data_set_id <= 1 AND
1199: i = p_work_action_data.COUNT THEN
1200: IF l_p_status_code IS NULL THEN
1201: x_return_status := FND_API.G_RET_STS_ERROR;
1202: FND_MESSAGE.Set_Name('AST', 'AST_LEAD_STATUS_REQUIRED');
1203: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);
1204: FND_MSG_PUB.ADD;
1205: RAISE FND_API.G_EXC_ERROR;
1206: END IF;

Line 1203: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);

1199: i = p_work_action_data.COUNT THEN
1200: IF l_p_status_code IS NULL THEN
1201: x_return_status := FND_API.G_RET_STS_ERROR;
1202: FND_MESSAGE.Set_Name('AST', 'AST_LEAD_STATUS_REQUIRED');
1203: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);
1204: FND_MSG_PUB.ADD;
1205: RAISE FND_API.G_EXC_ERROR;
1206: END IF;
1207: END IF;

Line 1264: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

1260: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1261: x_return_status := l_return_status;
1262: x_msg_count := l_msg_count;
1263: x_msg_data := l_msg_data;
1264: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1265: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);
1266: -- FND_MSG_PUB.ADD;
1267: RAISE FND_API.G_EXC_ERROR;
1268: ELSE

Line 1265: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);

1261: x_return_status := l_return_status;
1262: x_msg_count := l_msg_count;
1263: x_msg_data := l_msg_data;
1264: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1265: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Update Lead: ', FALSE);
1266: -- FND_MSG_PUB.ADD;
1267: RAISE FND_API.G_EXC_ERROR;
1268: ELSE
1269: x_return_status := l_return_status;

Line 1272: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

1268: ELSE
1269: x_return_status := l_return_status;
1270: x_msg_count := l_msg_count;
1271: x_msg_data := l_msg_data;
1272: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1273: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Updated Lead: '||TO_CHAR(l_sales_lead_id), FALSE);
1274: -- FND_MSG_PUB.ADD;
1275: END IF;
1276:

Line 1273: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Updated Lead: '||TO_CHAR(l_sales_lead_id), FALSE);

1269: x_return_status := l_return_status;
1270: x_msg_count := l_msg_count;
1271: x_msg_data := l_msg_data;
1272: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1273: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Updated Lead: '||TO_CHAR(l_sales_lead_id), FALSE);
1274: -- FND_MSG_PUB.ADD;
1275: END IF;
1276:
1277: Log_Mesg('Before calling girish API to convert lead');

Line 1296: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

1292: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1293: x_return_status := l_return_status;
1294: x_msg_count := l_msg_count;
1295: x_msg_data := l_msg_data;
1296: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1297: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Convert Lead to Opportunity: ', FALSE);
1298: -- FND_MSG_PUB.ADD;
1299: RAISE FND_API.G_EXC_ERROR;
1300: ELSE

Line 1297: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Convert Lead to Opportunity: ', FALSE);

1293: x_return_status := l_return_status;
1294: x_msg_count := l_msg_count;
1295: x_msg_data := l_msg_data;
1296: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1297: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Convert Lead to Opportunity: ', FALSE);
1298: -- FND_MSG_PUB.ADD;
1299: RAISE FND_API.G_EXC_ERROR;
1300: ELSE
1301: x_return_status := l_return_status;

Line 1304: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

1300: ELSE
1301: x_return_status := l_return_status;
1302: x_msg_count := l_msg_count;
1303: x_msg_data := l_msg_data;
1304: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1305: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Converted Lead to Opportuniy: '||TO_CHAR(l_opp_id), FALSE);
1306: -- FND_MSG_PUB.ADD;
1307: END IF;
1308: Log_Mesg('After calling girish API : l_app_launch' || l_app_launch);

Line 1305: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Converted Lead to Opportuniy: '||TO_CHAR(l_opp_id), FALSE);

1301: x_return_status := l_return_status;
1302: x_msg_count := l_msg_count;
1303: x_msg_data := l_msg_data;
1304: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1305: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Converted Lead to Opportuniy: '||TO_CHAR(l_opp_id), FALSE);
1306: -- FND_MSG_PUB.ADD;
1307: END IF;
1308: Log_Mesg('After calling girish API : l_app_launch' || l_app_launch);
1309:

Line 1339: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

1335: Log_Mesg('Note Creation Failed.');
1336: x_return_status := l_return_status;
1337: x_msg_count := l_msg_count;
1338: x_msg_data := l_msg_data;
1339: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1340: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
1341: -- FND_MSG_PUB.ADD;
1342: RAISE FND_API.G_EXC_ERROR;
1343: ELSE

Line 1340: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);

1336: x_return_status := l_return_status;
1337: x_msg_count := l_msg_count;
1338: x_msg_data := l_msg_data;
1339: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1340: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
1341: -- FND_MSG_PUB.ADD;
1342: RAISE FND_API.G_EXC_ERROR;
1343: ELSE
1344: x_return_status := l_return_status;

Line 1347: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

1343: ELSE
1344: x_return_status := l_return_status;
1345: x_msg_count := l_msg_count;
1346: x_msg_data := l_msg_data;
1347: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1348: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
1349: -- FND_MSG_PUB.ADD;
1350: END IF;
1351: ELSE

Line 1348: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);

1344: x_return_status := l_return_status;
1345: x_msg_count := l_msg_count;
1346: x_msg_data := l_msg_data;
1347: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1348: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
1349: -- FND_MSG_PUB.ADD;
1350: END IF;
1351: ELSE
1352: Log_Mesg('User did not enter any note to create.');

Line 1430: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');

1426: EXCEPTION
1427: WHEN VALUE_ERROR THEN
1428: l_return_status := 'E';
1429: x_return_status := l_return_status;
1430: FND_MESSAGE.Set_Name('AST', 'AST_NOTE_LENGTH_ERROR');
1431: FND_MSG_PUB.ADD;
1432: RAISE FND_API.G_EXC_ERROR;
1433: END;
1434: END IF;

Line 1495: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

1491: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1492: x_return_status := l_return_status;
1493: x_msg_count := l_msg_count;
1494: x_msg_data := l_msg_data;
1495: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1496: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
1497: -- FND_MSG_PUB.ADD;
1498: RAISE FND_API.G_EXC_ERROR;
1499: ELSE

Line 1496: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);

1492: x_return_status := l_return_status;
1493: x_msg_count := l_msg_count;
1494: x_msg_data := l_msg_data;
1495: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1496: -- FND_MESSAGE.Set_Token('TEXT', 'Failed to Creat Note', FALSE);
1497: -- FND_MSG_PUB.ADD;
1498: RAISE FND_API.G_EXC_ERROR;
1499: ELSE
1500: x_return_status := l_return_status;

Line 1503: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');

1499: ELSE
1500: x_return_status := l_return_status;
1501: x_msg_count := l_msg_count;
1502: x_msg_data := l_msg_data;
1503: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1504: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
1505: -- FND_MSG_PUB.ADD;
1506: END IF;
1507: ELSE

Line 1504: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);

1500: x_return_status := l_return_status;
1501: x_msg_count := l_msg_count;
1502: x_msg_data := l_msg_data;
1503: -- FND_MESSAGE.Set_Name('AST', 'AST_API_ERR');
1504: -- FND_MESSAGE.Set_Token('TEXT', 'Successfully Created Note: '||TO_CHAR(l_jtf_note_id), FALSE);
1505: -- FND_MSG_PUB.ADD;
1506: END IF;
1507: ELSE
1508: Log_Mesg('User did not enter any note to create.');