88: --
89: l_proc varchar2(72) := g_package||'delete_dml';
90: --
91: Begin
92: hr_utility.set_location('Entering:'||l_proc, 5);
93: --
94: --
95: --
96: -- Delete the pay_balance_attributes row.
99: where balance_attribute_id = p_rec.balance_attribute_id;
100: --
101: --
102: --
103: hr_utility.set_location(' Leaving:'||l_proc, 10);
104: --
105: Exception
106: When hr_api.child_integrity_violated then
107: -- Child integrity has been violated
149: --
150: l_proc varchar2(72) := g_package||'pre_delete';
151: --
152: Begin
153: hr_utility.set_location('Entering:'||l_proc, 5);
154: --
155: hr_utility.set_location(' Leaving:'||l_proc, 10);
156: End pre_delete;
157: --
151: --
152: Begin
153: hr_utility.set_location('Entering:'||l_proc, 5);
154: --
155: hr_utility.set_location(' Leaving:'||l_proc, 10);
156: End pre_delete;
157: --
158: -- ----------------------------------------------------------------------------
159: -- |-----------------------------< post_delete >------------------------------|
191: --
192: l_proc varchar2(72) := g_package||'post_delete';
193: --
194: Begin
195: hr_utility.set_location('Entering:'||l_proc, 5);
196: begin
197: --
198: -- Delete ownerships if applicable
199: delete_app_ownerships
222: ,p_hook_type => 'AD');
223: --
224: end;
225: --
226: hr_utility.set_location(' Leaving:'||l_proc, 10);
227: End post_delete;
228: --
229: -- ----------------------------------------------------------------------------
230: -- |---------------------------------< del >----------------------------------|
235: --
236: l_proc varchar2(72) := g_package||'del';
237: --
238: Begin
239: hr_utility.set_location('Entering:'||l_proc, 5);
240: --
241: -- We must lock the row which we need to delete.
242: --
243: pay_pba_shd.lck
278: l_rec pay_pba_shd.g_rec_type;
279: l_proc varchar2(72) := g_package||'del';
280: --
281: Begin
282: hr_utility.set_location('Entering:'||l_proc, 5);
283: --
284: -- As the delete procedure accepts a plsql record structure we do need to
285: -- convert the arguments into the record structure.
286: -- We don't need to call the supplied conversion argument routine as we
293: -- business process
294: --
295: pay_pba_del.del(l_rec);
296: --
297: hr_utility.set_location(' Leaving:'||l_proc, 10);
298: End del;
299: --
300: end pay_pba_del;