397: hr_utility.set_location('Entering:'||l_proc, 5);
398: --
399: -- Ensure that all the mandatory arguments are not null
400: --
401: hr_api.mandatory_arg_error(p_api_name => l_proc,
402: p_argument => 'effective_date',
403: p_argument_value => p_effective_date);
404: --
405: hr_api.mandatory_arg_error(p_api_name => l_proc,
401: hr_api.mandatory_arg_error(p_api_name => l_proc,
402: p_argument => 'effective_date',
403: p_argument_value => p_effective_date);
404: --
405: hr_api.mandatory_arg_error(p_api_name => l_proc,
406: p_argument => 'datetrack_mode',
407: p_argument_value => p_datetrack_mode);
408: --
409: hr_api.mandatory_arg_error(p_api_name => l_proc,
405: hr_api.mandatory_arg_error(p_api_name => l_proc,
406: p_argument => 'datetrack_mode',
407: p_argument_value => p_datetrack_mode);
408: --
409: hr_api.mandatory_arg_error(p_api_name => l_proc,
410: p_argument => 'mtchg_rt_id',
411: p_argument_value => p_mtchg_rt_id);
412: --
413: hr_api.mandatory_arg_error(p_api_name => l_proc,
409: hr_api.mandatory_arg_error(p_api_name => l_proc,
410: p_argument => 'mtchg_rt_id',
411: p_argument_value => p_mtchg_rt_id);
412: --
413: hr_api.mandatory_arg_error(p_api_name => l_proc,
414: p_argument => 'object_version_number',
415: p_argument_value => p_object_version_number);
416: --
417: -- Check to ensure the datetrack mode is not INSERT.
474: --
475: -- We need to trap the ORA LOCK exception
476: --
477: Exception
478: When HR_Api.Object_Locked then
479: --
480: -- The object is locked therefore we need to supply a meaningful
481: -- error message.
482: --