47: -- Internal Row Handler Use Only.
48: --
49: -- {End Of Comments}
50: -- ----------------------------------------------------------------------------
51: Procedure delete_dml(p_rec in per_bba_shd.g_rec_type) is
52: --
53: l_proc varchar2(72) := g_package||'delete_dml';
54: --
55: Begin
66: --
67: Exception
68: When hr_api.child_integrity_violated then
69: -- Child integrity has been violated
70: per_bba_shd.constraint_error
71: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
72: When Others Then
73: Raise;
74: End delete_dml;
104: -- Internal Row Handler Use Only.
105: --
106: -- {End Of Comments}
107: -- ----------------------------------------------------------------------------
108: Procedure pre_delete(p_rec in per_bba_shd.g_rec_type) is
109: --
110: l_proc varchar2(72) := g_package||'pre_delete';
111: --
112: Begin
146: -- Internal Row Handler Use Only.
147: --
148: -- {End Of Comments}
149: -- -----------------------------------------------------------------------------
150: Procedure post_delete(p_rec in per_bba_shd.g_rec_type) is
151: --
152: l_proc varchar2(72) := g_package||'post_delete';
153: --
154: Begin
159: (
160: p_balance_amount_id
161: => p_rec.balance_amount_id,
162: p_balance_type_id_o
163: => per_bba_shd.g_old_rec.balance_type_id,
164: p_processed_assignment_id_o
165: => per_bba_shd.g_old_rec.processed_assignment_id,
166: p_business_group_id_o
167: => per_bba_shd.g_old_rec.business_group_id,
161: => p_rec.balance_amount_id,
162: p_balance_type_id_o
163: => per_bba_shd.g_old_rec.balance_type_id,
164: p_processed_assignment_id_o
165: => per_bba_shd.g_old_rec.processed_assignment_id,
166: p_business_group_id_o
167: => per_bba_shd.g_old_rec.business_group_id,
168: p_ytd_amount_o
169: => per_bba_shd.g_old_rec.ytd_amount,
163: => per_bba_shd.g_old_rec.balance_type_id,
164: p_processed_assignment_id_o
165: => per_bba_shd.g_old_rec.processed_assignment_id,
166: p_business_group_id_o
167: => per_bba_shd.g_old_rec.business_group_id,
168: p_ytd_amount_o
169: => per_bba_shd.g_old_rec.ytd_amount,
170: p_fytd_amount_o
171: => per_bba_shd.g_old_rec.fytd_amount,
165: => per_bba_shd.g_old_rec.processed_assignment_id,
166: p_business_group_id_o
167: => per_bba_shd.g_old_rec.business_group_id,
168: p_ytd_amount_o
169: => per_bba_shd.g_old_rec.ytd_amount,
170: p_fytd_amount_o
171: => per_bba_shd.g_old_rec.fytd_amount,
172: p_ptd_amount_o
173: => per_bba_shd.g_old_rec.ptd_amount,
167: => per_bba_shd.g_old_rec.business_group_id,
168: p_ytd_amount_o
169: => per_bba_shd.g_old_rec.ytd_amount,
170: p_fytd_amount_o
171: => per_bba_shd.g_old_rec.fytd_amount,
172: p_ptd_amount_o
173: => per_bba_shd.g_old_rec.ptd_amount,
174: p_mtd_amount_o
175: => per_bba_shd.g_old_rec.mtd_amount,
169: => per_bba_shd.g_old_rec.ytd_amount,
170: p_fytd_amount_o
171: => per_bba_shd.g_old_rec.fytd_amount,
172: p_ptd_amount_o
173: => per_bba_shd.g_old_rec.ptd_amount,
174: p_mtd_amount_o
175: => per_bba_shd.g_old_rec.mtd_amount,
176: p_qtd_amount_o
177: => per_bba_shd.g_old_rec.qtd_amount,
171: => per_bba_shd.g_old_rec.fytd_amount,
172: p_ptd_amount_o
173: => per_bba_shd.g_old_rec.ptd_amount,
174: p_mtd_amount_o
175: => per_bba_shd.g_old_rec.mtd_amount,
176: p_qtd_amount_o
177: => per_bba_shd.g_old_rec.qtd_amount,
178: p_run_amount_o
179: => per_bba_shd.g_old_rec.run_amount,
173: => per_bba_shd.g_old_rec.ptd_amount,
174: p_mtd_amount_o
175: => per_bba_shd.g_old_rec.mtd_amount,
176: p_qtd_amount_o
177: => per_bba_shd.g_old_rec.qtd_amount,
178: p_run_amount_o
179: => per_bba_shd.g_old_rec.run_amount,
180: p_object_version_number_o
181: => per_bba_shd.g_old_rec.object_version_number,
175: => per_bba_shd.g_old_rec.mtd_amount,
176: p_qtd_amount_o
177: => per_bba_shd.g_old_rec.qtd_amount,
178: p_run_amount_o
179: => per_bba_shd.g_old_rec.run_amount,
180: p_object_version_number_o
181: => per_bba_shd.g_old_rec.object_version_number,
182: p_bba_attribute_category_o
183: => per_bba_shd.g_old_rec.bba_attribute_category,
177: => per_bba_shd.g_old_rec.qtd_amount,
178: p_run_amount_o
179: => per_bba_shd.g_old_rec.run_amount,
180: p_object_version_number_o
181: => per_bba_shd.g_old_rec.object_version_number,
182: p_bba_attribute_category_o
183: => per_bba_shd.g_old_rec.bba_attribute_category,
184: p_bba_attribute1_o
185: => per_bba_shd.g_old_rec.bba_attribute1,
179: => per_bba_shd.g_old_rec.run_amount,
180: p_object_version_number_o
181: => per_bba_shd.g_old_rec.object_version_number,
182: p_bba_attribute_category_o
183: => per_bba_shd.g_old_rec.bba_attribute_category,
184: p_bba_attribute1_o
185: => per_bba_shd.g_old_rec.bba_attribute1,
186: p_bba_attribute2_o
187: => per_bba_shd.g_old_rec.bba_attribute2,
181: => per_bba_shd.g_old_rec.object_version_number,
182: p_bba_attribute_category_o
183: => per_bba_shd.g_old_rec.bba_attribute_category,
184: p_bba_attribute1_o
185: => per_bba_shd.g_old_rec.bba_attribute1,
186: p_bba_attribute2_o
187: => per_bba_shd.g_old_rec.bba_attribute2,
188: p_bba_attribute3_o
189: => per_bba_shd.g_old_rec.bba_attribute3,
183: => per_bba_shd.g_old_rec.bba_attribute_category,
184: p_bba_attribute1_o
185: => per_bba_shd.g_old_rec.bba_attribute1,
186: p_bba_attribute2_o
187: => per_bba_shd.g_old_rec.bba_attribute2,
188: p_bba_attribute3_o
189: => per_bba_shd.g_old_rec.bba_attribute3,
190: p_bba_attribute4_o
191: => per_bba_shd.g_old_rec.bba_attribute4,
185: => per_bba_shd.g_old_rec.bba_attribute1,
186: p_bba_attribute2_o
187: => per_bba_shd.g_old_rec.bba_attribute2,
188: p_bba_attribute3_o
189: => per_bba_shd.g_old_rec.bba_attribute3,
190: p_bba_attribute4_o
191: => per_bba_shd.g_old_rec.bba_attribute4,
192: p_bba_attribute5_o
193: => per_bba_shd.g_old_rec.bba_attribute5,
187: => per_bba_shd.g_old_rec.bba_attribute2,
188: p_bba_attribute3_o
189: => per_bba_shd.g_old_rec.bba_attribute3,
190: p_bba_attribute4_o
191: => per_bba_shd.g_old_rec.bba_attribute4,
192: p_bba_attribute5_o
193: => per_bba_shd.g_old_rec.bba_attribute5,
194: p_bba_attribute6_o
195: => per_bba_shd.g_old_rec.bba_attribute6,
189: => per_bba_shd.g_old_rec.bba_attribute3,
190: p_bba_attribute4_o
191: => per_bba_shd.g_old_rec.bba_attribute4,
192: p_bba_attribute5_o
193: => per_bba_shd.g_old_rec.bba_attribute5,
194: p_bba_attribute6_o
195: => per_bba_shd.g_old_rec.bba_attribute6,
196: p_bba_attribute7_o
197: => per_bba_shd.g_old_rec.bba_attribute7,
191: => per_bba_shd.g_old_rec.bba_attribute4,
192: p_bba_attribute5_o
193: => per_bba_shd.g_old_rec.bba_attribute5,
194: p_bba_attribute6_o
195: => per_bba_shd.g_old_rec.bba_attribute6,
196: p_bba_attribute7_o
197: => per_bba_shd.g_old_rec.bba_attribute7,
198: p_bba_attribute8_o
199: => per_bba_shd.g_old_rec.bba_attribute8,
193: => per_bba_shd.g_old_rec.bba_attribute5,
194: p_bba_attribute6_o
195: => per_bba_shd.g_old_rec.bba_attribute6,
196: p_bba_attribute7_o
197: => per_bba_shd.g_old_rec.bba_attribute7,
198: p_bba_attribute8_o
199: => per_bba_shd.g_old_rec.bba_attribute8,
200: p_bba_attribute9_o
201: => per_bba_shd.g_old_rec.bba_attribute9,
195: => per_bba_shd.g_old_rec.bba_attribute6,
196: p_bba_attribute7_o
197: => per_bba_shd.g_old_rec.bba_attribute7,
198: p_bba_attribute8_o
199: => per_bba_shd.g_old_rec.bba_attribute8,
200: p_bba_attribute9_o
201: => per_bba_shd.g_old_rec.bba_attribute9,
202: p_bba_attribute10_o
203: => per_bba_shd.g_old_rec.bba_attribute10,
197: => per_bba_shd.g_old_rec.bba_attribute7,
198: p_bba_attribute8_o
199: => per_bba_shd.g_old_rec.bba_attribute8,
200: p_bba_attribute9_o
201: => per_bba_shd.g_old_rec.bba_attribute9,
202: p_bba_attribute10_o
203: => per_bba_shd.g_old_rec.bba_attribute10,
204: p_bba_attribute11_o
205: => per_bba_shd.g_old_rec.bba_attribute11,
199: => per_bba_shd.g_old_rec.bba_attribute8,
200: p_bba_attribute9_o
201: => per_bba_shd.g_old_rec.bba_attribute9,
202: p_bba_attribute10_o
203: => per_bba_shd.g_old_rec.bba_attribute10,
204: p_bba_attribute11_o
205: => per_bba_shd.g_old_rec.bba_attribute11,
206: p_bba_attribute12_o
207: => per_bba_shd.g_old_rec.bba_attribute12,
201: => per_bba_shd.g_old_rec.bba_attribute9,
202: p_bba_attribute10_o
203: => per_bba_shd.g_old_rec.bba_attribute10,
204: p_bba_attribute11_o
205: => per_bba_shd.g_old_rec.bba_attribute11,
206: p_bba_attribute12_o
207: => per_bba_shd.g_old_rec.bba_attribute12,
208: p_bba_attribute13_o
209: => per_bba_shd.g_old_rec.bba_attribute13,
203: => per_bba_shd.g_old_rec.bba_attribute10,
204: p_bba_attribute11_o
205: => per_bba_shd.g_old_rec.bba_attribute11,
206: p_bba_attribute12_o
207: => per_bba_shd.g_old_rec.bba_attribute12,
208: p_bba_attribute13_o
209: => per_bba_shd.g_old_rec.bba_attribute13,
210: p_bba_attribute14_o
211: => per_bba_shd.g_old_rec.bba_attribute14,
205: => per_bba_shd.g_old_rec.bba_attribute11,
206: p_bba_attribute12_o
207: => per_bba_shd.g_old_rec.bba_attribute12,
208: p_bba_attribute13_o
209: => per_bba_shd.g_old_rec.bba_attribute13,
210: p_bba_attribute14_o
211: => per_bba_shd.g_old_rec.bba_attribute14,
212: p_bba_attribute15_o
213: => per_bba_shd.g_old_rec.bba_attribute15,
207: => per_bba_shd.g_old_rec.bba_attribute12,
208: p_bba_attribute13_o
209: => per_bba_shd.g_old_rec.bba_attribute13,
210: p_bba_attribute14_o
211: => per_bba_shd.g_old_rec.bba_attribute14,
212: p_bba_attribute15_o
213: => per_bba_shd.g_old_rec.bba_attribute15,
214: p_bba_attribute16_o
215: => per_bba_shd.g_old_rec.bba_attribute16,
209: => per_bba_shd.g_old_rec.bba_attribute13,
210: p_bba_attribute14_o
211: => per_bba_shd.g_old_rec.bba_attribute14,
212: p_bba_attribute15_o
213: => per_bba_shd.g_old_rec.bba_attribute15,
214: p_bba_attribute16_o
215: => per_bba_shd.g_old_rec.bba_attribute16,
216: p_bba_attribute17_o
217: => per_bba_shd.g_old_rec.bba_attribute17,
211: => per_bba_shd.g_old_rec.bba_attribute14,
212: p_bba_attribute15_o
213: => per_bba_shd.g_old_rec.bba_attribute15,
214: p_bba_attribute16_o
215: => per_bba_shd.g_old_rec.bba_attribute16,
216: p_bba_attribute17_o
217: => per_bba_shd.g_old_rec.bba_attribute17,
218: p_bba_attribute18_o
219: => per_bba_shd.g_old_rec.bba_attribute18,
213: => per_bba_shd.g_old_rec.bba_attribute15,
214: p_bba_attribute16_o
215: => per_bba_shd.g_old_rec.bba_attribute16,
216: p_bba_attribute17_o
217: => per_bba_shd.g_old_rec.bba_attribute17,
218: p_bba_attribute18_o
219: => per_bba_shd.g_old_rec.bba_attribute18,
220: p_bba_attribute19_o
221: => per_bba_shd.g_old_rec.bba_attribute19,
215: => per_bba_shd.g_old_rec.bba_attribute16,
216: p_bba_attribute17_o
217: => per_bba_shd.g_old_rec.bba_attribute17,
218: p_bba_attribute18_o
219: => per_bba_shd.g_old_rec.bba_attribute18,
220: p_bba_attribute19_o
221: => per_bba_shd.g_old_rec.bba_attribute19,
222: p_bba_attribute20_o
223: => per_bba_shd.g_old_rec.bba_attribute20,
217: => per_bba_shd.g_old_rec.bba_attribute17,
218: p_bba_attribute18_o
219: => per_bba_shd.g_old_rec.bba_attribute18,
220: p_bba_attribute19_o
221: => per_bba_shd.g_old_rec.bba_attribute19,
222: p_bba_attribute20_o
223: => per_bba_shd.g_old_rec.bba_attribute20,
224: p_bba_attribute21_o
225: => per_bba_shd.g_old_rec.bba_attribute21,
219: => per_bba_shd.g_old_rec.bba_attribute18,
220: p_bba_attribute19_o
221: => per_bba_shd.g_old_rec.bba_attribute19,
222: p_bba_attribute20_o
223: => per_bba_shd.g_old_rec.bba_attribute20,
224: p_bba_attribute21_o
225: => per_bba_shd.g_old_rec.bba_attribute21,
226: p_bba_attribute22_o
227: => per_bba_shd.g_old_rec.bba_attribute22,
221: => per_bba_shd.g_old_rec.bba_attribute19,
222: p_bba_attribute20_o
223: => per_bba_shd.g_old_rec.bba_attribute20,
224: p_bba_attribute21_o
225: => per_bba_shd.g_old_rec.bba_attribute21,
226: p_bba_attribute22_o
227: => per_bba_shd.g_old_rec.bba_attribute22,
228: p_bba_attribute23_o
229: => per_bba_shd.g_old_rec.bba_attribute23,
223: => per_bba_shd.g_old_rec.bba_attribute20,
224: p_bba_attribute21_o
225: => per_bba_shd.g_old_rec.bba_attribute21,
226: p_bba_attribute22_o
227: => per_bba_shd.g_old_rec.bba_attribute22,
228: p_bba_attribute23_o
229: => per_bba_shd.g_old_rec.bba_attribute23,
230: p_bba_attribute24_o
231: => per_bba_shd.g_old_rec.bba_attribute24,
225: => per_bba_shd.g_old_rec.bba_attribute21,
226: p_bba_attribute22_o
227: => per_bba_shd.g_old_rec.bba_attribute22,
228: p_bba_attribute23_o
229: => per_bba_shd.g_old_rec.bba_attribute23,
230: p_bba_attribute24_o
231: => per_bba_shd.g_old_rec.bba_attribute24,
232: p_bba_attribute25_o
233: => per_bba_shd.g_old_rec.bba_attribute25,
227: => per_bba_shd.g_old_rec.bba_attribute22,
228: p_bba_attribute23_o
229: => per_bba_shd.g_old_rec.bba_attribute23,
230: p_bba_attribute24_o
231: => per_bba_shd.g_old_rec.bba_attribute24,
232: p_bba_attribute25_o
233: => per_bba_shd.g_old_rec.bba_attribute25,
234: p_bba_attribute26_o
235: => per_bba_shd.g_old_rec.bba_attribute26,
229: => per_bba_shd.g_old_rec.bba_attribute23,
230: p_bba_attribute24_o
231: => per_bba_shd.g_old_rec.bba_attribute24,
232: p_bba_attribute25_o
233: => per_bba_shd.g_old_rec.bba_attribute25,
234: p_bba_attribute26_o
235: => per_bba_shd.g_old_rec.bba_attribute26,
236: p_bba_attribute27_o
237: => per_bba_shd.g_old_rec.bba_attribute27,
231: => per_bba_shd.g_old_rec.bba_attribute24,
232: p_bba_attribute25_o
233: => per_bba_shd.g_old_rec.bba_attribute25,
234: p_bba_attribute26_o
235: => per_bba_shd.g_old_rec.bba_attribute26,
236: p_bba_attribute27_o
237: => per_bba_shd.g_old_rec.bba_attribute27,
238: p_bba_attribute28_o
239: => per_bba_shd.g_old_rec.bba_attribute28,
233: => per_bba_shd.g_old_rec.bba_attribute25,
234: p_bba_attribute26_o
235: => per_bba_shd.g_old_rec.bba_attribute26,
236: p_bba_attribute27_o
237: => per_bba_shd.g_old_rec.bba_attribute27,
238: p_bba_attribute28_o
239: => per_bba_shd.g_old_rec.bba_attribute28,
240: p_bba_attribute29_o
241: => per_bba_shd.g_old_rec.bba_attribute29,
235: => per_bba_shd.g_old_rec.bba_attribute26,
236: p_bba_attribute27_o
237: => per_bba_shd.g_old_rec.bba_attribute27,
238: p_bba_attribute28_o
239: => per_bba_shd.g_old_rec.bba_attribute28,
240: p_bba_attribute29_o
241: => per_bba_shd.g_old_rec.bba_attribute29,
242: p_bba_attribute30_o
243: => per_bba_shd.g_old_rec.bba_attribute30
237: => per_bba_shd.g_old_rec.bba_attribute27,
238: p_bba_attribute28_o
239: => per_bba_shd.g_old_rec.bba_attribute28,
240: p_bba_attribute29_o
241: => per_bba_shd.g_old_rec.bba_attribute29,
242: p_bba_attribute30_o
243: => per_bba_shd.g_old_rec.bba_attribute30
244: );
245: --
239: => per_bba_shd.g_old_rec.bba_attribute28,
240: p_bba_attribute29_o
241: => per_bba_shd.g_old_rec.bba_attribute29,
242: p_bba_attribute30_o
243: => per_bba_shd.g_old_rec.bba_attribute30
244: );
245: --
246: exception
247: --
260: -- |---------------------------------< del >----------------------------------|
261: -- ----------------------------------------------------------------------------
262: Procedure del
263: (
264: p_rec in per_bba_shd.g_rec_type
265: ) is
266: --
267: l_proc varchar2(72) := g_package||'del';
268: --
270: hr_utility.set_location('Entering:'||l_proc, 5);
271: --
272: -- We must lock the row which we need to delete.
273: --
274: per_bba_shd.lck
275: (
276: p_rec.balance_amount_id,
277: p_rec.object_version_number
278: );
302: p_balance_amount_id in number,
303: p_object_version_number in number
304: ) is
305: --
306: l_rec per_bba_shd.g_rec_type;
307: l_proc varchar2(72) := g_package||'del';
308: --
309: Begin
310: hr_utility.set_location('Entering:'||l_proc, 5);