46: l_legislation_code varchar2(150);
47: --
48: begin
49: --
50: hr_utility.set_location('Entering:'|| l_proc, 10);
51: --
52: -- Ensure that all the mandatory parameter are not null
53: --
54: hr_api.mandatory_arg_error
87: --
88: hr_api.set_legislation_context(l_legislation_code);
89: end if;
90: --
91: hr_utility.set_location(' Leaving:'|| l_proc, 20);
92: --
93: end set_security_group_id;
94: --
95: -- ---------------------------------------------------------------------------
124: l_proc varchar2(72) := g_package||'return_legislation_code';
125: --
126: Begin
127: --
128: hr_utility.set_location('Entering:'|| l_proc, 10);
129: --
130: -- Ensure that all the mandatory parameter are not null
131: --
132: hr_api.mandatory_arg_error
145: -- call to this function. Just return the value in the global
146: -- variable.
147: --
148: l_legislation_code := ame_itl_bus.g_legislation_code;
149: hr_utility.set_location(l_proc, 20);
150: else
151: --
152: -- The ID is different to the last call to this function
153: -- or this is the first call to this function.
162: close csr_leg_code;
163: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
164: fnd_message.raise_error;
165: end if;
166: hr_utility.set_location(l_proc,30);
167: --
168: -- Set the global variables so the values are
169: -- available for the next call to this function.
170: --
172: ame_itl_bus.g_item_class_id := p_item_class_id;
173: ame_itl_bus.g_language := p_language;
174: ame_itl_bus.g_legislation_code := l_legislation_code;
175: end if;
176: hr_utility.set_location(' Leaving:'|| l_proc, 40);
177: return l_legislation_code;
178: end return_legislation_code;
179: --
180: -- ----------------------------------------------------------------------------
239: --
240: l_proc varchar2(72) := g_package||'insert_validate';
241: --
242: Begin
243: hr_utility.set_location('Entering:'||l_proc, 5);
244: --
245: -- Call all supporting business operations
246: --
247: --
254: --
255: -- Validate Dependent Attributes
256: --
257: --
258: hr_utility.set_location(' Leaving:'||l_proc, 10);
259: End insert_validate;
260: --
261: -- ----------------------------------------------------------------------------
262: -- |---------------------------< update_validate >----------------------------|
267: --
268: l_proc varchar2(72) := g_package||'update_validate';
269: --
270: Begin
271: hr_utility.set_location('Entering:'||l_proc, 5);
272: --
273: -- Call all supporting business operations
274: --
275: --
286: (p_rec => p_rec
287: );
288: --
289: --
290: hr_utility.set_location(' Leaving:'||l_proc, 10);
291: End update_validate;
292: --
293: -- ----------------------------------------------------------------------------
294: -- |---------------------------< delete_validate >----------------------------|
299: --
300: l_proc varchar2(72) := g_package||'delete_validate';
301: --
302: Begin
303: hr_utility.set_location('Entering:'||l_proc, 5);
304: --
305: -- Call all supporting business operations
306: --
307: hr_utility.set_location(' Leaving:'||l_proc, 10);
303: hr_utility.set_location('Entering:'||l_proc, 5);
304: --
305: -- Call all supporting business operations
306: --
307: hr_utility.set_location(' Leaving:'||l_proc, 10);
308: End delete_validate;
309: --
310: end ame_itl_bus;