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 pqh_routing_hist_attribs row.
65: where routing_hist_attrib_id = p_rec.routing_hist_attrib_id;
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: pqh_rha_rkd.after_delete
165: (p_routing_hist_attrib_id
201: ,p_hook_type => 'AD');
202: --
203: end;
204: --
205: hr_utility.set_location(' Leaving:'||l_proc, 10);
206: End post_delete;
207: --
208: -- ----------------------------------------------------------------------------
209: -- |---------------------------------< del >----------------------------------|
214: --
215: l_proc varchar2(72) := g_package||'del';
216: --
217: Begin
218: hr_utility.set_location('Entering:'||l_proc, 5);
219: --
220: -- We must lock the row which we need to delete.
221: --
222: pqh_rha_shd.lck
256: l_rec pqh_rha_shd.g_rec_type;
257: l_proc varchar2(72) := g_package||'del';
258: --
259: Begin
260: hr_utility.set_location('Entering:'||l_proc, 5);
261: --
262: -- As the delete procedure accepts a plsql record structure we do need to
263: -- convert the arguments into the record structure.
264: -- We don't need to call the supplied conversion argument routine as we
272: -- business process
273: --
274: del( l_rec);
275: --
276: hr_utility.set_location(' Leaving:'||l_proc, 10);
277: End del;
278: --
279: end pqh_rha_del;