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 irc_apl_profile_access row.
65: where apl_profile_access_id = p_rec.apl_profile_access_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: irc_apa_rkd.after_delete
165: (p_apl_profile_access_id
179: ,p_hook_type => 'AD');
180: --
181: end;
182: --
183: hr_utility.set_location(' Leaving:'||l_proc, 10);
184: End post_delete;
185: --
186: -- ----------------------------------------------------------------------------
187: -- |---------------------------------< del >----------------------------------|
192: --
193: l_proc varchar2(72) := g_package||'del';
194: --
195: Begin
196: hr_utility.set_location('Entering:'||l_proc, 5);
197: --
198: -- We must lock the row which we need to delete.
199: --
200: irc_apa_shd.lck
237: l_rec irc_apa_shd.g_rec_type;
238: l_proc varchar2(72) := g_package||'del';
239: --
240: Begin
241: hr_utility.set_location('Entering:'||l_proc, 5);
242: --
243: -- As the delete procedure accepts a plsql record structure we do need to
244: -- convert the arguments into the record structure.
245: -- We don't need to call the supplied conversion argument routine as we
253: -- business process
254: --
255: irc_apa_del.del(l_rec);
256: --
257: hr_utility.set_location(' Leaving:'||l_proc, 10);
258: End del;
259: --
260: end irc_apa_del;