DBA Data[Home] [Help]

APPS.IRC_CMM_BUS dependencies on FND_MESSAGE

Line 69: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');

65: close csr_sec_grp;
66: --
67: -- The primary key is invalid therefore we must error
68: --
69: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
70: hr_multi_message.add
71: (p_associated_column1
72: => nvl(p_associated_column1,'COMMUNICATION_MESSAGE_ID')
73: );

Line 156: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');

152: --
153: -- The primary key is invalid therefore we must error
154: --
155: close csr_leg_code;
156: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
157: fnd_message.raise_error;
158: end if;
159: hr_utility.set_location(l_proc,30);
160: --

Line 157: fnd_message.raise_error;

153: -- The primary key is invalid therefore we must error
154: --
155: close csr_leg_code;
156: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
157: fnd_message.raise_error;
158: end if;
159: hr_utility.set_location(l_proc,30);
160: --
161: -- Set the global variables so the values are

Line 217: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');

213: IF NOT irc_cmm_shd.api_updating
214: (p_communication_message_id => p_rec.communication_message_id
215: ,p_object_version_number => p_rec.object_version_number
216: ) THEN
217: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
218: fnd_message.set_token('PROCEDURE ', l_proc);
219: fnd_message.set_token('STEP ', '5');
220: fnd_message.raise_error;
221: END IF;

Line 218: fnd_message.set_token('PROCEDURE ', l_proc);

214: (p_communication_message_id => p_rec.communication_message_id
215: ,p_object_version_number => p_rec.object_version_number
216: ) THEN
217: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
218: fnd_message.set_token('PROCEDURE ', l_proc);
219: fnd_message.set_token('STEP ', '5');
220: fnd_message.raise_error;
221: END IF;
222: --

Line 219: fnd_message.set_token('STEP ', '5');

215: ,p_object_version_number => p_rec.object_version_number
216: ) THEN
217: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
218: fnd_message.set_token('PROCEDURE ', l_proc);
219: fnd_message.set_token('STEP ', '5');
220: fnd_message.raise_error;
221: END IF;
222: --
223: -- EDIT_HERE: Add checks to ensure non-updateable args have

Line 220: fnd_message.raise_error;

216: ) THEN
217: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
218: fnd_message.set_token('PROCEDURE ', l_proc);
219: fnd_message.set_token('STEP ', '5');
220: fnd_message.raise_error;
221: END IF;
222: --
223: -- EDIT_HERE: Add checks to ensure non-updateable args have
224: -- not been updated.

Line 314: fnd_message.set_name('PER','IRC_412398_BAD_TOPIC_ID');

310: hr_utility.set_location(l_proc,20);
311: --
312: if csr_topic_id%notfound then
313: close csr_topic_id;
314: fnd_message.set_name('PER','IRC_412398_BAD_TOPIC_ID');
315: fnd_message.raise_error;
316: end if;
317: --
318: hr_utility.set_location(l_proc,30);

Line 315: fnd_message.raise_error;

311: --
312: if csr_topic_id%notfound then
313: close csr_topic_id;
314: fnd_message.set_name('PER','IRC_412398_BAD_TOPIC_ID');
315: fnd_message.raise_error;
316: end if;
317: --
318: hr_utility.set_location(l_proc,30);
319: --

Line 374: fnd_message.set_name('PER','IRC_412399_LONG_MSG_SUB');

370: );
371: */
372: --
373: if length(p_message_subject) > 150 then
374: fnd_message.set_name('PER','IRC_412399_LONG_MSG_SUB');
375: fnd_message.raise_error;
376: end if;
377: --
378: hr_utility.set_location(l_proc,20);

Line 375: fnd_message.raise_error;

371: */
372: --
373: if length(p_message_subject) > 150 then
374: fnd_message.set_name('PER','IRC_412399_LONG_MSG_SUB');
375: fnd_message.raise_error;
376: end if;
377: --
378: hr_utility.set_location(l_proc,20);
379: --

Line 422: fnd_message.set_name('PER','IRC_412247_NULL_MSG_BODY');

418: --
419: hr_utility.set_location(' Entering:'||l_proc,10);
420: --
421: if p_message_body is null or length(p_message_body) = 0 then
422: fnd_message.set_name('PER','IRC_412247_NULL_MSG_BODY');
423: fnd_message.raise_error;
424: end if;
425:
426: if length(p_message_body) > 4000 then

