54: --
55: l_proc varchar2(72) := g_package||'delete_dml';
56: --
57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: --
60: --
61: --
62: -- Delete the per_ri_workbench_items row.
65: where workbench_item_code = p_rec.workbench_item_code;
66: --
67: --
68: --
69: hr_utility.set_location(' Leaving:'||l_proc, 10);
70: --
71: Exception
72: When hr_api.child_integrity_violated then
73: -- Child integrity has been violated
115: --
116: l_proc varchar2(72) := g_package||'pre_delete';
117: --
118: Begin
119: hr_utility.set_location('Entering:'||l_proc, 5);
120: --
121: hr_utility.set_location(' Leaving:'||l_proc, 10);
122: End pre_delete;
123: --
117: --
118: Begin
119: hr_utility.set_location('Entering:'||l_proc, 5);
120: --
121: hr_utility.set_location(' Leaving:'||l_proc, 10);
122: End pre_delete;
123: --
124: -- ----------------------------------------------------------------------------
125: -- |-----------------------------< post_delete >------------------------------|
157: --
158: l_proc varchar2(72) := g_package||'post_delete';
159: --
160: Begin
161: hr_utility.set_location('Entering:'||l_proc, 5);
162: begin
163: --
164: per_wbi_rkd.after_delete
165: (p_workbench_item_code => p_rec.workbench_item_code
180: ,p_hook_type => 'AD');
181: --
182: end;
183: --
184: hr_utility.set_location(' Leaving:'||l_proc, 10);
185: End post_delete;
186: --
187: -- ----------------------------------------------------------------------------
188: -- |---------------------------------< del >----------------------------------|
193: --
194: l_proc varchar2(72) := g_package||'del';
195: --
196: Begin
197: hr_utility.set_location('Entering:'||l_proc, 5);
198: --
199: -- We must lock the row which we need to delete.
200: --
201: per_wbi_shd.lck
238: l_rec per_wbi_shd.g_rec_type;
239: l_proc varchar2(72) := g_package||'del';
240: --
241: Begin
242: hr_utility.set_location('Entering:'||l_proc, 5);
243: --
244: -- As the delete procedure accepts a plsql record structure we do need to
245: -- convert the arguments into the record structure.
246: -- We don't need to call the supplied conversion argument routine as we
254: -- business process
255: --
256: per_wbi_del.del(l_rec);
257: --
258: hr_utility.set_location(' Leaving:'||l_proc, 10);
259: End del;
260: --
261: end per_wbi_del;