542: hr_utility.set_location('Entering:'||l_proc, 5);
543: --
544: -- Ensure that all the mandatory arguments are not null
545: --
546: hr_api.mandatory_arg_error(p_api_name => l_proc,
547: p_argument => 'effective_date',
548: p_argument_value => p_effective_date);
549: --
550: hr_api.mandatory_arg_error(p_api_name => l_proc,
546: hr_api.mandatory_arg_error(p_api_name => l_proc,
547: p_argument => 'effective_date',
548: p_argument_value => p_effective_date);
549: --
550: hr_api.mandatory_arg_error(p_api_name => l_proc,
551: p_argument => 'datetrack_mode',
552: p_argument_value => p_datetrack_mode);
553: --
554: hr_api.mandatory_arg_error(p_api_name => l_proc,
550: hr_api.mandatory_arg_error(p_api_name => l_proc,
551: p_argument => 'datetrack_mode',
552: p_argument_value => p_datetrack_mode);
553: --
554: hr_api.mandatory_arg_error(p_api_name => l_proc,
555: p_argument => 'pgm_id',
556: p_argument_value => p_pgm_id);
557: --
558: hr_api.mandatory_arg_error(p_api_name => l_proc,
554: hr_api.mandatory_arg_error(p_api_name => l_proc,
555: p_argument => 'pgm_id',
556: p_argument_value => p_pgm_id);
557: --
558: hr_api.mandatory_arg_error(p_api_name => l_proc,
559: p_argument => 'object_version_number',
560: p_argument_value => p_object_version_number);
561: --
562: -- Check to ensure the datetrack mode is not INSERT.
687: --
688: -- We need to trap the ORA LOCK exception
689: --
690: Exception
691: When HR_Api.Object_Locked then
692: --
693: -- The object is locked therefore we need to supply a meaningful
694: -- error message.
695: --