50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure dt_delete_dml
54: (p_rec in out nocopy ben_pcu_shd.g_rec_type,
55: p_effective_date in date,
56: p_datetrack_mode in varchar2,
57: p_validation_start_date in date,
58: p_validation_end_date in date) is
62: Begin
63: hr_utility.set_location('Entering:'||l_proc, 5);
64: If (p_datetrack_mode = 'DELETE_NEXT_CHANGE') then
65: hr_utility.set_location(l_proc, 10);
66: ben_pcu_shd.g_api_dml := true; -- Set the api dml status
67: --
68: -- Delete the where the effective start date is equal
69: -- to the validation end date.
70: --
71: delete from ben_per_cm_usg_f
72: where per_cm_usg_id = p_rec.per_cm_usg_id
73: and effective_start_date = p_validation_start_date;
74: --
75: ben_pcu_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: hr_utility.set_location(l_proc, 15);
78: ben_pcu_shd.g_api_dml := true; -- Set the api dml status
79: --
74: --
75: ben_pcu_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: hr_utility.set_location(l_proc, 15);
78: ben_pcu_shd.g_api_dml := true; -- Set the api dml status
79: --
80: -- Delete the row(s) where the effective start date is greater than
81: -- or equal to the validation start date.
82: --
83: delete from ben_per_cm_usg_f
84: where per_cm_usg_id = p_rec.per_cm_usg_id
85: and effective_start_date >= p_validation_start_date;
86: --
87: ben_pcu_shd.g_api_dml := false; -- Unset the api dml status
88: End If;
89: --
90: hr_utility.set_location(' Leaving:'||l_proc, 20);
91: --
90: hr_utility.set_location(' Leaving:'||l_proc, 20);
91: --
92: Exception
93: When Others Then
94: ben_pcu_shd.g_api_dml := false; -- Unset the api dml status
95: Raise;
96: End dt_delete_dml;
97: --
98: -- ----------------------------------------------------------------------------
98: -- ----------------------------------------------------------------------------
99: -- |------------------------------< delete_dml >------------------------------|
100: -- ----------------------------------------------------------------------------
101: Procedure delete_dml
102: (p_rec in out nocopy ben_pcu_shd.g_rec_type,
103: p_effective_date in date,
104: p_datetrack_mode in varchar2,
105: p_validation_start_date in date,
106: p_validation_end_date in date) is
152: --
153: -- {End Of Comments}
154: -- ----------------------------------------------------------------------------
155: Procedure dt_pre_delete
156: (p_rec in out nocopy ben_pcu_shd.g_rec_type,
157: p_effective_date in date,
158: p_datetrack_mode in varchar2,
159: p_validation_start_date in date,
160: p_validation_end_date in date) is
165: hr_utility.set_location('Entering:'||l_proc, 5);
166: --
167: If (p_datetrack_mode <> 'ZAP') then
168: --
169: p_rec.effective_start_date := ben_pcu_shd.g_old_rec.effective_start_date;
170: --
171: If (p_datetrack_mode = 'DELETE') then
172: p_rec.effective_end_date := p_validation_start_date - 1;
173: Else
175: End If;
176: --
177: -- Update the current effective end date record
178: --
179: ben_pcu_shd.upd_effective_end_date
180: (p_effective_date => p_effective_date,
181: p_base_key_value => p_rec.per_cm_usg_id,
182: p_new_effective_end_date => p_rec.effective_end_date,
183: p_validation_start_date => p_validation_start_date,
223: --
224: -- {End Of Comments}
225: -- ----------------------------------------------------------------------------
226: Procedure pre_delete
227: (p_rec in out nocopy ben_pcu_shd.g_rec_type,
228: p_effective_date in date,
229: p_datetrack_mode in varchar2,
230: p_validation_start_date in date,
231: p_validation_end_date in date) is
281: --
282: -- {End Of Comments}
283: -- ----------------------------------------------------------------------------
284: Procedure post_delete
285: (p_rec in ben_pcu_shd.g_rec_type,
286: p_effective_date in date,
287: p_datetrack_mode in varchar2,
288: p_validation_start_date in date,
289: p_validation_end_date in date) is
305: ,p_validation_start_date =>p_validation_start_date
306: ,p_validation_end_date =>p_validation_end_date
307: ,p_effective_start_date =>p_rec.effective_start_date
308: ,p_effective_end_date =>p_rec.effective_end_date
309: ,p_effective_start_date_o =>ben_pcu_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcu_shd.g_old_rec.effective_end_date
311: ,p_per_cm_id_o =>ben_pcu_shd.g_old_rec.per_cm_id
312: ,p_cm_typ_usg_id_o =>ben_pcu_shd.g_old_rec.cm_typ_usg_id
313: ,p_business_group_id_o =>ben_pcu_shd.g_old_rec.business_group_id
306: ,p_validation_end_date =>p_validation_end_date
307: ,p_effective_start_date =>p_rec.effective_start_date
308: ,p_effective_end_date =>p_rec.effective_end_date
309: ,p_effective_start_date_o =>ben_pcu_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcu_shd.g_old_rec.effective_end_date
311: ,p_per_cm_id_o =>ben_pcu_shd.g_old_rec.per_cm_id
312: ,p_cm_typ_usg_id_o =>ben_pcu_shd.g_old_rec.cm_typ_usg_id
313: ,p_business_group_id_o =>ben_pcu_shd.g_old_rec.business_group_id
314: ,p_pcu_attribute_category_o =>ben_pcu_shd.g_old_rec.pcu_attribute_category
307: ,p_effective_start_date =>p_rec.effective_start_date
308: ,p_effective_end_date =>p_rec.effective_end_date
309: ,p_effective_start_date_o =>ben_pcu_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcu_shd.g_old_rec.effective_end_date
311: ,p_per_cm_id_o =>ben_pcu_shd.g_old_rec.per_cm_id
312: ,p_cm_typ_usg_id_o =>ben_pcu_shd.g_old_rec.cm_typ_usg_id
313: ,p_business_group_id_o =>ben_pcu_shd.g_old_rec.business_group_id
314: ,p_pcu_attribute_category_o =>ben_pcu_shd.g_old_rec.pcu_attribute_category
315: ,p_pcu_attribute1_o =>ben_pcu_shd.g_old_rec.pcu_attribute1
308: ,p_effective_end_date =>p_rec.effective_end_date
309: ,p_effective_start_date_o =>ben_pcu_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcu_shd.g_old_rec.effective_end_date
311: ,p_per_cm_id_o =>ben_pcu_shd.g_old_rec.per_cm_id
312: ,p_cm_typ_usg_id_o =>ben_pcu_shd.g_old_rec.cm_typ_usg_id
313: ,p_business_group_id_o =>ben_pcu_shd.g_old_rec.business_group_id
314: ,p_pcu_attribute_category_o =>ben_pcu_shd.g_old_rec.pcu_attribute_category
315: ,p_pcu_attribute1_o =>ben_pcu_shd.g_old_rec.pcu_attribute1
316: ,p_pcu_attribute2_o =>ben_pcu_shd.g_old_rec.pcu_attribute2
309: ,p_effective_start_date_o =>ben_pcu_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcu_shd.g_old_rec.effective_end_date
311: ,p_per_cm_id_o =>ben_pcu_shd.g_old_rec.per_cm_id
312: ,p_cm_typ_usg_id_o =>ben_pcu_shd.g_old_rec.cm_typ_usg_id
313: ,p_business_group_id_o =>ben_pcu_shd.g_old_rec.business_group_id
314: ,p_pcu_attribute_category_o =>ben_pcu_shd.g_old_rec.pcu_attribute_category
315: ,p_pcu_attribute1_o =>ben_pcu_shd.g_old_rec.pcu_attribute1
316: ,p_pcu_attribute2_o =>ben_pcu_shd.g_old_rec.pcu_attribute2
317: ,p_pcu_attribute3_o =>ben_pcu_shd.g_old_rec.pcu_attribute3
310: ,p_effective_end_date_o =>ben_pcu_shd.g_old_rec.effective_end_date
311: ,p_per_cm_id_o =>ben_pcu_shd.g_old_rec.per_cm_id
312: ,p_cm_typ_usg_id_o =>ben_pcu_shd.g_old_rec.cm_typ_usg_id
313: ,p_business_group_id_o =>ben_pcu_shd.g_old_rec.business_group_id
314: ,p_pcu_attribute_category_o =>ben_pcu_shd.g_old_rec.pcu_attribute_category
315: ,p_pcu_attribute1_o =>ben_pcu_shd.g_old_rec.pcu_attribute1
316: ,p_pcu_attribute2_o =>ben_pcu_shd.g_old_rec.pcu_attribute2
317: ,p_pcu_attribute3_o =>ben_pcu_shd.g_old_rec.pcu_attribute3
318: ,p_pcu_attribute4_o =>ben_pcu_shd.g_old_rec.pcu_attribute4
311: ,p_per_cm_id_o =>ben_pcu_shd.g_old_rec.per_cm_id
312: ,p_cm_typ_usg_id_o =>ben_pcu_shd.g_old_rec.cm_typ_usg_id
313: ,p_business_group_id_o =>ben_pcu_shd.g_old_rec.business_group_id
314: ,p_pcu_attribute_category_o =>ben_pcu_shd.g_old_rec.pcu_attribute_category
315: ,p_pcu_attribute1_o =>ben_pcu_shd.g_old_rec.pcu_attribute1
316: ,p_pcu_attribute2_o =>ben_pcu_shd.g_old_rec.pcu_attribute2
317: ,p_pcu_attribute3_o =>ben_pcu_shd.g_old_rec.pcu_attribute3
318: ,p_pcu_attribute4_o =>ben_pcu_shd.g_old_rec.pcu_attribute4
319: ,p_pcu_attribute5_o =>ben_pcu_shd.g_old_rec.pcu_attribute5
312: ,p_cm_typ_usg_id_o =>ben_pcu_shd.g_old_rec.cm_typ_usg_id
313: ,p_business_group_id_o =>ben_pcu_shd.g_old_rec.business_group_id
314: ,p_pcu_attribute_category_o =>ben_pcu_shd.g_old_rec.pcu_attribute_category
315: ,p_pcu_attribute1_o =>ben_pcu_shd.g_old_rec.pcu_attribute1
316: ,p_pcu_attribute2_o =>ben_pcu_shd.g_old_rec.pcu_attribute2
317: ,p_pcu_attribute3_o =>ben_pcu_shd.g_old_rec.pcu_attribute3
318: ,p_pcu_attribute4_o =>ben_pcu_shd.g_old_rec.pcu_attribute4
319: ,p_pcu_attribute5_o =>ben_pcu_shd.g_old_rec.pcu_attribute5
320: ,p_pcu_attribute6_o =>ben_pcu_shd.g_old_rec.pcu_attribute6
313: ,p_business_group_id_o =>ben_pcu_shd.g_old_rec.business_group_id
314: ,p_pcu_attribute_category_o =>ben_pcu_shd.g_old_rec.pcu_attribute_category
315: ,p_pcu_attribute1_o =>ben_pcu_shd.g_old_rec.pcu_attribute1
316: ,p_pcu_attribute2_o =>ben_pcu_shd.g_old_rec.pcu_attribute2
317: ,p_pcu_attribute3_o =>ben_pcu_shd.g_old_rec.pcu_attribute3
318: ,p_pcu_attribute4_o =>ben_pcu_shd.g_old_rec.pcu_attribute4
319: ,p_pcu_attribute5_o =>ben_pcu_shd.g_old_rec.pcu_attribute5
320: ,p_pcu_attribute6_o =>ben_pcu_shd.g_old_rec.pcu_attribute6
321: ,p_pcu_attribute7_o =>ben_pcu_shd.g_old_rec.pcu_attribute7
314: ,p_pcu_attribute_category_o =>ben_pcu_shd.g_old_rec.pcu_attribute_category
315: ,p_pcu_attribute1_o =>ben_pcu_shd.g_old_rec.pcu_attribute1
316: ,p_pcu_attribute2_o =>ben_pcu_shd.g_old_rec.pcu_attribute2
317: ,p_pcu_attribute3_o =>ben_pcu_shd.g_old_rec.pcu_attribute3
318: ,p_pcu_attribute4_o =>ben_pcu_shd.g_old_rec.pcu_attribute4
319: ,p_pcu_attribute5_o =>ben_pcu_shd.g_old_rec.pcu_attribute5
320: ,p_pcu_attribute6_o =>ben_pcu_shd.g_old_rec.pcu_attribute6
321: ,p_pcu_attribute7_o =>ben_pcu_shd.g_old_rec.pcu_attribute7
322: ,p_pcu_attribute8_o =>ben_pcu_shd.g_old_rec.pcu_attribute8
315: ,p_pcu_attribute1_o =>ben_pcu_shd.g_old_rec.pcu_attribute1
316: ,p_pcu_attribute2_o =>ben_pcu_shd.g_old_rec.pcu_attribute2
317: ,p_pcu_attribute3_o =>ben_pcu_shd.g_old_rec.pcu_attribute3
318: ,p_pcu_attribute4_o =>ben_pcu_shd.g_old_rec.pcu_attribute4
319: ,p_pcu_attribute5_o =>ben_pcu_shd.g_old_rec.pcu_attribute5
320: ,p_pcu_attribute6_o =>ben_pcu_shd.g_old_rec.pcu_attribute6
321: ,p_pcu_attribute7_o =>ben_pcu_shd.g_old_rec.pcu_attribute7
322: ,p_pcu_attribute8_o =>ben_pcu_shd.g_old_rec.pcu_attribute8
323: ,p_pcu_attribute9_o =>ben_pcu_shd.g_old_rec.pcu_attribute9
316: ,p_pcu_attribute2_o =>ben_pcu_shd.g_old_rec.pcu_attribute2
317: ,p_pcu_attribute3_o =>ben_pcu_shd.g_old_rec.pcu_attribute3
318: ,p_pcu_attribute4_o =>ben_pcu_shd.g_old_rec.pcu_attribute4
319: ,p_pcu_attribute5_o =>ben_pcu_shd.g_old_rec.pcu_attribute5
320: ,p_pcu_attribute6_o =>ben_pcu_shd.g_old_rec.pcu_attribute6
321: ,p_pcu_attribute7_o =>ben_pcu_shd.g_old_rec.pcu_attribute7
322: ,p_pcu_attribute8_o =>ben_pcu_shd.g_old_rec.pcu_attribute8
323: ,p_pcu_attribute9_o =>ben_pcu_shd.g_old_rec.pcu_attribute9
324: ,p_pcu_attribute10_o =>ben_pcu_shd.g_old_rec.pcu_attribute10
317: ,p_pcu_attribute3_o =>ben_pcu_shd.g_old_rec.pcu_attribute3
318: ,p_pcu_attribute4_o =>ben_pcu_shd.g_old_rec.pcu_attribute4
319: ,p_pcu_attribute5_o =>ben_pcu_shd.g_old_rec.pcu_attribute5
320: ,p_pcu_attribute6_o =>ben_pcu_shd.g_old_rec.pcu_attribute6
321: ,p_pcu_attribute7_o =>ben_pcu_shd.g_old_rec.pcu_attribute7
322: ,p_pcu_attribute8_o =>ben_pcu_shd.g_old_rec.pcu_attribute8
323: ,p_pcu_attribute9_o =>ben_pcu_shd.g_old_rec.pcu_attribute9
324: ,p_pcu_attribute10_o =>ben_pcu_shd.g_old_rec.pcu_attribute10
325: ,p_pcu_attribute11_o =>ben_pcu_shd.g_old_rec.pcu_attribute11
318: ,p_pcu_attribute4_o =>ben_pcu_shd.g_old_rec.pcu_attribute4
319: ,p_pcu_attribute5_o =>ben_pcu_shd.g_old_rec.pcu_attribute5
320: ,p_pcu_attribute6_o =>ben_pcu_shd.g_old_rec.pcu_attribute6
321: ,p_pcu_attribute7_o =>ben_pcu_shd.g_old_rec.pcu_attribute7
322: ,p_pcu_attribute8_o =>ben_pcu_shd.g_old_rec.pcu_attribute8
323: ,p_pcu_attribute9_o =>ben_pcu_shd.g_old_rec.pcu_attribute9
324: ,p_pcu_attribute10_o =>ben_pcu_shd.g_old_rec.pcu_attribute10
325: ,p_pcu_attribute11_o =>ben_pcu_shd.g_old_rec.pcu_attribute11
326: ,p_pcu_attribute12_o =>ben_pcu_shd.g_old_rec.pcu_attribute12
319: ,p_pcu_attribute5_o =>ben_pcu_shd.g_old_rec.pcu_attribute5
320: ,p_pcu_attribute6_o =>ben_pcu_shd.g_old_rec.pcu_attribute6
321: ,p_pcu_attribute7_o =>ben_pcu_shd.g_old_rec.pcu_attribute7
322: ,p_pcu_attribute8_o =>ben_pcu_shd.g_old_rec.pcu_attribute8
323: ,p_pcu_attribute9_o =>ben_pcu_shd.g_old_rec.pcu_attribute9
324: ,p_pcu_attribute10_o =>ben_pcu_shd.g_old_rec.pcu_attribute10
325: ,p_pcu_attribute11_o =>ben_pcu_shd.g_old_rec.pcu_attribute11
326: ,p_pcu_attribute12_o =>ben_pcu_shd.g_old_rec.pcu_attribute12
327: ,p_pcu_attribute13_o =>ben_pcu_shd.g_old_rec.pcu_attribute13
320: ,p_pcu_attribute6_o =>ben_pcu_shd.g_old_rec.pcu_attribute6
321: ,p_pcu_attribute7_o =>ben_pcu_shd.g_old_rec.pcu_attribute7
322: ,p_pcu_attribute8_o =>ben_pcu_shd.g_old_rec.pcu_attribute8
323: ,p_pcu_attribute9_o =>ben_pcu_shd.g_old_rec.pcu_attribute9
324: ,p_pcu_attribute10_o =>ben_pcu_shd.g_old_rec.pcu_attribute10
325: ,p_pcu_attribute11_o =>ben_pcu_shd.g_old_rec.pcu_attribute11
326: ,p_pcu_attribute12_o =>ben_pcu_shd.g_old_rec.pcu_attribute12
327: ,p_pcu_attribute13_o =>ben_pcu_shd.g_old_rec.pcu_attribute13
328: ,p_pcu_attribute14_o =>ben_pcu_shd.g_old_rec.pcu_attribute14
321: ,p_pcu_attribute7_o =>ben_pcu_shd.g_old_rec.pcu_attribute7
322: ,p_pcu_attribute8_o =>ben_pcu_shd.g_old_rec.pcu_attribute8
323: ,p_pcu_attribute9_o =>ben_pcu_shd.g_old_rec.pcu_attribute9
324: ,p_pcu_attribute10_o =>ben_pcu_shd.g_old_rec.pcu_attribute10
325: ,p_pcu_attribute11_o =>ben_pcu_shd.g_old_rec.pcu_attribute11
326: ,p_pcu_attribute12_o =>ben_pcu_shd.g_old_rec.pcu_attribute12
327: ,p_pcu_attribute13_o =>ben_pcu_shd.g_old_rec.pcu_attribute13
328: ,p_pcu_attribute14_o =>ben_pcu_shd.g_old_rec.pcu_attribute14
329: ,p_pcu_attribute15_o =>ben_pcu_shd.g_old_rec.pcu_attribute15
322: ,p_pcu_attribute8_o =>ben_pcu_shd.g_old_rec.pcu_attribute8
323: ,p_pcu_attribute9_o =>ben_pcu_shd.g_old_rec.pcu_attribute9
324: ,p_pcu_attribute10_o =>ben_pcu_shd.g_old_rec.pcu_attribute10
325: ,p_pcu_attribute11_o =>ben_pcu_shd.g_old_rec.pcu_attribute11
326: ,p_pcu_attribute12_o =>ben_pcu_shd.g_old_rec.pcu_attribute12
327: ,p_pcu_attribute13_o =>ben_pcu_shd.g_old_rec.pcu_attribute13
328: ,p_pcu_attribute14_o =>ben_pcu_shd.g_old_rec.pcu_attribute14
329: ,p_pcu_attribute15_o =>ben_pcu_shd.g_old_rec.pcu_attribute15
330: ,p_pcu_attribute16_o =>ben_pcu_shd.g_old_rec.pcu_attribute16
323: ,p_pcu_attribute9_o =>ben_pcu_shd.g_old_rec.pcu_attribute9
324: ,p_pcu_attribute10_o =>ben_pcu_shd.g_old_rec.pcu_attribute10
325: ,p_pcu_attribute11_o =>ben_pcu_shd.g_old_rec.pcu_attribute11
326: ,p_pcu_attribute12_o =>ben_pcu_shd.g_old_rec.pcu_attribute12
327: ,p_pcu_attribute13_o =>ben_pcu_shd.g_old_rec.pcu_attribute13
328: ,p_pcu_attribute14_o =>ben_pcu_shd.g_old_rec.pcu_attribute14
329: ,p_pcu_attribute15_o =>ben_pcu_shd.g_old_rec.pcu_attribute15
330: ,p_pcu_attribute16_o =>ben_pcu_shd.g_old_rec.pcu_attribute16
331: ,p_pcu_attribute17_o =>ben_pcu_shd.g_old_rec.pcu_attribute17
324: ,p_pcu_attribute10_o =>ben_pcu_shd.g_old_rec.pcu_attribute10
325: ,p_pcu_attribute11_o =>ben_pcu_shd.g_old_rec.pcu_attribute11
326: ,p_pcu_attribute12_o =>ben_pcu_shd.g_old_rec.pcu_attribute12
327: ,p_pcu_attribute13_o =>ben_pcu_shd.g_old_rec.pcu_attribute13
328: ,p_pcu_attribute14_o =>ben_pcu_shd.g_old_rec.pcu_attribute14
329: ,p_pcu_attribute15_o =>ben_pcu_shd.g_old_rec.pcu_attribute15
330: ,p_pcu_attribute16_o =>ben_pcu_shd.g_old_rec.pcu_attribute16
331: ,p_pcu_attribute17_o =>ben_pcu_shd.g_old_rec.pcu_attribute17
332: ,p_pcu_attribute18_o =>ben_pcu_shd.g_old_rec.pcu_attribute18
325: ,p_pcu_attribute11_o =>ben_pcu_shd.g_old_rec.pcu_attribute11
326: ,p_pcu_attribute12_o =>ben_pcu_shd.g_old_rec.pcu_attribute12
327: ,p_pcu_attribute13_o =>ben_pcu_shd.g_old_rec.pcu_attribute13
328: ,p_pcu_attribute14_o =>ben_pcu_shd.g_old_rec.pcu_attribute14
329: ,p_pcu_attribute15_o =>ben_pcu_shd.g_old_rec.pcu_attribute15
330: ,p_pcu_attribute16_o =>ben_pcu_shd.g_old_rec.pcu_attribute16
331: ,p_pcu_attribute17_o =>ben_pcu_shd.g_old_rec.pcu_attribute17
332: ,p_pcu_attribute18_o =>ben_pcu_shd.g_old_rec.pcu_attribute18
333: ,p_pcu_attribute19_o =>ben_pcu_shd.g_old_rec.pcu_attribute19
326: ,p_pcu_attribute12_o =>ben_pcu_shd.g_old_rec.pcu_attribute12
327: ,p_pcu_attribute13_o =>ben_pcu_shd.g_old_rec.pcu_attribute13
328: ,p_pcu_attribute14_o =>ben_pcu_shd.g_old_rec.pcu_attribute14
329: ,p_pcu_attribute15_o =>ben_pcu_shd.g_old_rec.pcu_attribute15
330: ,p_pcu_attribute16_o =>ben_pcu_shd.g_old_rec.pcu_attribute16
331: ,p_pcu_attribute17_o =>ben_pcu_shd.g_old_rec.pcu_attribute17
332: ,p_pcu_attribute18_o =>ben_pcu_shd.g_old_rec.pcu_attribute18
333: ,p_pcu_attribute19_o =>ben_pcu_shd.g_old_rec.pcu_attribute19
334: ,p_pcu_attribute20_o =>ben_pcu_shd.g_old_rec.pcu_attribute20
327: ,p_pcu_attribute13_o =>ben_pcu_shd.g_old_rec.pcu_attribute13
328: ,p_pcu_attribute14_o =>ben_pcu_shd.g_old_rec.pcu_attribute14
329: ,p_pcu_attribute15_o =>ben_pcu_shd.g_old_rec.pcu_attribute15
330: ,p_pcu_attribute16_o =>ben_pcu_shd.g_old_rec.pcu_attribute16
331: ,p_pcu_attribute17_o =>ben_pcu_shd.g_old_rec.pcu_attribute17
332: ,p_pcu_attribute18_o =>ben_pcu_shd.g_old_rec.pcu_attribute18
333: ,p_pcu_attribute19_o =>ben_pcu_shd.g_old_rec.pcu_attribute19
334: ,p_pcu_attribute20_o =>ben_pcu_shd.g_old_rec.pcu_attribute20
335: ,p_pcu_attribute21_o =>ben_pcu_shd.g_old_rec.pcu_attribute21
328: ,p_pcu_attribute14_o =>ben_pcu_shd.g_old_rec.pcu_attribute14
329: ,p_pcu_attribute15_o =>ben_pcu_shd.g_old_rec.pcu_attribute15
330: ,p_pcu_attribute16_o =>ben_pcu_shd.g_old_rec.pcu_attribute16
331: ,p_pcu_attribute17_o =>ben_pcu_shd.g_old_rec.pcu_attribute17
332: ,p_pcu_attribute18_o =>ben_pcu_shd.g_old_rec.pcu_attribute18
333: ,p_pcu_attribute19_o =>ben_pcu_shd.g_old_rec.pcu_attribute19
334: ,p_pcu_attribute20_o =>ben_pcu_shd.g_old_rec.pcu_attribute20
335: ,p_pcu_attribute21_o =>ben_pcu_shd.g_old_rec.pcu_attribute21
336: ,p_pcu_attribute22_o =>ben_pcu_shd.g_old_rec.pcu_attribute22
329: ,p_pcu_attribute15_o =>ben_pcu_shd.g_old_rec.pcu_attribute15
330: ,p_pcu_attribute16_o =>ben_pcu_shd.g_old_rec.pcu_attribute16
331: ,p_pcu_attribute17_o =>ben_pcu_shd.g_old_rec.pcu_attribute17
332: ,p_pcu_attribute18_o =>ben_pcu_shd.g_old_rec.pcu_attribute18
333: ,p_pcu_attribute19_o =>ben_pcu_shd.g_old_rec.pcu_attribute19
334: ,p_pcu_attribute20_o =>ben_pcu_shd.g_old_rec.pcu_attribute20
335: ,p_pcu_attribute21_o =>ben_pcu_shd.g_old_rec.pcu_attribute21
336: ,p_pcu_attribute22_o =>ben_pcu_shd.g_old_rec.pcu_attribute22
337: ,p_pcu_attribute23_o =>ben_pcu_shd.g_old_rec.pcu_attribute23
330: ,p_pcu_attribute16_o =>ben_pcu_shd.g_old_rec.pcu_attribute16
331: ,p_pcu_attribute17_o =>ben_pcu_shd.g_old_rec.pcu_attribute17
332: ,p_pcu_attribute18_o =>ben_pcu_shd.g_old_rec.pcu_attribute18
333: ,p_pcu_attribute19_o =>ben_pcu_shd.g_old_rec.pcu_attribute19
334: ,p_pcu_attribute20_o =>ben_pcu_shd.g_old_rec.pcu_attribute20
335: ,p_pcu_attribute21_o =>ben_pcu_shd.g_old_rec.pcu_attribute21
336: ,p_pcu_attribute22_o =>ben_pcu_shd.g_old_rec.pcu_attribute22
337: ,p_pcu_attribute23_o =>ben_pcu_shd.g_old_rec.pcu_attribute23
338: ,p_pcu_attribute24_o =>ben_pcu_shd.g_old_rec.pcu_attribute24
331: ,p_pcu_attribute17_o =>ben_pcu_shd.g_old_rec.pcu_attribute17
332: ,p_pcu_attribute18_o =>ben_pcu_shd.g_old_rec.pcu_attribute18
333: ,p_pcu_attribute19_o =>ben_pcu_shd.g_old_rec.pcu_attribute19
334: ,p_pcu_attribute20_o =>ben_pcu_shd.g_old_rec.pcu_attribute20
335: ,p_pcu_attribute21_o =>ben_pcu_shd.g_old_rec.pcu_attribute21
336: ,p_pcu_attribute22_o =>ben_pcu_shd.g_old_rec.pcu_attribute22
337: ,p_pcu_attribute23_o =>ben_pcu_shd.g_old_rec.pcu_attribute23
338: ,p_pcu_attribute24_o =>ben_pcu_shd.g_old_rec.pcu_attribute24
339: ,p_pcu_attribute25_o =>ben_pcu_shd.g_old_rec.pcu_attribute25
332: ,p_pcu_attribute18_o =>ben_pcu_shd.g_old_rec.pcu_attribute18
333: ,p_pcu_attribute19_o =>ben_pcu_shd.g_old_rec.pcu_attribute19
334: ,p_pcu_attribute20_o =>ben_pcu_shd.g_old_rec.pcu_attribute20
335: ,p_pcu_attribute21_o =>ben_pcu_shd.g_old_rec.pcu_attribute21
336: ,p_pcu_attribute22_o =>ben_pcu_shd.g_old_rec.pcu_attribute22
337: ,p_pcu_attribute23_o =>ben_pcu_shd.g_old_rec.pcu_attribute23
338: ,p_pcu_attribute24_o =>ben_pcu_shd.g_old_rec.pcu_attribute24
339: ,p_pcu_attribute25_o =>ben_pcu_shd.g_old_rec.pcu_attribute25
340: ,p_pcu_attribute26_o =>ben_pcu_shd.g_old_rec.pcu_attribute26
333: ,p_pcu_attribute19_o =>ben_pcu_shd.g_old_rec.pcu_attribute19
334: ,p_pcu_attribute20_o =>ben_pcu_shd.g_old_rec.pcu_attribute20
335: ,p_pcu_attribute21_o =>ben_pcu_shd.g_old_rec.pcu_attribute21
336: ,p_pcu_attribute22_o =>ben_pcu_shd.g_old_rec.pcu_attribute22
337: ,p_pcu_attribute23_o =>ben_pcu_shd.g_old_rec.pcu_attribute23
338: ,p_pcu_attribute24_o =>ben_pcu_shd.g_old_rec.pcu_attribute24
339: ,p_pcu_attribute25_o =>ben_pcu_shd.g_old_rec.pcu_attribute25
340: ,p_pcu_attribute26_o =>ben_pcu_shd.g_old_rec.pcu_attribute26
341: ,p_pcu_attribute27_o =>ben_pcu_shd.g_old_rec.pcu_attribute27
334: ,p_pcu_attribute20_o =>ben_pcu_shd.g_old_rec.pcu_attribute20
335: ,p_pcu_attribute21_o =>ben_pcu_shd.g_old_rec.pcu_attribute21
336: ,p_pcu_attribute22_o =>ben_pcu_shd.g_old_rec.pcu_attribute22
337: ,p_pcu_attribute23_o =>ben_pcu_shd.g_old_rec.pcu_attribute23
338: ,p_pcu_attribute24_o =>ben_pcu_shd.g_old_rec.pcu_attribute24
339: ,p_pcu_attribute25_o =>ben_pcu_shd.g_old_rec.pcu_attribute25
340: ,p_pcu_attribute26_o =>ben_pcu_shd.g_old_rec.pcu_attribute26
341: ,p_pcu_attribute27_o =>ben_pcu_shd.g_old_rec.pcu_attribute27
342: ,p_pcu_attribute28_o =>ben_pcu_shd.g_old_rec.pcu_attribute28
335: ,p_pcu_attribute21_o =>ben_pcu_shd.g_old_rec.pcu_attribute21
336: ,p_pcu_attribute22_o =>ben_pcu_shd.g_old_rec.pcu_attribute22
337: ,p_pcu_attribute23_o =>ben_pcu_shd.g_old_rec.pcu_attribute23
338: ,p_pcu_attribute24_o =>ben_pcu_shd.g_old_rec.pcu_attribute24
339: ,p_pcu_attribute25_o =>ben_pcu_shd.g_old_rec.pcu_attribute25
340: ,p_pcu_attribute26_o =>ben_pcu_shd.g_old_rec.pcu_attribute26
341: ,p_pcu_attribute27_o =>ben_pcu_shd.g_old_rec.pcu_attribute27
342: ,p_pcu_attribute28_o =>ben_pcu_shd.g_old_rec.pcu_attribute28
343: ,p_pcu_attribute29_o =>ben_pcu_shd.g_old_rec.pcu_attribute29
336: ,p_pcu_attribute22_o =>ben_pcu_shd.g_old_rec.pcu_attribute22
337: ,p_pcu_attribute23_o =>ben_pcu_shd.g_old_rec.pcu_attribute23
338: ,p_pcu_attribute24_o =>ben_pcu_shd.g_old_rec.pcu_attribute24
339: ,p_pcu_attribute25_o =>ben_pcu_shd.g_old_rec.pcu_attribute25
340: ,p_pcu_attribute26_o =>ben_pcu_shd.g_old_rec.pcu_attribute26
341: ,p_pcu_attribute27_o =>ben_pcu_shd.g_old_rec.pcu_attribute27
342: ,p_pcu_attribute28_o =>ben_pcu_shd.g_old_rec.pcu_attribute28
343: ,p_pcu_attribute29_o =>ben_pcu_shd.g_old_rec.pcu_attribute29
344: ,p_pcu_attribute30_o =>ben_pcu_shd.g_old_rec.pcu_attribute30
337: ,p_pcu_attribute23_o =>ben_pcu_shd.g_old_rec.pcu_attribute23
338: ,p_pcu_attribute24_o =>ben_pcu_shd.g_old_rec.pcu_attribute24
339: ,p_pcu_attribute25_o =>ben_pcu_shd.g_old_rec.pcu_attribute25
340: ,p_pcu_attribute26_o =>ben_pcu_shd.g_old_rec.pcu_attribute26
341: ,p_pcu_attribute27_o =>ben_pcu_shd.g_old_rec.pcu_attribute27
342: ,p_pcu_attribute28_o =>ben_pcu_shd.g_old_rec.pcu_attribute28
343: ,p_pcu_attribute29_o =>ben_pcu_shd.g_old_rec.pcu_attribute29
344: ,p_pcu_attribute30_o =>ben_pcu_shd.g_old_rec.pcu_attribute30
345: ,p_request_id_o =>ben_pcu_shd.g_old_rec.request_id
338: ,p_pcu_attribute24_o =>ben_pcu_shd.g_old_rec.pcu_attribute24
339: ,p_pcu_attribute25_o =>ben_pcu_shd.g_old_rec.pcu_attribute25
340: ,p_pcu_attribute26_o =>ben_pcu_shd.g_old_rec.pcu_attribute26
341: ,p_pcu_attribute27_o =>ben_pcu_shd.g_old_rec.pcu_attribute27
342: ,p_pcu_attribute28_o =>ben_pcu_shd.g_old_rec.pcu_attribute28
343: ,p_pcu_attribute29_o =>ben_pcu_shd.g_old_rec.pcu_attribute29
344: ,p_pcu_attribute30_o =>ben_pcu_shd.g_old_rec.pcu_attribute30
345: ,p_request_id_o =>ben_pcu_shd.g_old_rec.request_id
346: ,p_program_application_id_o =>ben_pcu_shd.g_old_rec.program_application_id
339: ,p_pcu_attribute25_o =>ben_pcu_shd.g_old_rec.pcu_attribute25
340: ,p_pcu_attribute26_o =>ben_pcu_shd.g_old_rec.pcu_attribute26
341: ,p_pcu_attribute27_o =>ben_pcu_shd.g_old_rec.pcu_attribute27
342: ,p_pcu_attribute28_o =>ben_pcu_shd.g_old_rec.pcu_attribute28
343: ,p_pcu_attribute29_o =>ben_pcu_shd.g_old_rec.pcu_attribute29
344: ,p_pcu_attribute30_o =>ben_pcu_shd.g_old_rec.pcu_attribute30
345: ,p_request_id_o =>ben_pcu_shd.g_old_rec.request_id
346: ,p_program_application_id_o =>ben_pcu_shd.g_old_rec.program_application_id
347: ,p_program_id_o =>ben_pcu_shd.g_old_rec.program_id
340: ,p_pcu_attribute26_o =>ben_pcu_shd.g_old_rec.pcu_attribute26
341: ,p_pcu_attribute27_o =>ben_pcu_shd.g_old_rec.pcu_attribute27
342: ,p_pcu_attribute28_o =>ben_pcu_shd.g_old_rec.pcu_attribute28
343: ,p_pcu_attribute29_o =>ben_pcu_shd.g_old_rec.pcu_attribute29
344: ,p_pcu_attribute30_o =>ben_pcu_shd.g_old_rec.pcu_attribute30
345: ,p_request_id_o =>ben_pcu_shd.g_old_rec.request_id
346: ,p_program_application_id_o =>ben_pcu_shd.g_old_rec.program_application_id
347: ,p_program_id_o =>ben_pcu_shd.g_old_rec.program_id
348: ,p_program_update_date_o =>ben_pcu_shd.g_old_rec.program_update_date
341: ,p_pcu_attribute27_o =>ben_pcu_shd.g_old_rec.pcu_attribute27
342: ,p_pcu_attribute28_o =>ben_pcu_shd.g_old_rec.pcu_attribute28
343: ,p_pcu_attribute29_o =>ben_pcu_shd.g_old_rec.pcu_attribute29
344: ,p_pcu_attribute30_o =>ben_pcu_shd.g_old_rec.pcu_attribute30
345: ,p_request_id_o =>ben_pcu_shd.g_old_rec.request_id
346: ,p_program_application_id_o =>ben_pcu_shd.g_old_rec.program_application_id
347: ,p_program_id_o =>ben_pcu_shd.g_old_rec.program_id
348: ,p_program_update_date_o =>ben_pcu_shd.g_old_rec.program_update_date
349: ,p_object_version_number_o =>ben_pcu_shd.g_old_rec.object_version_number
342: ,p_pcu_attribute28_o =>ben_pcu_shd.g_old_rec.pcu_attribute28
343: ,p_pcu_attribute29_o =>ben_pcu_shd.g_old_rec.pcu_attribute29
344: ,p_pcu_attribute30_o =>ben_pcu_shd.g_old_rec.pcu_attribute30
345: ,p_request_id_o =>ben_pcu_shd.g_old_rec.request_id
346: ,p_program_application_id_o =>ben_pcu_shd.g_old_rec.program_application_id
347: ,p_program_id_o =>ben_pcu_shd.g_old_rec.program_id
348: ,p_program_update_date_o =>ben_pcu_shd.g_old_rec.program_update_date
349: ,p_object_version_number_o =>ben_pcu_shd.g_old_rec.object_version_number
350: );
343: ,p_pcu_attribute29_o =>ben_pcu_shd.g_old_rec.pcu_attribute29
344: ,p_pcu_attribute30_o =>ben_pcu_shd.g_old_rec.pcu_attribute30
345: ,p_request_id_o =>ben_pcu_shd.g_old_rec.request_id
346: ,p_program_application_id_o =>ben_pcu_shd.g_old_rec.program_application_id
347: ,p_program_id_o =>ben_pcu_shd.g_old_rec.program_id
348: ,p_program_update_date_o =>ben_pcu_shd.g_old_rec.program_update_date
349: ,p_object_version_number_o =>ben_pcu_shd.g_old_rec.object_version_number
350: );
351: --
344: ,p_pcu_attribute30_o =>ben_pcu_shd.g_old_rec.pcu_attribute30
345: ,p_request_id_o =>ben_pcu_shd.g_old_rec.request_id
346: ,p_program_application_id_o =>ben_pcu_shd.g_old_rec.program_application_id
347: ,p_program_id_o =>ben_pcu_shd.g_old_rec.program_id
348: ,p_program_update_date_o =>ben_pcu_shd.g_old_rec.program_update_date
349: ,p_object_version_number_o =>ben_pcu_shd.g_old_rec.object_version_number
350: );
351: --
352: exception
345: ,p_request_id_o =>ben_pcu_shd.g_old_rec.request_id
346: ,p_program_application_id_o =>ben_pcu_shd.g_old_rec.program_application_id
347: ,p_program_id_o =>ben_pcu_shd.g_old_rec.program_id
348: ,p_program_update_date_o =>ben_pcu_shd.g_old_rec.program_update_date
349: ,p_object_version_number_o =>ben_pcu_shd.g_old_rec.object_version_number
350: );
351: --
352: exception
353: --
369: -- |---------------------------------< del >----------------------------------|
370: -- ----------------------------------------------------------------------------
371: Procedure del
372: (
373: p_rec in out nocopy ben_pcu_shd.g_rec_type,
374: p_effective_date in date,
375: p_datetrack_mode in varchar2
376: ) is
377: --
387: dt_api.validate_dt_del_mode(p_datetrack_mode => p_datetrack_mode);
388: --
389: -- We must lock the row which we need to delete.
390: --
391: ben_pcu_shd.lck
392: (p_effective_date => p_effective_date,
393: p_datetrack_mode => p_datetrack_mode,
394: p_per_cm_usg_id => p_rec.per_cm_usg_id,
395: p_object_version_number => p_rec.object_version_number,
445: p_effective_date in date,
446: p_datetrack_mode in varchar2
447: ) is
448: --
449: l_rec ben_pcu_shd.g_rec_type;
450: l_proc varchar2(72) := g_package||'del';
451: --
452: Begin
453: hr_utility.set_location('Entering:'||l_proc, 5);