6: -- ----------------------------------------------------------------------------
7: --
8: g_package varchar2(33) := ' hxc_ter_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;
126: --
127: hxc_ter_shd.g_api_dml := false; -- Unset the api dml status
128: --
129: if g_debug then
130: hr_utility.set_location(' Leaving:'||l_proc, 10);
131: end if;
132: --
133: Exception
134: When hr_api.check_integrity_violated Then
193:
194:
195: if g_debug then
196: l_proc := g_package||'pre_update';
197: hr_utility.set_location('Entering:'||l_proc, 5);
198: --
199: hr_utility.set_location(' Leaving:'||l_proc, 10);
200: end if;
201: End pre_update;
195: if g_debug then
196: l_proc := g_package||'pre_update';
197: hr_utility.set_location('Entering:'||l_proc, 5);
198: --
199: hr_utility.set_location(' Leaving:'||l_proc, 10);
200: end if;
201: End pre_update;
202: --
203: -- ----------------------------------------------------------------------------
243:
244:
245: if g_debug then
246: l_proc := g_package||'post_update';
247: hr_utility.set_location('Entering:'||l_proc, 5);
248: end if;
249: begin
250: --
251: hxc_ter_rku.after_update
422: --
423: end;
424: --
425: if g_debug then
426: hr_utility.set_location(' Leaving:'||l_proc, 10);
427: end if;
428: End post_update;
429: --
430: -- ----------------------------------------------------------------------------
654: --
655: l_proc varchar2(72);
656: --
657: Begin
658: g_debug := hr_utility.debug_enabled;
659:
660: if g_debug then
661: l_proc := g_package||'upd';
662: hr_utility.set_location('Entering:'||l_proc, 5);
658: g_debug := hr_utility.debug_enabled;
659:
660: if g_debug then
661: l_proc := g_package||'upd';
662: hr_utility.set_location('Entering:'||l_proc, 5);
663: end if;
664: --
665: -- We must lock the row which we need to update.
666: --
749: l_rec hxc_ter_shd.g_rec_type;
750: l_proc varchar2(72);
751: --
752: Begin
753: g_debug := hr_utility.debug_enabled;
754:
755: if g_debug then
756: l_proc := g_package||'upd';
757: hr_utility.set_location('Entering:'||l_proc, 5);
753: g_debug := hr_utility.debug_enabled;
754:
755: if g_debug then
756: l_proc := g_package||'upd';
757: hr_utility.set_location('Entering:'||l_proc, 5);
758: end if;
759: --
760: -- Call conversion function to turn arguments into the
761: -- l_rec structure.
806: ,p_attribute30
807: );
808: --
809: if g_debug then
810: hr_utility.set_location('Processing:'||l_proc, 10);
811: end if;
812: --
813: -- Having converted the arguments into the
814: -- plsql record structure we call the corresponding record
820: );
821: p_object_version_number := l_rec.object_version_number;
822: --
823: if g_debug then
824: hr_utility.set_location(' Leaving:'||l_proc, 20);
825: end if;
826: End upd;
827: --
828: end hxc_ter_upd;