DBA Data[Home] [Help]

APPS.PER_VGR_INS dependencies on HR_API

Line 142: When hr_api.check_integrity_violated Then

138: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
139: --
140: hr_utility.set_location(' Leaving:'||l_proc, 10);
141: Exception
142: When hr_api.check_integrity_violated Then
143: -- A check constraint has been violated
144: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
145: per_vgr_shd.constraint_error
146: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 146: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

142: When hr_api.check_integrity_violated Then
143: -- A check constraint has been violated
144: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
145: per_vgr_shd.constraint_error
146: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
147: When hr_api.parent_integrity_violated Then
148: -- Parent integrity has been violated
149: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
150: per_vgr_shd.constraint_error

Line 147: When hr_api.parent_integrity_violated Then

143: -- A check constraint has been violated
144: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
145: per_vgr_shd.constraint_error
146: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
147: When hr_api.parent_integrity_violated Then
148: -- Parent integrity has been violated
149: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
150: per_vgr_shd.constraint_error
151: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 151: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

147: When hr_api.parent_integrity_violated Then
148: -- Parent integrity has been violated
149: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
150: per_vgr_shd.constraint_error
151: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
152: When hr_api.unique_integrity_violated Then
153: -- Unique integrity has been violated
154: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
155: per_vgr_shd.constraint_error

Line 152: When hr_api.unique_integrity_violated Then

148: -- Parent integrity has been violated
149: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
150: per_vgr_shd.constraint_error
151: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
152: When hr_api.unique_integrity_violated Then
153: -- Unique integrity has been violated
154: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
155: per_vgr_shd.constraint_error
156: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 156: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

152: When hr_api.unique_integrity_violated Then
153: -- Unique integrity has been violated
154: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
155: per_vgr_shd.constraint_error
156: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
157: When Others Then
158: per_vgr_shd.g_api_dml := false; -- Unset the api dml status
159: Raise;
160: End insert_dml;

Line 298: when hr_api.cannot_find_prog_unit then

294: ,p_attribute20 => p_rec.attribute20
295: ,p_object_version_number => p_rec.object_version_number
296: );
297: exception
298: when hr_api.cannot_find_prog_unit then
299: hr_api.cannot_find_prog_unit_error
300: ( p_module_name => 'PER_VALID_GRADES',
301: p_hook_type => 'AI'
302: );

Line 299: hr_api.cannot_find_prog_unit_error

295: ,p_object_version_number => p_rec.object_version_number
296: );
297: exception
298: when hr_api.cannot_find_prog_unit then
299: hr_api.cannot_find_prog_unit_error
300: ( p_module_name => 'PER_VALID_GRADES',
301: p_hook_type => 'AI'
302: );
303: end;

Line 352: Raise HR_Api.Validate_Enabled;

348: --
349: -- If we are validating then raise the Validate_Enabled exception
350: --
351: If p_validate then
352: Raise HR_Api.Validate_Enabled;
353: End If;
354: --
355: hr_utility.set_location(' Leaving:'||l_proc, 10);
356: Exception

Line 357: When HR_Api.Validate_Enabled Then

353: End If;
354: --
355: hr_utility.set_location(' Leaving:'||l_proc, 10);
356: Exception
357: When HR_Api.Validate_Enabled Then
358: --
359: -- As the Validate_Enabled exception has been raised
360: -- we must rollback to the savepoint
361: --