DBA Data[Home] [Help]

APPS.IRC_PARTY_API dependencies on FND_MESSAGE

Line 298: fnd_message.set_name('PER','IRC_412156_PERS_TYPE_NOT_SET');

294: fetch csr_get_person_type_id into l_person_type_id;
295: close csr_get_person_type_id;
296: --
297: if l_person_type_id is null then
298: fnd_message.set_name('PER','IRC_412156_PERS_TYPE_NOT_SET');
299: fnd_message.raise_error;
300: end if;
301: --
302: -- get the PTU person type for iRecruitment Candidate

Line 299: fnd_message.raise_error;

295: close csr_get_person_type_id;
296: --
297: if l_person_type_id is null then
298: fnd_message.set_name('PER','IRC_412156_PERS_TYPE_NOT_SET');
299: fnd_message.raise_error;
300: end if;
301: --
302: -- get the PTU person type for iRecruitment Candidate
303: --

Line 1034: fnd_message.set_name('PER','IRC_412155_REG_BG_NOT_SET');

1030: --
1031: l_business_group_id := fnd_profile.value('IRC_REGISTRATION_BG_ID');
1032: --
1033: if l_business_group_id is null then
1034: fnd_message.set_name('PER','IRC_412155_REG_BG_NOT_SET');
1035: fnd_message.raise_error;
1036: end if;
1037: --
1038: hr_utility.set_location(l_proc, 30);

Line 1035: fnd_message.raise_error;

1031: l_business_group_id := fnd_profile.value('IRC_REGISTRATION_BG_ID');
1032: --
1033: if l_business_group_id is null then
1034: fnd_message.set_name('PER','IRC_412155_REG_BG_NOT_SET');
1035: fnd_message.raise_error;
1036: end if;
1037: --
1038: hr_utility.set_location(l_proc, 30);
1039: --

Line 2000: fnd_message.set_name('PER','IRC_MAX_APPLICATIONS_LIMIT');

1996: if ( l_application_count_limit is not null ) then
1997: open csr_application_count(p_vacancy_id, p_effective_date);
1998: fetch csr_application_count into l_application_count;
1999: if ( l_application_count >= l_application_count_limit ) then
2000: fnd_message.set_name('PER','IRC_MAX_APPLICATIONS_LIMIT');
2001: hr_multi_message.add();
2002: hr_multi_message.end_validation_set();
2003: end if;
2004: close csr_application_count;

Line 2326: fnd_message.set_name('PER','IRC_412099_CANNOT_APPLY');

2322: if ( csr_person_id%notfound and csr_person_all_dates%found ) then
2323: --
2324: close csr_person_id;
2325: close csr_person_all_dates;
2326: fnd_message.set_name('PER','IRC_412099_CANNOT_APPLY');
2327: hr_multi_message.add();
2328: end if;
2329: close csr_person_all_dates;
2330: --

Line 2866: l_default_last_name := nvl(p_last_name,fnd_message.get_string('PER','IRC_412108_UNKNOWN_NAME'));

