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_txn_category_attributes row.
54: --
55: delete from pqh_txn_category_attributes
56: where txn_category_attribute_id = p_rec.txn_category_attribute_id;
57: --
58: --
59: hr_utility.set_location(' Leaving:'||l_proc, 10);
60: --
61: Exception
62: When hr_api.child_integrity_violated then
63: -- Child integrity has been violated
103: --
104: l_proc varchar2(72) := g_package||'pre_delete';
105: --
106: Begin
107: hr_utility.set_location('Entering:'||l_proc, 5);
108: --
109: hr_utility.set_location(' Leaving:'||l_proc, 10);
110: End pre_delete;
111: --
105: --
106: Begin
107: hr_utility.set_location('Entering:'||l_proc, 5);
108: --
109: hr_utility.set_location(' Leaving:'||l_proc, 10);
110: End pre_delete;
111: --
112: -- ----------------------------------------------------------------------------
113: -- |-----------------------------< 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: --
183: --
184: -- End of API User Hook for post_delete.
185: --
186: --
187: hr_utility.set_location(' Leaving:'||l_proc, 10);
188: End post_delete;
189: --
190: -- ----------------------------------------------------------------------------
191: -- |---------------------------------< del >----------------------------------|
198: --
199: l_proc varchar2(72) := g_package||'del';
200: --
201: Begin
202: hr_utility.set_location('Entering:'||l_proc, 5);
203: --
204: -- We must lock the row which we need to delete.
205: --
206: pqh_tca_shd.lck
241: l_rec pqh_tca_shd.g_rec_type;
242: l_proc varchar2(72) := g_package||'del';
243: --
244: Begin
245: hr_utility.set_location('Entering:'||l_proc, 5);
246: --
247: -- As the delete procedure accepts a plsql record structure we do need to
248: -- convert the arguments into the record structure.
249: -- We don't need to call the supplied conversion argument routine as we
258: --
259: del(
260: p_effective_date,l_rec);
261: --
262: hr_utility.set_location(' Leaving:'||l_proc, 10);
263: End del;
264: --
265: end pqh_tca_del;