54: --
55: -- {End Of Comments}
56: -- ----------------------------------------------------------------------------
57: Procedure dt_update_dml
58: (p_rec in out nocopy ben_pcx_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_pl_bnf_ctfn_f',
78: p_base_key_column => 'pl_bnf_ctfn_id',
79: p_base_key_value => p_rec.pl_bnf_ctfn_id);
80: --
81: ben_pcx_shd.g_api_dml := true; -- Set the api dml status
82: --
83: -- Update the ben_pl_bnf_ctfn_f Row
84: --
85: update ben_pl_bnf_ctfn_f
129: where pl_bnf_ctfn_id = p_rec.pl_bnf_ctfn_id
130: and effective_start_date = p_validation_start_date
131: and effective_end_date = p_validation_end_date;
132: --
133: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
134: --
135: -- Set the effective start and end dates
136: --
137: p_rec.effective_start_date := p_validation_start_date;
141: hr_utility.set_location(' Leaving:'||l_proc, 15);
142: Exception
143: When hr_api.check_integrity_violated Then
144: -- A check constraint has been violated
145: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
146: ben_pcx_shd.constraint_error
147: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
148: When hr_api.unique_integrity_violated Then
149: -- Unique integrity has been violated
142: Exception
143: When hr_api.check_integrity_violated Then
144: -- A check constraint has been violated
145: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
146: ben_pcx_shd.constraint_error
147: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
148: When hr_api.unique_integrity_violated Then
149: -- Unique integrity has been violated
150: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
146: ben_pcx_shd.constraint_error
147: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
148: When hr_api.unique_integrity_violated Then
149: -- Unique integrity has been violated
150: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
151: ben_pcx_shd.constraint_error
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When Others Then
154: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
147: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
148: When hr_api.unique_integrity_violated Then
149: -- Unique integrity has been violated
150: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
151: ben_pcx_shd.constraint_error
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When Others Then
154: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
155: Raise;
150: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
151: ben_pcx_shd.constraint_error
152: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
153: When Others Then
154: ben_pcx_shd.g_api_dml := false; -- Unset the api dml status
155: Raise;
156: End dt_update_dml;
157: --
158: -- ----------------------------------------------------------------------------
186: --
187: -- {End Of Comments}
188: -- ----------------------------------------------------------------------------
189: Procedure update_dml
190: (p_rec in out nocopy ben_pcx_shd.g_rec_type,
191: p_effective_date in date,
192: p_datetrack_mode in varchar2,
193: p_validation_start_date in date,
194: p_validation_end_date in date) is
250: --
251: -- {End Of Comments}
252: -- ----------------------------------------------------------------------------
253: Procedure dt_pre_update
254: (p_rec in out nocopy ben_pcx_shd.g_rec_type,
255: p_effective_date in date,
256: p_datetrack_mode in varchar2,
257: p_validation_start_date in date,
258: p_validation_end_date in date) is
266: hr_utility.set_location(l_proc, 10);
267: --
268: -- Update the current effective end date
269: --
270: ben_pcx_shd.upd_effective_end_date
271: (p_effective_date => p_effective_date,
272: p_base_key_value => p_rec.pl_bnf_ctfn_id,
273: p_new_effective_end_date => (p_validation_start_date - 1),
274: p_validation_start_date => p_validation_start_date,
335: --
336: -- {End Of Comments}
337: -- ----------------------------------------------------------------------------
338: Procedure pre_update
339: (p_rec in out nocopy ben_pcx_shd.g_rec_type,
340: p_effective_date in date,
341: p_datetrack_mode in varchar2,
342: p_validation_start_date in date,
343: p_validation_end_date in date) is
391: --
392: -- {End Of Comments}
393: -- ----------------------------------------------------------------------------
394: Procedure post_update
395: (p_rec in ben_pcx_shd.g_rec_type,
396: p_effective_date in date,
397: p_datetrack_mode in varchar2,
398: p_validation_start_date in date,
399: p_validation_end_date in date) is
457: ,p_effective_date =>p_effective_date
458: ,p_datetrack_mode =>p_datetrack_mode
459: ,p_validation_start_date =>p_validation_start_date
460: ,p_validation_end_date =>p_validation_end_date
461: ,p_effective_start_date_o =>ben_pcx_shd.g_old_rec.effective_start_date
462: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
463: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
464: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
465: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
458: ,p_datetrack_mode =>p_datetrack_mode
459: ,p_validation_start_date =>p_validation_start_date
460: ,p_validation_end_date =>p_validation_end_date
461: ,p_effective_start_date_o =>ben_pcx_shd.g_old_rec.effective_start_date
462: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
463: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
464: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
465: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
466: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
459: ,p_validation_start_date =>p_validation_start_date
460: ,p_validation_end_date =>p_validation_end_date
461: ,p_effective_start_date_o =>ben_pcx_shd.g_old_rec.effective_start_date
462: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
463: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
464: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
465: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
466: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
467: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
460: ,p_validation_end_date =>p_validation_end_date
461: ,p_effective_start_date_o =>ben_pcx_shd.g_old_rec.effective_start_date
462: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
463: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
464: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
465: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
466: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
467: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
468: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
461: ,p_effective_start_date_o =>ben_pcx_shd.g_old_rec.effective_start_date
462: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
463: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
464: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
465: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
466: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
467: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
468: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
469: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
462: ,p_effective_end_date_o =>ben_pcx_shd.g_old_rec.effective_end_date
463: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
464: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
465: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
466: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
467: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
468: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
469: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
470: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
463: ,p_pl_id_o =>ben_pcx_shd.g_old_rec.pl_id
464: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
465: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
466: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
467: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
468: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
469: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
470: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
471: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
464: ,p_bnf_ctfn_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd
465: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
466: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
467: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
468: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
469: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
470: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
471: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
472: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
465: ,p_lack_ctfn_sspnd_enrt_flag_o =>ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag
466: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
467: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
468: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
469: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
470: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
471: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
472: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
473: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
466: ,p_pfd_flag_o =>ben_pcx_shd.g_old_rec.pfd_flag
467: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
468: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
469: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
470: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
471: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
472: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
473: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
474: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
467: ,p_rqd_flag_o =>ben_pcx_shd.g_old_rec.rqd_flag
468: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
469: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
470: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
471: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
472: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
473: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
474: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
475: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
468: ,p_ctfn_rqd_when_rl_o =>ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl
469: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
470: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
471: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
472: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
473: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
474: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
475: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
476: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
469: ,p_bnf_typ_cd_o =>ben_pcx_shd.g_old_rec.bnf_typ_cd
470: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
471: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
472: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
473: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
474: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
475: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
476: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
477: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
470: ,p_rlshp_typ_cd_o =>ben_pcx_shd.g_old_rec.rlshp_typ_cd
471: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
472: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
473: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
474: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
475: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
476: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
477: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
478: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
471: ,p_object_version_number_o =>ben_pcx_shd.g_old_rec.object_version_number
472: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
473: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
474: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
475: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
476: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
477: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
478: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
479: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
472: ,p_business_group_id_o =>ben_pcx_shd.g_old_rec.business_group_id
473: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
474: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
475: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
476: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
477: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
478: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
479: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
480: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
473: ,p_pcx_attribute_category_o =>ben_pcx_shd.g_old_rec.pcx_attribute_category
474: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
475: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
476: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
477: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
478: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
479: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
480: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
481: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
474: ,p_pcx_attribute1_o =>ben_pcx_shd.g_old_rec.pcx_attribute1
475: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
476: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
477: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
478: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
479: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
480: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
481: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
482: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
475: ,p_pcx_attribute2_o =>ben_pcx_shd.g_old_rec.pcx_attribute2
476: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
477: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
478: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
479: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
480: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
481: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
482: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
483: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
476: ,p_pcx_attribute3_o =>ben_pcx_shd.g_old_rec.pcx_attribute3
477: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
478: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
479: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
480: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
481: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
482: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
483: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
484: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
477: ,p_pcx_attribute4_o =>ben_pcx_shd.g_old_rec.pcx_attribute4
478: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
479: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
480: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
481: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
482: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
483: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
484: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
485: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
478: ,p_pcx_attribute5_o =>ben_pcx_shd.g_old_rec.pcx_attribute5
479: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
480: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
481: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
482: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
483: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
484: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
485: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
486: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
479: ,p_pcx_attribute6_o =>ben_pcx_shd.g_old_rec.pcx_attribute6
480: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
481: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
482: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
483: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
484: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
485: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
486: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
487: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
480: ,p_pcx_attribute7_o =>ben_pcx_shd.g_old_rec.pcx_attribute7
481: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
482: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
483: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
484: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
485: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
486: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
487: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
488: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
481: ,p_pcx_attribute8_o =>ben_pcx_shd.g_old_rec.pcx_attribute8
482: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
483: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
484: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
485: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
486: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
487: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
488: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
489: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
482: ,p_pcx_attribute9_o =>ben_pcx_shd.g_old_rec.pcx_attribute9
483: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
484: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
485: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
486: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
487: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
488: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
489: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
490: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
483: ,p_pcx_attribute10_o =>ben_pcx_shd.g_old_rec.pcx_attribute10
484: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
485: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
486: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
487: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
488: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
489: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
490: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
491: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
484: ,p_pcx_attribute11_o =>ben_pcx_shd.g_old_rec.pcx_attribute11
485: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
486: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
487: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
488: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
489: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
490: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
491: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
492: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
485: ,p_pcx_attribute12_o =>ben_pcx_shd.g_old_rec.pcx_attribute12
486: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
487: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
488: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
489: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
490: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
491: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
492: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
493: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
486: ,p_pcx_attribute13_o =>ben_pcx_shd.g_old_rec.pcx_attribute13
487: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
488: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
489: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
490: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
491: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
492: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
493: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
494: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
487: ,p_pcx_attribute14_o =>ben_pcx_shd.g_old_rec.pcx_attribute14
488: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
489: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
490: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
491: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
492: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
493: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
494: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
495: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
488: ,p_pcx_attribute15_o =>ben_pcx_shd.g_old_rec.pcx_attribute15
489: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
490: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
491: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
492: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
493: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
494: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
495: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
496: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
489: ,p_pcx_attribute16_o =>ben_pcx_shd.g_old_rec.pcx_attribute16
490: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
491: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
492: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
493: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
494: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
495: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
496: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
497: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
490: ,p_pcx_attribute17_o =>ben_pcx_shd.g_old_rec.pcx_attribute17
491: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
492: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
493: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
494: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
495: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
496: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
497: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
498: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
491: ,p_pcx_attribute18_o =>ben_pcx_shd.g_old_rec.pcx_attribute18
492: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
493: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
494: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
495: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
496: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
497: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
498: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
499: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
492: ,p_pcx_attribute19_o =>ben_pcx_shd.g_old_rec.pcx_attribute19
493: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
494: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
495: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
496: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
497: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
498: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
499: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
500: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
493: ,p_pcx_attribute20_o =>ben_pcx_shd.g_old_rec.pcx_attribute20
494: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
495: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
496: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
497: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
498: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
499: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
500: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
501: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
494: ,p_pcx_attribute21_o =>ben_pcx_shd.g_old_rec.pcx_attribute21
495: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
496: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
497: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
498: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
499: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
500: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
501: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
502: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
495: ,p_pcx_attribute22_o =>ben_pcx_shd.g_old_rec.pcx_attribute22
496: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
497: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
498: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
499: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
500: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
501: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
502: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
503: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
496: ,p_pcx_attribute23_o =>ben_pcx_shd.g_old_rec.pcx_attribute23
497: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
498: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
499: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
500: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
501: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
502: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
503: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
504: );
497: ,p_pcx_attribute24_o =>ben_pcx_shd.g_old_rec.pcx_attribute24
498: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
499: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
500: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
501: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
502: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
503: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
504: );
505: --
498: ,p_pcx_attribute25_o =>ben_pcx_shd.g_old_rec.pcx_attribute25
499: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
500: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
501: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
502: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
503: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
504: );
505: --
506: exception
499: ,p_pcx_attribute26_o =>ben_pcx_shd.g_old_rec.pcx_attribute26
500: ,p_pcx_attribute27_o =>ben_pcx_shd.g_old_rec.pcx_attribute27
501: ,p_pcx_attribute28_o =>ben_pcx_shd.g_old_rec.pcx_attribute28
502: ,p_pcx_attribute29_o =>ben_pcx_shd.g_old_rec.pcx_attribute29
503: ,p_pcx_attribute30_o =>ben_pcx_shd.g_old_rec.pcx_attribute30
504: );
505: --
506: exception
507: --
561: -- Internal Row Handler Use Only.
562: --
563: -- {End Of Comments}
564: -- ----------------------------------------------------------------------------
565: Procedure convert_defs(p_rec in out nocopy ben_pcx_shd.g_rec_type) is
566: --
567: l_proc varchar2(72) := g_package||'convert_defs';
568: --
569: Begin
576: -- is being used then we must set to the 'current' argument value.
577: --
578: If (p_rec.pl_id = hr_api.g_number) then
579: p_rec.pl_id :=
580: ben_pcx_shd.g_old_rec.pl_id;
581: End If;
582: If (p_rec.bnf_ctfn_typ_cd = hr_api.g_varchar2) then
583: p_rec.bnf_ctfn_typ_cd :=
584: ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd;
580: ben_pcx_shd.g_old_rec.pl_id;
581: End If;
582: If (p_rec.bnf_ctfn_typ_cd = hr_api.g_varchar2) then
583: p_rec.bnf_ctfn_typ_cd :=
584: ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd;
585: End If;
586: If (p_rec.lack_ctfn_sspnd_enrt_flag = hr_api.g_varchar2) then
587: p_rec.lack_ctfn_sspnd_enrt_flag :=
588: ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag;
584: ben_pcx_shd.g_old_rec.bnf_ctfn_typ_cd;
585: End If;
586: If (p_rec.lack_ctfn_sspnd_enrt_flag = hr_api.g_varchar2) then
587: p_rec.lack_ctfn_sspnd_enrt_flag :=
588: ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag;
589: End If;
590: If (p_rec.pfd_flag = hr_api.g_varchar2) then
591: p_rec.pfd_flag :=
592: ben_pcx_shd.g_old_rec.pfd_flag;
588: ben_pcx_shd.g_old_rec.lack_ctfn_sspnd_enrt_flag;
589: End If;
590: If (p_rec.pfd_flag = hr_api.g_varchar2) then
591: p_rec.pfd_flag :=
592: ben_pcx_shd.g_old_rec.pfd_flag;
593: End If;
594: If (p_rec.rqd_flag = hr_api.g_varchar2) then
595: p_rec.rqd_flag :=
596: ben_pcx_shd.g_old_rec.rqd_flag;
592: ben_pcx_shd.g_old_rec.pfd_flag;
593: End If;
594: If (p_rec.rqd_flag = hr_api.g_varchar2) then
595: p_rec.rqd_flag :=
596: ben_pcx_shd.g_old_rec.rqd_flag;
597: End If;
598: If (p_rec.ctfn_rqd_when_rl = hr_api.g_number) then
599: p_rec.ctfn_rqd_when_rl :=
600: ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl;
596: ben_pcx_shd.g_old_rec.rqd_flag;
597: End If;
598: If (p_rec.ctfn_rqd_when_rl = hr_api.g_number) then
599: p_rec.ctfn_rqd_when_rl :=
600: ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl;
601: End If;
602: If (p_rec.bnf_typ_cd = hr_api.g_varchar2) then
603: p_rec.bnf_typ_cd :=
604: ben_pcx_shd.g_old_rec.bnf_typ_cd;
600: ben_pcx_shd.g_old_rec.ctfn_rqd_when_rl;
601: End If;
602: If (p_rec.bnf_typ_cd = hr_api.g_varchar2) then
603: p_rec.bnf_typ_cd :=
604: ben_pcx_shd.g_old_rec.bnf_typ_cd;
605: End If;
606: If (p_rec.rlshp_typ_cd = hr_api.g_varchar2) then
607: p_rec.rlshp_typ_cd :=
608: ben_pcx_shd.g_old_rec.rlshp_typ_cd;
604: ben_pcx_shd.g_old_rec.bnf_typ_cd;
605: End If;
606: If (p_rec.rlshp_typ_cd = hr_api.g_varchar2) then
607: p_rec.rlshp_typ_cd :=
608: ben_pcx_shd.g_old_rec.rlshp_typ_cd;
609: End If;
610: If (p_rec.business_group_id = hr_api.g_number) then
611: p_rec.business_group_id :=
612: ben_pcx_shd.g_old_rec.business_group_id;
608: ben_pcx_shd.g_old_rec.rlshp_typ_cd;
609: End If;
610: If (p_rec.business_group_id = hr_api.g_number) then
611: p_rec.business_group_id :=
612: ben_pcx_shd.g_old_rec.business_group_id;
613: End If;
614: If (p_rec.pcx_attribute_category = hr_api.g_varchar2) then
615: p_rec.pcx_attribute_category :=
616: ben_pcx_shd.g_old_rec.pcx_attribute_category;
612: ben_pcx_shd.g_old_rec.business_group_id;
613: End If;
614: If (p_rec.pcx_attribute_category = hr_api.g_varchar2) then
615: p_rec.pcx_attribute_category :=
616: ben_pcx_shd.g_old_rec.pcx_attribute_category;
617: End If;
618: If (p_rec.pcx_attribute1 = hr_api.g_varchar2) then
619: p_rec.pcx_attribute1 :=
620: ben_pcx_shd.g_old_rec.pcx_attribute1;
616: ben_pcx_shd.g_old_rec.pcx_attribute_category;
617: End If;
618: If (p_rec.pcx_attribute1 = hr_api.g_varchar2) then
619: p_rec.pcx_attribute1 :=
620: ben_pcx_shd.g_old_rec.pcx_attribute1;
621: End If;
622: If (p_rec.pcx_attribute2 = hr_api.g_varchar2) then
623: p_rec.pcx_attribute2 :=
624: ben_pcx_shd.g_old_rec.pcx_attribute2;
620: ben_pcx_shd.g_old_rec.pcx_attribute1;
621: End If;
622: If (p_rec.pcx_attribute2 = hr_api.g_varchar2) then
623: p_rec.pcx_attribute2 :=
624: ben_pcx_shd.g_old_rec.pcx_attribute2;
625: End If;
626: If (p_rec.pcx_attribute3 = hr_api.g_varchar2) then
627: p_rec.pcx_attribute3 :=
628: ben_pcx_shd.g_old_rec.pcx_attribute3;
624: ben_pcx_shd.g_old_rec.pcx_attribute2;
625: End If;
626: If (p_rec.pcx_attribute3 = hr_api.g_varchar2) then
627: p_rec.pcx_attribute3 :=
628: ben_pcx_shd.g_old_rec.pcx_attribute3;
629: End If;
630: If (p_rec.pcx_attribute4 = hr_api.g_varchar2) then
631: p_rec.pcx_attribute4 :=
632: ben_pcx_shd.g_old_rec.pcx_attribute4;
628: ben_pcx_shd.g_old_rec.pcx_attribute3;
629: End If;
630: If (p_rec.pcx_attribute4 = hr_api.g_varchar2) then
631: p_rec.pcx_attribute4 :=
632: ben_pcx_shd.g_old_rec.pcx_attribute4;
633: End If;
634: If (p_rec.pcx_attribute5 = hr_api.g_varchar2) then
635: p_rec.pcx_attribute5 :=
636: ben_pcx_shd.g_old_rec.pcx_attribute5;
632: ben_pcx_shd.g_old_rec.pcx_attribute4;
633: End If;
634: If (p_rec.pcx_attribute5 = hr_api.g_varchar2) then
635: p_rec.pcx_attribute5 :=
636: ben_pcx_shd.g_old_rec.pcx_attribute5;
637: End If;
638: If (p_rec.pcx_attribute6 = hr_api.g_varchar2) then
639: p_rec.pcx_attribute6 :=
640: ben_pcx_shd.g_old_rec.pcx_attribute6;
636: ben_pcx_shd.g_old_rec.pcx_attribute5;
637: End If;
638: If (p_rec.pcx_attribute6 = hr_api.g_varchar2) then
639: p_rec.pcx_attribute6 :=
640: ben_pcx_shd.g_old_rec.pcx_attribute6;
641: End If;
642: If (p_rec.pcx_attribute7 = hr_api.g_varchar2) then
643: p_rec.pcx_attribute7 :=
644: ben_pcx_shd.g_old_rec.pcx_attribute7;
640: ben_pcx_shd.g_old_rec.pcx_attribute6;
641: End If;
642: If (p_rec.pcx_attribute7 = hr_api.g_varchar2) then
643: p_rec.pcx_attribute7 :=
644: ben_pcx_shd.g_old_rec.pcx_attribute7;
645: End If;
646: If (p_rec.pcx_attribute8 = hr_api.g_varchar2) then
647: p_rec.pcx_attribute8 :=
648: ben_pcx_shd.g_old_rec.pcx_attribute8;
644: ben_pcx_shd.g_old_rec.pcx_attribute7;
645: End If;
646: If (p_rec.pcx_attribute8 = hr_api.g_varchar2) then
647: p_rec.pcx_attribute8 :=
648: ben_pcx_shd.g_old_rec.pcx_attribute8;
649: End If;
650: If (p_rec.pcx_attribute9 = hr_api.g_varchar2) then
651: p_rec.pcx_attribute9 :=
652: ben_pcx_shd.g_old_rec.pcx_attribute9;
648: ben_pcx_shd.g_old_rec.pcx_attribute8;
649: End If;
650: If (p_rec.pcx_attribute9 = hr_api.g_varchar2) then
651: p_rec.pcx_attribute9 :=
652: ben_pcx_shd.g_old_rec.pcx_attribute9;
653: End If;
654: If (p_rec.pcx_attribute10 = hr_api.g_varchar2) then
655: p_rec.pcx_attribute10 :=
656: ben_pcx_shd.g_old_rec.pcx_attribute10;
652: ben_pcx_shd.g_old_rec.pcx_attribute9;
653: End If;
654: If (p_rec.pcx_attribute10 = hr_api.g_varchar2) then
655: p_rec.pcx_attribute10 :=
656: ben_pcx_shd.g_old_rec.pcx_attribute10;
657: End If;
658: If (p_rec.pcx_attribute11 = hr_api.g_varchar2) then
659: p_rec.pcx_attribute11 :=
660: ben_pcx_shd.g_old_rec.pcx_attribute11;
656: ben_pcx_shd.g_old_rec.pcx_attribute10;
657: End If;
658: If (p_rec.pcx_attribute11 = hr_api.g_varchar2) then
659: p_rec.pcx_attribute11 :=
660: ben_pcx_shd.g_old_rec.pcx_attribute11;
661: End If;
662: If (p_rec.pcx_attribute12 = hr_api.g_varchar2) then
663: p_rec.pcx_attribute12 :=
664: ben_pcx_shd.g_old_rec.pcx_attribute12;
660: ben_pcx_shd.g_old_rec.pcx_attribute11;
661: End If;
662: If (p_rec.pcx_attribute12 = hr_api.g_varchar2) then
663: p_rec.pcx_attribute12 :=
664: ben_pcx_shd.g_old_rec.pcx_attribute12;
665: End If;
666: If (p_rec.pcx_attribute13 = hr_api.g_varchar2) then
667: p_rec.pcx_attribute13 :=
668: ben_pcx_shd.g_old_rec.pcx_attribute13;
664: ben_pcx_shd.g_old_rec.pcx_attribute12;
665: End If;
666: If (p_rec.pcx_attribute13 = hr_api.g_varchar2) then
667: p_rec.pcx_attribute13 :=
668: ben_pcx_shd.g_old_rec.pcx_attribute13;
669: End If;
670: If (p_rec.pcx_attribute14 = hr_api.g_varchar2) then
671: p_rec.pcx_attribute14 :=
672: ben_pcx_shd.g_old_rec.pcx_attribute14;
668: ben_pcx_shd.g_old_rec.pcx_attribute13;
669: End If;
670: If (p_rec.pcx_attribute14 = hr_api.g_varchar2) then
671: p_rec.pcx_attribute14 :=
672: ben_pcx_shd.g_old_rec.pcx_attribute14;
673: End If;
674: If (p_rec.pcx_attribute15 = hr_api.g_varchar2) then
675: p_rec.pcx_attribute15 :=
676: ben_pcx_shd.g_old_rec.pcx_attribute15;
672: ben_pcx_shd.g_old_rec.pcx_attribute14;
673: End If;
674: If (p_rec.pcx_attribute15 = hr_api.g_varchar2) then
675: p_rec.pcx_attribute15 :=
676: ben_pcx_shd.g_old_rec.pcx_attribute15;
677: End If;
678: If (p_rec.pcx_attribute16 = hr_api.g_varchar2) then
679: p_rec.pcx_attribute16 :=
680: ben_pcx_shd.g_old_rec.pcx_attribute16;
676: ben_pcx_shd.g_old_rec.pcx_attribute15;
677: End If;
678: If (p_rec.pcx_attribute16 = hr_api.g_varchar2) then
679: p_rec.pcx_attribute16 :=
680: ben_pcx_shd.g_old_rec.pcx_attribute16;
681: End If;
682: If (p_rec.pcx_attribute17 = hr_api.g_varchar2) then
683: p_rec.pcx_attribute17 :=
684: ben_pcx_shd.g_old_rec.pcx_attribute17;
680: ben_pcx_shd.g_old_rec.pcx_attribute16;
681: End If;
682: If (p_rec.pcx_attribute17 = hr_api.g_varchar2) then
683: p_rec.pcx_attribute17 :=
684: ben_pcx_shd.g_old_rec.pcx_attribute17;
685: End If;
686: If (p_rec.pcx_attribute18 = hr_api.g_varchar2) then
687: p_rec.pcx_attribute18 :=
688: ben_pcx_shd.g_old_rec.pcx_attribute18;
684: ben_pcx_shd.g_old_rec.pcx_attribute17;
685: End If;
686: If (p_rec.pcx_attribute18 = hr_api.g_varchar2) then
687: p_rec.pcx_attribute18 :=
688: ben_pcx_shd.g_old_rec.pcx_attribute18;
689: End If;
690: If (p_rec.pcx_attribute19 = hr_api.g_varchar2) then
691: p_rec.pcx_attribute19 :=
692: ben_pcx_shd.g_old_rec.pcx_attribute19;
688: ben_pcx_shd.g_old_rec.pcx_attribute18;
689: End If;
690: If (p_rec.pcx_attribute19 = hr_api.g_varchar2) then
691: p_rec.pcx_attribute19 :=
692: ben_pcx_shd.g_old_rec.pcx_attribute19;
693: End If;
694: If (p_rec.pcx_attribute20 = hr_api.g_varchar2) then
695: p_rec.pcx_attribute20 :=
696: ben_pcx_shd.g_old_rec.pcx_attribute20;
692: ben_pcx_shd.g_old_rec.pcx_attribute19;
693: End If;
694: If (p_rec.pcx_attribute20 = hr_api.g_varchar2) then
695: p_rec.pcx_attribute20 :=
696: ben_pcx_shd.g_old_rec.pcx_attribute20;
697: End If;
698: If (p_rec.pcx_attribute21 = hr_api.g_varchar2) then
699: p_rec.pcx_attribute21 :=
700: ben_pcx_shd.g_old_rec.pcx_attribute21;
696: ben_pcx_shd.g_old_rec.pcx_attribute20;
697: End If;
698: If (p_rec.pcx_attribute21 = hr_api.g_varchar2) then
699: p_rec.pcx_attribute21 :=
700: ben_pcx_shd.g_old_rec.pcx_attribute21;
701: End If;
702: If (p_rec.pcx_attribute22 = hr_api.g_varchar2) then
703: p_rec.pcx_attribute22 :=
704: ben_pcx_shd.g_old_rec.pcx_attribute22;
700: ben_pcx_shd.g_old_rec.pcx_attribute21;
701: End If;
702: If (p_rec.pcx_attribute22 = hr_api.g_varchar2) then
703: p_rec.pcx_attribute22 :=
704: ben_pcx_shd.g_old_rec.pcx_attribute22;
705: End If;
706: If (p_rec.pcx_attribute23 = hr_api.g_varchar2) then
707: p_rec.pcx_attribute23 :=
708: ben_pcx_shd.g_old_rec.pcx_attribute23;
704: ben_pcx_shd.g_old_rec.pcx_attribute22;
705: End If;
706: If (p_rec.pcx_attribute23 = hr_api.g_varchar2) then
707: p_rec.pcx_attribute23 :=
708: ben_pcx_shd.g_old_rec.pcx_attribute23;
709: End If;
710: If (p_rec.pcx_attribute24 = hr_api.g_varchar2) then
711: p_rec.pcx_attribute24 :=
712: ben_pcx_shd.g_old_rec.pcx_attribute24;
708: ben_pcx_shd.g_old_rec.pcx_attribute23;
709: End If;
710: If (p_rec.pcx_attribute24 = hr_api.g_varchar2) then
711: p_rec.pcx_attribute24 :=
712: ben_pcx_shd.g_old_rec.pcx_attribute24;
713: End If;
714: If (p_rec.pcx_attribute25 = hr_api.g_varchar2) then
715: p_rec.pcx_attribute25 :=
716: ben_pcx_shd.g_old_rec.pcx_attribute25;
712: ben_pcx_shd.g_old_rec.pcx_attribute24;
713: End If;
714: If (p_rec.pcx_attribute25 = hr_api.g_varchar2) then
715: p_rec.pcx_attribute25 :=
716: ben_pcx_shd.g_old_rec.pcx_attribute25;
717: End If;
718: If (p_rec.pcx_attribute26 = hr_api.g_varchar2) then
719: p_rec.pcx_attribute26 :=
720: ben_pcx_shd.g_old_rec.pcx_attribute26;
716: ben_pcx_shd.g_old_rec.pcx_attribute25;
717: End If;
718: If (p_rec.pcx_attribute26 = hr_api.g_varchar2) then
719: p_rec.pcx_attribute26 :=
720: ben_pcx_shd.g_old_rec.pcx_attribute26;
721: End If;
722: If (p_rec.pcx_attribute27 = hr_api.g_varchar2) then
723: p_rec.pcx_attribute27 :=
724: ben_pcx_shd.g_old_rec.pcx_attribute27;
720: ben_pcx_shd.g_old_rec.pcx_attribute26;
721: End If;
722: If (p_rec.pcx_attribute27 = hr_api.g_varchar2) then
723: p_rec.pcx_attribute27 :=
724: ben_pcx_shd.g_old_rec.pcx_attribute27;
725: End If;
726: If (p_rec.pcx_attribute28 = hr_api.g_varchar2) then
727: p_rec.pcx_attribute28 :=
728: ben_pcx_shd.g_old_rec.pcx_attribute28;
724: ben_pcx_shd.g_old_rec.pcx_attribute27;
725: End If;
726: If (p_rec.pcx_attribute28 = hr_api.g_varchar2) then
727: p_rec.pcx_attribute28 :=
728: ben_pcx_shd.g_old_rec.pcx_attribute28;
729: End If;
730: If (p_rec.pcx_attribute29 = hr_api.g_varchar2) then
731: p_rec.pcx_attribute29 :=
732: ben_pcx_shd.g_old_rec.pcx_attribute29;
728: ben_pcx_shd.g_old_rec.pcx_attribute28;
729: End If;
730: If (p_rec.pcx_attribute29 = hr_api.g_varchar2) then
731: p_rec.pcx_attribute29 :=
732: ben_pcx_shd.g_old_rec.pcx_attribute29;
733: End If;
734: If (p_rec.pcx_attribute30 = hr_api.g_varchar2) then
735: p_rec.pcx_attribute30 :=
736: ben_pcx_shd.g_old_rec.pcx_attribute30;
732: ben_pcx_shd.g_old_rec.pcx_attribute29;
733: End If;
734: If (p_rec.pcx_attribute30 = hr_api.g_varchar2) then
735: p_rec.pcx_attribute30 :=
736: ben_pcx_shd.g_old_rec.pcx_attribute30;
737: End If;
738: --
739: hr_utility.set_location(' Leaving:'||l_proc, 10);
740: --
744: -- |---------------------------------< upd >----------------------------------|
745: -- ----------------------------------------------------------------------------
746: Procedure upd
747: (
748: p_rec in out nocopy ben_pcx_shd.g_rec_type,
749: p_effective_date in date,
750: p_datetrack_mode in varchar2
751: ) is
752: --
762: dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode);
763: --
764: -- We must lock the row which we need to update.
765: --
766: ben_pcx_shd.lck
767: (p_effective_date => p_effective_date,
768: p_datetrack_mode => p_datetrack_mode,
769: p_pl_bnf_ctfn_id => p_rec.pl_bnf_ctfn_id,
770: p_object_version_number => p_rec.object_version_number,
865: p_effective_date in date,
866: p_datetrack_mode in varchar2
867: ) is
868: --
869: l_rec ben_pcx_shd.g_rec_type;
870: l_proc varchar2(72) := g_package||'upd';
871: --
872: Begin
873: hr_utility.set_location('Entering:'||l_proc, 5);
875: -- Call conversion function to turn arguments into the
876: -- l_rec structure.
877: --
878: l_rec :=
879: ben_pcx_shd.convert_args
880: (
881: p_pl_bnf_ctfn_id,
882: null,
883: null,