365: Begin
366: --
367: -- Ensure that the p_datetrack_mode argument is not null
368: --
369: hr_api.mandatory_arg_error
370: (p_api_name => l_proc
371: ,p_argument => 'datetrack_mode'
372: ,p_argument_value => p_datetrack_mode
373: );
375: -- Mode will be valid, as this is checked at the start of the upd.
376: --
377: -- Ensure the arguments are not null
378: --
379: hr_api.mandatory_arg_error
380: (p_api_name => l_proc
381: ,p_argument => 'validation_start_date'
382: ,p_argument_value => p_validation_start_date
383: );
381: ,p_argument => 'validation_start_date'
382: ,p_argument_value => p_validation_start_date
383: );
384: --
385: /*hr_api.mandatory_arg_error
386: (p_api_name => l_proc
387: ,p_argument => 'validation_end_date'
388: ,p_argument_value => p_validation_end_date
389: );*/
448: Begin
449: --
450: -- Ensure that the p_datetrack_mode argument is not null
451: --
452: hr_api.mandatory_arg_error
453: (p_api_name => l_proc
454: ,p_argument => 'datetrack_mode'
455: ,p_argument_value => p_datetrack_mode
456: );
457: --
458: -- Only perform the validation if the datetrack mode is either
459: -- DELETE or ZAP
460: --
461: If (p_datetrack_mode = hr_api.g_delete or
462: p_datetrack_mode = hr_api.g_zap) then
463: --
464: --
465: -- Ensure the arguments are not null
458: -- Only perform the validation if the datetrack mode is either
459: -- DELETE or ZAP
460: --
461: If (p_datetrack_mode = hr_api.g_delete or
462: p_datetrack_mode = hr_api.g_zap) then
463: --
464: --
465: -- Ensure the arguments are not null
466: --
463: --
464: --
465: -- Ensure the arguments are not null
466: --
467: hr_api.mandatory_arg_error
468: (p_api_name => l_proc
469: ,p_argument => 'validation_start_date'
470: ,p_argument_value => p_validation_start_date
471: );
469: ,p_argument => 'validation_start_date'
470: ,p_argument_value => p_validation_start_date
471: );
472: --
473: /*hr_api.mandatory_arg_error
474: (p_api_name => l_proc
475: ,p_argument => 'validation_end_date'
476: ,p_argument_value => p_validation_end_date
477: );*/
475: ,p_argument => 'validation_end_date'
476: ,p_argument_value => p_validation_end_date
477: );*/
478: --
479: hr_api.mandatory_arg_error
480: (p_api_name => l_proc
481: ,p_argument => 'attribute_id'
482: ,p_argument_value => p_attribute_id
483: );