108: --
109: --
110: hr_utility.set_location(' Leaving:'||l_proc, 10);
111: Exception
112: When hr_api.check_integrity_violated Then
113: -- A check constraint has been violated
114: --
115: ghr_cpl_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.check_integrity_violated Then
113: -- A check constraint has been violated
114: --
115: ghr_cpl_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When hr_api.parent_integrity_violated Then
118: -- Parent integrity has been violated
119: --
120: ghr_cpl_shd.constraint_error
113: -- A check constraint has been violated
114: --
115: ghr_cpl_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When hr_api.parent_integrity_violated Then
118: -- Parent integrity has been violated
119: --
120: ghr_cpl_shd.constraint_error
121: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When hr_api.parent_integrity_violated Then
118: -- Parent integrity has been violated
119: --
120: ghr_cpl_shd.constraint_error
121: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
122: When hr_api.unique_integrity_violated Then
123: -- Unique integrity has been violated
124: --
125: ghr_cpl_shd.constraint_error
118: -- Parent integrity has been violated
119: --
120: ghr_cpl_shd.constraint_error
121: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
122: When hr_api.unique_integrity_violated Then
123: -- Unique integrity has been violated
124: --
125: ghr_cpl_shd.constraint_error
126: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
122: When hr_api.unique_integrity_violated Then
123: -- Unique integrity has been violated
124: --
125: ghr_cpl_shd.constraint_error
126: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
127: When Others Then
128: --
129: Raise;
130: End insert_dml;
276: );
277: --
278: exception
279: --
280: when hr_api.cannot_find_prog_unit then
281: --
282: hr_api.cannot_find_prog_unit_error
283: (p_module_name => 'GHR_COMPL_PEOPLE'
284: ,p_hook_type => 'AI');
278: exception
279: --
280: when hr_api.cannot_find_prog_unit then
281: --
282: hr_api.cannot_find_prog_unit_error
283: (p_module_name => 'GHR_COMPL_PEOPLE'
284: ,p_hook_type => 'AI');
285: --
286: end;