6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hxc_htc_upd.'; -- Global package name
9:
10: g_debug boolean := hr_utility.debug_enabled;
11: --
12: -- ----------------------------------------------------------------------------
13: -- |------------------------------< update_dml >------------------------------|
14: -- ----------------------------------------------------------------------------
63:
64:
65: if g_debug then
66: l_proc := g_package||'update_dml';
67: hr_utility.set_location('Entering:'||l_proc, 5);
68: end if;
69: --
70: -- Increment the object version
71: p_rec.object_version_number := p_rec.object_version_number + 1;
90: --
91: hxc_htc_shd.g_api_dml := false; -- Unset the api dml status
92: --
93: if g_debug then
94: hr_utility.set_location(' Leaving:'||l_proc, 10);
95: end if;
96: --
97: Exception
98: When hr_api.check_integrity_violated Then
156: Begin
157:
158: if g_debug then
159: l_proc := g_package||'pre_update';
160: hr_utility.set_location('Entering:'||l_proc, 5);
161: hr_utility.set_location(' Leaving:'||l_proc, 10);
162: end if;
163: End pre_update;
164: --
157:
158: if g_debug then
159: l_proc := g_package||'pre_update';
160: hr_utility.set_location('Entering:'||l_proc, 5);
161: hr_utility.set_location(' Leaving:'||l_proc, 10);
162: end if;
163: End pre_update;
164: --
165: -- ----------------------------------------------------------------------------
204:
205:
206: if g_debug then
207: l_proc := g_package||'post_update';
208: hr_utility.set_location('Entering:'||l_proc, 5);
209: end if;
210: begin
211: --
212: hxc_htc_rku.after_update
238: --
239: end;
240: --
241: if g_debug then
242: hr_utility.set_location(' Leaving:'||l_proc, 10);
243: end if;
244: End post_update;
245: --
246: -- ----------------------------------------------------------------------------
313: --
314: l_proc varchar2(72);
315: --
316: Begin
317: g_debug := hr_utility.debug_enabled;
318:
319: if g_debug then
320: l_proc := g_package||'upd';
321: hr_utility.set_location('Entering:'||l_proc, 5);
317: g_debug := hr_utility.debug_enabled;
318:
319: if g_debug then
320: l_proc := g_package||'upd';
321: hr_utility.set_location('Entering:'||l_proc, 5);
322: end if;
323: --
324: -- We must lock the row which we need to update.
325: --
373: l_rec hxc_htc_shd.g_rec_type;
374: l_proc varchar2(72);
375: --
376: Begin
377: g_debug := hr_utility.debug_enabled;
378:
379: if g_debug then
380: l_proc := g_package||'upd';
381: hr_utility.set_location('Entering:'||l_proc, 5);
377: g_debug := hr_utility.debug_enabled;
378:
379: if g_debug then
380: l_proc := g_package||'upd';
381: hr_utility.set_location('Entering:'||l_proc, 5);
382: end if;
383: --
384: -- Call conversion function to turn arguments into the
385: -- l_rec structure.
403: );
404: p_object_version_number := l_rec.object_version_number;
405: --
406: if g_debug then
407: hr_utility.set_location(' Leaving:'||l_proc, 10);
408: end if;
409: End upd;
410: --
411: end hxc_htc_upd;