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 ota_cert_mbr_enrollments row.
65: where cert_mbr_enrollment_id = p_rec.cert_mbr_enrollment_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: ota_cme_rkd.after_delete
165: (p_cert_mbr_enrollment_id
229: ,p_hook_type => 'AD');
230: --
231: end;
232: --
233: hr_utility.set_location(' Leaving:'||l_proc, 10);
234: End post_delete;
235: --
236: -- ----------------------------------------------------------------------------
237: -- |---------------------------------< del >----------------------------------|
242: --
243: l_proc varchar2(72) := g_package||'del';
244: --
245: Begin
246: hr_utility.set_location('Entering:'||l_proc, 5);
247: --
248: -- We must lock the row which we need to delete.
249: --
250: ota_cme_shd.lck
287: l_rec ota_cme_shd.g_rec_type;
288: l_proc varchar2(72) := g_package||'del';
289: --
290: Begin
291: hr_utility.set_location('Entering:'||l_proc, 5);
292: --
293: -- As the delete procedure accepts a plsql record structure we do need to
294: -- convert the arguments into the record structure.
295: -- We don't need to call the supplied conversion argument routine as we
303: -- business process
304: --
305: ota_cme_del.del(l_rec);
306: --
307: hr_utility.set_location(' Leaving:'||l_proc, 10);
308: End del;
309: --
310: end ota_cme_del;