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 ghr_compl_appeals row.
65: where compl_appeal_id = p_rec.compl_appeal_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: ghr_cca_rkd.after_delete
165: (p_compl_appeal_id => p_rec.compl_appeal_id
206: ,p_hook_type => 'AD');
207: --
208: end;
209: --
210: hr_utility.set_location(' Leaving:'||l_proc, 10);
211: End post_delete;
212: --
213: -- ----------------------------------------------------------------------------
214: -- |---------------------------------< del >----------------------------------|
219: --
220: l_proc varchar2(72) := g_package||'del';
221: --
222: Begin
223: hr_utility.set_location('Entering:'||l_proc, 5);
224: --
225: -- We must lock the row which we need to delete.
226: --
227: ghr_cca_shd.lck
258: l_rec ghr_cca_shd.g_rec_type;
259: l_proc varchar2(72) := g_package||'del';
260: --
261: Begin
262: hr_utility.set_location('Entering:'||l_proc, 5);
263: --
264: -- As the delete procedure accepts a plsql record structure we do need to
265: -- convert the arguments into the record structure.
266: -- We don't need to call the supplied conversion argument routine as we
274: -- business process
275: --
276: ghr_cca_del.del(l_rec);
277: --
278: hr_utility.set_location(' Leaving:'||l_proc, 10);
279: End del;
280: --
281: end ghr_cca_del;