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_dpnt_egd_shd.g_api_dml := true; -- Set the api dml status
59: --
60: -- Delete the ben_eligy_criteria row.
63: where eligy_criteria_dpnt_id = p_rec.eligy_criteria_dpnt_id;
64: --
65: ben_dpnt_egd_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: --
163: -- Start of API User Hook for post_delete.
164: --
241: --
242: -- End of API User Hook for post_delete.
243: --
244: --
245: hr_utility.set_location(' Leaving:'||l_proc, 10);
246: End post_delete;
247: --
248: -- ----------------------------------------------------------------------------
249: -- |---------------------------------< del >----------------------------------|
256: --
257: l_proc varchar2(72) := g_package||'del';
258: --
259: Begin
260: hr_utility.set_location('Entering:'||l_proc, 5);
261: --
262: -- We must lock the row which we need to delete.
263: --
264: ben_dpnt_egd_shd.lck
297: l_rec ben_dpnt_egd_shd.g_rec_type;
298: l_proc varchar2(72) := g_package||'del';
299: --
300: Begin
301: hr_utility.set_location('Entering:'||l_proc, 5);
302: --
303: -- As the delete procedure accepts a plsql record structure we do need to
304: -- convert the arguments into the record structure.
305: -- We don't need to call the supplied conversion argument routine as we
313: -- business process
314: --
315: del(l_rec,p_effective_date);
316: --
317: hr_utility.set_location(' Leaving:'||l_proc, 10);
318: End del;
319: --
320: end ben_dpnt_egd_del;