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: -- Delete the pqh_rule_sets_tl row.
54: --
56: where rule_set_id = p_rec.rule_set_id
57: and language = p_rec.language;
58: --
59: --
60: hr_utility.set_location(' Leaving:'||l_proc, 10);
61: --
62: Exception
63: When hr_api.child_integrity_violated then
64: -- Child integrity has been violated
104: --
105: l_proc varchar2(72) := g_package||'pre_delete';
106: --
107: Begin
108: hr_utility.set_location('Entering:'||l_proc, 5);
109: --
110: hr_utility.set_location(' Leaving:'||l_proc, 10);
111: End pre_delete;
112: --
106: --
107: Begin
108: hr_utility.set_location('Entering:'||l_proc, 5);
109: --
110: hr_utility.set_location(' Leaving:'||l_proc, 10);
111: End pre_delete;
112: --
113: -- ----------------------------------------------------------------------------
114: -- |-----------------------------< post_delete >------------------------------|
146: --
147: l_proc varchar2(72) := g_package||'post_delete';
148: --
149: Begin
150: hr_utility.set_location('Entering:'||l_proc, 5);
151: --
152: --
153: -- Start of API User Hook for post_delete.
154: --
175: --
176: -- End of API User Hook for post_delete.
177: --
178: --
179: hr_utility.set_location(' Leaving:'||l_proc, 10);
180: End post_delete;
181: --
182: -- ----------------------------------------------------------------------------
183: -- |---------------------------------< del >----------------------------------|
189: --
190: l_proc varchar2(72) := g_package||'del';
191: --
192: Begin
193: hr_utility.set_location('Entering:'||l_proc, 5);
194: --
195: -- We must lock the row which we need to delete.
196: --
197: pqh_rtl_shd.lck
229: l_rec pqh_rtl_shd.g_rec_type;
230: l_proc varchar2(72) := g_package||'del';
231: --
232: Begin
233: hr_utility.set_location('Entering:'||l_proc, 5);
234: --
235: -- As the delete procedure accepts a plsql record structure we do need to
236: -- convert the arguments into the record structure.
237: -- We don't need to call the supplied conversion argument routine as we
246: -- business process
247: --
248: del(l_rec);
249: --
250: hr_utility.set_location(' Leaving:'||l_proc, 10);
251: End del;
252: --
253: --
254: -- ----------------------------------------------------------------------------
265: l_proc varchar2(72) := g_package||'del_tl';
266: --
267: begin
268: --
269: hr_utility.set_location(' Entering:'||l_proc, 10);
270: --
271: for l_lang in csr_del_langs loop
272: --
273: --
277: --
278: --
279: end loop;
280: --
281: hr_utility.set_location(' Leaving:'||l_proc, 20);
282: --
283: end del_tl;
284: --
285: end pqh_rtl_del;