229: Begin
230: --
231: -- Ensure that the p_datetrack_mode argument is not null
232: --
233: hr_api.mandatory_arg_error
234: (p_api_name => l_proc
235: ,p_argument => 'datetrack_mode'
236: ,p_argument_value => p_datetrack_mode
237: );
239: -- Mode will be valid, as this is checked at the start of the upd.
240: --
241: -- Ensure the arguments are not null
242: --
243: hr_api.mandatory_arg_error
244: (p_api_name => l_proc
245: ,p_argument => 'validation_start_date'
246: ,p_argument_value => p_validation_start_date
247: );
245: ,p_argument => 'validation_start_date'
246: ,p_argument_value => p_validation_start_date
247: );
248: --
249: /*hr_api.mandatory_arg_error
250: (p_api_name => l_proc
251: ,p_argument => 'validation_end_date'
252: ,p_argument_value => p_validation_end_date
253: );*/
312: Begin
313: --
314: -- Ensure that the p_datetrack_mode argument is not null
315: --
316: hr_api.mandatory_arg_error
317: (p_api_name => l_proc
318: ,p_argument => 'datetrack_mode'
319: ,p_argument_value => p_datetrack_mode
320: );
321: --
322: -- Only perform the validation if the datetrack mode is either
323: -- DELETE or ZAP
324: --
325: If (p_datetrack_mode = hr_api.g_delete or
326: p_datetrack_mode = hr_api.g_zap) then
327: --
328: --
329: -- Ensure the arguments are not null
322: -- Only perform the validation if the datetrack mode is either
323: -- DELETE or ZAP
324: --
325: If (p_datetrack_mode = hr_api.g_delete or
326: p_datetrack_mode = hr_api.g_zap) then
327: --
328: --
329: -- Ensure the arguments are not null
330: --
327: --
328: --
329: -- Ensure the arguments are not null
330: --
331: hr_api.mandatory_arg_error
332: (p_api_name => l_proc
333: ,p_argument => 'validation_start_date'
334: ,p_argument_value => p_validation_start_date
335: );
333: ,p_argument => 'validation_start_date'
334: ,p_argument_value => p_validation_start_date
335: );
336: --
337: /*hr_api.mandatory_arg_error
338: (p_api_name => l_proc
339: ,p_argument => 'validation_end_date'
340: ,p_argument_value => p_validation_end_date
341: );*/
339: ,p_argument => 'validation_end_date'
340: ,p_argument_value => p_validation_end_date
341: );*/
342: --
343: hr_api.mandatory_arg_error
344: (p_api_name => l_proc
345: ,p_argument => 'condition_id'
346: ,p_argument_value => p_condition_id
347: );