54: --
55: -- {End Of Comments}
56: -- ----------------------------------------------------------------------------
57: Procedure dt_update_dml
58: (p_rec in out nocopy ben_pcm_shd.g_rec_type,
59: p_effective_date in date,
60: p_datetrack_mode in varchar2,
61: p_validation_start_date in date,
62: p_validation_end_date in date) is
77: (p_base_table_name => 'ben_per_cm_f',
78: p_base_key_column => 'per_cm_id',
79: p_base_key_value => p_rec.per_cm_id);
80: --
81: ben_pcm_shd.g_api_dml := true; -- Set the api dml status
82: --
83: -- Update the ben_per_cm_f Row
84: --
85: update ben_per_cm_f
134: where per_cm_id = p_rec.per_cm_id
135: and effective_start_date = p_validation_start_date
136: and effective_end_date = p_validation_end_date;
137: --
138: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
139: --
140: -- Set the effective start and end dates
141: --
142: p_rec.effective_start_date := p_validation_start_date;
146: hr_utility.set_location(' Leaving:'||l_proc, 15);
147: Exception
148: When hr_api.check_integrity_violated Then
149: -- A check constraint has been violated
150: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
151: ben_pcm_shd.constraint_error
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When hr_api.unique_integrity_violated Then
154: -- Unique integrity has been violated
147: Exception
148: When hr_api.check_integrity_violated Then
149: -- A check constraint has been violated
150: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
151: ben_pcm_shd.constraint_error
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When hr_api.unique_integrity_violated Then
154: -- Unique integrity has been violated
155: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
151: ben_pcm_shd.constraint_error
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When hr_api.unique_integrity_violated Then
154: -- Unique integrity has been violated
155: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
156: ben_pcm_shd.constraint_error
157: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
158: When Others Then
159: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When hr_api.unique_integrity_violated Then
154: -- Unique integrity has been violated
155: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
156: ben_pcm_shd.constraint_error
157: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
158: When Others Then
159: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
160: Raise;
155: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
156: ben_pcm_shd.constraint_error
157: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
158: When Others Then
159: ben_pcm_shd.g_api_dml := false; -- Unset the api dml status
160: Raise;
161: End dt_update_dml;
162: --
163: -- ----------------------------------------------------------------------------
191: --
192: -- {End Of Comments}
193: -- ----------------------------------------------------------------------------
194: Procedure update_dml
195: (p_rec in out nocopy ben_pcm_shd.g_rec_type,
196: p_effective_date in date,
197: p_datetrack_mode in varchar2,
198: p_validation_start_date in date,
199: p_validation_end_date in date) is
255: --
256: -- {End Of Comments}
257: -- ----------------------------------------------------------------------------
258: Procedure dt_pre_update
259: (p_rec in out nocopy ben_pcm_shd.g_rec_type,
260: p_effective_date in date,
261: p_datetrack_mode in varchar2,
262: p_validation_start_date in date,
263: p_validation_end_date in date) is
271: hr_utility.set_location(l_proc, 10);
272: --
273: -- Update the current effective end date
274: --
275: ben_pcm_shd.upd_effective_end_date
276: (p_effective_date => p_effective_date,
277: p_base_key_value => p_rec.per_cm_id,
278: p_new_effective_end_date => (p_validation_start_date - 1),
279: p_validation_start_date => p_validation_start_date,
340: --
341: -- {End Of Comments}
342: -- ----------------------------------------------------------------------------
343: Procedure pre_update
344: (p_rec in out nocopy ben_pcm_shd.g_rec_type,
345: p_effective_date in date,
346: p_datetrack_mode in varchar2,
347: p_validation_start_date in date,
348: p_validation_end_date in date) is
396: --
397: -- {End Of Comments}
398: -- ----------------------------------------------------------------------------
399: Procedure post_update
400: (p_rec in ben_pcm_shd.g_rec_type,
401: p_effective_date in date,
402: p_datetrack_mode in varchar2,
403: p_validation_start_date in date,
404: p_validation_end_date in date) is
467: ,p_effective_date =>p_effective_date
468: ,p_datetrack_mode =>p_datetrack_mode
469: ,p_validation_start_date =>p_validation_start_date
470: ,p_validation_end_date =>p_validation_end_date
471: ,p_effective_start_date_o =>ben_pcm_shd.g_old_rec.effective_start_date
472: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
473: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
474: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
475: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
468: ,p_datetrack_mode =>p_datetrack_mode
469: ,p_validation_start_date =>p_validation_start_date
470: ,p_validation_end_date =>p_validation_end_date
471: ,p_effective_start_date_o =>ben_pcm_shd.g_old_rec.effective_start_date
472: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
473: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
474: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
475: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
476: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
469: ,p_validation_start_date =>p_validation_start_date
470: ,p_validation_end_date =>p_validation_end_date
471: ,p_effective_start_date_o =>ben_pcm_shd.g_old_rec.effective_start_date
472: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
473: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
474: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
475: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
476: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
477: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
470: ,p_validation_end_date =>p_validation_end_date
471: ,p_effective_start_date_o =>ben_pcm_shd.g_old_rec.effective_start_date
472: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
473: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
474: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
475: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
476: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
477: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
478: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
471: ,p_effective_start_date_o =>ben_pcm_shd.g_old_rec.effective_start_date
472: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
473: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
474: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
475: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
476: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
477: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
478: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
479: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
472: ,p_effective_end_date_o =>ben_pcm_shd.g_old_rec.effective_end_date
473: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
474: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
475: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
476: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
477: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
478: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
479: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
480: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
473: ,p_lf_evt_ocrd_dt_o =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
474: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
475: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
476: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
477: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
478: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
479: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
480: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
481: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
474: ,p_rqstbl_untl_dt_o =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
475: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
476: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
477: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
478: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
479: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
480: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
481: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
482: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
475: ,p_ler_id_o =>ben_pcm_shd.g_old_rec.ler_id
476: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
477: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
478: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
479: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
480: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
481: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
482: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
483: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
476: ,p_per_in_ler_id_o =>ben_pcm_shd.g_old_rec.per_in_ler_id
477: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
478: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
479: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
480: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
481: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
482: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
483: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
484: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
477: ,p_prtt_enrt_actn_id_o =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
478: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
479: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
480: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
481: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
482: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
483: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
484: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
485: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
478: ,p_person_id_o =>ben_pcm_shd.g_old_rec.person_id
479: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
480: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
481: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
482: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
483: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
484: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
485: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
486: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
479: ,p_bnf_person_id_o =>ben_pcm_shd.g_old_rec.bnf_person_id
480: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
481: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
482: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
483: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
484: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
485: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
486: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
487: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
480: ,p_dpnt_person_id_o =>ben_pcm_shd.g_old_rec.dpnt_person_id
481: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
482: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
483: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
484: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
485: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
486: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
487: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
488: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
481: ,p_cm_typ_id_o =>ben_pcm_shd.g_old_rec.cm_typ_id
482: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
483: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
484: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
485: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
486: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
487: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
488: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
489: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
482: ,p_business_group_id_o =>ben_pcm_shd.g_old_rec.business_group_id
483: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
484: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
485: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
486: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
487: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
488: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
489: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
490: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
483: ,p_pcm_attribute_category_o =>ben_pcm_shd.g_old_rec.pcm_attribute_category
484: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
485: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
486: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
487: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
488: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
489: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
490: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
491: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
484: ,p_pcm_attribute1_o =>ben_pcm_shd.g_old_rec.pcm_attribute1
485: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
486: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
487: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
488: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
489: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
490: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
491: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
492: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
485: ,p_pcm_attribute2_o =>ben_pcm_shd.g_old_rec.pcm_attribute2
486: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
487: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
488: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
489: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
490: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
491: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
492: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
493: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
486: ,p_pcm_attribute3_o =>ben_pcm_shd.g_old_rec.pcm_attribute3
487: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
488: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
489: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
490: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
491: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
492: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
493: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
494: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
487: ,p_pcm_attribute4_o =>ben_pcm_shd.g_old_rec.pcm_attribute4
488: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
489: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
490: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
491: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
492: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
493: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
494: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
495: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
488: ,p_pcm_attribute5_o =>ben_pcm_shd.g_old_rec.pcm_attribute5
489: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
490: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
491: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
492: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
493: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
494: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
495: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
496: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
489: ,p_pcm_attribute6_o =>ben_pcm_shd.g_old_rec.pcm_attribute6
490: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
491: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
492: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
493: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
494: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
495: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
496: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
497: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
490: ,p_pcm_attribute7_o =>ben_pcm_shd.g_old_rec.pcm_attribute7
491: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
492: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
493: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
494: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
495: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
496: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
497: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
498: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
491: ,p_pcm_attribute8_o =>ben_pcm_shd.g_old_rec.pcm_attribute8
492: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
493: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
494: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
495: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
496: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
497: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
498: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
499: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
492: ,p_pcm_attribute9_o =>ben_pcm_shd.g_old_rec.pcm_attribute9
493: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
494: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
495: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
496: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
497: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
498: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
499: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
500: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
493: ,p_pcm_attribute10_o =>ben_pcm_shd.g_old_rec.pcm_attribute10
494: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
495: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
496: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
497: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
498: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
499: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
500: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
501: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
494: ,p_pcm_attribute11_o =>ben_pcm_shd.g_old_rec.pcm_attribute11
495: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
496: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
497: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
498: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
499: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
500: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
501: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
502: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
495: ,p_pcm_attribute12_o =>ben_pcm_shd.g_old_rec.pcm_attribute12
496: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
497: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
498: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
499: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
500: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
501: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
502: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
503: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
496: ,p_pcm_attribute13_o =>ben_pcm_shd.g_old_rec.pcm_attribute13
497: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
498: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
499: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
500: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
501: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
502: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
503: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
504: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
497: ,p_pcm_attribute14_o =>ben_pcm_shd.g_old_rec.pcm_attribute14
498: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
499: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
500: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
501: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
502: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
503: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
504: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
505: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
498: ,p_pcm_attribute15_o =>ben_pcm_shd.g_old_rec.pcm_attribute15
499: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
500: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
501: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
502: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
503: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
504: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
505: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
506: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
499: ,p_pcm_attribute16_o =>ben_pcm_shd.g_old_rec.pcm_attribute16
500: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
501: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
502: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
503: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
504: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
505: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
506: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
507: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
500: ,p_pcm_attribute17_o =>ben_pcm_shd.g_old_rec.pcm_attribute17
501: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
502: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
503: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
504: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
505: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
506: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
507: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
508: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
501: ,p_pcm_attribute18_o =>ben_pcm_shd.g_old_rec.pcm_attribute18
502: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
503: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
504: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
505: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
506: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
507: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
508: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
509: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
502: ,p_pcm_attribute19_o =>ben_pcm_shd.g_old_rec.pcm_attribute19
503: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
504: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
505: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
506: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
507: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
508: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
509: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
510: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
503: ,p_pcm_attribute20_o =>ben_pcm_shd.g_old_rec.pcm_attribute20
504: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
505: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
506: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
507: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
508: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
509: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
510: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
511: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
504: ,p_pcm_attribute21_o =>ben_pcm_shd.g_old_rec.pcm_attribute21
505: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
506: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
507: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
508: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
509: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
510: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
511: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
512: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
505: ,p_pcm_attribute22_o =>ben_pcm_shd.g_old_rec.pcm_attribute22
506: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
507: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
508: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
509: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
510: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
511: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
512: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
513: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
506: ,p_pcm_attribute23_o =>ben_pcm_shd.g_old_rec.pcm_attribute23
507: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
508: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
509: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
510: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
511: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
512: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
513: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
514: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
507: ,p_pcm_attribute24_o =>ben_pcm_shd.g_old_rec.pcm_attribute24
508: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
509: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
510: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
511: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
512: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
513: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
514: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
515: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
508: ,p_pcm_attribute25_o =>ben_pcm_shd.g_old_rec.pcm_attribute25
509: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
510: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
511: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
512: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
513: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
514: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
515: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
516: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
509: ,p_pcm_attribute26_o =>ben_pcm_shd.g_old_rec.pcm_attribute26
510: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
511: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
512: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
513: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
514: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
515: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
516: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
517: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
510: ,p_pcm_attribute27_o =>ben_pcm_shd.g_old_rec.pcm_attribute27
511: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
512: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
513: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
514: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
515: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
516: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
517: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
518: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
511: ,p_pcm_attribute28_o =>ben_pcm_shd.g_old_rec.pcm_attribute28
512: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
513: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
514: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
515: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
516: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
517: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
518: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
519: );
512: ,p_pcm_attribute29_o =>ben_pcm_shd.g_old_rec.pcm_attribute29
513: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
514: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
515: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
516: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
517: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
518: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
519: );
520: --
513: ,p_pcm_attribute30_o =>ben_pcm_shd.g_old_rec.pcm_attribute30
514: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
515: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
516: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
517: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
518: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
519: );
520: --
521: exception
514: ,p_request_id_o =>ben_pcm_shd.g_old_rec.request_id
515: ,p_program_application_id_o =>ben_pcm_shd.g_old_rec.program_application_id
516: ,p_program_id_o =>ben_pcm_shd.g_old_rec.program_id
517: ,p_program_update_date_o =>ben_pcm_shd.g_old_rec.program_update_date
518: ,p_object_version_number_o =>ben_pcm_shd.g_old_rec.object_version_number
519: );
520: --
521: exception
522: --
576: -- Internal Row Handler Use Only.
577: --
578: -- {End Of Comments}
579: -- ----------------------------------------------------------------------------
580: Procedure convert_defs(p_rec in out nocopy ben_pcm_shd.g_rec_type) is
581: --
582: l_proc varchar2(72) := g_package||'convert_defs';
583: --
584: Begin
591: -- is being used then we must set to the 'current' argument value.
592: --
593: If (p_rec.lf_evt_ocrd_dt = hr_api.g_date) then
594: p_rec.lf_evt_ocrd_dt :=
595: ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt;
596: End If;
597: If (p_rec.rqstbl_untl_dt = hr_api.g_date) then
598: p_rec.rqstbl_untl_dt :=
599: ben_pcm_shd.g_old_rec.rqstbl_untl_dt;
595: ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt;
596: End If;
597: If (p_rec.rqstbl_untl_dt = hr_api.g_date) then
598: p_rec.rqstbl_untl_dt :=
599: ben_pcm_shd.g_old_rec.rqstbl_untl_dt;
600: End If;
601: If (p_rec.ler_id = hr_api.g_number) then
602: p_rec.ler_id :=
603: ben_pcm_shd.g_old_rec.ler_id;
599: ben_pcm_shd.g_old_rec.rqstbl_untl_dt;
600: End If;
601: If (p_rec.ler_id = hr_api.g_number) then
602: p_rec.ler_id :=
603: ben_pcm_shd.g_old_rec.ler_id;
604: End If;
605: If (p_rec.per_in_ler_id = hr_api.g_number) then
606: p_rec.per_in_ler_id :=
607: ben_pcm_shd.g_old_rec.per_in_ler_id;
603: ben_pcm_shd.g_old_rec.ler_id;
604: End If;
605: If (p_rec.per_in_ler_id = hr_api.g_number) then
606: p_rec.per_in_ler_id :=
607: ben_pcm_shd.g_old_rec.per_in_ler_id;
608: End If;
609: If (p_rec.prtt_enrt_actn_id = hr_api.g_number) then
610: p_rec.prtt_enrt_actn_id :=
611: ben_pcm_shd.g_old_rec.prtt_enrt_actn_id;
607: ben_pcm_shd.g_old_rec.per_in_ler_id;
608: End If;
609: If (p_rec.prtt_enrt_actn_id = hr_api.g_number) then
610: p_rec.prtt_enrt_actn_id :=
611: ben_pcm_shd.g_old_rec.prtt_enrt_actn_id;
612: End If;
613: If (p_rec.person_id = hr_api.g_number) then
614: p_rec.person_id :=
615: ben_pcm_shd.g_old_rec.person_id;
611: ben_pcm_shd.g_old_rec.prtt_enrt_actn_id;
612: End If;
613: If (p_rec.person_id = hr_api.g_number) then
614: p_rec.person_id :=
615: ben_pcm_shd.g_old_rec.person_id;
616: End If;
617: If (p_rec.bnf_person_id = hr_api.g_number) then
618: p_rec.bnf_person_id :=
619: ben_pcm_shd.g_old_rec.bnf_person_id;
615: ben_pcm_shd.g_old_rec.person_id;
616: End If;
617: If (p_rec.bnf_person_id = hr_api.g_number) then
618: p_rec.bnf_person_id :=
619: ben_pcm_shd.g_old_rec.bnf_person_id;
620: End If;
621: If (p_rec.dpnt_person_id = hr_api.g_number) then
622: p_rec.dpnt_person_id :=
623: ben_pcm_shd.g_old_rec.dpnt_person_id;
619: ben_pcm_shd.g_old_rec.bnf_person_id;
620: End If;
621: If (p_rec.dpnt_person_id = hr_api.g_number) then
622: p_rec.dpnt_person_id :=
623: ben_pcm_shd.g_old_rec.dpnt_person_id;
624: End If;
625: If (p_rec.cm_typ_id = hr_api.g_number) then
626: p_rec.cm_typ_id :=
627: ben_pcm_shd.g_old_rec.cm_typ_id;
623: ben_pcm_shd.g_old_rec.dpnt_person_id;
624: End If;
625: If (p_rec.cm_typ_id = hr_api.g_number) then
626: p_rec.cm_typ_id :=
627: ben_pcm_shd.g_old_rec.cm_typ_id;
628: End If;
629: If (p_rec.business_group_id = hr_api.g_number) then
630: p_rec.business_group_id :=
631: ben_pcm_shd.g_old_rec.business_group_id;
627: ben_pcm_shd.g_old_rec.cm_typ_id;
628: End If;
629: If (p_rec.business_group_id = hr_api.g_number) then
630: p_rec.business_group_id :=
631: ben_pcm_shd.g_old_rec.business_group_id;
632: End If;
633: If (p_rec.pcm_attribute_category = hr_api.g_varchar2) then
634: p_rec.pcm_attribute_category :=
635: ben_pcm_shd.g_old_rec.pcm_attribute_category;
631: ben_pcm_shd.g_old_rec.business_group_id;
632: End If;
633: If (p_rec.pcm_attribute_category = hr_api.g_varchar2) then
634: p_rec.pcm_attribute_category :=
635: ben_pcm_shd.g_old_rec.pcm_attribute_category;
636: End If;
637: If (p_rec.pcm_attribute1 = hr_api.g_varchar2) then
638: p_rec.pcm_attribute1 :=
639: ben_pcm_shd.g_old_rec.pcm_attribute1;
635: ben_pcm_shd.g_old_rec.pcm_attribute_category;
636: End If;
637: If (p_rec.pcm_attribute1 = hr_api.g_varchar2) then
638: p_rec.pcm_attribute1 :=
639: ben_pcm_shd.g_old_rec.pcm_attribute1;
640: End If;
641: If (p_rec.pcm_attribute2 = hr_api.g_varchar2) then
642: p_rec.pcm_attribute2 :=
643: ben_pcm_shd.g_old_rec.pcm_attribute2;
639: ben_pcm_shd.g_old_rec.pcm_attribute1;
640: End If;
641: If (p_rec.pcm_attribute2 = hr_api.g_varchar2) then
642: p_rec.pcm_attribute2 :=
643: ben_pcm_shd.g_old_rec.pcm_attribute2;
644: End If;
645: If (p_rec.pcm_attribute3 = hr_api.g_varchar2) then
646: p_rec.pcm_attribute3 :=
647: ben_pcm_shd.g_old_rec.pcm_attribute3;
643: ben_pcm_shd.g_old_rec.pcm_attribute2;
644: End If;
645: If (p_rec.pcm_attribute3 = hr_api.g_varchar2) then
646: p_rec.pcm_attribute3 :=
647: ben_pcm_shd.g_old_rec.pcm_attribute3;
648: End If;
649: If (p_rec.pcm_attribute4 = hr_api.g_varchar2) then
650: p_rec.pcm_attribute4 :=
651: ben_pcm_shd.g_old_rec.pcm_attribute4;
647: ben_pcm_shd.g_old_rec.pcm_attribute3;
648: End If;
649: If (p_rec.pcm_attribute4 = hr_api.g_varchar2) then
650: p_rec.pcm_attribute4 :=
651: ben_pcm_shd.g_old_rec.pcm_attribute4;
652: End If;
653: If (p_rec.pcm_attribute5 = hr_api.g_varchar2) then
654: p_rec.pcm_attribute5 :=
655: ben_pcm_shd.g_old_rec.pcm_attribute5;
651: ben_pcm_shd.g_old_rec.pcm_attribute4;
652: End If;
653: If (p_rec.pcm_attribute5 = hr_api.g_varchar2) then
654: p_rec.pcm_attribute5 :=
655: ben_pcm_shd.g_old_rec.pcm_attribute5;
656: End If;
657: If (p_rec.pcm_attribute6 = hr_api.g_varchar2) then
658: p_rec.pcm_attribute6 :=
659: ben_pcm_shd.g_old_rec.pcm_attribute6;
655: ben_pcm_shd.g_old_rec.pcm_attribute5;
656: End If;
657: If (p_rec.pcm_attribute6 = hr_api.g_varchar2) then
658: p_rec.pcm_attribute6 :=
659: ben_pcm_shd.g_old_rec.pcm_attribute6;
660: End If;
661: If (p_rec.pcm_attribute7 = hr_api.g_varchar2) then
662: p_rec.pcm_attribute7 :=
663: ben_pcm_shd.g_old_rec.pcm_attribute7;
659: ben_pcm_shd.g_old_rec.pcm_attribute6;
660: End If;
661: If (p_rec.pcm_attribute7 = hr_api.g_varchar2) then
662: p_rec.pcm_attribute7 :=
663: ben_pcm_shd.g_old_rec.pcm_attribute7;
664: End If;
665: If (p_rec.pcm_attribute8 = hr_api.g_varchar2) then
666: p_rec.pcm_attribute8 :=
667: ben_pcm_shd.g_old_rec.pcm_attribute8;
663: ben_pcm_shd.g_old_rec.pcm_attribute7;
664: End If;
665: If (p_rec.pcm_attribute8 = hr_api.g_varchar2) then
666: p_rec.pcm_attribute8 :=
667: ben_pcm_shd.g_old_rec.pcm_attribute8;
668: End If;
669: If (p_rec.pcm_attribute9 = hr_api.g_varchar2) then
670: p_rec.pcm_attribute9 :=
671: ben_pcm_shd.g_old_rec.pcm_attribute9;
667: ben_pcm_shd.g_old_rec.pcm_attribute8;
668: End If;
669: If (p_rec.pcm_attribute9 = hr_api.g_varchar2) then
670: p_rec.pcm_attribute9 :=
671: ben_pcm_shd.g_old_rec.pcm_attribute9;
672: End If;
673: If (p_rec.pcm_attribute10 = hr_api.g_varchar2) then
674: p_rec.pcm_attribute10 :=
675: ben_pcm_shd.g_old_rec.pcm_attribute10;
671: ben_pcm_shd.g_old_rec.pcm_attribute9;
672: End If;
673: If (p_rec.pcm_attribute10 = hr_api.g_varchar2) then
674: p_rec.pcm_attribute10 :=
675: ben_pcm_shd.g_old_rec.pcm_attribute10;
676: End If;
677: If (p_rec.pcm_attribute11 = hr_api.g_varchar2) then
678: p_rec.pcm_attribute11 :=
679: ben_pcm_shd.g_old_rec.pcm_attribute11;
675: ben_pcm_shd.g_old_rec.pcm_attribute10;
676: End If;
677: If (p_rec.pcm_attribute11 = hr_api.g_varchar2) then
678: p_rec.pcm_attribute11 :=
679: ben_pcm_shd.g_old_rec.pcm_attribute11;
680: End If;
681: If (p_rec.pcm_attribute12 = hr_api.g_varchar2) then
682: p_rec.pcm_attribute12 :=
683: ben_pcm_shd.g_old_rec.pcm_attribute12;
679: ben_pcm_shd.g_old_rec.pcm_attribute11;
680: End If;
681: If (p_rec.pcm_attribute12 = hr_api.g_varchar2) then
682: p_rec.pcm_attribute12 :=
683: ben_pcm_shd.g_old_rec.pcm_attribute12;
684: End If;
685: If (p_rec.pcm_attribute13 = hr_api.g_varchar2) then
686: p_rec.pcm_attribute13 :=
687: ben_pcm_shd.g_old_rec.pcm_attribute13;
683: ben_pcm_shd.g_old_rec.pcm_attribute12;
684: End If;
685: If (p_rec.pcm_attribute13 = hr_api.g_varchar2) then
686: p_rec.pcm_attribute13 :=
687: ben_pcm_shd.g_old_rec.pcm_attribute13;
688: End If;
689: If (p_rec.pcm_attribute14 = hr_api.g_varchar2) then
690: p_rec.pcm_attribute14 :=
691: ben_pcm_shd.g_old_rec.pcm_attribute14;
687: ben_pcm_shd.g_old_rec.pcm_attribute13;
688: End If;
689: If (p_rec.pcm_attribute14 = hr_api.g_varchar2) then
690: p_rec.pcm_attribute14 :=
691: ben_pcm_shd.g_old_rec.pcm_attribute14;
692: End If;
693: If (p_rec.pcm_attribute15 = hr_api.g_varchar2) then
694: p_rec.pcm_attribute15 :=
695: ben_pcm_shd.g_old_rec.pcm_attribute15;
691: ben_pcm_shd.g_old_rec.pcm_attribute14;
692: End If;
693: If (p_rec.pcm_attribute15 = hr_api.g_varchar2) then
694: p_rec.pcm_attribute15 :=
695: ben_pcm_shd.g_old_rec.pcm_attribute15;
696: End If;
697: If (p_rec.pcm_attribute16 = hr_api.g_varchar2) then
698: p_rec.pcm_attribute16 :=
699: ben_pcm_shd.g_old_rec.pcm_attribute16;
695: ben_pcm_shd.g_old_rec.pcm_attribute15;
696: End If;
697: If (p_rec.pcm_attribute16 = hr_api.g_varchar2) then
698: p_rec.pcm_attribute16 :=
699: ben_pcm_shd.g_old_rec.pcm_attribute16;
700: End If;
701: If (p_rec.pcm_attribute17 = hr_api.g_varchar2) then
702: p_rec.pcm_attribute17 :=
703: ben_pcm_shd.g_old_rec.pcm_attribute17;
699: ben_pcm_shd.g_old_rec.pcm_attribute16;
700: End If;
701: If (p_rec.pcm_attribute17 = hr_api.g_varchar2) then
702: p_rec.pcm_attribute17 :=
703: ben_pcm_shd.g_old_rec.pcm_attribute17;
704: End If;
705: If (p_rec.pcm_attribute18 = hr_api.g_varchar2) then
706: p_rec.pcm_attribute18 :=
707: ben_pcm_shd.g_old_rec.pcm_attribute18;
703: ben_pcm_shd.g_old_rec.pcm_attribute17;
704: End If;
705: If (p_rec.pcm_attribute18 = hr_api.g_varchar2) then
706: p_rec.pcm_attribute18 :=
707: ben_pcm_shd.g_old_rec.pcm_attribute18;
708: End If;
709: If (p_rec.pcm_attribute19 = hr_api.g_varchar2) then
710: p_rec.pcm_attribute19 :=
711: ben_pcm_shd.g_old_rec.pcm_attribute19;
707: ben_pcm_shd.g_old_rec.pcm_attribute18;
708: End If;
709: If (p_rec.pcm_attribute19 = hr_api.g_varchar2) then
710: p_rec.pcm_attribute19 :=
711: ben_pcm_shd.g_old_rec.pcm_attribute19;
712: End If;
713: If (p_rec.pcm_attribute20 = hr_api.g_varchar2) then
714: p_rec.pcm_attribute20 :=
715: ben_pcm_shd.g_old_rec.pcm_attribute20;
711: ben_pcm_shd.g_old_rec.pcm_attribute19;
712: End If;
713: If (p_rec.pcm_attribute20 = hr_api.g_varchar2) then
714: p_rec.pcm_attribute20 :=
715: ben_pcm_shd.g_old_rec.pcm_attribute20;
716: End If;
717: If (p_rec.pcm_attribute21 = hr_api.g_varchar2) then
718: p_rec.pcm_attribute21 :=
719: ben_pcm_shd.g_old_rec.pcm_attribute21;
715: ben_pcm_shd.g_old_rec.pcm_attribute20;
716: End If;
717: If (p_rec.pcm_attribute21 = hr_api.g_varchar2) then
718: p_rec.pcm_attribute21 :=
719: ben_pcm_shd.g_old_rec.pcm_attribute21;
720: End If;
721: If (p_rec.pcm_attribute22 = hr_api.g_varchar2) then
722: p_rec.pcm_attribute22 :=
723: ben_pcm_shd.g_old_rec.pcm_attribute22;
719: ben_pcm_shd.g_old_rec.pcm_attribute21;
720: End If;
721: If (p_rec.pcm_attribute22 = hr_api.g_varchar2) then
722: p_rec.pcm_attribute22 :=
723: ben_pcm_shd.g_old_rec.pcm_attribute22;
724: End If;
725: If (p_rec.pcm_attribute23 = hr_api.g_varchar2) then
726: p_rec.pcm_attribute23 :=
727: ben_pcm_shd.g_old_rec.pcm_attribute23;
723: ben_pcm_shd.g_old_rec.pcm_attribute22;
724: End If;
725: If (p_rec.pcm_attribute23 = hr_api.g_varchar2) then
726: p_rec.pcm_attribute23 :=
727: ben_pcm_shd.g_old_rec.pcm_attribute23;
728: End If;
729: If (p_rec.pcm_attribute24 = hr_api.g_varchar2) then
730: p_rec.pcm_attribute24 :=
731: ben_pcm_shd.g_old_rec.pcm_attribute24;
727: ben_pcm_shd.g_old_rec.pcm_attribute23;
728: End If;
729: If (p_rec.pcm_attribute24 = hr_api.g_varchar2) then
730: p_rec.pcm_attribute24 :=
731: ben_pcm_shd.g_old_rec.pcm_attribute24;
732: End If;
733: If (p_rec.pcm_attribute25 = hr_api.g_varchar2) then
734: p_rec.pcm_attribute25 :=
735: ben_pcm_shd.g_old_rec.pcm_attribute25;
731: ben_pcm_shd.g_old_rec.pcm_attribute24;
732: End If;
733: If (p_rec.pcm_attribute25 = hr_api.g_varchar2) then
734: p_rec.pcm_attribute25 :=
735: ben_pcm_shd.g_old_rec.pcm_attribute25;
736: End If;
737: If (p_rec.pcm_attribute26 = hr_api.g_varchar2) then
738: p_rec.pcm_attribute26 :=
739: ben_pcm_shd.g_old_rec.pcm_attribute26;
735: ben_pcm_shd.g_old_rec.pcm_attribute25;
736: End If;
737: If (p_rec.pcm_attribute26 = hr_api.g_varchar2) then
738: p_rec.pcm_attribute26 :=
739: ben_pcm_shd.g_old_rec.pcm_attribute26;
740: End If;
741: If (p_rec.pcm_attribute27 = hr_api.g_varchar2) then
742: p_rec.pcm_attribute27 :=
743: ben_pcm_shd.g_old_rec.pcm_attribute27;
739: ben_pcm_shd.g_old_rec.pcm_attribute26;
740: End If;
741: If (p_rec.pcm_attribute27 = hr_api.g_varchar2) then
742: p_rec.pcm_attribute27 :=
743: ben_pcm_shd.g_old_rec.pcm_attribute27;
744: End If;
745: If (p_rec.pcm_attribute28 = hr_api.g_varchar2) then
746: p_rec.pcm_attribute28 :=
747: ben_pcm_shd.g_old_rec.pcm_attribute28;
743: ben_pcm_shd.g_old_rec.pcm_attribute27;
744: End If;
745: If (p_rec.pcm_attribute28 = hr_api.g_varchar2) then
746: p_rec.pcm_attribute28 :=
747: ben_pcm_shd.g_old_rec.pcm_attribute28;
748: End If;
749: If (p_rec.pcm_attribute29 = hr_api.g_varchar2) then
750: p_rec.pcm_attribute29 :=
751: ben_pcm_shd.g_old_rec.pcm_attribute29;
747: ben_pcm_shd.g_old_rec.pcm_attribute28;
748: End If;
749: If (p_rec.pcm_attribute29 = hr_api.g_varchar2) then
750: p_rec.pcm_attribute29 :=
751: ben_pcm_shd.g_old_rec.pcm_attribute29;
752: End If;
753: If (p_rec.pcm_attribute30 = hr_api.g_varchar2) then
754: p_rec.pcm_attribute30 :=
755: ben_pcm_shd.g_old_rec.pcm_attribute30;
751: ben_pcm_shd.g_old_rec.pcm_attribute29;
752: End If;
753: If (p_rec.pcm_attribute30 = hr_api.g_varchar2) then
754: p_rec.pcm_attribute30 :=
755: ben_pcm_shd.g_old_rec.pcm_attribute30;
756: End If;
757: If (p_rec.request_id = hr_api.g_number) then
758: p_rec.request_id :=
759: ben_pcm_shd.g_old_rec.request_id;
755: ben_pcm_shd.g_old_rec.pcm_attribute30;
756: End If;
757: If (p_rec.request_id = hr_api.g_number) then
758: p_rec.request_id :=
759: ben_pcm_shd.g_old_rec.request_id;
760: End If;
761: If (p_rec.program_application_id = hr_api.g_number) then
762: p_rec.program_application_id :=
763: ben_pcm_shd.g_old_rec.program_application_id;
759: ben_pcm_shd.g_old_rec.request_id;
760: End If;
761: If (p_rec.program_application_id = hr_api.g_number) then
762: p_rec.program_application_id :=
763: ben_pcm_shd.g_old_rec.program_application_id;
764: End If;
765: If (p_rec.program_id = hr_api.g_number) then
766: p_rec.program_id :=
767: ben_pcm_shd.g_old_rec.program_id;
763: ben_pcm_shd.g_old_rec.program_application_id;
764: End If;
765: If (p_rec.program_id = hr_api.g_number) then
766: p_rec.program_id :=
767: ben_pcm_shd.g_old_rec.program_id;
768: End If;
769: If (p_rec.program_update_date = hr_api.g_date) then
770: p_rec.program_update_date :=
771: ben_pcm_shd.g_old_rec.program_update_date;
767: ben_pcm_shd.g_old_rec.program_id;
768: End If;
769: If (p_rec.program_update_date = hr_api.g_date) then
770: p_rec.program_update_date :=
771: ben_pcm_shd.g_old_rec.program_update_date;
772: End If;
773:
774: --
775: hr_utility.set_location(' Leaving:'||l_proc, 10);
780: -- |---------------------------------< upd >----------------------------------|
781: -- ----------------------------------------------------------------------------
782: Procedure upd
783: (
784: p_rec in out nocopy ben_pcm_shd.g_rec_type,
785: p_effective_date in date,
786: p_datetrack_mode in varchar2
787: ) is
788: --
798: dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode);
799: --
800: -- We must lock the row which we need to update.
801: --
802: ben_pcm_shd.lck
803: (p_effective_date => p_effective_date,
804: p_datetrack_mode => p_datetrack_mode,
805: p_per_cm_id => p_rec.per_cm_id,
806: p_object_version_number => p_rec.object_version_number,
906: p_effective_date in date,
907: p_datetrack_mode in varchar2
908: ) is
909: --
910: l_rec ben_pcm_shd.g_rec_type;
911: l_proc varchar2(72) := g_package||'upd';
912: --
913: Begin
914: hr_utility.set_location('Entering:'||l_proc, 5);
916: -- Call conversion function to turn arguments into the
917: -- l_rec structure.
918: --
919: l_rec :=
920: ben_pcm_shd.convert_args
921: (
922: p_per_cm_id,
923: null,
924: null,