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_default_postings_tl row.
66: and language = p_rec.language;
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: irc_idt_rkd.after_delete
166: (p_default_posting_id
200: ,p_hook_type => 'AD');
201: --
202: end;
203: --
204: hr_utility.set_location(' Leaving:'||l_proc, 10);
205: End post_delete;
206: --
207: -- ----------------------------------------------------------------------------
208: -- |---------------------------------< del >----------------------------------|
213: --
214: l_proc varchar2(72) := g_package||'del';
215: --
216: Begin
217: hr_utility.set_location('Entering:'||l_proc, 5);
218: --
219: -- We must lock the row which we need to delete.
220: --
221: irc_idt_shd.lck
252: l_rec irc_idt_shd.g_rec_type;
253: l_proc varchar2(72) := g_package||'del';
254: --
255: Begin
256: hr_utility.set_location('Entering:'||l_proc, 5);
257: --
258: -- As the delete procedure accepts a plsql record structure we do need to
259: -- convert the arguments into the record structure.
260: -- We don't need to call the supplied conversion argument routine as we
269: -- business process
270: --
271: irc_idt_del.del(l_rec);
272: --
273: hr_utility.set_location(' Leaving:'||l_proc, 10);
274: End del;
275: --
276: -- ----------------------------------------------------------------------------
277: -- |------------------------------< del_tl >----------------------------------|
289: --
290: l_proc varchar2(72) := g_package||'del_tl';
291: --
292: Begin
293: hr_utility.set_location('Entering:'||l_proc,10);
294: --
295: -- Delete all the translated rows
296: --
297: for l_lang in csr_del_langs loop
300: ,p_language => l_lang.language
301: );
302: end loop;
303: --
304: hr_utility.set_location(' Leaving:'||l_proc,20);
305: End del_tl;
306: --
307: end irc_idt_del;