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 pay_run_types_f_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: pay_rtt_rkd.after_delete
166: (p_run_type_id
184: ,p_hook_type => 'AD');
185: --
186: end;
187: --
188: hr_utility.set_location(' Leaving:'||l_proc, 10);
189: End post_delete;
190: --
191: -- ----------------------------------------------------------------------------
192: -- |---------------------------------< del >----------------------------------|
197: --
198: l_proc varchar2(72) := g_package||'del';
199: --
200: Begin
201: hr_utility.set_location('Entering:'||l_proc, 5);
202: --
203: -- We must lock the row which we need to delete.
204: --
205: pay_rtt_shd.lck
236: l_rec pay_rtt_shd.g_rec_type;
237: l_proc varchar2(72) := g_package||'del';
238: --
239: Begin
240: hr_utility.set_location('Entering:'||l_proc, 5);
241: --
242: -- As the delete procedure accepts a plsql record structure we do need to
243: -- convert the arguments into the record structure.
244: -- We don't need to call the supplied conversion argument routine as we
253: -- business process
254: --
255: pay_rtt_del.del(l_rec);
256: --
257: hr_utility.set_location(' Leaving:'||l_proc, 10);
258: End del;
259: --
260: -- ----------------------------------------------------------------------------
261: -- |------------------------------< del_tl >----------------------------------|
273: --
274: l_proc varchar2(72) := g_package||'del_tl';
275: --
276: Begin
277: hr_utility.set_location('Entering:'||l_proc,10);
278: --
279: -- Delete all the translated rows
280: --
281: for l_lang in csr_del_langs loop
284: ,p_language => l_lang.language
285: );
286: end loop;
287: --
288: hr_utility.set_location(' Leaving:'||l_proc,20);
289: End del_tl;
290: --
291: end pay_rtt_del;