DBA Data[Home] [Help]

APPS.BEN_ASG_INS dependencies on HR_API

Line 363: When hr_api.check_integrity_violated Then

359: per_asg_shd.g_api_dml := false; -- Unset the api dml status
360: hr_utility.set_location(' Leaving:'||l_proc, 15);
361: --
362: Exception
363: When hr_api.check_integrity_violated Then
364: -- A check constraint has been violated
365: per_asg_shd.g_api_dml := false; -- Unset the api dml status
366: per_asg_shd.constraint_error
367: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

363: When hr_api.check_integrity_violated Then
364: -- A check constraint has been violated
365: per_asg_shd.g_api_dml := false; -- Unset the api dml status
366: per_asg_shd.constraint_error
367: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
368: When hr_api.unique_integrity_violated Then
369: -- Unique integrity has been violated
370: per_asg_shd.g_api_dml := false; -- Unset the api dml status
371: per_asg_shd.constraint_error

Line 368: When hr_api.unique_integrity_violated Then

364: -- A check constraint has been violated
365: per_asg_shd.g_api_dml := false; -- Unset the api dml status
366: per_asg_shd.constraint_error
367: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
368: When hr_api.unique_integrity_violated Then
369: -- Unique integrity has been violated
370: per_asg_shd.g_api_dml := false; -- Unset the api dml status
371: per_asg_shd.constraint_error
372: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

368: When hr_api.unique_integrity_violated Then
369: -- Unique integrity has been violated
370: per_asg_shd.g_api_dml := false; -- Unset the api dml status
371: per_asg_shd.constraint_error
372: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
373: When Others Then
374: per_asg_shd.g_api_dml := false; -- Unset the api dml status
375: Raise;
376: End dt_insert_dml;

Line 720: when hr_api.cannot_find_prog_unit then

716: ,p_po_line_id => p_rec.po_line_id
717: ,p_projected_assignment_end => p_rec.projected_assignment_end
718: );
719: exception
720: when hr_api.cannot_find_prog_unit then
721: hr_api.cannot_find_prog_unit_error
722: (p_module_name => 'PER_ALL_ASSIGNMENTS_F'
723: ,p_hook_type => 'AI'
724: );

Line 721: hr_api.cannot_find_prog_unit_error

717: ,p_projected_assignment_end => p_rec.projected_assignment_end
718: );
719: exception
720: when hr_api.cannot_find_prog_unit then
721: hr_api.cannot_find_prog_unit_error
722: (p_module_name => 'PER_ALL_ASSIGNMENTS_F'
723: ,p_hook_type => 'AI'
724: );
725: end;

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

751: --
752: -- Post Failure:
753: -- The Lck process can fail for:
754: -- 1) When attempting to lock the row the row could already be locked by
755: -- another user. This will raise the HR_Api.Object_Locked exception.
756: -- 2) When attempting to the lock the parent which doesn't exist.
757: -- For the entity to be locked the parent must exist!
758: --
759: -- Developer Implementation Notes:

Line 884: hr_api.validate_bus_grp_id(p_rec.business_group_id);

880:
881: --
882: -- Check Business Group
883: --
884: hr_api.validate_bus_grp_id(p_rec.business_group_id);
885:
886: --
887: -- Generate Assignment Sequence
888: --

Line 944: Raise HR_Api.Validate_Enabled;

940: --
941: -- If we are validating then raise the Validate_Enabled exception
942: --
943: If p_validate then
944: Raise HR_Api.Validate_Enabled;
945: End If;
946: --
947: hr_utility.set_location(' Leaving:'||l_proc, 10);
948: Exception

Line 949: When HR_Api.Validate_Enabled Then

945: End If;
946: --
947: hr_utility.set_location(' Leaving:'||l_proc, 10);
948: Exception
949: When HR_Api.Validate_Enabled Then
950: --
951: -- As the Validate_Enabled exception has been raised
952: -- we must rollback to the savepoint
953: --