889: end if;
890: --
891: -- Ensure that all the mandatory arguments are not null
892: --
893: hr_api.mandatory_arg_error(p_api_name => l_proc,
894: p_argument => 'effective_date',
895: p_argument_value => p_effective_date);
896: --
897: hr_api.mandatory_arg_error(p_api_name => l_proc,
893: hr_api.mandatory_arg_error(p_api_name => l_proc,
894: p_argument => 'effective_date',
895: p_argument_value => p_effective_date);
896: --
897: hr_api.mandatory_arg_error(p_api_name => l_proc,
898: p_argument => 'datetrack_mode',
899: p_argument_value => p_datetrack_mode);
900: --
901: hr_api.mandatory_arg_error(p_api_name => l_proc,
897: hr_api.mandatory_arg_error(p_api_name => l_proc,
898: p_argument => 'datetrack_mode',
899: p_argument_value => p_datetrack_mode);
900: --
901: hr_api.mandatory_arg_error(p_api_name => l_proc,
902: p_argument => 'position_id',
903: p_argument_value => p_position_id);
904: --
905: hr_api.mandatory_arg_error(p_api_name => l_proc,
901: hr_api.mandatory_arg_error(p_api_name => l_proc,
902: p_argument => 'position_id',
903: p_argument_value => p_position_id);
904: --
905: hr_api.mandatory_arg_error(p_api_name => l_proc,
906: p_argument => 'object_version_number',
907: p_argument_value => p_object_version_number);
908: --
909: -- Check to ensure the datetrack mode is not INSERT.
993: --
994: -- We need to trap the ORA LOCK exception
995: --
996: Exception
997: When HR_Api.Object_Locked then
998: --
999: -- The object is locked therefore we need to supply a meaningful
1000: -- error message.
1001: --