52: --
53: l_proc varchar2(72) := g_package||'delete_dml';
54: --
55: Begin
56: hr_utility.set_location('Entering:'||l_proc, 5);
57: --
58: per_chk_shd.g_api_dml := true; -- Set the api dml status
59: --
60: -- Delete the per_checklist_items row.
63: where checklist_item_id = p_rec.checklist_item_id;
64: --
65: per_chk_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 >------------------------------|
155: --
156: l_proc varchar2(72) := g_package||'post_delete';
157: --
158: Begin
159: hr_utility.set_location('Entering:'||l_proc, 5);
160: --
161: --
162: -- Start of API User Hook for post_delete.
163: --
218: --
219: -- End of API User Hook for post_delete.
220: --
221: --
222: hr_utility.set_location(' Leaving:'||l_proc, 10);
223: End post_delete;
224: --
225: -- ----------------------------------------------------------------------------
226: -- |---------------------------------< del >----------------------------------|
232: --
233: l_proc varchar2(72) := g_package||'del';
234: --
235: Begin
236: hr_utility.set_location('Entering:'||l_proc, 5);
237: --
238: -- We must lock the row which we need to delete.
239: --
240: per_chk_shd.lck
272: l_rec per_chk_shd.g_rec_type;
273: l_proc varchar2(72) := g_package||'del';
274: --
275: Begin
276: hr_utility.set_location('Entering:'||l_proc, 5);
277: --
278: -- As the delete procedure accepts a plsql record structure we do need to
279: -- convert the arguments into the record structure.
280: -- We don't need to call the supplied conversion argument routine as we
288: -- business process
289: --
290: del(l_rec);
291: --
292: hr_utility.set_location(' Leaving:'||l_proc, 10);
293: End del;
294: --
295: end per_chk_del;