66: --
67: hr_utility.set_location(' Leaving:'||l_proc, 10);
68: --
69: Exception
70: When hr_api.child_integrity_violated then
71: -- Child integrity has been violated
72: per_pos_shd.g_api_dml := false; -- Unset the api dml status
73: per_pos_shd.constraint_error
74: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
70: When hr_api.child_integrity_violated then
71: -- Child integrity has been violated
72: per_pos_shd.g_api_dml := false; -- Unset the api dml status
73: per_pos_shd.constraint_error
74: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
75: When Others Then
76: per_pos_shd.g_api_dml := false; -- Unset the api dml status
77: Raise;
78: End delete_dml;
253: ,p_object_version_number_o
254: => per_pos_shd.g_old_rec.object_version_number
255: );
256: exception
257: when hr_api.cannot_find_prog_unit then
258: hr_api.cannot_find_prog_unit_error
259: (p_module_name => 'PER_POSITIONS'
260: ,p_hook_type => 'AD'
261: );
254: => per_pos_shd.g_old_rec.object_version_number
255: );
256: exception
257: when hr_api.cannot_find_prog_unit then
258: hr_api.cannot_find_prog_unit_error
259: (p_module_name => 'PER_POSITIONS'
260: ,p_hook_type => 'AD'
261: );
262: end;
314: --
315: -- If we are validating then raise the Validate_Enabled exception
316: --
317: If p_validate then
318: Raise HR_Api.Validate_Enabled;
319: End If;
320: --
321: hr_utility.set_location(' Leaving:'||l_proc, 10);
322: Exception
319: End If;
320: --
321: hr_utility.set_location(' Leaving:'||l_proc, 10);
322: Exception
323: When HR_Api.Validate_Enabled Then
324: --
325: -- As the Validate_Enabled exception has been raised
326: -- we must rollback to the savepoint
327: --