58: l_proc varchar2(72) := g_package||'set_security_group_id';
59: --
60: begin
61: --
62: hr_utility.set_location('Entering:'|| l_proc, 10);
63: --
64: -- Ensure that all the mandatory parameter are not null
65: --
66: hr_api.mandatory_arg_error
94: (p_security_group_id => l_security_group_id
95: );
96: end if;
97: --
98: hr_utility.set_location(' Leaving:'|| l_proc, 20);
99: --
100: end set_security_group_id;
101: --
102: -- ---------------------------------------------------------------------------
132: l_proc varchar2(72) := g_package||'return_legislation_code';
133: --
134: Begin
135: --
136: hr_utility.set_location('Entering:'|| l_proc, 10);
137: --
138: -- Ensure that all the mandatory parameter are not null
139: --
140: hr_api.mandatory_arg_error
153: -- call to this function. Just return the value in the global
154: -- variable.
155: --
156: l_legislation_code := hr_pft_bus.g_legislation_code;
157: hr_utility.set_location(l_proc, 20);
158: else
159: --
160: -- The ID is different to the last call to this function
161: -- or this is the first call to this function.
170: close csr_leg_code;
171: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
172: fnd_message.raise_error;
173: end if;
174: hr_utility.set_location(l_proc,30);
175: --
176: -- Set the global variables so the values are
177: -- available for the next call to this function.
178: --
180: hr_pft_bus.g_position_id := p_position_id;
181: hr_pft_bus.g_language := p_language;
182: hr_pft_bus.g_legislation_code := l_legislation_code;
183: end if;
184: hr_utility.set_location(' Leaving:'|| l_proc, 40);
185: return l_legislation_code;
186: end return_legislation_code;
187: --
188: -- ----------------------------------------------------------------------------
246: --
247: l_proc varchar2(72) := g_package||'insert_validate';
248: --
249: Begin
250: hr_utility.set_location('Entering:'||l_proc, 5);
251: --
252: -- Call all supporting business operations
253: --
254: -- PMFLETCH call to base table set_security_group_id
263: --
264: -- Validate Dependent Attributes
265: --
266: --
267: hr_utility.set_location(' Leaving:'||l_proc, 10);
268: End insert_validate;
269: --
270: -- ----------------------------------------------------------------------------
271: -- |---------------------------< update_validate >----------------------------|
276: --
277: l_proc varchar2(72) := g_package||'update_validate';
278: --
279: Begin
280: hr_utility.set_location('Entering:'||l_proc, 5);
281: --
282: -- Call all supporting business operations
283: --
284: -- PMFLETCH call to base table set_security_group_id
296: (p_rec => p_rec
297: );
298: --
299: --
300: hr_utility.set_location(' Leaving:'||l_proc, 10);
301: End update_validate;
302: --
303: -- ----------------------------------------------------------------------------
304: -- |---------------------------< delete_validate >----------------------------|
309: --
310: l_proc varchar2(72) := g_package||'delete_validate';
311: --
312: Begin
313: hr_utility.set_location('Entering:'||l_proc, 5);
314: --
315: -- Call all supporting business operations
316: --
317: hr_utility.set_location(' Leaving:'||l_proc, 10);
313: hr_utility.set_location('Entering:'||l_proc, 5);
314: --
315: -- Call all supporting business operations
316: --
317: hr_utility.set_location(' Leaving:'||l_proc, 10);
318: End delete_validate;
319: --
320: end hr_pft_bus;