88: --
89: l_proc varchar2(72) := g_package||'delete_dml';
90: --
91: Begin
92: hr_utility.set_location('Entering:'||l_proc, 5);
93: --
94: ben_xrf_shd.g_api_dml := true; -- Set the api dml status
95: --
96: -- Delete the ben_ext_rcd_in_file row.
99: where ext_rcd_in_file_id = p_rec.ext_rcd_in_file_id;
100: --
101: ben_xrf_shd.g_api_dml := false; -- Unset the api dml status
102: --
103: hr_utility.set_location(' Leaving:'||l_proc, 10);
104: --
105: Exception
106: When hr_api.child_integrity_violated then
107: -- Child integrity has been violated
149: --
150: l_proc varchar2(72) := g_package||'pre_delete';
151: --
152: Begin
153: hr_utility.set_location('Entering:'||l_proc, 5);
154: --
155: hr_utility.set_location(' Leaving:'||l_proc, 10);
156: End pre_delete;
157: --
151: --
152: Begin
153: hr_utility.set_location('Entering:'||l_proc, 5);
154: --
155: hr_utility.set_location(' Leaving:'||l_proc, 10);
156: End pre_delete;
157: --
158: -- ----------------------------------------------------------------------------
159: -- |-----------------------------< post_delete >------------------------------|
192: --
193: l_proc varchar2(72) := g_package||'post_delete';
194: --
195: Begin
196: hr_utility.set_location('Entering:'||l_proc, 5);
197: --
198: --
199: -- Delete ownerships if applicable
200: --
238: --
239: -- End of API User Hook for post_delete.
240: --
241: --
242: hr_utility.set_location(' Leaving:'||l_proc, 10);
243: End post_delete;
244: --
245: -- ----------------------------------------------------------------------------
246: -- |---------------------------------< del >----------------------------------|
253: --
254: l_proc varchar2(72) := g_package||'del';
255: --
256: Begin
257: hr_utility.set_location('Entering:'||l_proc, 5);
258: --
259: -- We must lock the row which we need to delete.
260: --
261: ben_xrf_shd.lck
297: l_rec ben_xrf_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
315: --
316: del(
317: p_effective_date,l_rec);
318: --
319: hr_utility.set_location(' Leaving:'||l_proc, 10);
320: End del;
321: --
322: end ben_xrf_del;