DBA Data[Home] [Help]

APPS.PER_ESA_INS dependencies on HR_API

Line 160: When hr_api.check_integrity_violated Then

156: per_esa_shd.g_api_dml := false; -- Unset the api dml status
157: --
158: hr_utility.set_location(' Leaving:'||l_proc, 10);
159: Exception
160: When hr_api.check_integrity_violated Then
161: -- A check constraint has been violated
162: per_esa_shd.g_api_dml := false; -- Unset the api dml status
163: per_esa_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

160: When hr_api.check_integrity_violated Then
161: -- A check constraint has been violated
162: per_esa_shd.g_api_dml := false; -- Unset the api dml status
163: per_esa_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated
167: per_esa_shd.g_api_dml := false; -- Unset the api dml status
168: per_esa_shd.constraint_error

Line 165: When hr_api.parent_integrity_violated Then

161: -- A check constraint has been violated
162: per_esa_shd.g_api_dml := false; -- Unset the api dml status
163: per_esa_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated
167: per_esa_shd.g_api_dml := false; -- Unset the api dml status
168: per_esa_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated
167: per_esa_shd.g_api_dml := false; -- Unset the api dml status
168: per_esa_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: per_esa_shd.g_api_dml := false; -- Unset the api dml status
173: per_esa_shd.constraint_error

Line 170: When hr_api.unique_integrity_violated Then

166: -- Parent integrity has been violated
167: per_esa_shd.g_api_dml := false; -- Unset the api dml status
168: per_esa_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: per_esa_shd.g_api_dml := false; -- Unset the api dml status
173: per_esa_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: per_esa_shd.g_api_dml := false; -- Unset the api dml status
173: per_esa_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: per_esa_shd.g_api_dml := false; -- Unset the api dml status
177: Raise;
178: End insert_dml;

Line 353: when hr_api.cannot_find_prog_unit then

349: p_party_id => p_rec.party_id, -- HR/TCA merge
350: p_address => p_rec.address
351: );
352: exception
353: when hr_api.cannot_find_prog_unit then
354: hr_api.cannot_find_prog_unit_error
355: (p_module_name => 'PER_ESTABLISHMENT_ATTENDANCES'
356: ,p_hook_type => 'AI'
357: );

Line 354: hr_api.cannot_find_prog_unit_error

350: p_address => p_rec.address
351: );
352: exception
353: when hr_api.cannot_find_prog_unit then
354: hr_api.cannot_find_prog_unit_error
355: (p_module_name => 'PER_ESTABLISHMENT_ATTENDANCES'
356: ,p_hook_type => 'AI'
357: );
358: end;

Line 407: Raise HR_Api.Validate_Enabled;

403: --
404: -- If we are validating then raise the Validate_Enabled exception
405: --
406: If p_validate then
407: Raise HR_Api.Validate_Enabled;
408: End If;
409: --
410: hr_utility.set_location(' Leaving:'||l_proc, 10);
411: Exception

Line 412: When HR_Api.Validate_Enabled Then

408: End If;
409: --
410: hr_utility.set_location(' Leaving:'||l_proc, 10);
411: Exception
412: When HR_Api.Validate_Enabled Then
413: --
414: -- As the Validate_Enabled exception has been raised
415: -- we must rollback to the savepoint
416: --