Line 423: fnd_message.raise_error;

419: hr_utility.set_location(' Entering:'||l_proc,10);
420: --
421: if p_message_body is null or length(p_message_body) = 0 then
422: fnd_message.set_name('PER','IRC_412247_NULL_MSG_BODY');
423: fnd_message.raise_error;
424: end if;
425:
426: if length(p_message_body) > 4000 then
427: fnd_message.set_name('PER','IRC_412400_LONG_MSG_BODY');

Line 427: fnd_message.set_name('PER','IRC_412400_LONG_MSG_BODY');

423: fnd_message.raise_error;
424: end if;
425:
426: if length(p_message_body) > 4000 then
427: fnd_message.set_name('PER','IRC_412400_LONG_MSG_BODY');
428: fnd_message.raise_error;
429: end if;
430: --
431: hr_utility.set_location(l_proc,20);

Line 428: fnd_message.raise_error;

424: end if;
425:
426: if length(p_message_body) > 4000 then
427: fnd_message.set_name('PER','IRC_412400_LONG_MSG_BODY');
428: fnd_message.raise_error;
429: end if;
430: --
431: hr_utility.set_location(l_proc,20);
432: --

Line 554: fnd_message.set_name('PER','IRC_412401_BAD_SENDER_ID');

550: hr_utility.set_location(l_proc,30);
551: --
552: if csr_sender%notfound then
553: close csr_sender;
554: fnd_message.set_name('PER','IRC_412401_BAD_SENDER_ID');
555: fnd_message.raise_error;
556: end if;
557: --
558: hr_utility.set_location(l_proc,40);

Line 555: fnd_message.raise_error;

551: --
552: if csr_sender%notfound then
553: close csr_sender;
554: fnd_message.set_name('PER','IRC_412401_BAD_SENDER_ID');
555: fnd_message.raise_error;
556: end if;
557: --
558: hr_utility.set_location(l_proc,40);
559: --

Line 570: fnd_message.set_name('PER','IRC_412402_BAD_SENDER_ID');

566: hr_utility.set_location(l_proc,50);
567: --
568: if csr_sender_agency%notfound then
569: close csr_sender_agency;
570: fnd_message.set_name('PER','IRC_412402_BAD_SENDER_ID');
571: fnd_message.raise_error;
572: end if;
573: --
574: hr_utility.set_location(l_proc,60);

Line 571: fnd_message.raise_error;

567: --
568: if csr_sender_agency%notfound then
569: close csr_sender_agency;
570: fnd_message.set_name('PER','IRC_412402_BAD_SENDER_ID');
571: fnd_message.raise_error;
572: end if;
573: --
574: hr_utility.set_location(l_proc,60);
575: --

Line 635: fnd_message.set_name('PER','IRC_412403_BAD_DOC_ID');

631: hr_utility.set_location(l_proc,20);
632: --
633: if csr_document%notfound then
634: close csr_document;
635: fnd_message.set_name('PER','IRC_412403_BAD_DOC_ID');
636: fnd_message.raise_error;
637: end if;
638: --
639: hr_utility.set_location(l_proc,30);

Line 636: fnd_message.raise_error;

632: --
633: if csr_document%notfound then
634: close csr_document;
635: fnd_message.set_name('PER','IRC_412403_BAD_DOC_ID');
636: fnd_message.raise_error;
637: end if;
638: --
639: hr_utility.set_location(l_proc,30);
640: --

Line 648: fnd_message.set_name('PER','IRC_412404_NULL_DOC_ID');

644: (p_document_type is not null and p_document_id is not null) then
645: --it is okay to go ahead
646: hr_utility.set_location(l_proc,30);
647: else
648: fnd_message.set_name('PER','IRC_412404_NULL_DOC_ID');
649: fnd_message.raise_error;
650: end if;
651: exception
652: when app_exception.application_exception then

Line 649: fnd_message.raise_error;

645: --it is okay to go ahead
646: hr_utility.set_location(l_proc,30);
647: else
648: fnd_message.set_name('PER','IRC_412404_NULL_DOC_ID');
649: fnd_message.raise_error;
650: end if;
651: exception
652: when app_exception.application_exception then
653: if hr_multi_message.exception_add