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_fr_emp_stat_situations row.
65: where emp_stat_situation_id = p_rec.emp_stat_situation_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_psu_rkd.after_delete
165: (p_emp_stat_situation_id
267: ,p_hook_type => 'AD');
268: --
269: end;
270: --
271: hr_utility.set_location(' Leaving:'||l_proc, 10);
272: End post_delete;
273: --
274: -- ----------------------------------------------------------------------------
275: -- |---------------------------------< del >----------------------------------|
280: --
281: l_proc varchar2(72) := g_package||'del';
282: --
283: Begin
284: hr_utility.set_location('Entering:'||l_proc, 5);
285: --
286: -- We must lock the row which we need to delete.
287: --
288: pqh_psu_shd.lck
325: l_rec pqh_psu_shd.g_rec_type;
326: l_proc varchar2(72) := g_package||'del';
327: --
328: Begin
329: hr_utility.set_location('Entering:'||l_proc, 5);
330: --
331: -- As the delete procedure accepts a plsql record structure we do need to
332: -- convert the arguments into the record structure.
333: -- We don't need to call the supplied conversion argument routine as we
341: -- business process
342: --
343: pqh_psu_del.del(l_rec);
344: --
345: hr_utility.set_location(' Leaving:'||l_proc, 10);
346: End del;
347: --
348: end pqh_psu_del;