54: --
55: l_proc varchar2(72) := g_package||'delete_dml';
56: --
57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: --
60: pqh_bre_shd.g_api_dml := true; -- Set the api dml status
61: --
62: -- Delete the pqh_bdgt_pool_realloctions row.
65: where reallocation_id = p_rec.reallocation_id;
66: --
67: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
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_bre_rkd.after_delete
165: (p_reallocation_id
199: ,p_hook_type => 'AD');
200: --
201: end;
202: --
203: hr_utility.set_location(' Leaving:'||l_proc, 10);
204: End post_delete;
205: --
206: -- ----------------------------------------------------------------------------
207: -- |---------------------------------< del >----------------------------------|
212: --
213: l_proc varchar2(72) := g_package||'del';
214: --
215: Begin
216: hr_utility.set_location('Entering:'||l_proc, 5);
217: --
218: -- We must lock the row which we need to delete.
219: --
220: pqh_bre_shd.lck
257: l_rec pqh_bre_shd.g_rec_type;
258: l_proc varchar2(72) := g_package||'del';
259: --
260: Begin
261: hr_utility.set_location('Entering:'||l_proc, 5);
262: --
263: -- As the delete procedure accepts a plsql record structure we do need to
264: -- convert the arguments into the record structure.
265: -- We don't need to call the supplied conversion argument routine as we
273: -- business process
274: --
275: pqh_bre_del.del(l_rec);
276: --
277: hr_utility.set_location(' Leaving:'||l_proc, 10);
278: End del;
279: --
280: end pqh_bre_del;