225:
226:
227: hr_utility.set_location(' Leaving:'||l_proc, 10);
228: Exception
229: When hr_api.check_integrity_violated Then
230: -- A check constraint has been violated
231: per_apr_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When hr_api.parent_integrity_violated Then
228: Exception
229: When hr_api.check_integrity_violated Then
230: -- A check constraint has been violated
231: per_apr_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When hr_api.parent_integrity_violated Then
234: -- Parent integrity has been violated
235: per_apr_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
229: When hr_api.check_integrity_violated Then
230: -- A check constraint has been violated
231: per_apr_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When hr_api.parent_integrity_violated Then
234: -- Parent integrity has been violated
235: per_apr_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
237: When hr_api.unique_integrity_violated Then
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When hr_api.parent_integrity_violated Then
234: -- Parent integrity has been violated
235: per_apr_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
237: When hr_api.unique_integrity_violated Then
238: -- Unique integrity has been violated
239: per_apr_shd.constraint_error
240: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When hr_api.parent_integrity_violated Then
234: -- Parent integrity has been violated
235: per_apr_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
237: When hr_api.unique_integrity_violated Then
238: -- Unique integrity has been violated
239: per_apr_shd.constraint_error
240: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
241: When Others Then
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
237: When hr_api.unique_integrity_violated Then
238: -- Unique integrity has been violated
239: per_apr_shd.constraint_error
240: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
241: When Others Then
242: Raise;
243: End insert_dml;
244:
443: p_retention_potential => p_rec.retention_potential,
444: p_show_participant_comments => p_rec.show_participant_comments -- 8651478 bug fix
445: );
446: exception
447: when hr_api.cannot_find_prog_unit then
448: hr_api.cannot_find_prog_unit_error
449: ( p_module_name => 'PER_APPRAISALS'
450: ,p_hook_type => 'AI'
451: );
444: p_show_participant_comments => p_rec.show_participant_comments -- 8651478 bug fix
445: );
446: exception
447: when hr_api.cannot_find_prog_unit then
448: hr_api.cannot_find_prog_unit_error
449: ( p_module_name => 'PER_APPRAISALS'
450: ,p_hook_type => 'AI'
451: );
452: end;
503:
504: -- If we are validating then raise the Validate_Enabled exception
505:
506: If p_validate then
507: Raise HR_Api.Validate_Enabled;
508: End If;
509:
510: hr_utility.set_location(' Leaving:'||l_proc, 10);
511: Exception
508: End If;
509:
510: hr_utility.set_location(' Leaving:'||l_proc, 10);
511: Exception
512: When HR_Api.Validate_Enabled Then
513:
514: -- As the Validate_Enabled exception has been raised
515: -- we must rollback to the savepoint
516: