54: --
55: l_proc varchar2(72) := g_package||'delete_dml';
56: --
57: Begin
58: hr_utility.set_location('Entering:'||l_proc, 5);
59: --
60: irc_rse_shd.g_api_dml := true; -- Set the api dml status
61: --
62: -- Delete the irc_all_recruiting_sites row.
65: where recruiting_site_id = p_rec.recruiting_site_id;
66: --
67: irc_rse_shd.g_api_dml := false; -- Unset the api dml status
68: --
69: hr_utility.set_location(' Leaving:'||l_proc, 10);
70: --
71: Exception
72: When hr_api.child_integrity_violated then
73: -- Child integrity has been violated
117: --
118: l_proc varchar2(72) := g_package||'pre_delete';
119: --
120: Begin
121: hr_utility.set_location('Entering:'||l_proc, 5);
122: --
123: hr_utility.set_location(' Leaving:'||l_proc, 10);
124: End pre_delete;
125: --
119: --
120: Begin
121: hr_utility.set_location('Entering:'||l_proc, 5);
122: --
123: hr_utility.set_location(' Leaving:'||l_proc, 10);
124: End pre_delete;
125: --
126: -- ----------------------------------------------------------------------------
127: -- |-----------------------------< post_delete >------------------------------|
159: --
160: l_proc varchar2(72) := g_package||'post_delete';
161: --
162: Begin
163: hr_utility.set_location('Entering:'||l_proc, 5);
164: begin
165: --
166: irc_rse_rkd.after_delete
167: (p_recruiting_site_id
265: ,p_hook_type => 'AD');
266: --
267: end;
268: --
269: hr_utility.set_location(' Leaving:'||l_proc, 10);
270: End post_delete;
271: --
272: -- ----------------------------------------------------------------------------
273: -- |---------------------------------< del >----------------------------------|
278: --
279: l_proc varchar2(72) := g_package||'del';
280: --
281: Begin
282: hr_utility.set_location('Entering:'||l_proc, 5);
283: --
284: -- We must lock the row which we need to delete.
285: --
286: irc_rse_shd.lck
323: l_rec irc_rse_shd.g_rec_type;
324: l_proc varchar2(72) := g_package||'del';
325: --
326: Begin
327: hr_utility.set_location('Entering:'||l_proc, 5);
328: --
329: -- As the delete procedure accepts a plsql record structure we do need to
330: -- convert the arguments into the record structure.
331: -- We don't need to call the supplied conversion argument routine as we
339: -- business process
340: --
341: irc_rse_del.del(l_rec);
342: --
343: hr_utility.set_location(' Leaving:'||l_proc, 10);
344: End del;
345: --
346: end irc_rse_del;