40: hr_utility.set_location('Entering:'|| l_proc, 10);
41: --
42: -- Ensure that all the mandatory parameter are not null
43: --
44: hr_api.mandatory_arg_error
45: (p_api_name => l_proc
46: ,p_argument => 'job_group_id'
47: ,p_argument_value => p_job_group_id
48: );
63: close csr_sec_grp;
64: --
65: -- Set the security_group_id in CLIENT_INFO
66: --
67: hr_api.set_security_group_id
68: (p_security_group_id => l_security_group_id
69: );
70: --
71: hr_utility.set_location(' Leaving:'|| l_proc, 20);
324: hr_utility.set_location('Entering:'||l_proc, 1);
325: --
326: -- Check mandatory parameters have been set
327: --
328: hr_api.mandatory_arg_error
329: (p_api_name => l_proc
330: ,p_argument => 'object_version_number'
331: ,p_argument_value => p_object_version_number
332: );
502: hr_utility.set_location('Entering:'|| l_proc, 10);
503: --
504: -- Ensure that all the mandatory parameter are not null
505: --
506: hr_api.mandatory_arg_error
507: (p_api_name => l_proc
508: ,p_argument => 'job_group_id'
509: ,p_argument_value => p_job_group_id
510: );
508: ,p_argument => 'job_group_id'
509: ,p_argument_value => p_job_group_id
510: );
511: --
512: if ( nvl(per_jgr_bus.g_job_group_id, hr_api.g_number)
513: = p_job_group_id) then
514: --
515: -- The legislation code has already been found with a previous
516: -- call to this function. Just return the value in the global
603: hr_utility.set_location(l_proc, 30);
604: --
605: EXCEPTION
606: WHEN l_error THEN
607: hr_api.argument_changed_error
608: (p_api_name => l_proc
609: ,p_argument => l_argument);
610: WHEN OTHERS THEN
611: RAISE;
626: --
627: -- Call all supporting business operations
628: --
629: if p_rec.business_group_id is not null then
630: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
631: end if;
632: --
633: per_jgr_bus.chk_unique_jgr_name(p_displayed_name => p_rec.displayed_name
634: ,p_internal_name => p_rec.internal_name
659: --
660: -- Call all supporting business operations
661: --
662: if p_rec.business_group_id is not null then
663: hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
664: end if;
665: --
666: per_jgr_bus.chk_unique_jgr_name
667: (p_displayed_name => p_rec.displayed_name