214: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
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: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
221: pqp_vai_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: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
221: pqp_vai_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: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
226: pqp_vai_shd.constraint_error
219: -- A check constraint has been violated
220: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
221: pqp_vai_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: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
226: pqp_vai_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: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
226: pqp_vai_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: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
231: pqp_vai_shd.constraint_error
224: -- Parent integrity has been violated
225: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
226: pqp_vai_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: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
231: pqp_vai_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: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
231: pqp_vai_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When Others Then
234: pqp_vai_shd.g_api_dml := false; -- Unset the api dml status
235: Raise;
236: End insert_dml;
493: );
494: --
495: exception
496: --
497: when hr_api.cannot_find_prog_unit then
498: --
499: hr_api.cannot_find_prog_unit_error
500: (p_module_name => 'PQP_VEH_ALLOC_EXTRA_INFO'
501: ,p_hook_type => 'AI');
495: exception
496: --
497: when hr_api.cannot_find_prog_unit then
498: --
499: hr_api.cannot_find_prog_unit_error
500: (p_module_name => 'PQP_VEH_ALLOC_EXTRA_INFO'
501: ,p_hook_type => 'AI');
502: --
503: end;