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 => 'event_procedure_id'
47: ,p_argument_value => p_event_procedure_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);
100: hr_utility.set_location('Entering:'|| l_proc, 10);
101: --
102: -- Ensure that all the mandatory parameter are not null
103: --
104: hr_api.mandatory_arg_error
105: (p_api_name => l_proc
106: ,p_argument => 'event_procedure_id'
107: ,p_argument_value => p_event_procedure_id
108: );
106: ,p_argument => 'event_procedure_id'
107: ,p_argument_value => p_event_procedure_id
108: );
109: --
110: if ( nvl(pay_evp_bus.g_event_procedure_id, hr_api.g_number)
111: = p_event_procedure_id) then
112: --
113: -- The legislation code has already been found with a previous
114: -- call to this function. Just return the value in the global
194: fnd_message.set_token('STEP ', '5');
195: fnd_message.raise_error;
196: END IF;
197: --
198: if (nvl(p_rec.business_group_id, hr_api.g_number) <>
199: nvl(pay_evp_shd.g_old_rec.business_group_id,hr_api.g_number)
200: ) then
201: l_argument := 'business_group_id';
202: raise l_error;
195: fnd_message.raise_error;
196: END IF;
197: --
198: if (nvl(p_rec.business_group_id, hr_api.g_number) <>
199: nvl(pay_evp_shd.g_old_rec.business_group_id,hr_api.g_number)
200: ) then
201: l_argument := 'business_group_id';
202: raise l_error;
203: END IF;
201: l_argument := 'business_group_id';
202: raise l_error;
203: END IF;
204: --
205: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
206: nvl(pay_evp_shd.g_old_rec.legislation_code, hr_api.g_varchar2)
207: then
208: l_argument := 'p_legislation_code';
209: raise l_error;
202: raise l_error;
203: END IF;
204: --
205: if nvl(p_rec.legislation_code, hr_api.g_varchar2) <>
206: nvl(pay_evp_shd.g_old_rec.legislation_code, hr_api.g_varchar2)
207: then
208: l_argument := 'p_legislation_code';
209: raise l_error;
210: end if;
210: end if;
211: --
212: EXCEPTION
213: WHEN l_error THEN
214: hr_api.argument_changed_error
215: (p_api_name => l_proc
216: ,p_argument => l_argument);
217: WHEN OTHERS THEN
218: RAISE;
299: Begin
300: hr_utility.set_location('Entering:'||l_proc, 5);
301: --
302: -- Commenting this out as business group id is a nullable column
303: --hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
304: --
305: chk_column (p_rec => p_rec);
306: --
307: hr_utility.set_location(' Leaving:'||l_proc, 10);
320: Begin
321: hr_utility.set_location('Entering:'||l_proc, 5);
322: --
323: -- Commenting this out as business group id is a nullable column
324: --hr_api.validate_bus_grp_id(p_rec.business_group_id); -- Validate Bus Grp
325: --
326: chk_non_updateable_args
327: (p_rec => p_rec
328: );