DBA Data[Home] [Help]

APPS.PER_ASG_INS dependencies on HR_API

Line 396: When hr_api.check_integrity_violated Then

392: per_asg_shd.g_api_dml := false; -- Unset the api dml status
393: hr_utility.set_location(' Leaving:'||l_proc, 15);
394: --
395: Exception
396: When hr_api.check_integrity_violated Then
397: -- A check constraint has been violated
398: per_asg_shd.g_api_dml := false; -- Unset the api dml status
399: per_asg_shd.constraint_error
400: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

396: When hr_api.check_integrity_violated Then
397: -- A check constraint has been violated
398: per_asg_shd.g_api_dml := false; -- Unset the api dml status
399: per_asg_shd.constraint_error
400: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
401: When hr_api.unique_integrity_violated Then
402: -- Unique integrity has been violated
403: per_asg_shd.g_api_dml := false; -- Unset the api dml status
404: per_asg_shd.constraint_error

Line 401: When hr_api.unique_integrity_violated Then

397: -- A check constraint has been violated
398: per_asg_shd.g_api_dml := false; -- Unset the api dml status
399: per_asg_shd.constraint_error
400: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
401: When hr_api.unique_integrity_violated Then
402: -- Unique integrity has been violated
403: per_asg_shd.g_api_dml := false; -- Unset the api dml status
404: per_asg_shd.constraint_error
405: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

401: When hr_api.unique_integrity_violated Then
402: -- Unique integrity has been violated
403: per_asg_shd.g_api_dml := false; -- Unset the api dml status
404: per_asg_shd.constraint_error
405: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
406: When Others Then
407: per_asg_shd.g_api_dml := false; -- Unset the api dml status
408: Raise;
409: End dt_insert_dml;

Line 941: when hr_api.cannot_find_prog_unit then

937: ,p_po_header_id => p_rec.po_header_id
938: ,p_po_line_id => p_rec.po_line_id
939: ,p_projected_assignment_end => p_rec.projected_assignment_end);
940: exception
941: when hr_api.cannot_find_prog_unit then
942: hr_api.cannot_find_prog_unit_error
943: (p_module_name => 'PER_ALL_ASSIGNMENTS_F'
944: ,p_hook_type => 'AI'
945: );

Line 942: hr_api.cannot_find_prog_unit_error

938: ,p_po_line_id => p_rec.po_line_id
939: ,p_projected_assignment_end => p_rec.projected_assignment_end);
940: exception
941: when hr_api.cannot_find_prog_unit then
942: hr_api.cannot_find_prog_unit_error
943: (p_module_name => 'PER_ALL_ASSIGNMENTS_F'
944: ,p_hook_type => 'AI'
945: );
946: end;

Line 1117: -- another user. This will raise the HR_Api.Object_Locked exception.

1113: --
1114: -- Post Failure:
1115: -- The Lck process can fail for:
1116: -- 1) When attempting to lock the row the row could already be locked by
1117: -- another user. This will raise the HR_Api.Object_Locked exception.
1118: -- 2) When attempting to the lock the parent which doesn't exist.
1119: -- For the entity to be locked the parent must exist!
1120: --
1121: -- Developer Implementation Notes:

Line 1282: Raise HR_Api.Validate_Enabled;

1278: --
1279: -- If we are validating then raise the Validate_Enabled exception
1280: --
1281: If p_validate then
1282: Raise HR_Api.Validate_Enabled;
1283: End If;
1284: --
1285: hr_utility.set_location(' Leaving:'||l_proc, 10);
1286: Exception

Line 1287: When HR_Api.Validate_Enabled Then

1283: End If;
1284: --
1285: hr_utility.set_location(' Leaving:'||l_proc, 10);
1286: Exception
1287: When HR_Api.Validate_Enabled Then
1288: --
1289: -- As the Validate_Enabled exception has been raised
1290: -- we must rollback to the savepoint
1291: --