277: --
278: hr_utility.set_location(' Leaving:'||l_proc, 15);
279: --
280: Exception
281: When hr_api.check_integrity_violated Then
282: -- A check constraint has been violated
283: per_ctc_shd.constraint_error
284: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
285: When hr_api.unique_integrity_violated Then
280: Exception
281: When hr_api.check_integrity_violated Then
282: -- A check constraint has been violated
283: per_ctc_shd.constraint_error
284: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
285: When hr_api.unique_integrity_violated Then
286: -- Unique integrity has been violated
287: per_ctc_shd.constraint_error
288: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
281: When hr_api.check_integrity_violated Then
282: -- A check constraint has been violated
283: per_ctc_shd.constraint_error
284: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
285: When hr_api.unique_integrity_violated Then
286: -- Unique integrity has been violated
287: per_ctc_shd.constraint_error
288: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
289: When Others Then
284: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
285: When hr_api.unique_integrity_violated Then
286: -- Unique integrity has been violated
287: per_ctc_shd.constraint_error
288: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
289: When Others Then
290: Raise;
291: End dt_insert_dml;
292: --
500: );
501: --
502: exception
503: --
504: when hr_api.cannot_find_prog_unit then
505: --
506: hr_api.cannot_find_prog_unit_error
507: (p_module_name => 'per_contracts_f'
508: ,p_hook_type => 'AI');
502: exception
503: --
504: when hr_api.cannot_find_prog_unit then
505: --
506: hr_api.cannot_find_prog_unit_error
507: (p_module_name => 'per_contracts_f'
508: ,p_hook_type => 'AI');
509: --
510: end;
538: --
539: -- Post Failure:
540: -- The Lck process can fail for:
541: -- 1) When attempting to lock the row the row could already be locked by
542: -- another user. This will raise the HR_Api.Object_Locked exception.
543: -- 2) When attempting to the lock the parent which doesn't exist.
544: -- For the entity to be locked the parent must exist!
545: --
546: -- Developer Implementation Notes: