50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure dt_delete_dml
54: (p_rec in out nocopy ben_dcp_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_dcp_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_dpnt_cvrd_plip_rt_f
72: where dpnt_cvrd_plip_rt_id = p_rec.dpnt_cvrd_plip_rt_id
73: and effective_start_date = p_validation_start_date;
74: --
75: ben_dcp_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: hr_utility.set_location(l_proc, 15);
78: ben_dcp_shd.g_api_dml := true; -- Set the api dml status
79: --
74: --
75: ben_dcp_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: hr_utility.set_location(l_proc, 15);
78: ben_dcp_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_dpnt_cvrd_plip_rt_f
84: where dpnt_cvrd_plip_rt_id = p_rec.dpnt_cvrd_plip_rt_id
85: and effective_start_date >= p_validation_start_date;
86: --
87: ben_dcp_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_dcp_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_dcp_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_dcp_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_dcp_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_dcp_shd.upd_effective_end_date
180: (p_effective_date => p_effective_date,
181: p_base_key_value => p_rec.dpnt_cvrd_plip_rt_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_dcp_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_dcp_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_dcp_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_dcp_shd.g_old_rec.effective_end_date
311: ,p_excld_flag_o =>ben_dcp_shd.g_old_rec.excld_flag
312: ,p_ordr_num_o =>ben_dcp_shd.g_old_rec.ordr_num
313: ,p_enrl_det_dt_cd_o =>ben_dcp_shd.g_old_rec.enrl_det_dt_cd
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_dcp_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_dcp_shd.g_old_rec.effective_end_date
311: ,p_excld_flag_o =>ben_dcp_shd.g_old_rec.excld_flag
312: ,p_ordr_num_o =>ben_dcp_shd.g_old_rec.ordr_num
313: ,p_enrl_det_dt_cd_o =>ben_dcp_shd.g_old_rec.enrl_det_dt_cd
314: ,p_plip_id_o =>ben_dcp_shd.g_old_rec.plip_id
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_dcp_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_dcp_shd.g_old_rec.effective_end_date
311: ,p_excld_flag_o =>ben_dcp_shd.g_old_rec.excld_flag
312: ,p_ordr_num_o =>ben_dcp_shd.g_old_rec.ordr_num
313: ,p_enrl_det_dt_cd_o =>ben_dcp_shd.g_old_rec.enrl_det_dt_cd
314: ,p_plip_id_o =>ben_dcp_shd.g_old_rec.plip_id
315: ,p_vrbl_rt_prfl_id_o =>ben_dcp_shd.g_old_rec.vrbl_rt_prfl_id
308: ,p_effective_end_date =>p_rec.effective_end_date
309: ,p_effective_start_date_o =>ben_dcp_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_dcp_shd.g_old_rec.effective_end_date
311: ,p_excld_flag_o =>ben_dcp_shd.g_old_rec.excld_flag
312: ,p_ordr_num_o =>ben_dcp_shd.g_old_rec.ordr_num
313: ,p_enrl_det_dt_cd_o =>ben_dcp_shd.g_old_rec.enrl_det_dt_cd
314: ,p_plip_id_o =>ben_dcp_shd.g_old_rec.plip_id
315: ,p_vrbl_rt_prfl_id_o =>ben_dcp_shd.g_old_rec.vrbl_rt_prfl_id
316: ,p_business_group_id_o =>ben_dcp_shd.g_old_rec.business_group_id
309: ,p_effective_start_date_o =>ben_dcp_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_dcp_shd.g_old_rec.effective_end_date
311: ,p_excld_flag_o =>ben_dcp_shd.g_old_rec.excld_flag
312: ,p_ordr_num_o =>ben_dcp_shd.g_old_rec.ordr_num
313: ,p_enrl_det_dt_cd_o =>ben_dcp_shd.g_old_rec.enrl_det_dt_cd
314: ,p_plip_id_o =>ben_dcp_shd.g_old_rec.plip_id
315: ,p_vrbl_rt_prfl_id_o =>ben_dcp_shd.g_old_rec.vrbl_rt_prfl_id
316: ,p_business_group_id_o =>ben_dcp_shd.g_old_rec.business_group_id
317: ,p_dcp_attribute_category_o =>ben_dcp_shd.g_old_rec.dcp_attribute_category
310: ,p_effective_end_date_o =>ben_dcp_shd.g_old_rec.effective_end_date
311: ,p_excld_flag_o =>ben_dcp_shd.g_old_rec.excld_flag
312: ,p_ordr_num_o =>ben_dcp_shd.g_old_rec.ordr_num
313: ,p_enrl_det_dt_cd_o =>ben_dcp_shd.g_old_rec.enrl_det_dt_cd
314: ,p_plip_id_o =>ben_dcp_shd.g_old_rec.plip_id
315: ,p_vrbl_rt_prfl_id_o =>ben_dcp_shd.g_old_rec.vrbl_rt_prfl_id
316: ,p_business_group_id_o =>ben_dcp_shd.g_old_rec.business_group_id
317: ,p_dcp_attribute_category_o =>ben_dcp_shd.g_old_rec.dcp_attribute_category
318: ,p_dcp_attribute1_o =>ben_dcp_shd.g_old_rec.dcp_attribute1
311: ,p_excld_flag_o =>ben_dcp_shd.g_old_rec.excld_flag
312: ,p_ordr_num_o =>ben_dcp_shd.g_old_rec.ordr_num
313: ,p_enrl_det_dt_cd_o =>ben_dcp_shd.g_old_rec.enrl_det_dt_cd
314: ,p_plip_id_o =>ben_dcp_shd.g_old_rec.plip_id
315: ,p_vrbl_rt_prfl_id_o =>ben_dcp_shd.g_old_rec.vrbl_rt_prfl_id
316: ,p_business_group_id_o =>ben_dcp_shd.g_old_rec.business_group_id
317: ,p_dcp_attribute_category_o =>ben_dcp_shd.g_old_rec.dcp_attribute_category
318: ,p_dcp_attribute1_o =>ben_dcp_shd.g_old_rec.dcp_attribute1
319: ,p_dcp_attribute2_o =>ben_dcp_shd.g_old_rec.dcp_attribute2
312: ,p_ordr_num_o =>ben_dcp_shd.g_old_rec.ordr_num
313: ,p_enrl_det_dt_cd_o =>ben_dcp_shd.g_old_rec.enrl_det_dt_cd
314: ,p_plip_id_o =>ben_dcp_shd.g_old_rec.plip_id
315: ,p_vrbl_rt_prfl_id_o =>ben_dcp_shd.g_old_rec.vrbl_rt_prfl_id
316: ,p_business_group_id_o =>ben_dcp_shd.g_old_rec.business_group_id
317: ,p_dcp_attribute_category_o =>ben_dcp_shd.g_old_rec.dcp_attribute_category
318: ,p_dcp_attribute1_o =>ben_dcp_shd.g_old_rec.dcp_attribute1
319: ,p_dcp_attribute2_o =>ben_dcp_shd.g_old_rec.dcp_attribute2
320: ,p_dcp_attribute3_o =>ben_dcp_shd.g_old_rec.dcp_attribute3
313: ,p_enrl_det_dt_cd_o =>ben_dcp_shd.g_old_rec.enrl_det_dt_cd
314: ,p_plip_id_o =>ben_dcp_shd.g_old_rec.plip_id
315: ,p_vrbl_rt_prfl_id_o =>ben_dcp_shd.g_old_rec.vrbl_rt_prfl_id
316: ,p_business_group_id_o =>ben_dcp_shd.g_old_rec.business_group_id
317: ,p_dcp_attribute_category_o =>ben_dcp_shd.g_old_rec.dcp_attribute_category
318: ,p_dcp_attribute1_o =>ben_dcp_shd.g_old_rec.dcp_attribute1
319: ,p_dcp_attribute2_o =>ben_dcp_shd.g_old_rec.dcp_attribute2
320: ,p_dcp_attribute3_o =>ben_dcp_shd.g_old_rec.dcp_attribute3
321: ,p_dcp_attribute4_o =>ben_dcp_shd.g_old_rec.dcp_attribute4
314: ,p_plip_id_o =>ben_dcp_shd.g_old_rec.plip_id
315: ,p_vrbl_rt_prfl_id_o =>ben_dcp_shd.g_old_rec.vrbl_rt_prfl_id
316: ,p_business_group_id_o =>ben_dcp_shd.g_old_rec.business_group_id
317: ,p_dcp_attribute_category_o =>ben_dcp_shd.g_old_rec.dcp_attribute_category
318: ,p_dcp_attribute1_o =>ben_dcp_shd.g_old_rec.dcp_attribute1
319: ,p_dcp_attribute2_o =>ben_dcp_shd.g_old_rec.dcp_attribute2
320: ,p_dcp_attribute3_o =>ben_dcp_shd.g_old_rec.dcp_attribute3
321: ,p_dcp_attribute4_o =>ben_dcp_shd.g_old_rec.dcp_attribute4
322: ,p_dcp_attribute5_o =>ben_dcp_shd.g_old_rec.dcp_attribute5
315: ,p_vrbl_rt_prfl_id_o =>ben_dcp_shd.g_old_rec.vrbl_rt_prfl_id
316: ,p_business_group_id_o =>ben_dcp_shd.g_old_rec.business_group_id
317: ,p_dcp_attribute_category_o =>ben_dcp_shd.g_old_rec.dcp_attribute_category
318: ,p_dcp_attribute1_o =>ben_dcp_shd.g_old_rec.dcp_attribute1
319: ,p_dcp_attribute2_o =>ben_dcp_shd.g_old_rec.dcp_attribute2
320: ,p_dcp_attribute3_o =>ben_dcp_shd.g_old_rec.dcp_attribute3
321: ,p_dcp_attribute4_o =>ben_dcp_shd.g_old_rec.dcp_attribute4
322: ,p_dcp_attribute5_o =>ben_dcp_shd.g_old_rec.dcp_attribute5
323: ,p_dcp_attribute6_o =>ben_dcp_shd.g_old_rec.dcp_attribute6
316: ,p_business_group_id_o =>ben_dcp_shd.g_old_rec.business_group_id
317: ,p_dcp_attribute_category_o =>ben_dcp_shd.g_old_rec.dcp_attribute_category
318: ,p_dcp_attribute1_o =>ben_dcp_shd.g_old_rec.dcp_attribute1
319: ,p_dcp_attribute2_o =>ben_dcp_shd.g_old_rec.dcp_attribute2
320: ,p_dcp_attribute3_o =>ben_dcp_shd.g_old_rec.dcp_attribute3
321: ,p_dcp_attribute4_o =>ben_dcp_shd.g_old_rec.dcp_attribute4
322: ,p_dcp_attribute5_o =>ben_dcp_shd.g_old_rec.dcp_attribute5
323: ,p_dcp_attribute6_o =>ben_dcp_shd.g_old_rec.dcp_attribute6
324: ,p_dcp_attribute7_o =>ben_dcp_shd.g_old_rec.dcp_attribute7
317: ,p_dcp_attribute_category_o =>ben_dcp_shd.g_old_rec.dcp_attribute_category
318: ,p_dcp_attribute1_o =>ben_dcp_shd.g_old_rec.dcp_attribute1
319: ,p_dcp_attribute2_o =>ben_dcp_shd.g_old_rec.dcp_attribute2
320: ,p_dcp_attribute3_o =>ben_dcp_shd.g_old_rec.dcp_attribute3
321: ,p_dcp_attribute4_o =>ben_dcp_shd.g_old_rec.dcp_attribute4
322: ,p_dcp_attribute5_o =>ben_dcp_shd.g_old_rec.dcp_attribute5
323: ,p_dcp_attribute6_o =>ben_dcp_shd.g_old_rec.dcp_attribute6
324: ,p_dcp_attribute7_o =>ben_dcp_shd.g_old_rec.dcp_attribute7
325: ,p_dcp_attribute8_o =>ben_dcp_shd.g_old_rec.dcp_attribute8
318: ,p_dcp_attribute1_o =>ben_dcp_shd.g_old_rec.dcp_attribute1
319: ,p_dcp_attribute2_o =>ben_dcp_shd.g_old_rec.dcp_attribute2
320: ,p_dcp_attribute3_o =>ben_dcp_shd.g_old_rec.dcp_attribute3
321: ,p_dcp_attribute4_o =>ben_dcp_shd.g_old_rec.dcp_attribute4
322: ,p_dcp_attribute5_o =>ben_dcp_shd.g_old_rec.dcp_attribute5
323: ,p_dcp_attribute6_o =>ben_dcp_shd.g_old_rec.dcp_attribute6
324: ,p_dcp_attribute7_o =>ben_dcp_shd.g_old_rec.dcp_attribute7
325: ,p_dcp_attribute8_o =>ben_dcp_shd.g_old_rec.dcp_attribute8
326: ,p_dcp_attribute9_o =>ben_dcp_shd.g_old_rec.dcp_attribute9
319: ,p_dcp_attribute2_o =>ben_dcp_shd.g_old_rec.dcp_attribute2
320: ,p_dcp_attribute3_o =>ben_dcp_shd.g_old_rec.dcp_attribute3
321: ,p_dcp_attribute4_o =>ben_dcp_shd.g_old_rec.dcp_attribute4
322: ,p_dcp_attribute5_o =>ben_dcp_shd.g_old_rec.dcp_attribute5
323: ,p_dcp_attribute6_o =>ben_dcp_shd.g_old_rec.dcp_attribute6
324: ,p_dcp_attribute7_o =>ben_dcp_shd.g_old_rec.dcp_attribute7
325: ,p_dcp_attribute8_o =>ben_dcp_shd.g_old_rec.dcp_attribute8
326: ,p_dcp_attribute9_o =>ben_dcp_shd.g_old_rec.dcp_attribute9
327: ,p_dcp_attribute10_o =>ben_dcp_shd.g_old_rec.dcp_attribute10
320: ,p_dcp_attribute3_o =>ben_dcp_shd.g_old_rec.dcp_attribute3
321: ,p_dcp_attribute4_o =>ben_dcp_shd.g_old_rec.dcp_attribute4
322: ,p_dcp_attribute5_o =>ben_dcp_shd.g_old_rec.dcp_attribute5
323: ,p_dcp_attribute6_o =>ben_dcp_shd.g_old_rec.dcp_attribute6
324: ,p_dcp_attribute7_o =>ben_dcp_shd.g_old_rec.dcp_attribute7
325: ,p_dcp_attribute8_o =>ben_dcp_shd.g_old_rec.dcp_attribute8
326: ,p_dcp_attribute9_o =>ben_dcp_shd.g_old_rec.dcp_attribute9
327: ,p_dcp_attribute10_o =>ben_dcp_shd.g_old_rec.dcp_attribute10
328: ,p_dcp_attribute11_o =>ben_dcp_shd.g_old_rec.dcp_attribute11
321: ,p_dcp_attribute4_o =>ben_dcp_shd.g_old_rec.dcp_attribute4
322: ,p_dcp_attribute5_o =>ben_dcp_shd.g_old_rec.dcp_attribute5
323: ,p_dcp_attribute6_o =>ben_dcp_shd.g_old_rec.dcp_attribute6
324: ,p_dcp_attribute7_o =>ben_dcp_shd.g_old_rec.dcp_attribute7
325: ,p_dcp_attribute8_o =>ben_dcp_shd.g_old_rec.dcp_attribute8
326: ,p_dcp_attribute9_o =>ben_dcp_shd.g_old_rec.dcp_attribute9
327: ,p_dcp_attribute10_o =>ben_dcp_shd.g_old_rec.dcp_attribute10
328: ,p_dcp_attribute11_o =>ben_dcp_shd.g_old_rec.dcp_attribute11
329: ,p_dcp_attribute12_o =>ben_dcp_shd.g_old_rec.dcp_attribute12
322: ,p_dcp_attribute5_o =>ben_dcp_shd.g_old_rec.dcp_attribute5
323: ,p_dcp_attribute6_o =>ben_dcp_shd.g_old_rec.dcp_attribute6
324: ,p_dcp_attribute7_o =>ben_dcp_shd.g_old_rec.dcp_attribute7
325: ,p_dcp_attribute8_o =>ben_dcp_shd.g_old_rec.dcp_attribute8
326: ,p_dcp_attribute9_o =>ben_dcp_shd.g_old_rec.dcp_attribute9
327: ,p_dcp_attribute10_o =>ben_dcp_shd.g_old_rec.dcp_attribute10
328: ,p_dcp_attribute11_o =>ben_dcp_shd.g_old_rec.dcp_attribute11
329: ,p_dcp_attribute12_o =>ben_dcp_shd.g_old_rec.dcp_attribute12
330: ,p_dcp_attribute13_o =>ben_dcp_shd.g_old_rec.dcp_attribute13
323: ,p_dcp_attribute6_o =>ben_dcp_shd.g_old_rec.dcp_attribute6
324: ,p_dcp_attribute7_o =>ben_dcp_shd.g_old_rec.dcp_attribute7
325: ,p_dcp_attribute8_o =>ben_dcp_shd.g_old_rec.dcp_attribute8
326: ,p_dcp_attribute9_o =>ben_dcp_shd.g_old_rec.dcp_attribute9
327: ,p_dcp_attribute10_o =>ben_dcp_shd.g_old_rec.dcp_attribute10
328: ,p_dcp_attribute11_o =>ben_dcp_shd.g_old_rec.dcp_attribute11
329: ,p_dcp_attribute12_o =>ben_dcp_shd.g_old_rec.dcp_attribute12
330: ,p_dcp_attribute13_o =>ben_dcp_shd.g_old_rec.dcp_attribute13
331: ,p_dcp_attribute14_o =>ben_dcp_shd.g_old_rec.dcp_attribute14
324: ,p_dcp_attribute7_o =>ben_dcp_shd.g_old_rec.dcp_attribute7
325: ,p_dcp_attribute8_o =>ben_dcp_shd.g_old_rec.dcp_attribute8
326: ,p_dcp_attribute9_o =>ben_dcp_shd.g_old_rec.dcp_attribute9
327: ,p_dcp_attribute10_o =>ben_dcp_shd.g_old_rec.dcp_attribute10
328: ,p_dcp_attribute11_o =>ben_dcp_shd.g_old_rec.dcp_attribute11
329: ,p_dcp_attribute12_o =>ben_dcp_shd.g_old_rec.dcp_attribute12
330: ,p_dcp_attribute13_o =>ben_dcp_shd.g_old_rec.dcp_attribute13
331: ,p_dcp_attribute14_o =>ben_dcp_shd.g_old_rec.dcp_attribute14
332: ,p_dcp_attribute15_o =>ben_dcp_shd.g_old_rec.dcp_attribute15
325: ,p_dcp_attribute8_o =>ben_dcp_shd.g_old_rec.dcp_attribute8
326: ,p_dcp_attribute9_o =>ben_dcp_shd.g_old_rec.dcp_attribute9
327: ,p_dcp_attribute10_o =>ben_dcp_shd.g_old_rec.dcp_attribute10
328: ,p_dcp_attribute11_o =>ben_dcp_shd.g_old_rec.dcp_attribute11
329: ,p_dcp_attribute12_o =>ben_dcp_shd.g_old_rec.dcp_attribute12
330: ,p_dcp_attribute13_o =>ben_dcp_shd.g_old_rec.dcp_attribute13
331: ,p_dcp_attribute14_o =>ben_dcp_shd.g_old_rec.dcp_attribute14
332: ,p_dcp_attribute15_o =>ben_dcp_shd.g_old_rec.dcp_attribute15
333: ,p_dcp_attribute16_o =>ben_dcp_shd.g_old_rec.dcp_attribute16
326: ,p_dcp_attribute9_o =>ben_dcp_shd.g_old_rec.dcp_attribute9
327: ,p_dcp_attribute10_o =>ben_dcp_shd.g_old_rec.dcp_attribute10
328: ,p_dcp_attribute11_o =>ben_dcp_shd.g_old_rec.dcp_attribute11
329: ,p_dcp_attribute12_o =>ben_dcp_shd.g_old_rec.dcp_attribute12
330: ,p_dcp_attribute13_o =>ben_dcp_shd.g_old_rec.dcp_attribute13
331: ,p_dcp_attribute14_o =>ben_dcp_shd.g_old_rec.dcp_attribute14
332: ,p_dcp_attribute15_o =>ben_dcp_shd.g_old_rec.dcp_attribute15
333: ,p_dcp_attribute16_o =>ben_dcp_shd.g_old_rec.dcp_attribute16
334: ,p_dcp_attribute17_o =>ben_dcp_shd.g_old_rec.dcp_attribute17
327: ,p_dcp_attribute10_o =>ben_dcp_shd.g_old_rec.dcp_attribute10
328: ,p_dcp_attribute11_o =>ben_dcp_shd.g_old_rec.dcp_attribute11
329: ,p_dcp_attribute12_o =>ben_dcp_shd.g_old_rec.dcp_attribute12
330: ,p_dcp_attribute13_o =>ben_dcp_shd.g_old_rec.dcp_attribute13
331: ,p_dcp_attribute14_o =>ben_dcp_shd.g_old_rec.dcp_attribute14
332: ,p_dcp_attribute15_o =>ben_dcp_shd.g_old_rec.dcp_attribute15
333: ,p_dcp_attribute16_o =>ben_dcp_shd.g_old_rec.dcp_attribute16
334: ,p_dcp_attribute17_o =>ben_dcp_shd.g_old_rec.dcp_attribute17
335: ,p_dcp_attribute18_o =>ben_dcp_shd.g_old_rec.dcp_attribute18
328: ,p_dcp_attribute11_o =>ben_dcp_shd.g_old_rec.dcp_attribute11
329: ,p_dcp_attribute12_o =>ben_dcp_shd.g_old_rec.dcp_attribute12
330: ,p_dcp_attribute13_o =>ben_dcp_shd.g_old_rec.dcp_attribute13
331: ,p_dcp_attribute14_o =>ben_dcp_shd.g_old_rec.dcp_attribute14
332: ,p_dcp_attribute15_o =>ben_dcp_shd.g_old_rec.dcp_attribute15
333: ,p_dcp_attribute16_o =>ben_dcp_shd.g_old_rec.dcp_attribute16
334: ,p_dcp_attribute17_o =>ben_dcp_shd.g_old_rec.dcp_attribute17
335: ,p_dcp_attribute18_o =>ben_dcp_shd.g_old_rec.dcp_attribute18
336: ,p_dcp_attribute19_o =>ben_dcp_shd.g_old_rec.dcp_attribute19
329: ,p_dcp_attribute12_o =>ben_dcp_shd.g_old_rec.dcp_attribute12
330: ,p_dcp_attribute13_o =>ben_dcp_shd.g_old_rec.dcp_attribute13
331: ,p_dcp_attribute14_o =>ben_dcp_shd.g_old_rec.dcp_attribute14
332: ,p_dcp_attribute15_o =>ben_dcp_shd.g_old_rec.dcp_attribute15
333: ,p_dcp_attribute16_o =>ben_dcp_shd.g_old_rec.dcp_attribute16
334: ,p_dcp_attribute17_o =>ben_dcp_shd.g_old_rec.dcp_attribute17
335: ,p_dcp_attribute18_o =>ben_dcp_shd.g_old_rec.dcp_attribute18
336: ,p_dcp_attribute19_o =>ben_dcp_shd.g_old_rec.dcp_attribute19
337: ,p_dcp_attribute20_o =>ben_dcp_shd.g_old_rec.dcp_attribute20
330: ,p_dcp_attribute13_o =>ben_dcp_shd.g_old_rec.dcp_attribute13
331: ,p_dcp_attribute14_o =>ben_dcp_shd.g_old_rec.dcp_attribute14
332: ,p_dcp_attribute15_o =>ben_dcp_shd.g_old_rec.dcp_attribute15
333: ,p_dcp_attribute16_o =>ben_dcp_shd.g_old_rec.dcp_attribute16
334: ,p_dcp_attribute17_o =>ben_dcp_shd.g_old_rec.dcp_attribute17
335: ,p_dcp_attribute18_o =>ben_dcp_shd.g_old_rec.dcp_attribute18
336: ,p_dcp_attribute19_o =>ben_dcp_shd.g_old_rec.dcp_attribute19
337: ,p_dcp_attribute20_o =>ben_dcp_shd.g_old_rec.dcp_attribute20
338: ,p_dcp_attribute21_o =>ben_dcp_shd.g_old_rec.dcp_attribute21
331: ,p_dcp_attribute14_o =>ben_dcp_shd.g_old_rec.dcp_attribute14
332: ,p_dcp_attribute15_o =>ben_dcp_shd.g_old_rec.dcp_attribute15
333: ,p_dcp_attribute16_o =>ben_dcp_shd.g_old_rec.dcp_attribute16
334: ,p_dcp_attribute17_o =>ben_dcp_shd.g_old_rec.dcp_attribute17
335: ,p_dcp_attribute18_o =>ben_dcp_shd.g_old_rec.dcp_attribute18
336: ,p_dcp_attribute19_o =>ben_dcp_shd.g_old_rec.dcp_attribute19
337: ,p_dcp_attribute20_o =>ben_dcp_shd.g_old_rec.dcp_attribute20
338: ,p_dcp_attribute21_o =>ben_dcp_shd.g_old_rec.dcp_attribute21
339: ,p_dcp_attribute22_o =>ben_dcp_shd.g_old_rec.dcp_attribute22
332: ,p_dcp_attribute15_o =>ben_dcp_shd.g_old_rec.dcp_attribute15
333: ,p_dcp_attribute16_o =>ben_dcp_shd.g_old_rec.dcp_attribute16
334: ,p_dcp_attribute17_o =>ben_dcp_shd.g_old_rec.dcp_attribute17
335: ,p_dcp_attribute18_o =>ben_dcp_shd.g_old_rec.dcp_attribute18
336: ,p_dcp_attribute19_o =>ben_dcp_shd.g_old_rec.dcp_attribute19
337: ,p_dcp_attribute20_o =>ben_dcp_shd.g_old_rec.dcp_attribute20
338: ,p_dcp_attribute21_o =>ben_dcp_shd.g_old_rec.dcp_attribute21
339: ,p_dcp_attribute22_o =>ben_dcp_shd.g_old_rec.dcp_attribute22
340: ,p_dcp_attribute23_o =>ben_dcp_shd.g_old_rec.dcp_attribute23
333: ,p_dcp_attribute16_o =>ben_dcp_shd.g_old_rec.dcp_attribute16
334: ,p_dcp_attribute17_o =>ben_dcp_shd.g_old_rec.dcp_attribute17
335: ,p_dcp_attribute18_o =>ben_dcp_shd.g_old_rec.dcp_attribute18
336: ,p_dcp_attribute19_o =>ben_dcp_shd.g_old_rec.dcp_attribute19
337: ,p_dcp_attribute20_o =>ben_dcp_shd.g_old_rec.dcp_attribute20
338: ,p_dcp_attribute21_o =>ben_dcp_shd.g_old_rec.dcp_attribute21
339: ,p_dcp_attribute22_o =>ben_dcp_shd.g_old_rec.dcp_attribute22
340: ,p_dcp_attribute23_o =>ben_dcp_shd.g_old_rec.dcp_attribute23
341: ,p_dcp_attribute24_o =>ben_dcp_shd.g_old_rec.dcp_attribute24
334: ,p_dcp_attribute17_o =>ben_dcp_shd.g_old_rec.dcp_attribute17
335: ,p_dcp_attribute18_o =>ben_dcp_shd.g_old_rec.dcp_attribute18
336: ,p_dcp_attribute19_o =>ben_dcp_shd.g_old_rec.dcp_attribute19
337: ,p_dcp_attribute20_o =>ben_dcp_shd.g_old_rec.dcp_attribute20
338: ,p_dcp_attribute21_o =>ben_dcp_shd.g_old_rec.dcp_attribute21
339: ,p_dcp_attribute22_o =>ben_dcp_shd.g_old_rec.dcp_attribute22
340: ,p_dcp_attribute23_o =>ben_dcp_shd.g_old_rec.dcp_attribute23
341: ,p_dcp_attribute24_o =>ben_dcp_shd.g_old_rec.dcp_attribute24
342: ,p_dcp_attribute25_o =>ben_dcp_shd.g_old_rec.dcp_attribute25
335: ,p_dcp_attribute18_o =>ben_dcp_shd.g_old_rec.dcp_attribute18
336: ,p_dcp_attribute19_o =>ben_dcp_shd.g_old_rec.dcp_attribute19
337: ,p_dcp_attribute20_o =>ben_dcp_shd.g_old_rec.dcp_attribute20
338: ,p_dcp_attribute21_o =>ben_dcp_shd.g_old_rec.dcp_attribute21
339: ,p_dcp_attribute22_o =>ben_dcp_shd.g_old_rec.dcp_attribute22
340: ,p_dcp_attribute23_o =>ben_dcp_shd.g_old_rec.dcp_attribute23
341: ,p_dcp_attribute24_o =>ben_dcp_shd.g_old_rec.dcp_attribute24
342: ,p_dcp_attribute25_o =>ben_dcp_shd.g_old_rec.dcp_attribute25
343: ,p_dcp_attribute26_o =>ben_dcp_shd.g_old_rec.dcp_attribute26
336: ,p_dcp_attribute19_o =>ben_dcp_shd.g_old_rec.dcp_attribute19
337: ,p_dcp_attribute20_o =>ben_dcp_shd.g_old_rec.dcp_attribute20
338: ,p_dcp_attribute21_o =>ben_dcp_shd.g_old_rec.dcp_attribute21
339: ,p_dcp_attribute22_o =>ben_dcp_shd.g_old_rec.dcp_attribute22
340: ,p_dcp_attribute23_o =>ben_dcp_shd.g_old_rec.dcp_attribute23
341: ,p_dcp_attribute24_o =>ben_dcp_shd.g_old_rec.dcp_attribute24
342: ,p_dcp_attribute25_o =>ben_dcp_shd.g_old_rec.dcp_attribute25
343: ,p_dcp_attribute26_o =>ben_dcp_shd.g_old_rec.dcp_attribute26
344: ,p_dcp_attribute27_o =>ben_dcp_shd.g_old_rec.dcp_attribute27
337: ,p_dcp_attribute20_o =>ben_dcp_shd.g_old_rec.dcp_attribute20
338: ,p_dcp_attribute21_o =>ben_dcp_shd.g_old_rec.dcp_attribute21
339: ,p_dcp_attribute22_o =>ben_dcp_shd.g_old_rec.dcp_attribute22
340: ,p_dcp_attribute23_o =>ben_dcp_shd.g_old_rec.dcp_attribute23
341: ,p_dcp_attribute24_o =>ben_dcp_shd.g_old_rec.dcp_attribute24
342: ,p_dcp_attribute25_o =>ben_dcp_shd.g_old_rec.dcp_attribute25
343: ,p_dcp_attribute26_o =>ben_dcp_shd.g_old_rec.dcp_attribute26
344: ,p_dcp_attribute27_o =>ben_dcp_shd.g_old_rec.dcp_attribute27
345: ,p_dcp_attribute28_o =>ben_dcp_shd.g_old_rec.dcp_attribute28
338: ,p_dcp_attribute21_o =>ben_dcp_shd.g_old_rec.dcp_attribute21
339: ,p_dcp_attribute22_o =>ben_dcp_shd.g_old_rec.dcp_attribute22
340: ,p_dcp_attribute23_o =>ben_dcp_shd.g_old_rec.dcp_attribute23
341: ,p_dcp_attribute24_o =>ben_dcp_shd.g_old_rec.dcp_attribute24
342: ,p_dcp_attribute25_o =>ben_dcp_shd.g_old_rec.dcp_attribute25
343: ,p_dcp_attribute26_o =>ben_dcp_shd.g_old_rec.dcp_attribute26
344: ,p_dcp_attribute27_o =>ben_dcp_shd.g_old_rec.dcp_attribute27
345: ,p_dcp_attribute28_o =>ben_dcp_shd.g_old_rec.dcp_attribute28
346: ,p_dcp_attribute29_o =>ben_dcp_shd.g_old_rec.dcp_attribute29
339: ,p_dcp_attribute22_o =>ben_dcp_shd.g_old_rec.dcp_attribute22
340: ,p_dcp_attribute23_o =>ben_dcp_shd.g_old_rec.dcp_attribute23
341: ,p_dcp_attribute24_o =>ben_dcp_shd.g_old_rec.dcp_attribute24
342: ,p_dcp_attribute25_o =>ben_dcp_shd.g_old_rec.dcp_attribute25
343: ,p_dcp_attribute26_o =>ben_dcp_shd.g_old_rec.dcp_attribute26
344: ,p_dcp_attribute27_o =>ben_dcp_shd.g_old_rec.dcp_attribute27
345: ,p_dcp_attribute28_o =>ben_dcp_shd.g_old_rec.dcp_attribute28
346: ,p_dcp_attribute29_o =>ben_dcp_shd.g_old_rec.dcp_attribute29
347: ,p_dcp_attribute30_o =>ben_dcp_shd.g_old_rec.dcp_attribute30
340: ,p_dcp_attribute23_o =>ben_dcp_shd.g_old_rec.dcp_attribute23
341: ,p_dcp_attribute24_o =>ben_dcp_shd.g_old_rec.dcp_attribute24
342: ,p_dcp_attribute25_o =>ben_dcp_shd.g_old_rec.dcp_attribute25
343: ,p_dcp_attribute26_o =>ben_dcp_shd.g_old_rec.dcp_attribute26
344: ,p_dcp_attribute27_o =>ben_dcp_shd.g_old_rec.dcp_attribute27
345: ,p_dcp_attribute28_o =>ben_dcp_shd.g_old_rec.dcp_attribute28
346: ,p_dcp_attribute29_o =>ben_dcp_shd.g_old_rec.dcp_attribute29
347: ,p_dcp_attribute30_o =>ben_dcp_shd.g_old_rec.dcp_attribute30
348: ,p_object_version_number_o =>ben_dcp_shd.g_old_rec.object_version_number
341: ,p_dcp_attribute24_o =>ben_dcp_shd.g_old_rec.dcp_attribute24
342: ,p_dcp_attribute25_o =>ben_dcp_shd.g_old_rec.dcp_attribute25
343: ,p_dcp_attribute26_o =>ben_dcp_shd.g_old_rec.dcp_attribute26
344: ,p_dcp_attribute27_o =>ben_dcp_shd.g_old_rec.dcp_attribute27
345: ,p_dcp_attribute28_o =>ben_dcp_shd.g_old_rec.dcp_attribute28
346: ,p_dcp_attribute29_o =>ben_dcp_shd.g_old_rec.dcp_attribute29
347: ,p_dcp_attribute30_o =>ben_dcp_shd.g_old_rec.dcp_attribute30
348: ,p_object_version_number_o =>ben_dcp_shd.g_old_rec.object_version_number
349: );
342: ,p_dcp_attribute25_o =>ben_dcp_shd.g_old_rec.dcp_attribute25
343: ,p_dcp_attribute26_o =>ben_dcp_shd.g_old_rec.dcp_attribute26
344: ,p_dcp_attribute27_o =>ben_dcp_shd.g_old_rec.dcp_attribute27
345: ,p_dcp_attribute28_o =>ben_dcp_shd.g_old_rec.dcp_attribute28
346: ,p_dcp_attribute29_o =>ben_dcp_shd.g_old_rec.dcp_attribute29
347: ,p_dcp_attribute30_o =>ben_dcp_shd.g_old_rec.dcp_attribute30
348: ,p_object_version_number_o =>ben_dcp_shd.g_old_rec.object_version_number
349: );
350: --
343: ,p_dcp_attribute26_o =>ben_dcp_shd.g_old_rec.dcp_attribute26
344: ,p_dcp_attribute27_o =>ben_dcp_shd.g_old_rec.dcp_attribute27
345: ,p_dcp_attribute28_o =>ben_dcp_shd.g_old_rec.dcp_attribute28
346: ,p_dcp_attribute29_o =>ben_dcp_shd.g_old_rec.dcp_attribute29
347: ,p_dcp_attribute30_o =>ben_dcp_shd.g_old_rec.dcp_attribute30
348: ,p_object_version_number_o =>ben_dcp_shd.g_old_rec.object_version_number
349: );
350: --
351: exception
344: ,p_dcp_attribute27_o =>ben_dcp_shd.g_old_rec.dcp_attribute27
345: ,p_dcp_attribute28_o =>ben_dcp_shd.g_old_rec.dcp_attribute28
346: ,p_dcp_attribute29_o =>ben_dcp_shd.g_old_rec.dcp_attribute29
347: ,p_dcp_attribute30_o =>ben_dcp_shd.g_old_rec.dcp_attribute30
348: ,p_object_version_number_o =>ben_dcp_shd.g_old_rec.object_version_number
349: );
350: --
351: exception
352: --
368: -- |---------------------------------< del >----------------------------------|
369: -- ----------------------------------------------------------------------------
370: Procedure del
371: (
372: p_rec in out nocopy ben_dcp_shd.g_rec_type,
373: p_effective_date in date,
374: p_datetrack_mode in varchar2
375: ) is
376: --
386: dt_api.validate_dt_del_mode(p_datetrack_mode => p_datetrack_mode);
387: --
388: -- We must lock the row which we need to delete.
389: --
390: ben_dcp_shd.lck
391: (p_effective_date => p_effective_date,
392: p_datetrack_mode => p_datetrack_mode,
393: p_dpnt_cvrd_plip_rt_id => p_rec.dpnt_cvrd_plip_rt_id,
394: p_object_version_number => p_rec.object_version_number,
444: p_effective_date in date,
445: p_datetrack_mode in varchar2
446: ) is
447: --
448: l_rec ben_dcp_shd.g_rec_type;
449: l_proc varchar2(72) := g_package||'del';
450: --
451: Begin
452: hr_utility.set_location('Entering:'||l_proc, 5);