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_cross_charges row.
65: where cross_charge_id = p_rec.cross_charge_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: ota_tcc_rkd.after_delete
165: (p_cross_charge_id
189: ,p_hook_type => 'AD');
190: --
191: end;
192: --
193: hr_utility.set_location(' Leaving:'||l_proc, 10);
194: End post_delete;
195: --
196: -- ----------------------------------------------------------------------------
197: -- |---------------------------------< del >----------------------------------|
203: --
204: l_proc varchar2(72) := g_package||'del';
205: --
206: Begin
207: hr_utility.set_location('Entering:'||l_proc, 5);
208: --
209: -- Determine if the business process is to be validated.
210: --
211: If p_validate then
244: --
245: If p_validate then
246: Raise HR_Api.Validate_Enabled;
247: End If;
248: hr_utility.set_location(' Leaving:'||l_proc, 10);
249:
250: Exception
251: When HR_Api.Validate_Enabled Then
252: --
268: l_rec ota_tcc_shd.g_rec_type;
269: l_proc varchar2(72) := g_package||'del';
270: --
271: Begin
272: hr_utility.set_location('Entering:'||l_proc, 5);
273: --
274: -- As the delete procedure accepts a plsql record structure we do need to
275: -- convert the arguments into the record structure.
276: -- We don't need to call the supplied conversion argument routine as we
286: ota_tcc_del.del(l_rec
287: ,p_validate
288: );
289: --
290: hr_utility.set_location(' Leaving:'||l_proc, 10);
291: End del;
292: --
293: end ota_tcc_del;