45: hr_utility.set_location('Entering:'|| l_proc, 10);
46: --
47: -- Ensure that all the mandatory parameter are not null
48: --
49: hr_api.mandatory_arg_error
50: (p_api_name => l_proc
51: ,p_argument => 'element_set_id'
52: ,p_argument_value => p_element_set_id
53: );
73: close csr_sec_grp;
74: --
75: -- Set the security_group_id in CLIENT_INFO
76: --
77: hr_api.set_security_group_id
78: (p_security_group_id => l_security_group_id
79: );
80: --
81: -- Set the sessions legislation context in HR_SESSION_DATA
79: );
80: --
81: -- Set the sessions legislation context in HR_SESSION_DATA
82: --
83: hr_api.set_legislation_context(l_legislation_code);
84: end if;
85: --
86: hr_utility.set_location(' Leaving:'|| l_proc, 20);
87: --
118: hr_utility.set_location('Entering:'|| l_proc, 10);
119: --
120: -- Ensure that all the mandatory parameter are not null
121: --
122: hr_api.mandatory_arg_error
123: (p_api_name => l_proc
124: ,p_argument => 'element_set_id'
125: ,p_argument_value => p_element_set_id
126: );
125: ,p_argument_value => p_element_set_id
126: );
127: --
128: --
129: if (( nvl(pay_est_bus.g_element_set_id, hr_api.g_number)
130: = p_element_set_id)
131: and ( nvl(pay_est_bus.g_language, hr_api.g_varchar2)
132: = p_language)) then
133: --
127: --
128: --
129: if (( nvl(pay_est_bus.g_element_set_id, hr_api.g_number)
130: = p_element_set_id)
131: and ( nvl(pay_est_bus.g_language, hr_api.g_varchar2)
132: = p_language)) then
133: --
134: -- The legislation code has already been found with a previous
135: -- call to this function. Just return the value in the global