216: per_abb_shd.g_api_dml := false; -- Unset the api dml status
217: --
218: hr_utility.set_location(' Leaving:'||l_proc, 10);
219: Exception
220: When hr_api.check_integrity_violated Then
221: -- A check constraint has been violated
222: per_abb_shd.g_api_dml := false; -- Unset the api dml status
223: per_abb_shd.constraint_error
224: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
220: When hr_api.check_integrity_violated Then
221: -- A check constraint has been violated
222: per_abb_shd.g_api_dml := false; -- Unset the api dml status
223: per_abb_shd.constraint_error
224: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
225: When hr_api.parent_integrity_violated Then
226: -- Parent integrity has been violated
227: per_abb_shd.g_api_dml := false; -- Unset the api dml status
228: per_abb_shd.constraint_error
221: -- A check constraint has been violated
222: per_abb_shd.g_api_dml := false; -- Unset the api dml status
223: per_abb_shd.constraint_error
224: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
225: When hr_api.parent_integrity_violated Then
226: -- Parent integrity has been violated
227: per_abb_shd.g_api_dml := false; -- Unset the api dml status
228: per_abb_shd.constraint_error
229: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
225: When hr_api.parent_integrity_violated Then
226: -- Parent integrity has been violated
227: per_abb_shd.g_api_dml := false; -- Unset the api dml status
228: per_abb_shd.constraint_error
229: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
230: When hr_api.unique_integrity_violated Then
231: -- Unique integrity has been violated
232: per_abb_shd.g_api_dml := false; -- Unset the api dml status
233: per_abb_shd.constraint_error
226: -- Parent integrity has been violated
227: per_abb_shd.g_api_dml := false; -- Unset the api dml status
228: per_abb_shd.constraint_error
229: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
230: When hr_api.unique_integrity_violated Then
231: -- Unique integrity has been violated
232: per_abb_shd.g_api_dml := false; -- Unset the api dml status
233: per_abb_shd.constraint_error
234: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
230: When hr_api.unique_integrity_violated Then
231: -- Unique integrity has been violated
232: per_abb_shd.g_api_dml := false; -- Unset the api dml status
233: per_abb_shd.constraint_error
234: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
235: When Others Then
236: per_abb_shd.g_api_dml := false; -- Unset the api dml status
237: Raise;
238: End insert_dml;
498: );
499: --
500: exception
501: --
502: when hr_api.cannot_find_prog_unit then
503: --
504: hr_api.cannot_find_prog_unit_error
505: (p_module_name => 'PER_ABSENCE_ATTENDANCE_TYPES'
506: ,p_hook_type => 'AI');
500: exception
501: --
502: when hr_api.cannot_find_prog_unit then
503: --
504: hr_api.cannot_find_prog_unit_error
505: (p_module_name => 'PER_ABSENCE_ATTENDANCE_TYPES'
506: ,p_hook_type => 'AI');
507: --
508: end;