465: hr_utility.set_location('Entering:'|| l_proc, 10);
466: --
467: -- Ensure that all the mandatory parameter are not null
468: --
469: hr_api.mandatory_arg_error
470: (p_api_name => l_proc
471: ,p_argument => 'finance_header_id'
472: ,p_argument_value => p_finance_header_id
473: );
492: close csr_sec_grp;
493: --
494: -- Set the security_group_id in CLIENT_INFO
495: --
496: hr_api.set_security_group_id
497: (p_security_group_id => l_security_group_id
498: );
499: --
500: -- Set the sessions legislation context in HR_SESSION_DATA
498: );
499: --
500: -- Set the sessions legislation context in HR_SESSION_DATA
501: --
502: hr_api.set_legislation_context(l_legislation_code);
503: end if;
504: --
505: hr_utility.set_location(' Leaving:'|| l_proc, 20);
506: --
560: hr_utility.set_location('Entering:'||l_proc, 5);
561: --
562: -- Ensure that all the mandatory parameters are not null
563: --
564: hr_api.mandatory_arg_error (p_api_name => l_proc,
565: p_argument => 'finance_header_id',
566: p_argument_value => p_finance_header_id);
567: open csr_leg_code;
568: fetch csr_leg_code into l_legislation_code;