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 := per_rvt_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: per_rvt_bus.g_workbench_view_report_code := p_workbench_view_report_code;
160: per_rvt_bus.g_language := p_language;
161: per_rvt_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: -- ----------------------------------------------------------------------------
226: --
227: l_proc varchar2(72) := g_package||'insert_validate';
228: --
229: Begin
230: hr_utility.set_location('Entering:'||l_proc, 5);
231: --
232: -- Call all supporting business operations
233: --
234: --
241: --
242: -- Validate Dependent Attributes
243: --
244: --
245: hr_utility.set_location(' Leaving:'||l_proc, 10);
246: End insert_validate;
247: --
248: -- ----------------------------------------------------------------------------
249: -- |---------------------------< update_validate >----------------------------|
254: --
255: l_proc varchar2(72) := g_package||'update_validate';
256: --
257: Begin
258: hr_utility.set_location('Entering:'||l_proc, 5);
259: --
260: -- Call all supporting business operations
261: --
262: --
273: (p_rec => p_rec
274: );
275: --
276: --
277: hr_utility.set_location(' Leaving:'||l_proc, 10);
278: End update_validate;
279: --
280: -- ----------------------------------------------------------------------------
281: -- |---------------------------< delete_validate >----------------------------|
286: --
287: l_proc varchar2(72) := g_package||'delete_validate';
288: --
289: Begin
290: hr_utility.set_location('Entering:'||l_proc, 5);
291: --
292: -- Call all supporting business operations
293: --
294: hr_utility.set_location(' Leaving:'||l_proc, 10);
290: hr_utility.set_location('Entering:'||l_proc, 5);
291: --
292: -- Call all supporting business operations
293: --
294: hr_utility.set_location(' Leaving:'||l_proc, 10);
295: End delete_validate;
296: --
297: end per_rvt_bus;