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_lp_cat_inclusions row.
66: and category_usage_id = p_rec.category_usage_id;
67: --
68: --
69: --
70: hr_utility.set_location(' Leaving:'||l_proc, 10);
71: --
72: Exception
73: When hr_api.child_integrity_violated then
74: -- Child integrity has been violated
116: --
117: l_proc varchar2(72) := g_package||'pre_delete';
118: --
119: Begin
120: hr_utility.set_location('Entering:'||l_proc, 5);
121: --
122: hr_utility.set_location(' Leaving:'||l_proc, 10);
123: End pre_delete;
124: --
118: --
119: Begin
120: hr_utility.set_location('Entering:'||l_proc, 5);
121: --
122: hr_utility.set_location(' Leaving:'||l_proc, 10);
123: End pre_delete;
124: --
125: -- ----------------------------------------------------------------------------
126: -- |-----------------------------< post_delete >------------------------------|
158: --
159: l_proc varchar2(72) := g_package||'post_delete';
160: --
161: Begin
162: hr_utility.set_location('Entering:'||l_proc, 5);
163: begin
164: --
165: ota_lci_rkd.after_delete
166: (p_learning_path_id
228: ,p_hook_type => 'AD');
229: --
230: end;
231: --
232: hr_utility.set_location(' Leaving:'||l_proc, 10);
233: End post_delete;
234: --
235: -- ----------------------------------------------------------------------------
236: -- |---------------------------------< del >----------------------------------|
241: --
242: l_proc varchar2(72) := g_package||'del';
243: --
244: Begin
245: hr_utility.set_location('Entering:'||l_proc, 5);
246: --
247: -- We must lock the row which we need to delete.
248: --
249: ota_lci_shd.lck
288: l_rec ota_lci_shd.g_rec_type;
289: l_proc varchar2(72) := g_package||'del';
290: --
291: Begin
292: hr_utility.set_location('Entering:'||l_proc, 5);
293: --
294: -- As the delete procedure accepts a plsql record structure we do need to
295: -- convert the arguments into the record structure.
296: -- We don't need to call the supplied conversion argument routine as we
305: -- business process
306: --
307: ota_lci_del.del(l_rec);
308: --
309: hr_utility.set_location(' Leaving:'||l_proc, 10);
310: End del;
311: --
312: end ota_lci_del;