2031: IF l_basic_details_changed
2032: THEN
2033: null;
2034: ELSE
2035: hr_utility.set_location('raise hr_perinfo_util_web.g_no_changes:'||l_proc,60);
2036: raise hr_perinfo_util_web.g_no_changes;
2037: GOTO no_transaction;
2038: END IF;
2039:
2032: THEN
2033: null;
2034: ELSE
2035: hr_utility.set_location('raise hr_perinfo_util_web.g_no_changes:'||l_proc,60);
2036: raise hr_perinfo_util_web.g_no_changes;
2037: GOTO no_transaction;
2038: END IF;
2039:
2040:
3153: rollback to applicant_hire;
3154: g_applicant_hire := false;
3155: end if;
3156: --
3157: WHEN hr_perinfo_util_web.g_no_changes THEN
3158: hr_utility.set_location('Exception:g_no_changes'||l_proc,570);
3159: p_error_message := hr_java_conv_util_ss.get_formatted_error_message(
3160: p_error_message => l_error_message,
3161: p_attr_name => 'Page',
3167: g_applicant_hire := false;
3168: end if;
3169: --
3170: -- Bug Fix : 3048836
3171: WHEN hr_perinfo_util_web.g_past_effective_date THEN
3172: hr_utility.set_location('Exception:g_past_effective_date'||l_proc,575);
3173: p_error_message := hr_java_conv_util_ss.get_formatted_error_message(
3174: p_error_message => l_error_message);
3175:
3172: hr_utility.set_location('Exception:g_past_effective_date'||l_proc,575);
3173: p_error_message := hr_java_conv_util_ss.get_formatted_error_message(
3174: p_error_message => l_error_message);
3175:
3176: WHEN hr_perinfo_util_web.g_past_current_start_date THEN
3177: hr_utility.set_location('Exception:g_past_current_start_date'||l_proc,580);
3178: p_error_message := hr_java_conv_util_ss.get_formatted_error_message(
3179: p_error_message => l_error_message);
3180:
3629: p_error_message := hr_java_conv_util_ss.get_formatted_error_message(
3630: p_error_message => p_error_message);
3631: END IF;
3632: --
3633: WHEN hr_perinfo_util_web.g_past_current_Start_date THEN
3634: hr_utility.set_location('Exception:g_past_current_Start_date'||l_proc,570);
3635: ROLLBACK TO process_basic_details;
3636: p_error_message := hr_java_conv_util_ss.get_formatted_error_message(
3637: p_error_message => p_error_message,
3638: p_attr_name => 'EffectiveStartDate',
3639: p_app_short_name => 'PER',
3640: p_message_name => 'HR_PERINFO_INVALID_ED_01');
3641: --
3642: WHEN hr_perinfo_util_web.g_past_effective_date THEN
3643: hr_utility.set_location('Exception:g_past_effective_date'||l_proc,575);
3644: ROLLBACK TO process_basic_details;
3645: hr_utility.set_message(800,'HR_PERINFO_PAST_EFFECTIVE_DATE');
3646: hr_utility.set_message_token('EFFECTIVE_DATE',
3646: hr_utility.set_message_token('EFFECTIVE_DATE',
3647: get_max_effective_date(p_person_id));
3648: hr_utility.raise_error;
3649: --
3650: WHEN hr_perinfo_util_web.g_no_changes THEN
3651: hr_utility.set_location('Exception:g_no_changes'||l_proc,580);
3652: ROLLBACK TO process_basic_details;
3653: p_error_message := hr_java_conv_util_ss.get_formatted_error_message(
3654: p_error_message => p_error_message,
3813: -- Bug Fix 3048836 : checking if the effective date entered by user <
3814: -- hire date or the current record's start date.
3815:
3816: hr_utility.set_location('Entering:'||l_proc, 5);
3817: IF hr_perinfo_util_web.isDateLessThanCreationDate
3818: (p_date => p_effective_date
3819: ,p_person_id => p_person_id) THEN
3820: -- The effective Date is less than the creation date of the
3821: -- Person.
3819: ,p_person_id => p_person_id) THEN
3820: -- The effective Date is less than the creation date of the
3821: -- Person.
3822: hr_utility.set_location('The EffDate
3824: END IF;
3825: IF hr_perinfo_util_web.isLessThanCurrentStartDate
3826: (p_effective_date => p_effective_date
3827: ,p_person_id => p_person_id
3821: -- Person.
3822: hr_utility.set_location('The EffDate
3824: END IF;
3825: IF hr_perinfo_util_web.isLessThanCurrentStartDate
3826: (p_effective_date => p_effective_date
3827: ,p_person_id => p_person_id
3828: ,p_ovn => p_object_version_number) THEN
3829: hr_utility.set_location('The EffDate
3826: (p_effective_date => p_effective_date
3827: ,p_person_id => p_person_id
3828: ,p_ovn => p_object_version_number) THEN
3829: hr_utility.set_location('The EffDate
3831: END IF;
3832:
3833:
3834: hr_utility.set_location('Opening and Fetching gc_get_cur_person_data :'||l_proc,20);
5116: RETURN l_rec_changed;
5117:
5118:
5119: EXCEPTION
5120: When hr_perinfo_util_web.g_past_effective_date then
5121: hr_utility.set_location('Exception:past_effective_date'||l_proc,555);
5122: hr_utility.set_message(applid=> 800,l_message_name=>'HR_PERINFO_PAST_EFFECTIVE_DATE');
5123: hr_utility.set_message_token('EFFECTIVE_DATE',
5124: get_max_effective_date(p_person_id));
5121: hr_utility.set_location('Exception:past_effective_date'||l_proc,555);
5122: hr_utility.set_message(applid=> 800,l_message_name=>'HR_PERINFO_PAST_EFFECTIVE_DATE');
5123: hr_utility.set_message_token('EFFECTIVE_DATE',
5124: get_max_effective_date(p_person_id));
5125: raise hr_perinfo_util_web.g_past_effective_date;
5126:
5127: When hr_perinfo_util_web.g_past_current_start_date then
5128: hr_utility.set_location('Exception:past_current_start_date'||l_proc,565);
5129: hr_utility.set_message(applid=> 800,l_message_name=>'HR_PERINFO_PAST_EFFECTIVE_DATE');
5123: hr_utility.set_message_token('EFFECTIVE_DATE',
5124: get_max_effective_date(p_person_id));
5125: raise hr_perinfo_util_web.g_past_effective_date;
5126:
5127: When hr_perinfo_util_web.g_past_current_start_date then
5128: hr_utility.set_location('Exception:past_current_start_date'||l_proc,565);
5129: hr_utility.set_message(applid=> 800,l_message_name=>'HR_PERINFO_PAST_EFFECTIVE_DATE');
5130: hr_utility.set_message_token('EFFECTIVE_DATE',
5131: get_max_effective_date(p_person_id));
5128: hr_utility.set_location('Exception:past_current_start_date'||l_proc,565);
5129: hr_utility.set_message(applid=> 800,l_message_name=>'HR_PERINFO_PAST_EFFECTIVE_DATE');
5130: hr_utility.set_message_token('EFFECTIVE_DATE',
5131: get_max_effective_date(p_person_id));
5132: raise hr_perinfo_util_web.g_past_current_start_date;
5133:
5134:
5135: When g_data_error THEN
5136: