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: pqh_pre_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: pqh_pre_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: pqh_pre_shd.constraint_error
113: -- A check constraint has been violated
114: --
115: pqh_pre_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: pqh_pre_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: pqh_pre_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: pqh_pre_shd.constraint_error
118: -- Parent integrity has been violated
119: --
120: pqh_pre_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: pqh_pre_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: pqh_pre_shd.constraint_error
126: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
127: When Others Then
128: --
129: Raise;
130: End insert_dml;
281: );
282: --
283: exception
284: --
285: when hr_api.cannot_find_prog_unit then
286: --
287: hr_api.cannot_find_prog_unit_error
288: (p_module_name => 'PQH_DE_INS_END_REASONS'
289: ,p_hook_type => 'AI');
283: exception
284: --
285: when hr_api.cannot_find_prog_unit then
286: --
287: hr_api.cannot_find_prog_unit_error
288: (p_module_name => 'PQH_DE_INS_END_REASONS'
289: ,p_hook_type => 'AI');
290: --
291: end;