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_templates_tl row.
54: --
56: where template_id = p_rec.template_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: --
174: --
175: -- End of API User Hook for post_delete.
176: --
177: --
178: hr_utility.set_location(' Leaving:'||l_proc, 10);
179: End post_delete;
180: --
181: -- ----------------------------------------------------------------------------
182: -- |---------------------------------< del >----------------------------------|
188: --
189: l_proc varchar2(72) := g_package||'del';
190: --
191: Begin
192: hr_utility.set_location('Entering:'||l_proc, 5);
193: --
194: -- We must lock the row which we need to delete.
195: --
196: pqh_ttl_shd.lck
228: l_rec pqh_ttl_shd.g_rec_type;
229: l_proc varchar2(72) := g_package||'del';
230: --
231: Begin
232: hr_utility.set_location('Entering:'||l_proc, 5);
233: --
234: -- As the delete procedure accepts a plsql record structure we do need to
235: -- convert the arguments into the record structure.
236: -- We don't need to call the supplied conversion argument routine as we
245: -- business process
246: --
247: del(l_rec);
248: --
249: hr_utility.set_location(' Leaving:'||l_proc, 10);
250: End del;
251: --
252: --
253: -- ----------------------------------------------------------------------------
268: l_proc varchar2(72) := g_package||'del_tl';
269: --
270: begin
271: --
272: hr_utility.set_location(' Entering:'||l_proc, 10);
273: --
274: for l_lang in csr_del_langs loop
275: --
276: --
280: --
281: --
282: end loop;
283: --
284: hr_utility.set_location(' Leaving:'||l_proc, 20);
285: --
286: end del_tl;
287: --
288: