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_ran_shd.g_api_dml := true; -- Set the api dml status
59: --
60: -- Delete the ben_batch_ranges row.
63: where range_id = p_rec.range_id;
64: --
65: ben_ran_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 >------------------------------|
156: --
157: l_proc varchar2(72) := g_package||'post_delete';
158: --
159: Begin
160: hr_utility.set_location('Entering:'||l_proc, 5);
161: --
162: hr_utility.set_location(' Leaving:'||l_proc, 10);
163: End post_delete;
164: --
158: --
159: Begin
160: hr_utility.set_location('Entering:'||l_proc, 5);
161: --
162: hr_utility.set_location(' Leaving:'||l_proc, 10);
163: End post_delete;
164: --
165: -- ----------------------------------------------------------------------------
166: -- |---------------------------------< del >----------------------------------|
173: --
174: l_proc varchar2(72) := g_package||'del';
175: --
176: Begin
177: hr_utility.set_location('Entering:'||l_proc, 5);
178: --
179: -- We must lock the row which we need to delete.
180: --
181: ben_ran_shd.lck
216: l_rec ben_ran_shd.g_rec_type;
217: l_proc varchar2(72) := g_package||'del';
218: --
219: Begin
220: hr_utility.set_location('Entering:'||l_proc, 5);
221: --
222: -- As the delete procedure accepts a plsql record structure we do need to
223: -- convert the arguments into the record structure.
224: -- We don't need to call the supplied conversion argument routine as we
233: --
234: del(
235: p_effective_date,l_rec);
236: --
237: hr_utility.set_location(' Leaving:'||l_proc, 10);
238: End del;
239: --
240: end ben_ran_del;