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