53:
54: --
55: -- Ensure that all the mandatory parameter are not null
56: --
57: hr_api.mandatory_arg_error
58: (p_api_name => l_proc
59: ,p_argument => 'stat_situation_rule_id'
60: ,p_argument_value => p_stat_situation_rule_id
61: );
80: close csr_sec_grp;
81: --
82: -- Set the security_group_id in CLIENT_INFO
83: --
84: hr_api.set_security_group_id
85: (p_security_group_id => l_security_group_id
86: );
87: --
88: -- Set the sessions legislation context in HR_SESSION_DATA
86: );
87: --
88: -- Set the sessions legislation context in HR_SESSION_DATA
89: --
90: hr_api.set_legislation_context(l_legislation_code);
91: end if;
92: --
93: if g_debug then
94: --
133: End if;
134: --
135: -- Ensure that all the mandatory parameter are not null
136: --
137: hr_api.mandatory_arg_error
138: (p_api_name => l_proc
139: ,p_argument => 'stat_situation_rule_id'
140: ,p_argument_value => p_stat_situation_rule_id
141: );
139: ,p_argument => 'stat_situation_rule_id'
140: ,p_argument_value => p_stat_situation_rule_id
141: );
142: --
143: if ( nvl(pqh_str_bus.g_stat_situation_rule_id, hr_api.g_number)
144: = p_stat_situation_rule_id) then
145: --
146: -- The legislation code has already been found with a previous
147: -- call to this function. Just return the value in the global