214: --
215: --
216: hr_utility.set_location(' Leaving:'||l_proc, 10);
217: Exception
218: When hr_api.check_integrity_violated Then
219: -- A check constraint has been violated
220: --
221: ota_tpc_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
218: When hr_api.check_integrity_violated Then
219: -- A check constraint has been violated
220: --
221: ota_tpc_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated
225: --
226: ota_tpc_shd.constraint_error
219: -- A check constraint has been violated
220: --
221: ota_tpc_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated
225: --
226: ota_tpc_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated
225: --
226: ota_tpc_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated
230: --
231: ota_tpc_shd.constraint_error
224: -- Parent integrity has been violated
225: --
226: ota_tpc_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated
230: --
231: ota_tpc_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated
230: --
231: ota_tpc_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When Others Then
234: --
235: Raise;
236: End insert_dml;
483: );
484: --
485: exception
486: --
487: when hr_api.cannot_find_prog_unit then
488: --
489: hr_api.cannot_find_prog_unit_error
490: (p_module_name => 'OTA_TRAINING_PLAN_COSTS'
491: ,p_hook_type => 'AI');
485: exception
486: --
487: when hr_api.cannot_find_prog_unit then
488: --
489: hr_api.cannot_find_prog_unit_error
490: (p_module_name => 'OTA_TRAINING_PLAN_COSTS'
491: ,p_hook_type => 'AI');
492: --
493: end;