DBA Data[Home] [Help]

APPS.JTF_TASK_TEMP_GROUP_PUB dependencies on FND_MESSAGE

Line 20: fnd_message.set_name ('JTF', 'JTF_TASK_MISSING_TEMP_GRP');

16: open val_temp_group_id;
17: fetch val_temp_group_id into v_dummy;
18: if (val_temp_group_id%notfound) then
19: close val_temp_group_id;
20: fnd_message.set_name ('JTF', 'JTF_TASK_MISSING_TEMP_GRP');
21: fnd_msg_pub.add ;
22: raise fnd_api.g_exc_error;
23: else
24: close val_temp_group_id;

Line 45: fnd_message.set_name ('JTF', 'JTF_TK_DUP_TEMPL_GRP_NAME');

41: open val_name;
42: fetch val_name into v_dummy;
43: if (val_name%found) then
44: close val_name;
45: fnd_message.set_name ('JTF', 'JTF_TK_DUP_TEMPL_GRP_NAME');
46: fnd_msg_pub.add ;
47: raise fnd_api.g_exc_error;
48: else
49: close val_name;

Line 73: fnd_message.set_name ('JTF', 'JTF_TK_DUP_TEMPL_GRP_NAME');

69: open val_name_upd;
70: fetch val_name_upd into v_dummy;
71: if (val_name_upd%found) then
72: close val_name_upd;
73: fnd_message.set_name ('JTF', 'JTF_TK_DUP_TEMPL_GRP_NAME');
74: fnd_msg_pub.add ;
75: raise fnd_api.g_exc_error;
76: else
77: close val_name_upd;

Line 99: fnd_message.set_name ('JTF', 'JTF_TASK_INVALID_OBJECT_CODE');

95: open val_src;
96: fetch val_src into v_dummy;
97: if (val_src%notfound) then
98: close val_src;
99: fnd_message.set_name ('JTF', 'JTF_TASK_INVALID_OBJECT_CODE');
100: fnd_message.set_token ('P_OBJECT_TYPE_CODE', 'Document Type:'||p_src_obj_typ);
101: fnd_msg_pub.add ;
102: raise fnd_api.g_exc_error;
103: else

Line 100: fnd_message.set_token ('P_OBJECT_TYPE_CODE', 'Document Type:'||p_src_obj_typ);

96: fetch val_src into v_dummy;
97: if (val_src%notfound) then
98: close val_src;
99: fnd_message.set_name ('JTF', 'JTF_TASK_INVALID_OBJECT_CODE');
100: fnd_message.set_token ('P_OBJECT_TYPE_CODE', 'Document Type:'||p_src_obj_typ);
101: fnd_msg_pub.add ;
102: raise fnd_api.g_exc_error;
103: else
104: close val_src;

Line 116: fnd_message.set_name ('JTF', 'JTF_TASK_INVALID_DATES');

112:
113: if (p_start is not null) and (p_end is not null) then
114:
115: if (p_end < p_start) then
116: fnd_message.set_name ('JTF', 'JTF_TASK_INVALID_DATES');
117: fnd_message.set_token ('P_DATE_TAG', p_start);
118: fnd_msg_pub.add ;
119: raise fnd_api.g_exc_error;
120: end if;

Line 117: fnd_message.set_token ('P_DATE_TAG', p_start);

113: if (p_start is not null) and (p_end is not null) then
114:
115: if (p_end < p_start) then
116: fnd_message.set_name ('JTF', 'JTF_TASK_INVALID_DATES');
117: fnd_message.set_token ('P_DATE_TAG', p_start);
118: fnd_msg_pub.add ;
119: raise fnd_api.g_exc_error;
120: end if;
121:

Line 194: fnd_message.set_name('JTF', 'JTF_TK_TMP_GRP_NAME_REQ');

190: end if;
191:
192: --check for required parameters
193: if (p_template_group_name is null) then
194: fnd_message.set_name('JTF', 'JTF_TK_TMP_GRP_NAME_REQ');
195: fnd_msg_pub.add ;
196: raise fnd_api.g_exc_error;
197: end if;
198:

Line 200: fnd_message.set_name('JTF', 'JTF_TASK_MISSING_OBJECT_CODE');

196: raise fnd_api.g_exc_error;
197: end if;
198:
199: if (p_source_object_type_code is null) then
200: fnd_message.set_name('JTF', 'JTF_TASK_MISSING_OBJECT_CODE');
201: fnd_msg_pub.add ;
202: raise fnd_api.g_exc_error;
203: end if;
204:

Line 319: fnd_message.set_name ('JTF', 'JTF_TASK_RESOURCE_LOCKED');

315:
316: EXCEPTION
317: WHEN Resource_Locked then
318: ROLLBACK TO lock_task_template_group;
319: fnd_message.set_name ('JTF', 'JTF_TASK_RESOURCE_LOCKED');
320: fnd_message.set_token ('P_LOCKED_RESOURCE', 'Contacts');
321: fnd_msg_pub.add ;
322: x_return_status := fnd_api.g_ret_sts_unexp_error;
323: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 320: fnd_message.set_token ('P_LOCKED_RESOURCE', 'Contacts');

316: EXCEPTION
317: WHEN Resource_Locked then
318: ROLLBACK TO lock_task_template_group;
319: fnd_message.set_name ('JTF', 'JTF_TASK_RESOURCE_LOCKED');
320: fnd_message.set_token ('P_LOCKED_RESOURCE', 'Contacts');
321: fnd_msg_pub.add ;
322: x_return_status := fnd_api.g_ret_sts_unexp_error;
323: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
324:

Line 333: fnd_message.set_name ('JTF', 'JTF_TASK_UNKNOWN_ERROR');

329: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
330: WHEN OTHERS
331: THEN
332: ROLLBACK TO lock_task_template_group;
333: fnd_message.set_name ('JTF', 'JTF_TASK_UNKNOWN_ERROR');
334: fnd_message.set_token ('P_TEXT', SQLCODE || SQLERRM);
335: fnd_msg_pub.add ;
336: x_return_status := fnd_api.g_ret_sts_unexp_error;
337: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);

Line 334: fnd_message.set_token ('P_TEXT', SQLCODE || SQLERRM);

330: WHEN OTHERS
331: THEN
332: ROLLBACK TO lock_task_template_group;
333: fnd_message.set_name ('JTF', 'JTF_TASK_UNKNOWN_ERROR');
334: fnd_message.set_token ('P_TEXT', SQLCODE || SQLERRM);
335: fnd_msg_pub.add ;
336: x_return_status := fnd_api.g_ret_sts_unexp_error;
337: fnd_msg_pub.count_and_get (p_count => x_msg_count, p_data => x_msg_data);
338: END;

Line 405: fnd_message.set_name('JTF', 'JTF_TASK_MISSING_TEMP_GRP');

401: end if;
402:
403: --check for required parameters
404: if (p_task_template_group_id is null) then
405: fnd_message.set_name('JTF', 'JTF_TASK_MISSING_TEMP_GRP');
406: fnd_msg_pub.add ;
407: raise fnd_api.g_exc_error;
408: end if;
409:

Line 411: fnd_message.set_name('JTF', 'JTF_TK_TMP_GRP_NAME_REQ');

407: raise fnd_api.g_exc_error;
408: end if;
409:
410: if (p_template_group_name is null) then
411: fnd_message.set_name('JTF', 'JTF_TK_TMP_GRP_NAME_REQ');
412: fnd_msg_pub.add ;
413: raise fnd_api.g_exc_error;
414: end if;
415:

Line 417: fnd_message.set_name('JTF', 'JTF_TASK_MISSING_OBJECT_CODE');

413: raise fnd_api.g_exc_error;
414: end if;
415:
416: if (p_source_object_type_code is null) then
417: fnd_message.set_name('JTF', 'JTF_TASK_MISSING_OBJECT_CODE');
418: fnd_msg_pub.add ;
419: raise fnd_api.g_exc_error;
420: end if;
421:

Line 545: fnd_message.set_name('JTF', 'JTF_TASK_MISSING_TEMP_GRP');

541: end if;
542:
543: --check for required parameters
544: if (p_task_template_group_id is null) then
545: fnd_message.set_name('JTF', 'JTF_TASK_MISSING_TEMP_GRP');
546: fnd_msg_pub.add ;
547: raise fnd_api.g_exc_error;
548: end if;
549:

Line 660: fnd_message.set_name('JTF', 'JTF_TK_INV_QRY_NXT');

656: -- required parameters to control records returned
657:
658: -- p_query_or_next_code should be Q or N
659: if (p_query_or_next_code not in ('Q', 'N')) or (p_query_or_next_code is null) then
660: fnd_message.set_name('JTF', 'JTF_TK_INV_QRY_NXT');
661: fnd_msg_pub.add ;
662: raise fnd_api.g_exc_error;
663: end if;
664:

Line 669: fnd_message.set_name('JTF', 'JTF_TK_INV_SHOW_ALL');

665: -- dbms_output.put_line('1');
666:
667: -- p_show_all should be Y or N
668: if (p_show_all not in ('Y', 'N')) or (p_show_all is null) then
669: fnd_message.set_name('JTF', 'JTF_TK_INV_SHOW_ALL');
670: fnd_msg_pub.add ;
671: raise fnd_api.g_exc_error;
672: end if;
673: -- dbms_output.put_line('2');

Line 679: fnd_message.set_name('JTF', 'JTF_TK_NULL_STRT_PTR');

675: if (p_show_all = 'N') then
676:
677: if (p_start_pointer is null) then
678: -- dbms_output.put_line('3');
679: fnd_message.set_name('JTF', 'JTF_TK_NULL_STRT_PTR');
680: fnd_msg_pub.add ;
681: raise fnd_api.g_exc_error;
682: end if;
683:

Line 686: fnd_message.set_name('JTF', 'JTF_TK_NULL_REC_WANT');

682: end if;
683:
684: if (p_rec_wanted is null) then
685: -- dbms_output.put_line('4');
686: fnd_message.set_name('JTF', 'JTF_TK_NULL_REC_WANT');
687: fnd_msg_pub.add ;
688: raise fnd_api.g_exc_error;
689: end if;
690: