54: --
55: l_proc varchar2(72) := g_package||'delete_dml';
56: --
57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: --
60: per_vac_shd.g_api_dml := true; -- Set the dml status
61: --
62: -- Delete the per_all_vacancies row.
65: where vacancy_id = p_rec.vacancy_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: per_vac_rkd.after_delete
165: (p_vacancy_id
275: ,p_hook_type => 'AD');
276: --
277: end;
278: --
279: hr_utility.set_location(' Leaving:'||l_proc, 10);
280: End post_delete;
281: --
282: -- ----------------------------------------------------------------------------
283: -- |---------------------------------< del >----------------------------------|
288: --
289: l_proc varchar2(72) := g_package||'del';
290: --
291: Begin
292: hr_utility.set_location('Entering:'||l_proc, 5);
293: --
294: -- We must lock the row which we need to delete.
295: --
296: per_vac_shd.lck
327: l_rec per_vac_shd.g_rec_type;
328: l_proc varchar2(72) := g_package||'del';
329: --
330: Begin
331: hr_utility.set_location('Entering:'||l_proc, 5);
332: --
333: -- As the delete procedure accepts a plsql record structure we do need to
334: -- convert the arguments into the record structure.
335: -- We don't need to call the supplied conversion argument routine as we
343: -- business process
344: --
345: per_vac_del.del(l_rec);
346: --
347: hr_utility.set_location(' Leaving:'||l_proc, 10);
348: End del;
349: --
350: end per_vac_del;