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_ias_shd.g_api_dml := true; -- Set the dml status
61: --
62: -- Delete the irc_assignment_statuses row.
65: where assignment_status_id = p_rec.assignment_status_id;
66: --
67: irc_ias_shd.g_api_dml := false; -- Unset the 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_ias_rkd.after_delete
167: (p_assignment_status_id
187: ,p_hook_type => 'AD');
188: --
189: end;
190: --
191: hr_utility.set_location(' Leaving:'||l_proc, 10);
192: End post_delete;
193: --
194: -- ----------------------------------------------------------------------------
195: -- |---------------------------------< del >----------------------------------|
200: --
201: l_proc varchar2(72) := g_package||'del';
202: --
203: Begin
204: hr_utility.set_location('Entering:'||l_proc, 5);
205: --
206: -- We must lock the row which we need to delete.
207: --
208: irc_ias_shd.lck
243: l_rec irc_ias_shd.g_rec_type;
244: l_proc varchar2(72) := g_package||'del';
245: --
246: Begin
247: hr_utility.set_location('Entering:'||l_proc, 5);
248: --
249: -- As the delete procedure accepts a plsql record structure we do need to
250: -- convert the arguments into the record structure.
251: -- We don't need to call the supplied conversion argument routine as we
259: -- business process
260: --
261: irc_ias_del.del(l_rec);
262: --
263: hr_utility.set_location(' Leaving:'||l_proc, 10);
264: End del;
265: --
266: end irc_ias_del;