176: per_psp_shd.g_api_dml := false; -- Unset the api dml status
177: --
178: hr_utility.set_location(' Leaving:'||l_proc, 10);
179: Exception
180: When hr_api.check_integrity_violated Then
181: -- A check constraint has been violated
182: per_psp_shd.g_api_dml := false; -- Unset the api dml status
183: per_psp_shd.constraint_error
184: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
180: When hr_api.check_integrity_violated Then
181: -- A check constraint has been violated
182: per_psp_shd.g_api_dml := false; -- Unset the api dml status
183: per_psp_shd.constraint_error
184: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
185: When hr_api.parent_integrity_violated Then
186: -- Parent integrity has been violated
187: per_psp_shd.g_api_dml := false; -- Unset the api dml status
188: per_psp_shd.constraint_error
181: -- A check constraint has been violated
182: per_psp_shd.g_api_dml := false; -- Unset the api dml status
183: per_psp_shd.constraint_error
184: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
185: When hr_api.parent_integrity_violated Then
186: -- Parent integrity has been violated
187: per_psp_shd.g_api_dml := false; -- Unset the api dml status
188: per_psp_shd.constraint_error
189: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
185: When hr_api.parent_integrity_violated Then
186: -- Parent integrity has been violated
187: per_psp_shd.g_api_dml := false; -- Unset the api dml status
188: per_psp_shd.constraint_error
189: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
190: When hr_api.unique_integrity_violated Then
191: -- Unique integrity has been violated
192: per_psp_shd.g_api_dml := false; -- Unset the api dml status
193: per_psp_shd.constraint_error
186: -- Parent integrity has been violated
187: per_psp_shd.g_api_dml := false; -- Unset the api dml status
188: per_psp_shd.constraint_error
189: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
190: When hr_api.unique_integrity_violated Then
191: -- Unique integrity has been violated
192: per_psp_shd.g_api_dml := false; -- Unset the api dml status
193: per_psp_shd.constraint_error
194: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
190: When hr_api.unique_integrity_violated Then
191: -- Unique integrity has been violated
192: per_psp_shd.g_api_dml := false; -- Unset the api dml status
193: per_psp_shd.constraint_error
194: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
195: When Others Then
196: per_psp_shd.g_api_dml := false; -- Unset the api dml status
197: Raise;
198: End insert_dml;
419: );
420: --
421: exception
422: --
423: when hr_api.cannot_find_prog_unit then
424: --
425: hr_api.cannot_find_prog_unit_error
426: (p_module_name => 'PER_SPINAL_POINTS'
427: ,p_hook_type => 'AI');
421: exception
422: --
423: when hr_api.cannot_find_prog_unit then
424: --
425: hr_api.cannot_find_prog_unit_error
426: (p_module_name => 'PER_SPINAL_POINTS'
427: ,p_hook_type => 'AI');
428: --
429: end;