293: hr_utility.set_location('Entering:'||l_proc, 5);
294: --
295: -- Ensure that all the mandatory arguments are not null
296: --
297: hr_api.mandatory_arg_error(p_api_name => l_proc,
298: p_argument => 'effective_date',
299: p_argument_value => p_effective_date);
300: --
301: hr_api.mandatory_arg_error(p_api_name => l_proc,
297: hr_api.mandatory_arg_error(p_api_name => l_proc,
298: p_argument => 'effective_date',
299: p_argument_value => p_effective_date);
300: --
301: hr_api.mandatory_arg_error(p_api_name => l_proc,
302: p_argument => 'datetrack_mode',
303: p_argument_value => p_datetrack_mode);
304: --
305: hr_api.mandatory_arg_error(p_api_name => l_proc,
301: hr_api.mandatory_arg_error(p_api_name => l_proc,
302: p_argument => 'datetrack_mode',
303: p_argument_value => p_datetrack_mode);
304: --
305: hr_api.mandatory_arg_error(p_api_name => l_proc,
306: p_argument => 'duty_station_id',
307: p_argument_value => p_duty_station_id);
308: --
309: hr_api.mandatory_arg_error(p_api_name => l_proc,
305: hr_api.mandatory_arg_error(p_api_name => l_proc,
306: p_argument => 'duty_station_id',
307: p_argument_value => p_duty_station_id);
308: --
309: hr_api.mandatory_arg_error(p_api_name => l_proc,
310: p_argument => 'object_version_number',
311: p_argument_value => p_object_version_number);
312: --
313: -- Check to ensure the datetrack mode is not INSERT.
367: --
368: -- We need to trap the ORA LOCK exception
369: --
370: Exception
371: When HR_Api.Object_Locked then
372: --
373: -- The object is locked therefore we need to supply a meaningful
374: -- error message.
375: --