49: --
50: l_proc varchar2(72) := g_package||'delete_dml';
51: --
52: Begin
53: hr_utility.set_location('Entering:'||l_proc, 5);
54: --
55: --
56: -- Delete the pqh_copy_entity_contexts row.
57: --
58: delete from pqh_copy_entity_contexts
59: where context = p_rec.context;
60: --
61: --
62: hr_utility.set_location(' Leaving:'||l_proc, 10);
63: --
64: Exception
65: When hr_api.child_integrity_violated then
66: -- Child integrity has been violated
106: --
107: l_proc varchar2(72) := g_package||'pre_delete';
108: --
109: Begin
110: hr_utility.set_location('Entering:'||l_proc, 5);
111: --
112: hr_utility.set_location(' Leaving:'||l_proc, 10);
113: End pre_delete;
114: --
108: --
109: Begin
110: hr_utility.set_location('Entering:'||l_proc, 5);
111: --
112: hr_utility.set_location(' Leaving:'||l_proc, 10);
113: End pre_delete;
114: --
115: -- ----------------------------------------------------------------------------
116: -- |-----------------------------< post_delete >------------------------------|
148: --
149: l_proc varchar2(72) := g_package||'post_delete';
150: --
151: Begin
152: hr_utility.set_location('Entering:'||l_proc, 5);
153: --
154: --
155: -- Start of API User Hook for post_delete.
156: --
178: --
179: -- End of API User Hook for post_delete.
180: --
181: --
182: hr_utility.set_location(' Leaving:'||l_proc, 10);
183: End post_delete;
184: --
185: -- ----------------------------------------------------------------------------
186: -- |---------------------------------< del >----------------------------------|
192: --
193: l_proc varchar2(72) := g_package||'del';
194: --
195: Begin
196: hr_utility.set_location('Entering:'||l_proc, 5);
197: --
198: -- We must lock the row which we need to delete.
199: --
200: pqh_cec_shd.lck
232: l_rec pqh_cec_shd.g_rec_type;
233: l_proc varchar2(72) := g_package||'del';
234: --
235: Begin
236: hr_utility.set_location('Entering:'||l_proc, 5);
237: --
238: -- As the delete procedure accepts a plsql record structure we do need to
239: -- convert the arguments into the record structure.
240: -- We don't need to call the supplied conversion argument routine as we
248: -- business process
249: --
250: del(l_rec);
251: --
252: hr_utility.set_location(' Leaving:'||l_proc, 10);
253: End del;
254: --
255: end pqh_cec_del;