50: --
51: -- {End Of Comments}
52: -- ----------------------------------------------------------------------------
53: Procedure dt_delete_dml
54: (p_rec in out nocopy ben_pcm_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_pcm_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_f
72: where per_cm_id = p_rec.per_cm_id
73: and effective_start_date = p_validation_start_date;
74: --
75: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: hr_utility.set_location(l_proc, 15);
78: ben_pcm_shd.g_api_dml := true; -- Set the api dml status
79: --
74: --
75: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
76: Else
77: hr_utility.set_location(l_proc, 15);
78: ben_pcm_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_f
84: where per_cm_id = p_rec.per_cm_id
85: and effective_start_date >= p_validation_start_date;
86: --
87: ben_pcm_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_pcm_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_pcm_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_pcm_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_pcm_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_pcm_shd.upd_effective_end_date
180: (p_effective_date => p_effective_date,
181: p_base_key_value => p_rec.per_cm_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_pcm_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_pcm_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_pcm_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
311: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
312: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
313: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_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_pcm_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
311: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
312: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
313: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
314: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_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_pcm_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
311: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
312: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
313: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
314: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
315: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
308: ,p_effective_end_date =>p_rec.effective_end_date
309: ,p_effective_start_date_o =>ben_pcm_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
311: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
312: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
313: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
314: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
315: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
316: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
309: ,p_effective_start_date_o =>ben_pcm_shd.g_old_rec.effective_start_date
310: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
311: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
312: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
313: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
314: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
315: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
316: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
317: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
310: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
311: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
312: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
313: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
314: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
315: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
316: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
317: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
318: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
311: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
312: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
313: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
314: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
315: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
316: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
317: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
318: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
319: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
312: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
313: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
314: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
315: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
316: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
317: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
318: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
319: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
320: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
313: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
314: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
315: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
316: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
317: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
318: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
319: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
320: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
321: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
314: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
315: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
316: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
317: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
318: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
319: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
320: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
321: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
322: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
315: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
316: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
317: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
318: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
319: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
320: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
321: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
322: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
323: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
316: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
317: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
318: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
319: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
320: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
321: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
322: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
323: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
324: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
317: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
318: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
319: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
320: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
321: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
322: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
323: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
324: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
325: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
318: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
319: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
320: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
321: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
322: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
323: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
324: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
325: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
326: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
319: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
320: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
321: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
322: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
323: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
324: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
325: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
326: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
327: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
320: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
321: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
322: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
323: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
324: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
325: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
326: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
327: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
328: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
321: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
322: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
323: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
324: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
325: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
326: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
327: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
328: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
329: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
322: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
323: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
324: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
325: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
326: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
327: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
328: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
329: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
330: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
323: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
324: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
325: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
326: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
327: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
328: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
329: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
330: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
331: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
324: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
325: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
326: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
327: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
328: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
329: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
330: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
331: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
332: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
325: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
326: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
327: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
328: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
329: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
330: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
331: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
332: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
333: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
326: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
327: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
328: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
329: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
330: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
331: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
332: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
333: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
334: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
327: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
328: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
329: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
330: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
331: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
332: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
333: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
334: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
335: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
328: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
329: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
330: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
331: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
332: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
333: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
334: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
335: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
336: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
329: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
330: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
331: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
332: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
333: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
334: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
335: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
336: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
337: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
330: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
331: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
332: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
333: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
334: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
335: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
336: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
337: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
338: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
331: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
332: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
333: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
334: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
335: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
336: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
337: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
338: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
339: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
332: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
333: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
334: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
335: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
336: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
337: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
338: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
339: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
340: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
333: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
334: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
335: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
336: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
337: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
338: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
339: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
340: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
341: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
334: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
335: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
336: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
337: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
338: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
339: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
340: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
341: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
342: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
335: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
336: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
337: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
338: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
339: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
340: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
341: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
342: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
343: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
336: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
337: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
338: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
339: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
340: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
341: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
342: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
343: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
344: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
337: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
338: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
339: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
340: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
341: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
342: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
343: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
344: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
345: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
338: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
339: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
340: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
341: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
342: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
343: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
344: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
345: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
346: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
339: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
340: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
341: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
342: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
343: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
344: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
345: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
346: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
347: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
340: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
341: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
342: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
343: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
344: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
345: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
346: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
347: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
348: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
341: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
342: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
343: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
344: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
345: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
346: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
347: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
348: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
349: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
342: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
343: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
344: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
345: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
346: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
347: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
348: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
349: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
350: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
343: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
344: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
345: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
346: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
347: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
348: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
349: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
350: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
351: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
344: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
345: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
346: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
347: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
348: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
349: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
350: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
351: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
352: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
345: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
346: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
347: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
348: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
349: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
350: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
351: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
352: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
353: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
346: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
347: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
348: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
349: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
350: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
351: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
352: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
353: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
354: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
347: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
348: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
349: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
350: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
351: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
352: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
353: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
354: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
355: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
348: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
349: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
350: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
351: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
352: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
353: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
354: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
355: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
356: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
349: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
350: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
351: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
352: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
353: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
354: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
355: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
356: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
357: );
350: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
351: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
352: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
353: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
354: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
355: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
356: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
357: );
358: --
351: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
352: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
353: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
354: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
355: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
356: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
357: );
358: --
359: exception
352: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
353: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
354: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
355: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
356: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
357: );
358: --
359: exception
360: --
376: -- |---------------------------------< del >----------------------------------|
377: -- ----------------------------------------------------------------------------
378: Procedure del
379: (
380: p_rec in out nocopy ben_pcm_shd.g_rec_type,
381: p_effective_date in date,
382: p_datetrack_mode in varchar2
383: ) is
384: --
394: dt_api.validate_dt_del_mode(p_datetrack_mode => p_datetrack_mode);
395: --
396: -- We must lock the row which we need to delete.
397: --
398: ben_pcm_shd.lck
399: (p_effective_date => p_effective_date,
400: p_datetrack_mode => p_datetrack_mode,
401: p_per_cm_id => p_rec.per_cm_id,
402: p_object_version_number => p_rec.object_version_number,
452: p_effective_date in date,
453: p_datetrack_mode in varchar2
454: ) is
455: --
456: l_rec ben_pcm_shd.g_rec_type;
457: l_proc varchar2(72) := g_package||'del';
458: --
459: Begin
460: hr_utility.set_location('Entering:'||l_proc, 5);