DBA Data[Home] [Help]

APPS.PER_POS_INS dependencies on HR_API

Line 168: When hr_api.check_integrity_violated Then

164: per_pos_shd.g_api_dml := false; -- Unset the api dml status
165: --
166: hr_utility.set_location(' Leaving:'||l_proc, 10);
167: Exception
168: When hr_api.check_integrity_violated Then
169: -- A check constraint has been violated
170: per_pos_shd.g_api_dml := false; -- Unset the api dml status
171: per_pos_shd.constraint_error
172: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

168: When hr_api.check_integrity_violated Then
169: -- A check constraint has been violated
170: per_pos_shd.g_api_dml := false; -- Unset the api dml status
171: per_pos_shd.constraint_error
172: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
173: When hr_api.parent_integrity_violated Then
174: -- Parent integrity has been violated
175: per_pos_shd.g_api_dml := false; -- Unset the api dml status
176: per_pos_shd.constraint_error

Line 173: When hr_api.parent_integrity_violated Then

169: -- A check constraint has been violated
170: per_pos_shd.g_api_dml := false; -- Unset the api dml status
171: per_pos_shd.constraint_error
172: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
173: When hr_api.parent_integrity_violated Then
174: -- Parent integrity has been violated
175: per_pos_shd.g_api_dml := false; -- Unset the api dml status
176: per_pos_shd.constraint_error
177: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

173: When hr_api.parent_integrity_violated Then
174: -- Parent integrity has been violated
175: per_pos_shd.g_api_dml := false; -- Unset the api dml status
176: per_pos_shd.constraint_error
177: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
178: When hr_api.unique_integrity_violated Then
179: -- Unique integrity has been violated
180: per_pos_shd.g_api_dml := false; -- Unset the api dml status
181: per_pos_shd.constraint_error

Line 178: When hr_api.unique_integrity_violated Then

174: -- Parent integrity has been violated
175: per_pos_shd.g_api_dml := false; -- Unset the api dml status
176: per_pos_shd.constraint_error
177: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
178: When hr_api.unique_integrity_violated Then
179: -- Unique integrity has been violated
180: per_pos_shd.g_api_dml := false; -- Unset the api dml status
181: per_pos_shd.constraint_error
182: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

178: When hr_api.unique_integrity_violated Then
179: -- Unique integrity has been violated
180: per_pos_shd.g_api_dml := false; -- Unset the api dml status
181: per_pos_shd.constraint_error
182: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
183: When Others Then
184: per_pos_shd.g_api_dml := false; -- Unset the api dml status
185: Raise;
186: End insert_dml;

Line 338: when hr_api.cannot_find_prog_unit then

334: ,p_attribute20 => p_rec.attribute20
335: ,p_object_version_number => p_rec.object_version_number
336: );
337: exception
338: when hr_api.cannot_find_prog_unit then
339: hr_api.cannot_find_prog_unit_error
340: (p_module_name => 'PER_POSITIONS'
341: ,p_hook_type => 'AI'
342: );

Line 339: hr_api.cannot_find_prog_unit_error

335: ,p_object_version_number => p_rec.object_version_number
336: );
337: exception
338: when hr_api.cannot_find_prog_unit then
339: hr_api.cannot_find_prog_unit_error
340: (p_module_name => 'PER_POSITIONS'
341: ,p_hook_type => 'AI'
342: );
343: end;

Line 392: Raise HR_Api.Validate_Enabled;

388: --
389: -- If we are validating then raise the Validate_Enabled exception
390: --
391: If p_validate then
392: Raise HR_Api.Validate_Enabled;
393: End If;
394: --
395: per_pos_shd.G_DT_INS:=FALSE;
396: --

Line 399: When HR_Api.Validate_Enabled Then

395: per_pos_shd.G_DT_INS:=FALSE;
396: --
397: hr_utility.set_location(' Leaving:'||l_proc, 10);
398: Exception
399: When HR_Api.Validate_Enabled Then
400: --
401: -- As the Validate_Enabled exception has been raised
402: -- we must rollback to the savepoint
403: --