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_xcr_shd.g_api_dml := true; -- Set the api dml status
95: --
96: -- Delete the ben_ext_crit_prfl row.
99: where ext_crit_prfl_id = p_rec.ext_crit_prfl_id;
100: --
101: ben_xcr_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 >------------------------------|
191: --
192: l_proc varchar2(72) := g_package||'post_delete';
193: --
194: Begin
195: hr_utility.set_location('Entering:'||l_proc, 5);
196: --
197: delete_app_ownerships('EXT_CRIT_PRFL_ID', p_rec.ext_crit_prfl_id);
198: --
199: -- Start of API User Hook for post_delete.
253: --
254: -- End of API User Hook for post_delete.
255: --
256: --
257: hr_utility.set_location(' Leaving:'||l_proc, 10);
258: End post_delete;
259: --
260: -- ----------------------------------------------------------------------------
261: -- |---------------------------------< del >----------------------------------|
267: --
268: l_proc varchar2(72) := g_package||'del';
269: --
270: Begin
271: hr_utility.set_location('Entering:'||l_proc, 5);
272: --
273: -- We must lock the row which we need to delete.
274: --
275: ben_xcr_shd.lck
308: l_rec ben_xcr_shd.g_rec_type;
309: l_proc varchar2(72) := g_package||'del';
310: --
311: Begin
312: hr_utility.set_location('Entering:'||l_proc, 5);
313: --
314: -- As the delete procedure accepts a plsql record structure we do need to
315: -- convert the arguments into the record structure.
316: -- We don't need to call the supplied conversion argument routine as we
326: -- business process
327: --
328: del(l_rec);
329: --
330: hr_utility.set_location(' Leaving:'||l_proc, 10);
331: End del;
332: --
333: end ben_xcr_del;