2862: begin
2863: hr_utility.set_location(' Entering: '||l_proc, 10);
2864: --
2865: -- Create Person
2866: l_default_last_name := nvl(p_last_name,fnd_message.get_string('PER','IRC_412108_UNKNOWN_NAME'));
2867:
2868: irc_party_api.create_registered_user
2869: (p_last_name => l_default_last_name
2870: ,p_first_name => p_first_name

Line 3156: fnd_message.raise_error;

3152: l_password_check := fnd_web_sec.validate_password(username => p_user_name
3153: ,password => p_password);
3154:
3155: if (l_password_check = 'N') then
3156: fnd_message.raise_error;
3157: end if;
3158: --
3159: -- create party and user
3160: --

Line 3330: fnd_message.set_encoded('MRP'||fnd_global.local_chr(0)||

3326: return guestFndPwd;
3327: --
3328: exception
3329: when others then
3330: fnd_message.set_encoded('MRP'||fnd_global.local_chr(0)||
3331: 'GEN-INVALID PROFILE'||fnd_global.local_chr(0)||
3332: 'N'||fnd_global.local_chr(0)||
3333: 'PROFILE'||fnd_global.local_chr(0)||
3334: 'GUEST_USER_PWD'||fnd_global.local_chr(0)||

Line 3740: fnd_message.set_name('PER','IRC_EXEMP_EMAIL_IN_USE');

3736: hr_utility.set_location(l_proc,23);
3737: l_num := TestUserName(p_user_name=>upper(p_current_email_address));
3738: if l_num = 2 or l_num = 4 then
3739: -- the e-mail address is already in use. Raise an error
3740: fnd_message.set_name('PER','IRC_EXEMP_EMAIL_IN_USE');
3741: fnd_message.raise_error;
3742: elsif l_num = 3 then
3743: fnd_message.set_name('PER','IRC_412220_USER_SYNCH_MSG');
3744: fnd_message.raise_error;

Line 3741: fnd_message.raise_error;

3737: l_num := TestUserName(p_user_name=>upper(p_current_email_address));
3738: if l_num = 2 or l_num = 4 then
3739: -- the e-mail address is already in use. Raise an error
3740: fnd_message.set_name('PER','IRC_EXEMP_EMAIL_IN_USE');
3741: fnd_message.raise_error;
3742: elsif l_num = 3 then
3743: fnd_message.set_name('PER','IRC_412220_USER_SYNCH_MSG');
3744: fnd_message.raise_error;
3745: elsif l_num = 1 then

Line 3743: fnd_message.set_name('PER','IRC_412220_USER_SYNCH_MSG');

3739: -- the e-mail address is already in use. Raise an error
3740: fnd_message.set_name('PER','IRC_EXEMP_EMAIL_IN_USE');
3741: fnd_message.raise_error;
3742: elsif l_num = 3 then
3743: fnd_message.set_name('PER','IRC_412220_USER_SYNCH_MSG');
3744: fnd_message.raise_error;
3745: elsif l_num = 1 then
3746: fnd_message.set_name('FND','INVALID_USER_NAME');
3747: fnd_message.set_token('UNAME',p_current_email_address);

Line 3744: fnd_message.raise_error;

3740: fnd_message.set_name('PER','IRC_EXEMP_EMAIL_IN_USE');
3741: fnd_message.raise_error;
3742: elsif l_num = 3 then
3743: fnd_message.set_name('PER','IRC_412220_USER_SYNCH_MSG');
3744: fnd_message.raise_error;
3745: elsif l_num = 1 then
3746: fnd_message.set_name('FND','INVALID_USER_NAME');
3747: fnd_message.set_token('UNAME',p_current_email_address);
3748: fnd_message.raise_error;

Line 3746: fnd_message.set_name('FND','INVALID_USER_NAME');

3742: elsif l_num = 3 then
3743: fnd_message.set_name('PER','IRC_412220_USER_SYNCH_MSG');
3744: fnd_message.raise_error;
3745: elsif l_num = 1 then
3746: fnd_message.set_name('FND','INVALID_USER_NAME');
3747: fnd_message.set_token('UNAME',p_current_email_address);
3748: fnd_message.raise_error;
3749: end if;
3750: else

Line 3747: fnd_message.set_token('UNAME',p_current_email_address);

3743: fnd_message.set_name('PER','IRC_412220_USER_SYNCH_MSG');
3744: fnd_message.raise_error;
3745: elsif l_num = 1 then
3746: fnd_message.set_name('FND','INVALID_USER_NAME');
3747: fnd_message.set_token('UNAME',p_current_email_address);
3748: fnd_message.raise_error;
3749: end if;
3750: else
3751: hr_utility.set_location(l_proc|| ' p_user_name is not null.',23);

Line 3748: fnd_message.raise_error;

3744: fnd_message.raise_error;
3745: elsif l_num = 1 then
3746: fnd_message.set_name('FND','INVALID_USER_NAME');
3747: fnd_message.set_token('UNAME',p_current_email_address);
3748: fnd_message.raise_error;
3749: end if;
3750: else
3751: hr_utility.set_location(l_proc|| ' p_user_name is not null.',23);
3752: -- check if the user account is already associated to a person

Line 3757: fnd_message.set_name('PER','IRC_EXEMP_PERSON_LINK_EXISTS');

3753: open user_association_exists(p_user_name);
3754: fetch user_association_exists into l_dummy;
3755: if user_association_exists%found then
3756: close user_association_exists;
3757: fnd_message.set_name('PER','IRC_EXEMP_PERSON_LINK_EXISTS');
3758: fnd_message.raise_error;
3759: else
3760: close user_association_exists;
3761: end if;

Line 3758: fnd_message.raise_error;

3754: fetch user_association_exists into l_dummy;
3755: if user_association_exists%found then
3756: close user_association_exists;
3757: fnd_message.set_name('PER','IRC_EXEMP_PERSON_LINK_EXISTS');
3758: fnd_message.raise_error;
3759: else
3760: close user_association_exists;
3761: end if;
3762: end if;

Line 3771: fnd_message.set_name('PER','IRC_EXEMP_NO_RECORD_FOUND');

3767: if get_prev_emp%notfound then
3768: hr_utility.set_location(l_proc, 31);
3769: -- we have not found a match at all, so error out
3770: close get_prev_emp;
3771: fnd_message.set_name('PER','IRC_EXEMP_NO_RECORD_FOUND');
3772: fnd_message.raise_error;
3773: end if;
3774: hr_utility.set_location(l_proc,40);
3775:

Line 3772: fnd_message.raise_error;

3768: hr_utility.set_location(l_proc, 31);
3769: -- we have not found a match at all, so error out
3770: close get_prev_emp;
3771: fnd_message.set_name('PER','IRC_EXEMP_NO_RECORD_FOUND');
3772: fnd_message.raise_error;
3773: end if;
3774: hr_utility.set_location(l_proc,40);
3775:
3776: fetch get_prev_emp into l_party_id2,l_count2;

Line 3780: fnd_message.set_name('PER','IRC_EXEMP_MANY_RECORDS_FOUND');

3776: fetch get_prev_emp into l_party_id2,l_count2;
3777: if get_prev_emp%found then
3778: -- we have found more than one match, so error out
3779: close get_prev_emp;
3780: fnd_message.set_name('PER','IRC_EXEMP_MANY_RECORDS_FOUND');
3781: fnd_message.raise_error;
3782: end if;
3783: close get_prev_emp;
3784: hr_utility.set_location(l_proc,50);

Line 3781: fnd_message.raise_error;

3777: if get_prev_emp%found then
3778: -- we have found more than one match, so error out
3779: close get_prev_emp;
3780: fnd_message.set_name('PER','IRC_EXEMP_MANY_RECORDS_FOUND');
3781: fnd_message.raise_error;
3782: end if;
3783: close get_prev_emp;
3784: hr_utility.set_location(l_proc,50);
3785:

Line 3793: fnd_message.set_name('PER','IRC_EXEMP_CURRENT_EMP');

3789: if current_emp%found then
3790: close current_emp;
3791: hr_utility.set_location(l_proc,51);
3792: -- the person is a current employee, so error
3793: fnd_message.set_name('PER','IRC_EXEMP_CURRENT_EMP');
3794: fnd_message.raise_error;
3795: end if;
3796: close current_emp;
3797: --

Line 3794: fnd_message.raise_error;

3790: close current_emp;
3791: hr_utility.set_location(l_proc,51);
3792: -- the person is a current employee, so error
3793: fnd_message.set_name('PER','IRC_EXEMP_CURRENT_EMP');
3794: fnd_message.raise_error;
3795: end if;
3796: close current_emp;
3797: --
3798: hr_utility.set_location(l_proc,60);

Line 4139: fnd_message.set_name('PER','IRC_EXEMP_SUBJECT');

4135: , fnd_profile.value('IRC_WORKFLOW_ITEM_TYPE')
4136: , 'IRC_TEXT_HTML_MSG'
4137: );
4138: --
4139: fnd_message.set_name('PER','IRC_EXEMP_SUBJECT');
4140: l_subject:=fnd_message.get;
4141: wf_notification.setAttrText ( l_nid , 'SUBJECT' , l_subject);
4142:
4143: if p_user_name is null

Line 4140: l_subject:=fnd_message.get;

4136: , 'IRC_TEXT_HTML_MSG'
4137: );
4138: --
4139: fnd_message.set_name('PER','IRC_EXEMP_SUBJECT');
4140: l_subject:=fnd_message.get;
4141: wf_notification.setAttrText ( l_nid , 'SUBJECT' , l_subject);
4142:
4143: if p_user_name is null
4144: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then

Line 4145: fnd_message.set_name('PER','IRC_EXEMP_HTML');

4141: wf_notification.setAttrText ( l_nid , 'SUBJECT' , l_subject);
4142:
4143: if p_user_name is null
4144: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4145: fnd_message.set_name('PER','IRC_EXEMP_HTML');
4146: elsif l_central_registration_url is not null then
4147: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_HTML');
4148: else
4149: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');

Line 4147: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_HTML');

4143: if p_user_name is null
4144: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4145: fnd_message.set_name('PER','IRC_EXEMP_HTML');
4146: elsif l_central_registration_url is not null then
4147: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_HTML');
4148: else
4149: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');
4150: end if;
4151: l_html_body:=fnd_message.get;

Line 4149: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');

4145: fnd_message.set_name('PER','IRC_EXEMP_HTML');
4146: elsif l_central_registration_url is not null then
4147: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_HTML');
4148: else
4149: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');
4150: end if;
4151: l_html_body:=fnd_message.get;
4152:
4153: if p_user_name is null

Line 4151: l_html_body:=fnd_message.get;

4147: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_HTML');
4148: else
4149: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');
4150: end if;
4151: l_html_body:=fnd_message.get;
4152:
4153: if p_user_name is null
4154: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4155: fnd_message.set_name('PER','IRC_EXEMP_HTML');

Line 4155: fnd_message.set_name('PER','IRC_EXEMP_HTML');

4151: l_html_body:=fnd_message.get;
4152:
4153: if p_user_name is null
4154: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4155: fnd_message.set_name('PER','IRC_EXEMP_HTML');
4156: elsif l_central_registration_url is not null then
4157: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_HTML');
4158: else
4159: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');

Line 4157: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_HTML');

4153: if p_user_name is null
4154: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4155: fnd_message.set_name('PER','IRC_EXEMP_HTML');
4156: elsif l_central_registration_url is not null then
4157: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_HTML');
4158: else
4159: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');
4160: end if;
4161:

Line 4159: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');

4155: fnd_message.set_name('PER','IRC_EXEMP_HTML');
4156: elsif l_central_registration_url is not null then
4157: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_HTML');
4158: else
4159: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');
4160: end if;
4161:
4162: if (instrb(l_html_body,'&'||'PASSWORD')>0) then
4163: fnd_message.set_token('PASSWORD', l_password);

Line 4163: fnd_message.set_token('PASSWORD', l_password);

4159: fnd_message.set_name('PER','IRC_412581_EXEMP_SSO_REG_HTML');
4160: end if;
4161:
4162: if (instrb(l_html_body,'&'||'PASSWORD')>0) then
4163: fnd_message.set_token('PASSWORD', l_password);
4164: end if;
4165: if (instrb(l_html_body,'&'||'FIRST_NAME')>0) then
4166: fnd_message.set_token('FIRST_NAME', p_first_name);
4167: end if;

Line 4166: fnd_message.set_token('FIRST_NAME', p_first_name);

4162: if (instrb(l_html_body,'&'||'PASSWORD')>0) then
4163: fnd_message.set_token('PASSWORD', l_password);
4164: end if;
4165: if (instrb(l_html_body,'&'||'FIRST_NAME')>0) then
4166: fnd_message.set_token('FIRST_NAME', p_first_name);
4167: end if;
4168: if (instrb(l_html_body,'&'||'LAST_NAME')>0) then
4169: fnd_message.set_token('LAST_NAME', p_last_name);
4170: end if;

Line 4169: fnd_message.set_token('LAST_NAME', p_last_name);

4165: if (instrb(l_html_body,'&'||'FIRST_NAME')>0) then
4166: fnd_message.set_token('FIRST_NAME', p_first_name);
4167: end if;
4168: if (instrb(l_html_body,'&'||'LAST_NAME')>0) then
4169: fnd_message.set_token('LAST_NAME', p_last_name);
4170: end if;
4171: if (instrb(l_html_body,'&'||'EMAIL')>0) then
4172: fnd_message.set_token('EMAIL', p_current_email_address);
4173: end if;

Line 4172: fnd_message.set_token('EMAIL', p_current_email_address);

4168: if (instrb(l_html_body,'&'||'LAST_NAME')>0) then
4169: fnd_message.set_token('LAST_NAME', p_last_name);
4170: end if;
4171: if (instrb(l_html_body,'&'||'EMAIL')>0) then
4172: fnd_message.set_token('EMAIL', p_current_email_address);
4173: end if;
4174: if (instrb(l_html_body,'&'||'USER_NAME')>0) then
4175: fnd_message.set_token('USER_NAME', p_user_name);
4176: end if;

Line 4175: fnd_message.set_token('USER_NAME', p_user_name);

4171: if (instrb(l_html_body,'&'||'EMAIL')>0) then
4172: fnd_message.set_token('EMAIL', p_current_email_address);
4173: end if;
4174: if (instrb(l_html_body,'&'||'USER_NAME')>0) then
4175: fnd_message.set_token('USER_NAME', p_user_name);
4176: end if;
4177: l_html_body:=fnd_message.get;
4178: irc_notification_helper_pkg.set_v2_attributes
4179: (p_wf_attribute_value => l_html_body

Line 4177: l_html_body:=fnd_message.get;

4173: end if;
4174: if (instrb(l_html_body,'&'||'USER_NAME')>0) then
4175: fnd_message.set_token('USER_NAME', p_user_name);
4176: end if;
4177: l_html_body:=fnd_message.get;
4178: irc_notification_helper_pkg.set_v2_attributes
4179: (p_wf_attribute_value => l_html_body
4180: ,p_wf_attribute_name => 'HTML_BODY'
4181: ,p_nid => l_nid);

Line 4186: fnd_message.set_name('PER','IRC_EXEMP_TEXT');

4182:
4183:
4184: if p_user_name is null
4185: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4186: fnd_message.set_name('PER','IRC_EXEMP_TEXT');
4187: elsif l_central_registration_url is not null then
4188: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_TEXT');
4189: else
4190: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');

Line 4188: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_TEXT');

4184: if p_user_name is null
4185: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4186: fnd_message.set_name('PER','IRC_EXEMP_TEXT');
4187: elsif l_central_registration_url is not null then
4188: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_TEXT');
4189: else
4190: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');
4191: end if;
4192:

Line 4190: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');

4186: fnd_message.set_name('PER','IRC_EXEMP_TEXT');
4187: elsif l_central_registration_url is not null then
4188: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_TEXT');
4189: else
4190: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');
4191: end if;
4192:
4193: l_text_body:=fnd_message.get;
4194:

Line 4193: l_text_body:=fnd_message.get;

4189: else
4190: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');
4191: end if;
4192:
4193: l_text_body:=fnd_message.get;
4194:
4195: if p_user_name is null
4196: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4197: fnd_message.set_name('PER','IRC_EXEMP_TEXT');

Line 4197: fnd_message.set_name('PER','IRC_EXEMP_TEXT');

4193: l_text_body:=fnd_message.get;
4194:
4195: if p_user_name is null
4196: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4197: fnd_message.set_name('PER','IRC_EXEMP_TEXT');
4198: elsif l_central_registration_url is not null then
4199: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_TEXT');
4200: else
4201: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');

Line 4199: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_TEXT');

4195: if p_user_name is null
4196: and (l_sso_enabled<>'SSWA_SSO' and l_sso_enabled<>'SSO_SDK') then
4197: fnd_message.set_name('PER','IRC_EXEMP_TEXT');
4198: elsif l_central_registration_url is not null then
4199: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_TEXT');
4200: else
4201: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');
4202: end if;
4203:

Line 4201: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');

4197: fnd_message.set_name('PER','IRC_EXEMP_TEXT');
4198: elsif l_central_registration_url is not null then
4199: fnd_message.set_name('PER','IRC_EXEMP_REGISTERED_TEXT');
4200: else
4201: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');
4202: end if;
4203:
4204: if (instrb(l_text_body,'&'||'PASSWORD')>0) then
4205: fnd_message.set_token('PASSWORD', l_password);

Line 4205: fnd_message.set_token('PASSWORD', l_password);

4201: fnd_message.set_name('PER','IRC_412582_EXEMP_SSO_REG_TEXT');
4202: end if;
4203:
4204: if (instrb(l_text_body,'&'||'PASSWORD')>0) then
4205: fnd_message.set_token('PASSWORD', l_password);
4206: end if;
4207: if (instrb(l_text_body,'&'||'FIRST_NAME')>0) then
4208: fnd_message.set_token('FIRST_NAME', p_first_name);
4209: end if;

Line 4208: fnd_message.set_token('FIRST_NAME', p_first_name);

4204: if (instrb(l_text_body,'&'||'PASSWORD')>0) then
4205: fnd_message.set_token('PASSWORD', l_password);
4206: end if;
4207: if (instrb(l_text_body,'&'||'FIRST_NAME')>0) then
4208: fnd_message.set_token('FIRST_NAME', p_first_name);
4209: end if;
4210: if (instrb(l_text_body,'&'||'LAST_NAME')>0) then
4211: fnd_message.set_token('LAST_NAME', p_last_name);
4212: end if;

Line 4211: fnd_message.set_token('LAST_NAME', p_last_name);

4207: if (instrb(l_text_body,'&'||'FIRST_NAME')>0) then
4208: fnd_message.set_token('FIRST_NAME', p_first_name);
4209: end if;
4210: if (instrb(l_text_body,'&'||'LAST_NAME')>0) then
4211: fnd_message.set_token('LAST_NAME', p_last_name);
4212: end if;
4213: if (instrb(l_text_body,'&'||'EMAIL')>0) then
4214: fnd_message.set_token('EMAIL', p_current_email_address);
4215: end if;

Line 4214: fnd_message.set_token('EMAIL', p_current_email_address);

4210: if (instrb(l_text_body,'&'||'LAST_NAME')>0) then
4211: fnd_message.set_token('LAST_NAME', p_last_name);
4212: end if;
4213: if (instrb(l_text_body,'&'||'EMAIL')>0) then
4214: fnd_message.set_token('EMAIL', p_current_email_address);
4215: end if;
4216: if (instrb(l_text_body,'&'||'USER_NAME')>0) then
4217: fnd_message.set_token('USER_NAME', p_user_name);
4218: end if;

Line 4217: fnd_message.set_token('USER_NAME', p_user_name);

4213: if (instrb(l_text_body,'&'||'EMAIL')>0) then
4214: fnd_message.set_token('EMAIL', p_current_email_address);
4215: end if;
4216: if (instrb(l_text_body,'&'||'USER_NAME')>0) then
4217: fnd_message.set_token('USER_NAME', p_user_name);
4218: end if;
4219: l_text_body:=fnd_message.get;
4220: irc_notification_helper_pkg.set_v2_attributes
4221: (p_wf_attribute_value => l_text_body

Line 4219: l_text_body:=fnd_message.get;

4215: end if;
4216: if (instrb(l_text_body,'&'||'USER_NAME')>0) then
4217: fnd_message.set_token('USER_NAME', p_user_name);
4218: end if;
4219: l_text_body:=fnd_message.get;
4220: irc_notification_helper_pkg.set_v2_attributes
4221: (p_wf_attribute_value => l_text_body
4222: ,p_wf_attribute_name => 'TEXT_BODY'
4223: ,p_nid => l_nid);

Line 4445: fnd_message.set_name('PER','IRC_412224_EMP_PARTIAL_REG');

4441: -- we have to REVISIT after using UMX support for Registration
4442: if l_person_id is not null then
4443: l_per_type := irc_utilities_pkg.get_emp_spt_for_person(l_person_id, trunc(p_start_date));
4444: if (l_per_type = 'EMP') then
4445: fnd_message.set_name('PER','IRC_412224_EMP_PARTIAL_REG');
4446: fnd_message.raise_error;
4447: end if;
4448: end if;
4449: --

Line 4446: fnd_message.raise_error;

4442: if l_person_id is not null then
4443: l_per_type := irc_utilities_pkg.get_emp_spt_for_person(l_person_id, trunc(p_start_date));
4444: if (l_per_type = 'EMP') then
4445: fnd_message.set_name('PER','IRC_412224_EMP_PARTIAL_REG');
4446: fnd_message.raise_error;
4447: end if;
4448: end if;
4449: --
4450: hr_utility.set_location(l_proc, 40);

Line 4457: l_default_last_name := nvl(p_last_name,fnd_message.get_string('PER','IRC_412108_UNKNOWN_NAME'));

4453: -- there is no person attached to this FND_USER. We need to create a new
4454: -- iRecruitment Candidate, update FND user with the person_id,
4455: -- set Language profile and Create Work Preferences
4456: if l_person_id is NULL then
4457: l_default_last_name := nvl(p_last_name,fnd_message.get_string('PER','IRC_412108_UNKNOWN_NAME'));
4458:
4459: IRC_PARTY_API.CREATE_CANDIDATE_INTERNAL
4460: (p_business_group_id => p_reg_bg_id
4461: ,p_last_name => l_default_last_name

Line 4964: fnd_message.set_name('PER','IRC_412224_EMP_PARTIAL_REG');

4960: p_responsibility_id, p_resp_appl_id, p_security_group_id);
4961: -- if the User doesn't have the responsibility, assign it.
4962: if NOT l_resp_exists then
4963: if (l_per_type = 'EMP') then
4964: fnd_message.set_name('PER','IRC_412224_EMP_PARTIAL_REG');
4965: fnd_message.raise_error;
4966: end if;
4967: --
4968: -- add the appropriate responsibility

Line 4965: fnd_message.raise_error;

4961: -- if the User doesn't have the responsibility, assign it.
4962: if NOT l_resp_exists then
4963: if (l_per_type = 'EMP') then
4964: fnd_message.set_name('PER','IRC_412224_EMP_PARTIAL_REG');
4965: fnd_message.raise_error;
4966: end if;
4967: --
4968: -- add the appropriate responsibility
4969: --

Line 5222: l_default_last_name := nvl(p_last_name,fnd_message.get_string('PER','IRC_412108_UNKNOWN_NAME'));

5218: begin
5219: hr_utility.set_location(' Entering: '||l_proc, 10);
5220: --
5221: -- Create Person
5222: l_default_last_name := nvl(p_last_name,fnd_message.get_string('PER','IRC_412108_UNKNOWN_NAME'));
5223:
5224: l_person_id := p_person_id;
5225: --
5226: hr_utility.set_location(l_proc,20);

Line 5413: fnd_message.raise_error;

5409: l_password_check := fnd_web_sec.validate_password(username => p_user_name
5410: ,password => p_password);
5411:
5412: if (l_password_check = 'N') then
5413: fnd_message.raise_error;
5414: end if;
5415: end if;
5416: --
5417: -- create party and user

Line 6007: fnd_message.set_name('PER','IRC_412645_FD_MASTER_NO_USER');

6003: end loop;
6004: --
6005: -- Raise error when target user does not exist and source user exists
6006: if l_source_user_exists='TRUE' and l_target_user_exists='FALSE' then
6007: fnd_message.set_name('PER','IRC_412645_FD_MASTER_NO_USER');
6008: hr_multi_message.add (p_message_type => hr_multi_message.g_error_msg);
6009: errorExists := true;
6010: end if;
6011: --

Line 6024: fnd_message.set_name('PER','IRC_412641_FD_ACTIVE_OFFER');

6020: end loop;
6021: --
6022: -- Raise error when active offer exists for the source
6023: if l_active_offer_exists='TRUE' then
6024: fnd_message.set_name('PER','IRC_412641_FD_ACTIVE_OFFER');
6025: hr_multi_message.add (p_message_type => hr_multi_message.g_error_msg);
6026: errorExists := true;
6027: end if;
6028: --

Line 6043: fnd_message.set_name('PER','IRC_412647_FD_FUTURE_PER_TYPE');

6039: end loop;
6040: --
6041: -- Raise error if future person types exist for source or target
6042: if l_future_person_exists='TRUE' or l_target_fut_person_exists='TRUE' then
6043: fnd_message.set_name('PER','IRC_412647_FD_FUTURE_PER_TYPE');
6044: hr_multi_message.add (p_message_type => hr_multi_message.g_error_msg);
6045: errorExists := true;
6046: end if;
6047: --

Line 6060: fnd_message.set_name('PER','IRC_412642_FD_SECURITY');

6056: end loop;
6057: --
6058: -- Raise error if security restrictions exists for applications,vacancy
6059: if l_check_vacancy_security='TRUE' then
6060: fnd_message.set_name('PER','IRC_412642_FD_SECURITY');
6061: hr_multi_message.add (p_message_type => hr_multi_message.g_error_msg);
6062: errorExists := true;
6063: end if;
6064: --

Line 6076: fnd_message.set_name('PER','IRC_412648_FD_SOURCE_CR_TODAY');

6072: --
6073: end loop;
6074: -- Raise error if source person is created today
6075: if l_source_created_today='TRUE' then
6076: fnd_message.set_name('PER','IRC_412648_FD_SOURCE_CR_TODAY');
6077: hr_multi_message.add (p_message_type => hr_multi_message.g_error_msg);
6078: errorExists := true;
6079: end if;
6080: --

Line 6093: fnd_message.set_name('PER','IRC_412646_FD_NO_APPL_TO_COPY');

6089: --
6090: end loop;
6091: -- Raise warning if source person is created today
6092: if l_source_created_today='TRUE' then
6093: fnd_message.set_name('PER','IRC_412646_FD_NO_APPL_TO_COPY');
6094: hr_multi_message.add (p_message_type => hr_multi_message.g_warning_msg);
6095: warningExists := true;
6096: end if;
6097: --

Line 6111: fnd_message.set_name('PER','IRC_412643_FD_MASTER_NEW');

6107: end loop;
6108: --
6109: -- Raise warning if source person is created today
6110: if l_master_profile_new='TRUE' then
6111: fnd_message.set_name('PER','IRC_412643_FD_MASTER_NEW');
6112: hr_multi_message.add (p_message_type => hr_multi_message.g_warning_msg);
6113: warningExists := true;
6114: end if;
6115: --

Line 6128: fnd_message.set_name('PER','IRC_412644_FD_DUPLICATE_APPL');

6124: end loop;
6125: --
6126: -- Raise warning if source person is created today
6127: if l_duplicate_appl_exists='TRUE' then
6128: fnd_message.set_name('PER','IRC_412644_FD_DUPLICATE_APPL');
6129: hr_multi_message.add (p_message_type => hr_multi_message.g_warning_msg);
6130: warningExists := true;
6131: end if;
6132: --

Line 6142: fnd_message.raise_error;

6138: p_return_status := 'S';
6139: end if;
6140: --
6141: if errorExists or warningExists then
6142: fnd_message.raise_error;
6143: end if;
6144: --
6145: --
6146: exception

Line 6400: fnd_message.set_name('PER','IRC_412099_CANNOT_APPLY');

6396: if ( csr_person_id%notfound and csr_person_all_dates%found ) then
6397: --
6398: close csr_person_id;
6399: close csr_person_all_dates;
6400: fnd_message.set_name('PER','IRC_412099_CANNOT_APPLY');
6401: hr_multi_message.add();
6402: end if;
6403: close csr_person_all_dates;
6404: --