112: --
113: --
114: hr_utility.set_location(' Leaving:'||l_proc, 10);
115: Exception
116: When hr_api.check_integrity_violated Then
117: -- A check constraint has been violated
118: --
119: ghr_cst_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
116: When hr_api.check_integrity_violated Then
117: -- A check constraint has been violated
118: --
119: ghr_cst_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated
123: --
124: ghr_cst_shd.constraint_error
117: -- A check constraint has been violated
118: --
119: ghr_cst_shd.constraint_error
120: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated
123: --
124: ghr_cst_shd.constraint_error
125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
121: When hr_api.parent_integrity_violated Then
122: -- Parent integrity has been violated
123: --
124: ghr_cst_shd.constraint_error
125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated
128: --
129: ghr_cst_shd.constraint_error
122: -- Parent integrity has been violated
123: --
124: ghr_cst_shd.constraint_error
125: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated
128: --
129: ghr_cst_shd.constraint_error
130: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
126: When hr_api.unique_integrity_violated Then
127: -- Unique integrity has been violated
128: --
129: ghr_cst_shd.constraint_error
130: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
131: When Others Then
132: --
133: Raise;
134: End insert_dml;
282: );
283: --
284: exception
285: --
286: when hr_api.cannot_find_prog_unit then
287: --
288: hr_api.cannot_find_prog_unit_error
289: (p_module_name => 'GHR_COMPL_AGENCY_COSTS'
290: ,p_hook_type => 'AI');
284: exception
285: --
286: when hr_api.cannot_find_prog_unit then
287: --
288: hr_api.cannot_find_prog_unit_error
289: (p_module_name => 'GHR_COMPL_AGENCY_COSTS'
290: ,p_hook_type => 'AI');
291: --
292: end;