40: l_legislation_code varchar2(150);
41: --
42: begin
43: --
44: hr_utility.set_location('Entering:'|| l_proc, 10);
45: --
46: -- Ensure that all the mandatory parameter are not null
47: --
48: hr_api.mandatory_arg_error
81: --
82: hr_api.set_legislation_context(l_legislation_code);
83: end if;
84: --
85: hr_utility.set_location(' Leaving:'|| l_proc, 20);
86: --
87: end set_security_group_id;
88: --
89: -- ---------------------------------------------------------------------------
111: l_proc varchar2(72) := g_package||'return_legislation_code';
112: --
113: Begin
114: --
115: hr_utility.set_location('Entering:'|| l_proc, 10);
116: --
117: -- Ensure that all the mandatory parameter are not null
118: --
119: hr_api.mandatory_arg_error
132: -- call to this function. Just return the value in the global
133: -- variable.
134: --
135: l_legislation_code := ota_cft_bus.g_legislation_code;
136: hr_utility.set_location(l_proc, 20);
137: else
138: --
139: -- The ID is different to the last call to this function
140: -- or this is the first call to this function.
149: close csr_leg_code;
150: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
151: fnd_message.raise_error;
152: end if;
153: hr_utility.set_location(l_proc,30);
154: --
155: -- Set the global variables so the values are
156: -- available for the next call to this function.
157: --
159: ota_cft_bus.g_conference_server_id := p_conference_server_id;
160: ota_cft_bus.g_language := p_language;
161: ota_cft_bus.g_legislation_code := l_legislation_code;
162: end if;
163: hr_utility.set_location(' Leaving:'|| l_proc, 40);
164: return l_legislation_code;
165: end return_legislation_code;
166: --
167: -- ----------------------------------------------------------------------------
229: --
230: l_proc varchar2(72) := g_package||'insert_validate';
231: --
232: Begin
233: hr_utility.set_location('Entering:'||l_proc, 5);
234: --
235: -- Call all supporting business operations
236: --
237: ota_cfs_bus.set_security_group_id(p_conference_server_id);
238: --
239: -- Validate Dependent Attributes
240: --
241: --
242: hr_utility.set_location(' Leaving:'||l_proc, 10);
243: End insert_validate;
244: --
245: -- ----------------------------------------------------------------------------
246: -- |---------------------------< update_validate >----------------------------|
252: --
253: l_proc varchar2(72) := g_package||'update_validate';
254: --
255: Begin
256: hr_utility.set_location('Entering:'||l_proc, 5);
257: --
258: -- Call all supporting business operations
259: --
260: --
267: ,p_rec => p_rec
268: );
269: --
270: --
271: hr_utility.set_location(' Leaving:'||l_proc, 10);
272: End update_validate;
273: --
274: -- ----------------------------------------------------------------------------
275: -- |---------------------------< delete_validate >----------------------------|
280: --
281: l_proc varchar2(72) := g_package||'delete_validate';
282: --
283: Begin
284: hr_utility.set_location('Entering:'||l_proc, 5);
285: --
286: -- Call all supporting business operations
287: --
288: hr_utility.set_location(' Leaving:'||l_proc, 10);
284: hr_utility.set_location('Entering:'||l_proc, 5);
285: --
286: -- Call all supporting business operations
287: --
288: hr_utility.set_location(' Leaving:'||l_proc, 10);
289: End delete_validate;
290: --
291: end ota_cft_bus;