47: -- Internal Row Handler Use Only.
48: --
49: -- {End Of Comments}
50: -- ----------------------------------------------------------------------------
51: Procedure delete_dml(p_rec in per_bpr_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_bpr_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_bpr_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_bpr_shd.g_rec_type) is
151: --
152: l_proc varchar2(72) := g_package||'post_delete';
153: --
154: Begin
159: (
160: p_payroll_run_id
161: => p_rec.payroll_run_id,
162: p_payroll_id_o
163: => per_bpr_shd.g_old_rec.payroll_id,
164: p_business_group_id_o
165: => per_bpr_shd.g_old_rec.business_group_id,
166: p_payroll_identifier_o
167: => per_bpr_shd.g_old_rec.payroll_identifier,
161: => p_rec.payroll_run_id,
162: p_payroll_id_o
163: => per_bpr_shd.g_old_rec.payroll_id,
164: p_business_group_id_o
165: => per_bpr_shd.g_old_rec.business_group_id,
166: p_payroll_identifier_o
167: => per_bpr_shd.g_old_rec.payroll_identifier,
168: p_period_start_date_o
169: => per_bpr_shd.g_old_rec.period_start_date,
163: => per_bpr_shd.g_old_rec.payroll_id,
164: p_business_group_id_o
165: => per_bpr_shd.g_old_rec.business_group_id,
166: p_payroll_identifier_o
167: => per_bpr_shd.g_old_rec.payroll_identifier,
168: p_period_start_date_o
169: => per_bpr_shd.g_old_rec.period_start_date,
170: p_period_end_date_o
171: => per_bpr_shd.g_old_rec.period_end_date,
165: => per_bpr_shd.g_old_rec.business_group_id,
166: p_payroll_identifier_o
167: => per_bpr_shd.g_old_rec.payroll_identifier,
168: p_period_start_date_o
169: => per_bpr_shd.g_old_rec.period_start_date,
170: p_period_end_date_o
171: => per_bpr_shd.g_old_rec.period_end_date,
172: p_processing_date_o
173: => per_bpr_shd.g_old_rec.processing_date,
167: => per_bpr_shd.g_old_rec.payroll_identifier,
168: p_period_start_date_o
169: => per_bpr_shd.g_old_rec.period_start_date,
170: p_period_end_date_o
171: => per_bpr_shd.g_old_rec.period_end_date,
172: p_processing_date_o
173: => per_bpr_shd.g_old_rec.processing_date,
174: p_object_version_number_o
175: => per_bpr_shd.g_old_rec.object_version_number,
169: => per_bpr_shd.g_old_rec.period_start_date,
170: p_period_end_date_o
171: => per_bpr_shd.g_old_rec.period_end_date,
172: p_processing_date_o
173: => per_bpr_shd.g_old_rec.processing_date,
174: p_object_version_number_o
175: => per_bpr_shd.g_old_rec.object_version_number,
176: p_bpr_attribute_category_o
177: => per_bpr_shd.g_old_rec.bpr_attribute_category,
171: => per_bpr_shd.g_old_rec.period_end_date,
172: p_processing_date_o
173: => per_bpr_shd.g_old_rec.processing_date,
174: p_object_version_number_o
175: => per_bpr_shd.g_old_rec.object_version_number,
176: p_bpr_attribute_category_o
177: => per_bpr_shd.g_old_rec.bpr_attribute_category,
178: p_bpr_attribute1_o
179: => per_bpr_shd.g_old_rec.bpr_attribute1,
173: => per_bpr_shd.g_old_rec.processing_date,
174: p_object_version_number_o
175: => per_bpr_shd.g_old_rec.object_version_number,
176: p_bpr_attribute_category_o
177: => per_bpr_shd.g_old_rec.bpr_attribute_category,
178: p_bpr_attribute1_o
179: => per_bpr_shd.g_old_rec.bpr_attribute1,
180: p_bpr_attribute2_o
181: => per_bpr_shd.g_old_rec.bpr_attribute2,
175: => per_bpr_shd.g_old_rec.object_version_number,
176: p_bpr_attribute_category_o
177: => per_bpr_shd.g_old_rec.bpr_attribute_category,
178: p_bpr_attribute1_o
179: => per_bpr_shd.g_old_rec.bpr_attribute1,
180: p_bpr_attribute2_o
181: => per_bpr_shd.g_old_rec.bpr_attribute2,
182: p_bpr_attribute3_o
183: => per_bpr_shd.g_old_rec.bpr_attribute3,
177: => per_bpr_shd.g_old_rec.bpr_attribute_category,
178: p_bpr_attribute1_o
179: => per_bpr_shd.g_old_rec.bpr_attribute1,
180: p_bpr_attribute2_o
181: => per_bpr_shd.g_old_rec.bpr_attribute2,
182: p_bpr_attribute3_o
183: => per_bpr_shd.g_old_rec.bpr_attribute3,
184: p_bpr_attribute4_o
185: => per_bpr_shd.g_old_rec.bpr_attribute4,
179: => per_bpr_shd.g_old_rec.bpr_attribute1,
180: p_bpr_attribute2_o
181: => per_bpr_shd.g_old_rec.bpr_attribute2,
182: p_bpr_attribute3_o
183: => per_bpr_shd.g_old_rec.bpr_attribute3,
184: p_bpr_attribute4_o
185: => per_bpr_shd.g_old_rec.bpr_attribute4,
186: p_bpr_attribute5_o
187: => per_bpr_shd.g_old_rec.bpr_attribute5,
181: => per_bpr_shd.g_old_rec.bpr_attribute2,
182: p_bpr_attribute3_o
183: => per_bpr_shd.g_old_rec.bpr_attribute3,
184: p_bpr_attribute4_o
185: => per_bpr_shd.g_old_rec.bpr_attribute4,
186: p_bpr_attribute5_o
187: => per_bpr_shd.g_old_rec.bpr_attribute5,
188: p_bpr_attribute6_o
189: => per_bpr_shd.g_old_rec.bpr_attribute6,
183: => per_bpr_shd.g_old_rec.bpr_attribute3,
184: p_bpr_attribute4_o
185: => per_bpr_shd.g_old_rec.bpr_attribute4,
186: p_bpr_attribute5_o
187: => per_bpr_shd.g_old_rec.bpr_attribute5,
188: p_bpr_attribute6_o
189: => per_bpr_shd.g_old_rec.bpr_attribute6,
190: p_bpr_attribute7_o
191: => per_bpr_shd.g_old_rec.bpr_attribute7,
185: => per_bpr_shd.g_old_rec.bpr_attribute4,
186: p_bpr_attribute5_o
187: => per_bpr_shd.g_old_rec.bpr_attribute5,
188: p_bpr_attribute6_o
189: => per_bpr_shd.g_old_rec.bpr_attribute6,
190: p_bpr_attribute7_o
191: => per_bpr_shd.g_old_rec.bpr_attribute7,
192: p_bpr_attribute8_o
193: => per_bpr_shd.g_old_rec.bpr_attribute8,
187: => per_bpr_shd.g_old_rec.bpr_attribute5,
188: p_bpr_attribute6_o
189: => per_bpr_shd.g_old_rec.bpr_attribute6,
190: p_bpr_attribute7_o
191: => per_bpr_shd.g_old_rec.bpr_attribute7,
192: p_bpr_attribute8_o
193: => per_bpr_shd.g_old_rec.bpr_attribute8,
194: p_bpr_attribute9_o
195: => per_bpr_shd.g_old_rec.bpr_attribute9,
189: => per_bpr_shd.g_old_rec.bpr_attribute6,
190: p_bpr_attribute7_o
191: => per_bpr_shd.g_old_rec.bpr_attribute7,
192: p_bpr_attribute8_o
193: => per_bpr_shd.g_old_rec.bpr_attribute8,
194: p_bpr_attribute9_o
195: => per_bpr_shd.g_old_rec.bpr_attribute9,
196: p_bpr_attribute10_o
197: => per_bpr_shd.g_old_rec.bpr_attribute10,
191: => per_bpr_shd.g_old_rec.bpr_attribute7,
192: p_bpr_attribute8_o
193: => per_bpr_shd.g_old_rec.bpr_attribute8,
194: p_bpr_attribute9_o
195: => per_bpr_shd.g_old_rec.bpr_attribute9,
196: p_bpr_attribute10_o
197: => per_bpr_shd.g_old_rec.bpr_attribute10,
198: p_bpr_attribute11_o
199: => per_bpr_shd.g_old_rec.bpr_attribute11,
193: => per_bpr_shd.g_old_rec.bpr_attribute8,
194: p_bpr_attribute9_o
195: => per_bpr_shd.g_old_rec.bpr_attribute9,
196: p_bpr_attribute10_o
197: => per_bpr_shd.g_old_rec.bpr_attribute10,
198: p_bpr_attribute11_o
199: => per_bpr_shd.g_old_rec.bpr_attribute11,
200: p_bpr_attribute12_o
201: => per_bpr_shd.g_old_rec.bpr_attribute12,
195: => per_bpr_shd.g_old_rec.bpr_attribute9,
196: p_bpr_attribute10_o
197: => per_bpr_shd.g_old_rec.bpr_attribute10,
198: p_bpr_attribute11_o
199: => per_bpr_shd.g_old_rec.bpr_attribute11,
200: p_bpr_attribute12_o
201: => per_bpr_shd.g_old_rec.bpr_attribute12,
202: p_bpr_attribute13_o
203: => per_bpr_shd.g_old_rec.bpr_attribute13,
197: => per_bpr_shd.g_old_rec.bpr_attribute10,
198: p_bpr_attribute11_o
199: => per_bpr_shd.g_old_rec.bpr_attribute11,
200: p_bpr_attribute12_o
201: => per_bpr_shd.g_old_rec.bpr_attribute12,
202: p_bpr_attribute13_o
203: => per_bpr_shd.g_old_rec.bpr_attribute13,
204: p_bpr_attribute14_o
205: => per_bpr_shd.g_old_rec.bpr_attribute14,
199: => per_bpr_shd.g_old_rec.bpr_attribute11,
200: p_bpr_attribute12_o
201: => per_bpr_shd.g_old_rec.bpr_attribute12,
202: p_bpr_attribute13_o
203: => per_bpr_shd.g_old_rec.bpr_attribute13,
204: p_bpr_attribute14_o
205: => per_bpr_shd.g_old_rec.bpr_attribute14,
206: p_bpr_attribute15_o
207: => per_bpr_shd.g_old_rec.bpr_attribute15,
201: => per_bpr_shd.g_old_rec.bpr_attribute12,
202: p_bpr_attribute13_o
203: => per_bpr_shd.g_old_rec.bpr_attribute13,
204: p_bpr_attribute14_o
205: => per_bpr_shd.g_old_rec.bpr_attribute14,
206: p_bpr_attribute15_o
207: => per_bpr_shd.g_old_rec.bpr_attribute15,
208: p_bpr_attribute16_o
209: => per_bpr_shd.g_old_rec.bpr_attribute16,
203: => per_bpr_shd.g_old_rec.bpr_attribute13,
204: p_bpr_attribute14_o
205: => per_bpr_shd.g_old_rec.bpr_attribute14,
206: p_bpr_attribute15_o
207: => per_bpr_shd.g_old_rec.bpr_attribute15,
208: p_bpr_attribute16_o
209: => per_bpr_shd.g_old_rec.bpr_attribute16,
210: p_bpr_attribute17_o
211: => per_bpr_shd.g_old_rec.bpr_attribute17,
205: => per_bpr_shd.g_old_rec.bpr_attribute14,
206: p_bpr_attribute15_o
207: => per_bpr_shd.g_old_rec.bpr_attribute15,
208: p_bpr_attribute16_o
209: => per_bpr_shd.g_old_rec.bpr_attribute16,
210: p_bpr_attribute17_o
211: => per_bpr_shd.g_old_rec.bpr_attribute17,
212: p_bpr_attribute18_o
213: => per_bpr_shd.g_old_rec.bpr_attribute18,
207: => per_bpr_shd.g_old_rec.bpr_attribute15,
208: p_bpr_attribute16_o
209: => per_bpr_shd.g_old_rec.bpr_attribute16,
210: p_bpr_attribute17_o
211: => per_bpr_shd.g_old_rec.bpr_attribute17,
212: p_bpr_attribute18_o
213: => per_bpr_shd.g_old_rec.bpr_attribute18,
214: p_bpr_attribute19_o
215: => per_bpr_shd.g_old_rec.bpr_attribute19,
209: => per_bpr_shd.g_old_rec.bpr_attribute16,
210: p_bpr_attribute17_o
211: => per_bpr_shd.g_old_rec.bpr_attribute17,
212: p_bpr_attribute18_o
213: => per_bpr_shd.g_old_rec.bpr_attribute18,
214: p_bpr_attribute19_o
215: => per_bpr_shd.g_old_rec.bpr_attribute19,
216: p_bpr_attribute20_o
217: => per_bpr_shd.g_old_rec.bpr_attribute20,
211: => per_bpr_shd.g_old_rec.bpr_attribute17,
212: p_bpr_attribute18_o
213: => per_bpr_shd.g_old_rec.bpr_attribute18,
214: p_bpr_attribute19_o
215: => per_bpr_shd.g_old_rec.bpr_attribute19,
216: p_bpr_attribute20_o
217: => per_bpr_shd.g_old_rec.bpr_attribute20,
218: p_bpr_attribute21_o
219: => per_bpr_shd.g_old_rec.bpr_attribute21,
213: => per_bpr_shd.g_old_rec.bpr_attribute18,
214: p_bpr_attribute19_o
215: => per_bpr_shd.g_old_rec.bpr_attribute19,
216: p_bpr_attribute20_o
217: => per_bpr_shd.g_old_rec.bpr_attribute20,
218: p_bpr_attribute21_o
219: => per_bpr_shd.g_old_rec.bpr_attribute21,
220: p_bpr_attribute22_o
221: => per_bpr_shd.g_old_rec.bpr_attribute22,
215: => per_bpr_shd.g_old_rec.bpr_attribute19,
216: p_bpr_attribute20_o
217: => per_bpr_shd.g_old_rec.bpr_attribute20,
218: p_bpr_attribute21_o
219: => per_bpr_shd.g_old_rec.bpr_attribute21,
220: p_bpr_attribute22_o
221: => per_bpr_shd.g_old_rec.bpr_attribute22,
222: p_bpr_attribute23_o
223: => per_bpr_shd.g_old_rec.bpr_attribute23,
217: => per_bpr_shd.g_old_rec.bpr_attribute20,
218: p_bpr_attribute21_o
219: => per_bpr_shd.g_old_rec.bpr_attribute21,
220: p_bpr_attribute22_o
221: => per_bpr_shd.g_old_rec.bpr_attribute22,
222: p_bpr_attribute23_o
223: => per_bpr_shd.g_old_rec.bpr_attribute23,
224: p_bpr_attribute24_o
225: => per_bpr_shd.g_old_rec.bpr_attribute24,
219: => per_bpr_shd.g_old_rec.bpr_attribute21,
220: p_bpr_attribute22_o
221: => per_bpr_shd.g_old_rec.bpr_attribute22,
222: p_bpr_attribute23_o
223: => per_bpr_shd.g_old_rec.bpr_attribute23,
224: p_bpr_attribute24_o
225: => per_bpr_shd.g_old_rec.bpr_attribute24,
226: p_bpr_attribute25_o
227: => per_bpr_shd.g_old_rec.bpr_attribute25,
221: => per_bpr_shd.g_old_rec.bpr_attribute22,
222: p_bpr_attribute23_o
223: => per_bpr_shd.g_old_rec.bpr_attribute23,
224: p_bpr_attribute24_o
225: => per_bpr_shd.g_old_rec.bpr_attribute24,
226: p_bpr_attribute25_o
227: => per_bpr_shd.g_old_rec.bpr_attribute25,
228: p_bpr_attribute26_o
229: => per_bpr_shd.g_old_rec.bpr_attribute26,
223: => per_bpr_shd.g_old_rec.bpr_attribute23,
224: p_bpr_attribute24_o
225: => per_bpr_shd.g_old_rec.bpr_attribute24,
226: p_bpr_attribute25_o
227: => per_bpr_shd.g_old_rec.bpr_attribute25,
228: p_bpr_attribute26_o
229: => per_bpr_shd.g_old_rec.bpr_attribute26,
230: p_bpr_attribute27_o
231: => per_bpr_shd.g_old_rec.bpr_attribute27,
225: => per_bpr_shd.g_old_rec.bpr_attribute24,
226: p_bpr_attribute25_o
227: => per_bpr_shd.g_old_rec.bpr_attribute25,
228: p_bpr_attribute26_o
229: => per_bpr_shd.g_old_rec.bpr_attribute26,
230: p_bpr_attribute27_o
231: => per_bpr_shd.g_old_rec.bpr_attribute27,
232: p_bpr_attribute28_o
233: => per_bpr_shd.g_old_rec.bpr_attribute28,
227: => per_bpr_shd.g_old_rec.bpr_attribute25,
228: p_bpr_attribute26_o
229: => per_bpr_shd.g_old_rec.bpr_attribute26,
230: p_bpr_attribute27_o
231: => per_bpr_shd.g_old_rec.bpr_attribute27,
232: p_bpr_attribute28_o
233: => per_bpr_shd.g_old_rec.bpr_attribute28,
234: p_bpr_attribute29_o
235: => per_bpr_shd.g_old_rec.bpr_attribute29,
229: => per_bpr_shd.g_old_rec.bpr_attribute26,
230: p_bpr_attribute27_o
231: => per_bpr_shd.g_old_rec.bpr_attribute27,
232: p_bpr_attribute28_o
233: => per_bpr_shd.g_old_rec.bpr_attribute28,
234: p_bpr_attribute29_o
235: => per_bpr_shd.g_old_rec.bpr_attribute29,
236: p_bpr_attribute30_o
237: => per_bpr_shd.g_old_rec.bpr_attribute30
231: => per_bpr_shd.g_old_rec.bpr_attribute27,
232: p_bpr_attribute28_o
233: => per_bpr_shd.g_old_rec.bpr_attribute28,
234: p_bpr_attribute29_o
235: => per_bpr_shd.g_old_rec.bpr_attribute29,
236: p_bpr_attribute30_o
237: => per_bpr_shd.g_old_rec.bpr_attribute30
238: );
239: --
233: => per_bpr_shd.g_old_rec.bpr_attribute28,
234: p_bpr_attribute29_o
235: => per_bpr_shd.g_old_rec.bpr_attribute29,
236: p_bpr_attribute30_o
237: => per_bpr_shd.g_old_rec.bpr_attribute30
238: );
239: --
240: exception
241: --
254: -- |---------------------------------< del >----------------------------------|
255: -- ----------------------------------------------------------------------------
256: Procedure del
257: (
258: p_rec in per_bpr_shd.g_rec_type
259: ) is
260: --
261: l_proc varchar2(72) := g_package||'del';
262: --
264: hr_utility.set_location('Entering:'||l_proc, 5);
265: --
266: -- We must lock the row which we need to delete.
267: --
268: per_bpr_shd.lck
269: (
270: p_rec.payroll_run_id,
271: p_rec.object_version_number
272: );
296: p_payroll_run_id in number,
297: p_object_version_number in number
298: ) is
299: --
300: l_rec per_bpr_shd.g_rec_type;
301: l_proc varchar2(72) := g_package||'del';
302: --
303: Begin
304: hr_utility.set_location('Entering:'||l_proc, 5);