50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure dt_delete_dml
54: (p_rec in out nocopy ben_pcx_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_pcx_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_pl_bnf_ctfn_f
72: where pl_bnf_ctfn_id = p_rec.pl_bnf_ctfn_id
73: and effective_start_date = p_validation_start_date;
74: --
75: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: hr_utility.set_location(l_proc, 15);
78: ben_pcx_shd.g_api_dml := true; -- Set the api dml status
79: --
74: --
75: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: hr_utility.set_location(l_proc, 15);
78: ben_pcx_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_pl_bnf_ctfn_f
84: where pl_bnf_ctfn_id = p_rec.pl_bnf_ctfn_id
85: and effective_start_date >= p_validation_start_date;
86: --
87: ben_pcx_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_pcx_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_pcx_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_pcx_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_pcx_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_pcx_shd.upd_effective_end_date
180: (p_effective_date => p_effective_date,
181: p_base_key_value => p_rec.pl_bnf_ctfn_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_pcx_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_pcx_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_pcx_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
311: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
312: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
313: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
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_pcx_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
311: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
312: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
313: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
314: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
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_pcx_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
311: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
312: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
313: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
314: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
315: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
308: ,p_effective_end_date =>p_rec.effective_end_date
309: ,p_effective_start_date_o =>ben_pcx_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
311: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
312: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
313: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
314: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
315: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
316: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
309: ,p_effective_start_date_o =>ben_pcx_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
311: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
312: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
313: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
314: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
315: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
316: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
317: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
310: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
311: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
312: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
313: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
314: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
315: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
316: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
317: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
318: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
311: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
312: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
313: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
314: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
315: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
316: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
317: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
318: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
319: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
312: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
313: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
314: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
315: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
316: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
317: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
318: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
319: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
320: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
313: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
314: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
315: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
316: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
317: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
318: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
319: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
320: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
321: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
314: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
315: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
316: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
317: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
318: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
319: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
320: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
321: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
322: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
315: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
316: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
317: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
318: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
319: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
320: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
321: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
322: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
323: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
316: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
317: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
318: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
319: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
320: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
321: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
322: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
323: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
324: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
317: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
318: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
319: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
320: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
321: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
322: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
323: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
324: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
325: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
318: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
319: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
320: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
321: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
322: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
323: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
324: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
325: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
326: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
319: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
320: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
321: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
322: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
323: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
324: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
325: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
326: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
327: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
320: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
321: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
322: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
323: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
324: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
325: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
326: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
327: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
328: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
321: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
322: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
323: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
324: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
325: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
326: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
327: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
328: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
329: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
322: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
323: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
324: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
325: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
326: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
327: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
328: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
329: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
330: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
323: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
324: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
325: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
326: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
327: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
328: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
329: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
330: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
331: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
324: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
325: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
326: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
327: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
328: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
329: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
330: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
331: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
332: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
325: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
326: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
327: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
328: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
329: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
330: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
331: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
332: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
333: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
326: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
327: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
328: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
329: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
330: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
331: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
332: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
333: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
334: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
327: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
328: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
329: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
330: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
331: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
332: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
333: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
334: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
335: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
328: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
329: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
330: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
331: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
332: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
333: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
334: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
335: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
336: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
329: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
330: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
331: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
332: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
333: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
334: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
335: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
336: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
337: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
330: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
331: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
332: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
333: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
334: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
335: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
336: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
337: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
338: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
331: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
332: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
333: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
334: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
335: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
336: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
337: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
338: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
339: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
332: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
333: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
334: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
335: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
336: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
337: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
338: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
339: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
340: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
333: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
334: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
335: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
336: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
337: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
338: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
339: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
340: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
341: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
334: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
335: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
336: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
337: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
338: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
339: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
340: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
341: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
342: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
335: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
336: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
337: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
338: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
339: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
340: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
341: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
342: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
343: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
336: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
337: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
338: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
339: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
340: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
341: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
342: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
343: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
344: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
337: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
338: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
339: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
340: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
341: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
342: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
343: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
344: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
345: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
338: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
339: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
340: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
341: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
342: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
343: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
344: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
345: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
346: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
339: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
340: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
341: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
342: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
343: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
344: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
345: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
346: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
347: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
340: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
341: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
342: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
343: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
344: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
345: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
346: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
347: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
348: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
341: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
342: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
343: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
344: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
345: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
346: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
347: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
348: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
349: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
342: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
343: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
344: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
345: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
346: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
347: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
348: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
349: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
350: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
343: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
344: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
345: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
346: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
347: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
348: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
349: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
350: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
351: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
344: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
345: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
346: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
347: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
348: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
349: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
350: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
351: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
352: );
345: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
346: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
347: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
348: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
349: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
350: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
351: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
352: );
353: --
346: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
347: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
348: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
349: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
350: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
351: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
352: );
353: --
354: exception
347: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
348: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
349: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
350: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
351: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
352: );
353: --
354: exception
355: --
371: -- |---------------------------------< del >----------------------------------|
372: -- ----------------------------------------------------------------------------
373: Procedure del
374: (
375: p_rec in out nocopy ben_pcx_shd.g_rec_type,
376: p_effective_date in date,
377: p_datetrack_mode in varchar2
378: ) is
379: --
389: dt_api.validate_dt_del_mode(p_datetrack_mode => p_datetrack_mode);
390: --
391: -- We must lock the row which we need to delete.
392: --
393: ben_pcx_shd.lck
394: (p_effective_date => p_effective_date,
395: p_datetrack_mode => p_datetrack_mode,
396: p_pl_bnf_ctfn_id => p_rec.pl_bnf_ctfn_id,
397: p_object_version_number => p_rec.object_version_number,
447: p_effective_date in date,
448: p_datetrack_mode in varchar2
449: ) is
450: --
451: l_rec ben_pcx_shd.g_rec_type;
452: l_proc varchar2(72) := g_package||'del';
453: --
454: Begin
455: hr_utility.set_location('Entering:'||l_proc, 5);