57: --
58: l_proc varchar2(72) := g_package||'update_dml';
59: --
60: Begin
61: hr_utility.set_location('Entering:'||l_proc, 5);
62: --
63: -- Increment the object version
64: p_rec.object_version_number := p_rec.object_version_number + 1;
65: --
122: where outcome_id = p_rec.outcome_id;
123: --
124: per_cpo_shd.g_api_dml := false; -- Unset the api dml status
125: --
126: hr_utility.set_location(' Leaving:'||l_proc, 10);
127: --
128: Exception
129: When hr_api.check_integrity_violated Then
130: -- A check constraint has been violated
184: --
185: l_proc varchar2(72) := g_package||'pre_update';
186: --
187: Begin
188: hr_utility.set_location('Entering:'||l_proc, 5);
189: --
190: hr_utility.set_location(' Leaving:'||l_proc, 10);
191: End pre_update;
192: --
186: --
187: Begin
188: hr_utility.set_location('Entering:'||l_proc, 5);
189: --
190: hr_utility.set_location(' Leaving:'||l_proc, 10);
191: End pre_update;
192: --
193: -- ----------------------------------------------------------------------------
194: -- |-----------------------------< post_update >------------------------------|
229: --
230: l_proc varchar2(72) := g_package||'post_update';
231: --
232: Begin
233: hr_utility.set_location('Entering:'||l_proc, 5);
234: begin
235: --
236: per_cpo_rku.after_update
237: (p_effective_date => p_effective_date
444: ,p_hook_type => 'AU');
445: --
446: end;
447: --
448: hr_utility.set_location(' Leaving:'||l_proc, 10);
449: End post_update;
450: --
451: -- ----------------------------------------------------------------------------
452: -- |-----------------------------< convert_defs >-----------------------------|
707: --
708: l_proc varchar2(72) := g_package||'upd';
709: --
710: Begin
711: hr_utility.set_location('Entering:'||l_proc, 5);
712: --
713: -- We must lock the row which we need to update.
714: --
715: per_cpo_shd.lck
811: l_rec per_cpo_shd.g_rec_type;
812: l_proc varchar2(72) := g_package||'upd';
813: --
814: Begin
815: hr_utility.set_location('Entering:'||l_proc, 5);
816: --
817: -- Call conversion function to turn arguments into the
818: -- l_rec structure.
819: --
880: ,l_rec
881: );
882: p_object_version_number := l_rec.object_version_number;
883: --
884: hr_utility.set_location(' Leaving:'||l_proc, 10);
885: End upd;
886: --
887: end per_cpo_upd;