54: --
55: l_proc varchar2(72) := g_package||'delete_dml';
56: --
57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: --
60: ota_aci_shd.g_api_dml := true; -- Set the api dml status
61: --
62: -- Delete the ota_act_cat_inclusions row.
66: and category_usage_id = p_rec.category_usage_id;
67: --
68: ota_aci_shd.g_api_dml := false; -- Unset the api dml status
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_aci_rkd.after_delete
166: (p_activity_version_id
234: ,p_hook_type => 'AD');
235: --
236: end;
237: --
238: hr_utility.set_location(' Leaving:'||l_proc, 10);
239: End post_delete;
240: --
241: -- ----------------------------------------------------------------------------
242: -- |---------------------------------< del >----------------------------------|
247: --
248: l_proc varchar2(72) := g_package||'del';
249: --
250: Begin
251: hr_utility.set_location('Entering:'||l_proc, 5);
252: --
253: -- We must lock the row which we need to delete.
254: --
255: ota_aci_shd.lck
294: l_rec ota_aci_shd.g_rec_type;
295: l_proc varchar2(72) := g_package||'del';
296: --
297: Begin
298: hr_utility.set_location('Entering:'||l_proc, 5);
299: --
300: -- As the delete procedure accepts a plsql record structure we do need to
301: -- convert the arguments into the record structure.
302: -- We don't need to call the supplied conversion argument routine as we
311: -- business process
312: --
313: ota_aci_del.del(l_rec);
314: --
315: hr_utility.set_location(' Leaving:'||l_proc, 10);
316: End del;
317: --
318: end ota_aci_del;