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 hr_ki_option_types_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:
166: hr_ott_rkd.after_delete
183: ,p_hook_type => 'AD');
184: --
185: end;
186: --
187: hr_utility.set_location(' Leaving:'||l_proc, 10);
188: End post_delete;
189: --
190: -- ----------------------------------------------------------------------------
191: -- |---------------------------------< del >----------------------------------|
196: --
197: l_proc varchar2(72) := g_package||'del';
198: --
199: Begin
200: hr_utility.set_location('Entering:'||l_proc, 5);
201: --
202: -- We must lock the row which we need to delete.
203: --
204: hr_ott_shd.lck
241: l_rec hr_ott_shd.g_rec_type;
242: l_proc varchar2(72) := g_package||'del';
243: --
244: Begin
245: hr_utility.set_location('Entering:'||l_proc, 5);
246: --
247: -- As the delete procedure accepts a plsql record structure we do need to
248: -- convert the arguments into the record structure.
249: -- We don't need to call the supplied conversion argument routine as we
257: -- business process
258: --
259: hr_ott_del.del(l_rec);
260: --
261: hr_utility.set_location(' Leaving:'||l_proc, 10);
262: End del;
263: --
264: -- ----------------------------------------------------------------------------
265: -- |------------------------------< del_tl >----------------------------------|
279: --
280: l_proc varchar2(72) := g_package||'del_tl';
281: --
282: Begin
283: hr_utility.set_location('Entering:'||l_proc,10);
284: --
285: -- Delete all the translated rows
286: --
287: for l_lang in csr_del_langs loop
290: ,p_language => l_lang.language
291: );
292: end loop;
293: --
294: hr_utility.set_location(' Leaving:'||l_proc,20);
295: End del_tl;
296: --
297: end hr_ott_del;