129: end if;
130: --
131: -- Check mandatory arguments.
132: --
133: hr_api.mandatory_arg_error
134: (p_api_name => l_proc,
135: p_argument => 'p_effective_date',
136: p_argument_value => p_effective_date);
137: --
134: (p_api_name => l_proc,
135: p_argument => 'p_effective_date',
136: p_argument_value => p_effective_date);
137: --
138: hr_api.mandatory_arg_error
139: (p_api_name => l_proc,
140: p_argument => 'p_business_group_id',
141: p_argument_value => p_business_group_id);
142: --
139: (p_api_name => l_proc,
140: p_argument => 'p_business_group_id',
141: p_argument_value => p_business_group_id);
142: --
143: hr_api.mandatory_arg_error
144: (p_api_name => l_proc,
145: p_argument => 'p_source_template_id',
146: p_argument_value => p_source_template_id);
147: --
144: (p_api_name => l_proc,
145: p_argument => 'p_source_template_id',
146: p_argument_value => p_source_template_id);
147: --
148: hr_api.mandatory_arg_error
149: (p_api_name => l_proc,
150: p_argument => 'p_base_name',
151: p_argument_value => p_base_name);
152: --
316: --
317: -- When in validation only mode raise the Validate_Enabled exception
318: --
319: if p_validate then
320: raise hr_api.validate_enabled;
321: end if;
322: --
323: -- Set all output arguments
324: --
328: if g_debug then
329: hr_utility.set_location(' Leaving:'||l_proc, 70);
330: end if;
331: exception
332: when hr_api.validate_enabled then
333: --
334: -- As the Validate_Enabled exception has been raised
335: -- we must rollback to the savepoint
336: --
383: end if;
384: --
385: -- Check mandatory arguments.
386: --
387: hr_api.mandatory_arg_error
388: (p_api_name => l_proc,
389: p_argument => 'p_effective_date',
390: p_argument_value => p_effective_date);
391: --
388: (p_api_name => l_proc,
389: p_argument => 'p_effective_date',
390: p_argument_value => p_effective_date);
391: --
392: hr_api.mandatory_arg_error
393: (p_api_name => l_proc,
394: p_argument => 'p_template_id',
395: p_argument_value => p_template_id);
396: --
426: --
427: -- When in validation only mode raise the Validate_Enabled exception
428: --
429: if p_validate then
430: raise hr_api.validate_enabled;
431: end if;
432: --
433: -- Set all output arguments
434: --
435: if g_debug then
436: hr_utility.set_location(' Leaving:'||l_proc, 70);
437: end if;
438: exception
439: when hr_api.validate_enabled then
440: --
441: -- As the Validate_Enabled exception has been raised
442: -- we must rollback to the savepoint
443: --
484: end if;
485: --
486: -- Check mandatory arguments.
487: --
488: hr_api.mandatory_arg_error
489: (p_api_name => l_proc,
490: p_argument => 'p_effective_date',
491: p_argument_value => p_effective_date);
492: --
489: (p_api_name => l_proc,
490: p_argument => 'p_effective_date',
491: p_argument_value => p_effective_date);
492: --
493: hr_api.mandatory_arg_error
494: (p_api_name => l_proc,
495: p_argument => 'p_template_id',
496: p_argument_value => p_template_id);
497: --
525: --
526: -- When in validation only mode raise the Validate_Enabled exception
527: --
528: if p_validate then
529: raise hr_api.validate_enabled;
530: end if;
531: --
532: -- Set all output arguments
533: --
534: if g_debug then
535: hr_utility.set_location(' Leaving:'||l_proc, 70);
536: end if;
537: exception
538: when hr_api.validate_enabled then
539: --
540: -- As the Validate_Enabled exception has been raised
541: -- we must rollback to the savepoint
542: --
602: end if;
603: --
604: -- Check mandatory arguments.
605: --
606: hr_api.mandatory_arg_error
607: (p_api_name => l_proc,
608: p_argument => 'p_template_id',
609: p_argument_value => p_template_id);
610: --
663: --
664: -- When in validation only mode raise the Validate_Enabled exception
665: --
666: if p_validate then
667: raise hr_api.validate_enabled;
668: end if;
669: --
670: -- Set all output arguments
671: --
672: if g_debug then
673: hr_utility.set_location(' Leaving:'||l_proc, 70);
674: end if;
675: exception
676: when hr_api.validate_enabled then
677: --
678: -- As the Validate_Enabled exception has been raised
679: -- we must rollback to the savepoint
680: --
742: end if;
743: --
744: -- Check mandatory arguments.
745: --
746: hr_api.mandatory_arg_error
747: (p_api_name => l_proc,
748: p_argument => 'p_template_id',
749: p_argument_value => p_template_id);
750: --
815: --
816: -- When in validation only mode raise the Validate_Enabled exception
817: --
818: if p_validate then
819: raise hr_api.validate_enabled;
820: end if;
821: --
822: -- Set all output arguments
823: --
824: if g_debug then
825: hr_utility.set_location(' Leaving:'||l_proc, 70);
826: end if;
827: exception
828: when hr_api.validate_enabled then
829: --
830: -- As the Validate_Enabled exception has been raised
831: -- we must rollback to the savepoint
832: --