136: --
137: Begin
138: hr_utility.set_location('Entering:'||l_proc, 5);
139: --
140: hr_api.mandatory_arg_error
141: (p_api_name => l_proc
142: ,p_argument => 'SETUP_TASK_CODE'
143: ,p_argument_value => p_setup_task_code
144: );
142: ,p_argument => 'SETUP_TASK_CODE'
143: ,p_argument_value => p_setup_task_code
144: );
145: hr_utility.set_location(l_proc,6);
146: hr_api.mandatory_arg_error
147: (p_api_name => l_proc
148: ,p_argument => 'OBJECT_VERSION_NUMBER'
149: ,p_argument_value => p_object_version_number
150: );
170: --
171: -- We need to trap the ORA LOCK exception
172: --
173: Exception
174: When HR_Api.Object_Locked then
175: --
176: -- The object is locked therefore we need to supply a meaningful
177: -- error message.
178: --