DBA Data[Home] [Help]

APPS.PER_APL_INS dependencies on HR_API

Line 144: When hr_api.check_integrity_violated Then

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

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

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

Line 149: When hr_api.parent_integrity_violated Then

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

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

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

Line 154: When hr_api.unique_integrity_violated Then

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

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

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

Line 301: when hr_api.cannot_find_prog_unit then

297: ,p_object_version_number => p_rec.object_version_number
298: ,p_effective_date => p_effective_date
299: );
300: exception
301: when hr_api.cannot_find_prog_unit then
302: hr_api.cannot_find_prog_unit_error
303: (p_module_name => 'PER_APPLICATIONS'
304: ,p_hook_type => 'AI'
305: );

Line 302: hr_api.cannot_find_prog_unit_error

298: ,p_effective_date => p_effective_date
299: );
300: exception
301: when hr_api.cannot_find_prog_unit then
302: hr_api.cannot_find_prog_unit_error
303: (p_module_name => 'PER_APPLICATIONS'
304: ,p_hook_type => 'AI'
305: );
306: end;

Line 367: Raise HR_Api.Validate_Enabled;

363: --
364: -- If we are validating then raise the Validate_Enabled exception
365: --
366: If p_validate then
367: Raise HR_Api.Validate_Enabled;
368: End If;
369: --
370: hr_utility.set_location(' Leaving:'||l_proc, 10);
371: Exception

Line 372: When HR_Api.Validate_Enabled Then

368: End If;
369: --
370: hr_utility.set_location(' Leaving:'||l_proc, 10);
371: Exception
372: When HR_Api.Validate_Enabled Then
373: --
374: -- As the Validate_Enabled exception has been raised
375: -- we must rollback to the savepoint
376: --