46: --
47: l_proc varchar2(72) := g_package||'delete_dml';
48: --
49: Begin
50: hr_utility.set_location('Entering:'||l_proc, 5);
51: --
52: --
53: -- Added the following code as a part of Zero Downtime Patching Project.
54: -- Code Starts Here.
70: delete from pqh_rule_sets
71: where rule_set_id = p_rec.rule_set_id;
72: --
73: --
74: hr_utility.set_location(' Leaving:'||l_proc, 10);
75: --
76: Exception
77: When hr_api.child_integrity_violated then
78: -- Child integrity has been violated
118: --
119: l_proc varchar2(72) := g_package||'pre_delete';
120: --
121: Begin
122: hr_utility.set_location('Entering:'||l_proc, 5);
123: --
124: hr_utility.set_location(' Leaving:'||l_proc, 10);
125: End pre_delete;
126: --
120: --
121: Begin
122: hr_utility.set_location('Entering:'||l_proc, 5);
123: --
124: hr_utility.set_location(' Leaving:'||l_proc, 10);
125: End pre_delete;
126: --
127: -- ----------------------------------------------------------------------------
128: -- |-----------------------------< post_delete >------------------------------|
161: --
162: l_proc varchar2(72) := g_package||'post_delete';
163: --
164: Begin
165: hr_utility.set_location('Entering:'||l_proc, 5);
166: --
167: --
168: -- Start of API User Hook for post_delete.
169: --
199: --
200: -- End of API User Hook for post_delete.
201: --
202: --
203: hr_utility.set_location(' Leaving:'||l_proc, 10);
204: End post_delete;
205: --
206: -- ----------------------------------------------------------------------------
207: -- |---------------------------------< del >----------------------------------|
214: --
215: l_proc varchar2(72) := g_package||'del';
216: --
217: Begin
218: hr_utility.set_location('Entering:'||l_proc, 5);
219: --
220: -- We must lock the row which we need to delete.
221: --
222: pqh_rst_shd.lck
257: l_rec pqh_rst_shd.g_rec_type;
258: l_proc varchar2(72) := g_package||'del';
259: --
260: Begin
261: hr_utility.set_location('Entering:'||l_proc, 5);
262: --
263: -- As the delete procedure accepts a plsql record structure we do need to
264: -- convert the arguments into the record structure.
265: -- We don't need to call the supplied conversion argument routine as we
274: --
275: del(
276: p_effective_date,l_rec);
277: --
278: hr_utility.set_location(' Leaving:'||l_proc, 10);
279: End del;
280: --
281: end pqh_rst_del;