5: -- | Private Global Definitions |
6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hxc_err_bus.'; -- Global package name
9: g_debug boolean := hr_utility.debug_enabled;
10: --
11: -- The following two global variables are only to be
12: -- used by the return_legislation_code function.
13: --
40: begin
41: null;
42: /*
43: --
44: g_debug:=hr_utility.debug_enabled;
45: if g_debug then
46: l_proc := g_package||'set_security_group_id';
47: hr_utility.set_location('Entering:'|| l_proc, 10);
48: end if;
43: --
44: g_debug:=hr_utility.debug_enabled;
45: if g_debug then
46: l_proc := g_package||'set_security_group_id';
47: hr_utility.set_location('Entering:'|| l_proc, 10);
48: end if;
49: --
50: -- Ensure that all the mandatory parameter are not null
51: --
85: hr_api.set_legislation_context(l_legislation_code);
86: end if;
87: --
88: if g_debug then
89: hr_utility.set_location(' Leaving:'|| l_proc, 20);
90: end if;
91: --
92: */
93: end set_security_group_id;
115: Begin
116: null;
117: /*
118: --
119: g_debug:=hr_utility.debug_enabled;
120: if g_debug then
121: l_proc := g_package||'return_legislation_code';
122: hr_utility.set_location('Entering:'|| l_proc, 10);
123: end if;
118: --
119: g_debug:=hr_utility.debug_enabled;
120: if g_debug then
121: l_proc := g_package||'return_legislation_code';
122: hr_utility.set_location('Entering:'|| l_proc, 10);
123: end if;
124: --
125: -- Ensure that all the mandatory parameter are not null
126: --
138: -- variable.
139: --
140: l_legislation_code := hxc_err_bus.g_legislation_code;
141: if g_debug then
142: hr_utility.set_location(l_proc, 20);
143: end if;
144: else
145: --
146: -- The ID is different to the last call to this function
157: fnd_message.set_name('PAY','HR_7220_INVALID_PRIMARY_KEY');
158: fnd_message.raise_error;
159: end if;
160: if g_debug then
161: hr_utility.set_location(l_proc,30);
162: end if;
163: --
164: -- Set the global variables so the values are
165: -- available for the next call to this function.
168: hxc_err_bus.g_error_id := p_error_id;
169: hxc_err_bus.g_legislation_code := l_legislation_code;
170: end if;
171: if g_debug then
172: hr_utility.set_location(' Leaving:'|| l_proc, 40);
173: end if;
174: return l_legislation_code;
175: */
176: return null;
236: --
237: l_proc varchar2(72);
238: --
239: Begin
240: g_debug:=hr_utility.debug_enabled;
241: if g_debug then
242: l_proc := g_package||'insert_validate';
243: hr_utility.set_location('Entering:'||l_proc, 5);
244: end if;
239: Begin
240: g_debug:=hr_utility.debug_enabled;
241: if g_debug then
242: l_proc := g_package||'insert_validate';
243: hr_utility.set_location('Entering:'||l_proc, 5);
244: end if;
245: null;
246: --
247: --
245: null;
246: --
247: --
248: if g_debug then
249: hr_utility.set_location(' Leaving:'||l_proc, 10);
250: end if;
251: End insert_validate;
252: --
253: -- ----------------------------------------------------------------------------
259: --
260: l_proc varchar2(72);
261: --
262: Begin
263: g_debug:=hr_utility.debug_enabled;
264: if g_debug then
265: l_proc := g_package||'update_validate';
266: hr_utility.set_location('Entering:'||l_proc, 5);
267: end if;
262: Begin
263: g_debug:=hr_utility.debug_enabled;
264: if g_debug then
265: l_proc := g_package||'update_validate';
266: hr_utility.set_location('Entering:'||l_proc, 5);
267: end if;
268: --
269: --
270: chk_non_updateable_args
272: );
273: --
274: --
275: if g_debug then
276: hr_utility.set_location(' Leaving:'||l_proc, 10);
277: end if;
278: End update_validate;
279: --
280: -- ----------------------------------------------------------------------------
286: --
287: l_proc varchar2(72) ;
288: --
289: Begin
290: g_debug:=hr_utility.debug_enabled;
291: if g_debug then
292: l_proc:= g_package||'delete_validate';
293: hr_utility.set_location('Entering:'||l_proc, 5);
294: end if;
289: Begin
290: g_debug:=hr_utility.debug_enabled;
291: if g_debug then
292: l_proc:= g_package||'delete_validate';
293: hr_utility.set_location('Entering:'||l_proc, 5);
294: end if;
295: --
296: -- Call all supporting business operations
297: --
295: --
296: -- Call all supporting business operations
297: --
298: if g_debug then
299: hr_utility.set_location(' Leaving:'||l_proc, 10);
300: end if;
301: End delete_validate;
302: --
303: end hxc_err_bus;