52: --
53: l_proc varchar2(72) := g_package||'delete_dml';
54: --
55: Begin
56: hr_utility.set_location('Entering:'||l_proc, 5);
57: --
58: ben_bmi_shd.g_api_dml := true; -- Set the api dml status
59: --
60: -- Delete the ben_batch_commu_info row.
63: where batch_commu_id = p_rec.batch_commu_id;
64: --
65: ben_bmi_shd.g_api_dml := false; -- Unset the api dml status
66: --
67: hr_utility.set_location(' Leaving:'||l_proc, 10);
68: --
69: Exception
70: When hr_api.child_integrity_violated then
71: -- Child integrity has been violated
113: --
114: l_proc varchar2(72) := g_package||'pre_delete';
115: --
116: Begin
117: hr_utility.set_location('Entering:'||l_proc, 5);
118: --
119: hr_utility.set_location(' Leaving:'||l_proc, 10);
120: End pre_delete;
121: --
115: --
116: Begin
117: hr_utility.set_location('Entering:'||l_proc, 5);
118: --
119: hr_utility.set_location(' Leaving:'||l_proc, 10);
120: End pre_delete;
121: --
122: -- ----------------------------------------------------------------------------
123: -- |-----------------------------< post_delete >------------------------------|
155: --
156: l_proc varchar2(72) := g_package||'post_delete';
157: --
158: Begin
159: hr_utility.set_location('Entering:'||l_proc, 5);
160: --
161: --
162: -- Start of API User Hook for post_delete.
163: --
188: --
189: -- End of API User Hook for post_delete.
190: --
191: --
192: hr_utility.set_location(' Leaving:'||l_proc, 10);
193: End post_delete;
194: --
195: -- ----------------------------------------------------------------------------
196: -- |---------------------------------< del >----------------------------------|
202: --
203: l_proc varchar2(72) := g_package||'del';
204: --
205: Begin
206: hr_utility.set_location('Entering:'||l_proc, 5);
207: --
208: -- We must lock the row which we need to delete.
209: --
210: ben_bmi_shd.lck
242: l_rec ben_bmi_shd.g_rec_type;
243: l_proc varchar2(72) := g_package||'del';
244: --
245: Begin
246: hr_utility.set_location('Entering:'||l_proc, 5);
247: --
248: -- As the delete procedure accepts a plsql record structure we do need to
249: -- convert the arguments into the record structure.
250: -- We don't need to call the supplied conversion argument routine as we
258: -- business process
259: --
260: del(l_rec);
261: --
262: hr_utility.set_location(' Leaving:'||l_proc, 10);
263: End del;
264: --
265: end ben_bmi_del;