54: --
55: -- {End Of Comments}
56: -- ----------------------------------------------------------------------------
57: Procedure dt_update_dml
58: (p_rec in out nocopy ben_vrr_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_vrbl_rt_rl_f',
78: p_base_key_column => 'vrbl_rt_rl_id',
79: p_base_key_value => p_rec.vrbl_rt_rl_id);
80: --
81: ben_vrr_shd.g_api_dml := true; -- Set the api dml status
82: --
83: -- Update the ben_vrbl_rt_rl_f Row
84: --
85: update ben_vrbl_rt_rl_f
126: where vrbl_rt_rl_id = p_rec.vrbl_rt_rl_id
127: and effective_start_date = p_validation_start_date
128: and effective_end_date = p_validation_end_date;
129: --
130: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
131: --
132: -- Set the effective start and end dates
133: --
134: p_rec.effective_start_date := p_validation_start_date;
138: hr_utility.set_location(' Leaving:'||l_proc, 15);
139: Exception
140: When hr_api.check_integrity_violated Then
141: -- A check constraint has been violated
142: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
143: ben_vrr_shd.constraint_error
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.unique_integrity_violated Then
146: -- Unique integrity has been violated
139: Exception
140: When hr_api.check_integrity_violated Then
141: -- A check constraint has been violated
142: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
143: ben_vrr_shd.constraint_error
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.unique_integrity_violated Then
146: -- Unique integrity has been violated
147: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
143: ben_vrr_shd.constraint_error
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.unique_integrity_violated Then
146: -- Unique integrity has been violated
147: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
148: ben_vrr_shd.constraint_error
149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When Others Then
151: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
144: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
145: When hr_api.unique_integrity_violated Then
146: -- Unique integrity has been violated
147: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
148: ben_vrr_shd.constraint_error
149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When Others Then
151: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
152: Raise;
147: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
148: ben_vrr_shd.constraint_error
149: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
150: When Others Then
151: ben_vrr_shd.g_api_dml := false; -- Unset the api dml status
152: Raise;
153: End dt_update_dml;
154: --
155: -- ----------------------------------------------------------------------------
183: --
184: -- {End Of Comments}
185: -- ----------------------------------------------------------------------------
186: Procedure update_dml
187: (p_rec in out nocopy ben_vrr_shd.g_rec_type,
188: p_effective_date in date,
189: p_datetrack_mode in varchar2,
190: p_validation_start_date in date,
191: p_validation_end_date in date) is
247: --
248: -- {End Of Comments}
249: -- ----------------------------------------------------------------------------
250: Procedure dt_pre_update
251: (p_rec in out nocopy ben_vrr_shd.g_rec_type,
252: p_effective_date in date,
253: p_datetrack_mode in varchar2,
254: p_validation_start_date in date,
255: p_validation_end_date in date) is
263: hr_utility.set_location(l_proc, 10);
264: --
265: -- Update the current effective end date
266: --
267: ben_vrr_shd.upd_effective_end_date
268: (p_effective_date => p_effective_date,
269: p_base_key_value => p_rec.vrbl_rt_rl_id,
270: p_new_effective_end_date => (p_validation_start_date - 1),
271: p_validation_start_date => p_validation_start_date,
332: --
333: -- {End Of Comments}
334: -- ----------------------------------------------------------------------------
335: Procedure pre_update
336: (p_rec in out nocopy ben_vrr_shd.g_rec_type,
337: p_effective_date in date,
338: p_datetrack_mode in varchar2,
339: p_validation_start_date in date,
340: p_validation_end_date in date) is
388: --
389: -- {End Of Comments}
390: -- ----------------------------------------------------------------------------
391: Procedure post_update
392: (p_rec in ben_vrr_shd.g_rec_type,
393: p_effective_date in date,
394: p_datetrack_mode in varchar2,
395: p_validation_start_date in date,
396: p_validation_end_date in date) is
451: ,p_effective_date =>p_effective_date
452: ,p_datetrack_mode =>p_datetrack_mode
453: ,p_validation_start_date =>p_validation_start_date
454: ,p_validation_end_date =>p_validation_end_date
455: ,p_effective_start_date_o =>ben_vrr_shd.g_old_rec.effective_start_date
456: ,p_effective_end_date_o =>ben_vrr_shd.g_old_rec.effective_end_date
457: ,p_drvbl_fctr_apls_flag_o =>ben_vrr_shd.g_old_rec.drvbl_fctr_apls_flag
458: ,p_rt_trtmt_cd_o =>ben_vrr_shd.g_old_rec.rt_trtmt_cd
459: ,p_business_group_id_o =>ben_vrr_shd.g_old_rec.business_group_id
452: ,p_datetrack_mode =>p_datetrack_mode
453: ,p_validation_start_date =>p_validation_start_date
454: ,p_validation_end_date =>p_validation_end_date
455: ,p_effective_start_date_o =>ben_vrr_shd.g_old_rec.effective_start_date
456: ,p_effective_end_date_o =>ben_vrr_shd.g_old_rec.effective_end_date
457: ,p_drvbl_fctr_apls_flag_o =>ben_vrr_shd.g_old_rec.drvbl_fctr_apls_flag
458: ,p_rt_trtmt_cd_o =>ben_vrr_shd.g_old_rec.rt_trtmt_cd
459: ,p_business_group_id_o =>ben_vrr_shd.g_old_rec.business_group_id
460: ,p_formula_id_o =>ben_vrr_shd.g_old_rec.formula_id
453: ,p_validation_start_date =>p_validation_start_date
454: ,p_validation_end_date =>p_validation_end_date
455: ,p_effective_start_date_o =>ben_vrr_shd.g_old_rec.effective_start_date
456: ,p_effective_end_date_o =>ben_vrr_shd.g_old_rec.effective_end_date
457: ,p_drvbl_fctr_apls_flag_o =>ben_vrr_shd.g_old_rec.drvbl_fctr_apls_flag
458: ,p_rt_trtmt_cd_o =>ben_vrr_shd.g_old_rec.rt_trtmt_cd
459: ,p_business_group_id_o =>ben_vrr_shd.g_old_rec.business_group_id
460: ,p_formula_id_o =>ben_vrr_shd.g_old_rec.formula_id
461: ,p_acty_base_rt_id_o =>ben_vrr_shd.g_old_rec.acty_base_rt_id
454: ,p_validation_end_date =>p_validation_end_date
455: ,p_effective_start_date_o =>ben_vrr_shd.g_old_rec.effective_start_date
456: ,p_effective_end_date_o =>ben_vrr_shd.g_old_rec.effective_end_date
457: ,p_drvbl_fctr_apls_flag_o =>ben_vrr_shd.g_old_rec.drvbl_fctr_apls_flag
458: ,p_rt_trtmt_cd_o =>ben_vrr_shd.g_old_rec.rt_trtmt_cd
459: ,p_business_group_id_o =>ben_vrr_shd.g_old_rec.business_group_id
460: ,p_formula_id_o =>ben_vrr_shd.g_old_rec.formula_id
461: ,p_acty_base_rt_id_o =>ben_vrr_shd.g_old_rec.acty_base_rt_id
462: ,p_ordr_to_aply_num_o =>ben_vrr_shd.g_old_rec.ordr_to_aply_num
455: ,p_effective_start_date_o =>ben_vrr_shd.g_old_rec.effective_start_date
456: ,p_effective_end_date_o =>ben_vrr_shd.g_old_rec.effective_end_date
457: ,p_drvbl_fctr_apls_flag_o =>ben_vrr_shd.g_old_rec.drvbl_fctr_apls_flag
458: ,p_rt_trtmt_cd_o =>ben_vrr_shd.g_old_rec.rt_trtmt_cd
459: ,p_business_group_id_o =>ben_vrr_shd.g_old_rec.business_group_id
460: ,p_formula_id_o =>ben_vrr_shd.g_old_rec.formula_id
461: ,p_acty_base_rt_id_o =>ben_vrr_shd.g_old_rec.acty_base_rt_id
462: ,p_ordr_to_aply_num_o =>ben_vrr_shd.g_old_rec.ordr_to_aply_num
463: ,p_vrr_attribute_category_o =>ben_vrr_shd.g_old_rec.vrr_attribute_category
456: ,p_effective_end_date_o =>ben_vrr_shd.g_old_rec.effective_end_date
457: ,p_drvbl_fctr_apls_flag_o =>ben_vrr_shd.g_old_rec.drvbl_fctr_apls_flag
458: ,p_rt_trtmt_cd_o =>ben_vrr_shd.g_old_rec.rt_trtmt_cd
459: ,p_business_group_id_o =>ben_vrr_shd.g_old_rec.business_group_id
460: ,p_formula_id_o =>ben_vrr_shd.g_old_rec.formula_id
461: ,p_acty_base_rt_id_o =>ben_vrr_shd.g_old_rec.acty_base_rt_id
462: ,p_ordr_to_aply_num_o =>ben_vrr_shd.g_old_rec.ordr_to_aply_num
463: ,p_vrr_attribute_category_o =>ben_vrr_shd.g_old_rec.vrr_attribute_category
464: ,p_vrr_attribute1_o =>ben_vrr_shd.g_old_rec.vrr_attribute1
457: ,p_drvbl_fctr_apls_flag_o =>ben_vrr_shd.g_old_rec.drvbl_fctr_apls_flag
458: ,p_rt_trtmt_cd_o =>ben_vrr_shd.g_old_rec.rt_trtmt_cd
459: ,p_business_group_id_o =>ben_vrr_shd.g_old_rec.business_group_id
460: ,p_formula_id_o =>ben_vrr_shd.g_old_rec.formula_id
461: ,p_acty_base_rt_id_o =>ben_vrr_shd.g_old_rec.acty_base_rt_id
462: ,p_ordr_to_aply_num_o =>ben_vrr_shd.g_old_rec.ordr_to_aply_num
463: ,p_vrr_attribute_category_o =>ben_vrr_shd.g_old_rec.vrr_attribute_category
464: ,p_vrr_attribute1_o =>ben_vrr_shd.g_old_rec.vrr_attribute1
465: ,p_vrr_attribute2_o =>ben_vrr_shd.g_old_rec.vrr_attribute2
458: ,p_rt_trtmt_cd_o =>ben_vrr_shd.g_old_rec.rt_trtmt_cd
459: ,p_business_group_id_o =>ben_vrr_shd.g_old_rec.business_group_id
460: ,p_formula_id_o =>ben_vrr_shd.g_old_rec.formula_id
461: ,p_acty_base_rt_id_o =>ben_vrr_shd.g_old_rec.acty_base_rt_id
462: ,p_ordr_to_aply_num_o =>ben_vrr_shd.g_old_rec.ordr_to_aply_num
463: ,p_vrr_attribute_category_o =>ben_vrr_shd.g_old_rec.vrr_attribute_category
464: ,p_vrr_attribute1_o =>ben_vrr_shd.g_old_rec.vrr_attribute1
465: ,p_vrr_attribute2_o =>ben_vrr_shd.g_old_rec.vrr_attribute2
466: ,p_vrr_attribute3_o =>ben_vrr_shd.g_old_rec.vrr_attribute3
459: ,p_business_group_id_o =>ben_vrr_shd.g_old_rec.business_group_id
460: ,p_formula_id_o =>ben_vrr_shd.g_old_rec.formula_id
461: ,p_acty_base_rt_id_o =>ben_vrr_shd.g_old_rec.acty_base_rt_id
462: ,p_ordr_to_aply_num_o =>ben_vrr_shd.g_old_rec.ordr_to_aply_num
463: ,p_vrr_attribute_category_o =>ben_vrr_shd.g_old_rec.vrr_attribute_category
464: ,p_vrr_attribute1_o =>ben_vrr_shd.g_old_rec.vrr_attribute1
465: ,p_vrr_attribute2_o =>ben_vrr_shd.g_old_rec.vrr_attribute2
466: ,p_vrr_attribute3_o =>ben_vrr_shd.g_old_rec.vrr_attribute3
467: ,p_vrr_attribute4_o =>ben_vrr_shd.g_old_rec.vrr_attribute4
460: ,p_formula_id_o =>ben_vrr_shd.g_old_rec.formula_id
461: ,p_acty_base_rt_id_o =>ben_vrr_shd.g_old_rec.acty_base_rt_id
462: ,p_ordr_to_aply_num_o =>ben_vrr_shd.g_old_rec.ordr_to_aply_num
463: ,p_vrr_attribute_category_o =>ben_vrr_shd.g_old_rec.vrr_attribute_category
464: ,p_vrr_attribute1_o =>ben_vrr_shd.g_old_rec.vrr_attribute1
465: ,p_vrr_attribute2_o =>ben_vrr_shd.g_old_rec.vrr_attribute2
466: ,p_vrr_attribute3_o =>ben_vrr_shd.g_old_rec.vrr_attribute3
467: ,p_vrr_attribute4_o =>ben_vrr_shd.g_old_rec.vrr_attribute4
468: ,p_vrr_attribute5_o =>ben_vrr_shd.g_old_rec.vrr_attribute5
461: ,p_acty_base_rt_id_o =>ben_vrr_shd.g_old_rec.acty_base_rt_id
462: ,p_ordr_to_aply_num_o =>ben_vrr_shd.g_old_rec.ordr_to_aply_num
463: ,p_vrr_attribute_category_o =>ben_vrr_shd.g_old_rec.vrr_attribute_category
464: ,p_vrr_attribute1_o =>ben_vrr_shd.g_old_rec.vrr_attribute1
465: ,p_vrr_attribute2_o =>ben_vrr_shd.g_old_rec.vrr_attribute2
466: ,p_vrr_attribute3_o =>ben_vrr_shd.g_old_rec.vrr_attribute3
467: ,p_vrr_attribute4_o =>ben_vrr_shd.g_old_rec.vrr_attribute4
468: ,p_vrr_attribute5_o =>ben_vrr_shd.g_old_rec.vrr_attribute5
469: ,p_vrr_attribute6_o =>ben_vrr_shd.g_old_rec.vrr_attribute6
462: ,p_ordr_to_aply_num_o =>ben_vrr_shd.g_old_rec.ordr_to_aply_num
463: ,p_vrr_attribute_category_o =>ben_vrr_shd.g_old_rec.vrr_attribute_category
464: ,p_vrr_attribute1_o =>ben_vrr_shd.g_old_rec.vrr_attribute1
465: ,p_vrr_attribute2_o =>ben_vrr_shd.g_old_rec.vrr_attribute2
466: ,p_vrr_attribute3_o =>ben_vrr_shd.g_old_rec.vrr_attribute3
467: ,p_vrr_attribute4_o =>ben_vrr_shd.g_old_rec.vrr_attribute4
468: ,p_vrr_attribute5_o =>ben_vrr_shd.g_old_rec.vrr_attribute5
469: ,p_vrr_attribute6_o =>ben_vrr_shd.g_old_rec.vrr_attribute6
470: ,p_vrr_attribute7_o =>ben_vrr_shd.g_old_rec.vrr_attribute7
463: ,p_vrr_attribute_category_o =>ben_vrr_shd.g_old_rec.vrr_attribute_category
464: ,p_vrr_attribute1_o =>ben_vrr_shd.g_old_rec.vrr_attribute1
465: ,p_vrr_attribute2_o =>ben_vrr_shd.g_old_rec.vrr_attribute2
466: ,p_vrr_attribute3_o =>ben_vrr_shd.g_old_rec.vrr_attribute3
467: ,p_vrr_attribute4_o =>ben_vrr_shd.g_old_rec.vrr_attribute4
468: ,p_vrr_attribute5_o =>ben_vrr_shd.g_old_rec.vrr_attribute5
469: ,p_vrr_attribute6_o =>ben_vrr_shd.g_old_rec.vrr_attribute6
470: ,p_vrr_attribute7_o =>ben_vrr_shd.g_old_rec.vrr_attribute7
471: ,p_vrr_attribute8_o =>ben_vrr_shd.g_old_rec.vrr_attribute8
464: ,p_vrr_attribute1_o =>ben_vrr_shd.g_old_rec.vrr_attribute1
465: ,p_vrr_attribute2_o =>ben_vrr_shd.g_old_rec.vrr_attribute2
466: ,p_vrr_attribute3_o =>ben_vrr_shd.g_old_rec.vrr_attribute3
467: ,p_vrr_attribute4_o =>ben_vrr_shd.g_old_rec.vrr_attribute4
468: ,p_vrr_attribute5_o =>ben_vrr_shd.g_old_rec.vrr_attribute5
469: ,p_vrr_attribute6_o =>ben_vrr_shd.g_old_rec.vrr_attribute6
470: ,p_vrr_attribute7_o =>ben_vrr_shd.g_old_rec.vrr_attribute7
471: ,p_vrr_attribute8_o =>ben_vrr_shd.g_old_rec.vrr_attribute8
472: ,p_vrr_attribute9_o =>ben_vrr_shd.g_old_rec.vrr_attribute9
465: ,p_vrr_attribute2_o =>ben_vrr_shd.g_old_rec.vrr_attribute2
466: ,p_vrr_attribute3_o =>ben_vrr_shd.g_old_rec.vrr_attribute3
467: ,p_vrr_attribute4_o =>ben_vrr_shd.g_old_rec.vrr_attribute4
468: ,p_vrr_attribute5_o =>ben_vrr_shd.g_old_rec.vrr_attribute5
469: ,p_vrr_attribute6_o =>ben_vrr_shd.g_old_rec.vrr_attribute6
470: ,p_vrr_attribute7_o =>ben_vrr_shd.g_old_rec.vrr_attribute7
471: ,p_vrr_attribute8_o =>ben_vrr_shd.g_old_rec.vrr_attribute8
472: ,p_vrr_attribute9_o =>ben_vrr_shd.g_old_rec.vrr_attribute9
473: ,p_vrr_attribute10_o =>ben_vrr_shd.g_old_rec.vrr_attribute10
466: ,p_vrr_attribute3_o =>ben_vrr_shd.g_old_rec.vrr_attribute3
467: ,p_vrr_attribute4_o =>ben_vrr_shd.g_old_rec.vrr_attribute4
468: ,p_vrr_attribute5_o =>ben_vrr_shd.g_old_rec.vrr_attribute5
469: ,p_vrr_attribute6_o =>ben_vrr_shd.g_old_rec.vrr_attribute6
470: ,p_vrr_attribute7_o =>ben_vrr_shd.g_old_rec.vrr_attribute7
471: ,p_vrr_attribute8_o =>ben_vrr_shd.g_old_rec.vrr_attribute8
472: ,p_vrr_attribute9_o =>ben_vrr_shd.g_old_rec.vrr_attribute9
473: ,p_vrr_attribute10_o =>ben_vrr_shd.g_old_rec.vrr_attribute10
474: ,p_vrr_attribute11_o =>ben_vrr_shd.g_old_rec.vrr_attribute11
467: ,p_vrr_attribute4_o =>ben_vrr_shd.g_old_rec.vrr_attribute4
468: ,p_vrr_attribute5_o =>ben_vrr_shd.g_old_rec.vrr_attribute5
469: ,p_vrr_attribute6_o =>ben_vrr_shd.g_old_rec.vrr_attribute6
470: ,p_vrr_attribute7_o =>ben_vrr_shd.g_old_rec.vrr_attribute7
471: ,p_vrr_attribute8_o =>ben_vrr_shd.g_old_rec.vrr_attribute8
472: ,p_vrr_attribute9_o =>ben_vrr_shd.g_old_rec.vrr_attribute9
473: ,p_vrr_attribute10_o =>ben_vrr_shd.g_old_rec.vrr_attribute10
474: ,p_vrr_attribute11_o =>ben_vrr_shd.g_old_rec.vrr_attribute11
475: ,p_vrr_attribute12_o =>ben_vrr_shd.g_old_rec.vrr_attribute12
468: ,p_vrr_attribute5_o =>ben_vrr_shd.g_old_rec.vrr_attribute5
469: ,p_vrr_attribute6_o =>ben_vrr_shd.g_old_rec.vrr_attribute6
470: ,p_vrr_attribute7_o =>ben_vrr_shd.g_old_rec.vrr_attribute7
471: ,p_vrr_attribute8_o =>ben_vrr_shd.g_old_rec.vrr_attribute8
472: ,p_vrr_attribute9_o =>ben_vrr_shd.g_old_rec.vrr_attribute9
473: ,p_vrr_attribute10_o =>ben_vrr_shd.g_old_rec.vrr_attribute10
474: ,p_vrr_attribute11_o =>ben_vrr_shd.g_old_rec.vrr_attribute11
475: ,p_vrr_attribute12_o =>ben_vrr_shd.g_old_rec.vrr_attribute12
476: ,p_vrr_attribute13_o =>ben_vrr_shd.g_old_rec.vrr_attribute13
469: ,p_vrr_attribute6_o =>ben_vrr_shd.g_old_rec.vrr_attribute6
470: ,p_vrr_attribute7_o =>ben_vrr_shd.g_old_rec.vrr_attribute7
471: ,p_vrr_attribute8_o =>ben_vrr_shd.g_old_rec.vrr_attribute8
472: ,p_vrr_attribute9_o =>ben_vrr_shd.g_old_rec.vrr_attribute9
473: ,p_vrr_attribute10_o =>ben_vrr_shd.g_old_rec.vrr_attribute10
474: ,p_vrr_attribute11_o =>ben_vrr_shd.g_old_rec.vrr_attribute11
475: ,p_vrr_attribute12_o =>ben_vrr_shd.g_old_rec.vrr_attribute12
476: ,p_vrr_attribute13_o =>ben_vrr_shd.g_old_rec.vrr_attribute13
477: ,p_vrr_attribute14_o =>ben_vrr_shd.g_old_rec.vrr_attribute14
470: ,p_vrr_attribute7_o =>ben_vrr_shd.g_old_rec.vrr_attribute7
471: ,p_vrr_attribute8_o =>ben_vrr_shd.g_old_rec.vrr_attribute8
472: ,p_vrr_attribute9_o =>ben_vrr_shd.g_old_rec.vrr_attribute9
473: ,p_vrr_attribute10_o =>ben_vrr_shd.g_old_rec.vrr_attribute10
474: ,p_vrr_attribute11_o =>ben_vrr_shd.g_old_rec.vrr_attribute11
475: ,p_vrr_attribute12_o =>ben_vrr_shd.g_old_rec.vrr_attribute12
476: ,p_vrr_attribute13_o =>ben_vrr_shd.g_old_rec.vrr_attribute13
477: ,p_vrr_attribute14_o =>ben_vrr_shd.g_old_rec.vrr_attribute14
478: ,p_vrr_attribute15_o =>ben_vrr_shd.g_old_rec.vrr_attribute15
471: ,p_vrr_attribute8_o =>ben_vrr_shd.g_old_rec.vrr_attribute8
472: ,p_vrr_attribute9_o =>ben_vrr_shd.g_old_rec.vrr_attribute9
473: ,p_vrr_attribute10_o =>ben_vrr_shd.g_old_rec.vrr_attribute10
474: ,p_vrr_attribute11_o =>ben_vrr_shd.g_old_rec.vrr_attribute11
475: ,p_vrr_attribute12_o =>ben_vrr_shd.g_old_rec.vrr_attribute12
476: ,p_vrr_attribute13_o =>ben_vrr_shd.g_old_rec.vrr_attribute13
477: ,p_vrr_attribute14_o =>ben_vrr_shd.g_old_rec.vrr_attribute14
478: ,p_vrr_attribute15_o =>ben_vrr_shd.g_old_rec.vrr_attribute15
479: ,p_vrr_attribute16_o =>ben_vrr_shd.g_old_rec.vrr_attribute16
472: ,p_vrr_attribute9_o =>ben_vrr_shd.g_old_rec.vrr_attribute9
473: ,p_vrr_attribute10_o =>ben_vrr_shd.g_old_rec.vrr_attribute10
474: ,p_vrr_attribute11_o =>ben_vrr_shd.g_old_rec.vrr_attribute11
475: ,p_vrr_attribute12_o =>ben_vrr_shd.g_old_rec.vrr_attribute12
476: ,p_vrr_attribute13_o =>ben_vrr_shd.g_old_rec.vrr_attribute13
477: ,p_vrr_attribute14_o =>ben_vrr_shd.g_old_rec.vrr_attribute14
478: ,p_vrr_attribute15_o =>ben_vrr_shd.g_old_rec.vrr_attribute15
479: ,p_vrr_attribute16_o =>ben_vrr_shd.g_old_rec.vrr_attribute16
480: ,p_vrr_attribute17_o =>ben_vrr_shd.g_old_rec.vrr_attribute17
473: ,p_vrr_attribute10_o =>ben_vrr_shd.g_old_rec.vrr_attribute10
474: ,p_vrr_attribute11_o =>ben_vrr_shd.g_old_rec.vrr_attribute11
475: ,p_vrr_attribute12_o =>ben_vrr_shd.g_old_rec.vrr_attribute12
476: ,p_vrr_attribute13_o =>ben_vrr_shd.g_old_rec.vrr_attribute13
477: ,p_vrr_attribute14_o =>ben_vrr_shd.g_old_rec.vrr_attribute14
478: ,p_vrr_attribute15_o =>ben_vrr_shd.g_old_rec.vrr_attribute15
479: ,p_vrr_attribute16_o =>ben_vrr_shd.g_old_rec.vrr_attribute16
480: ,p_vrr_attribute17_o =>ben_vrr_shd.g_old_rec.vrr_attribute17
481: ,p_vrr_attribute18_o =>ben_vrr_shd.g_old_rec.vrr_attribute18
474: ,p_vrr_attribute11_o =>ben_vrr_shd.g_old_rec.vrr_attribute11
475: ,p_vrr_attribute12_o =>ben_vrr_shd.g_old_rec.vrr_attribute12
476: ,p_vrr_attribute13_o =>ben_vrr_shd.g_old_rec.vrr_attribute13
477: ,p_vrr_attribute14_o =>ben_vrr_shd.g_old_rec.vrr_attribute14
478: ,p_vrr_attribute15_o =>ben_vrr_shd.g_old_rec.vrr_attribute15
479: ,p_vrr_attribute16_o =>ben_vrr_shd.g_old_rec.vrr_attribute16
480: ,p_vrr_attribute17_o =>ben_vrr_shd.g_old_rec.vrr_attribute17
481: ,p_vrr_attribute18_o =>ben_vrr_shd.g_old_rec.vrr_attribute18
482: ,p_vrr_attribute19_o =>ben_vrr_shd.g_old_rec.vrr_attribute19
475: ,p_vrr_attribute12_o =>ben_vrr_shd.g_old_rec.vrr_attribute12
476: ,p_vrr_attribute13_o =>ben_vrr_shd.g_old_rec.vrr_attribute13
477: ,p_vrr_attribute14_o =>ben_vrr_shd.g_old_rec.vrr_attribute14
478: ,p_vrr_attribute15_o =>ben_vrr_shd.g_old_rec.vrr_attribute15
479: ,p_vrr_attribute16_o =>ben_vrr_shd.g_old_rec.vrr_attribute16
480: ,p_vrr_attribute17_o =>ben_vrr_shd.g_old_rec.vrr_attribute17
481: ,p_vrr_attribute18_o =>ben_vrr_shd.g_old_rec.vrr_attribute18
482: ,p_vrr_attribute19_o =>ben_vrr_shd.g_old_rec.vrr_attribute19
483: ,p_vrr_attribute20_o =>ben_vrr_shd.g_old_rec.vrr_attribute20
476: ,p_vrr_attribute13_o =>ben_vrr_shd.g_old_rec.vrr_attribute13
477: ,p_vrr_attribute14_o =>ben_vrr_shd.g_old_rec.vrr_attribute14
478: ,p_vrr_attribute15_o =>ben_vrr_shd.g_old_rec.vrr_attribute15
479: ,p_vrr_attribute16_o =>ben_vrr_shd.g_old_rec.vrr_attribute16
480: ,p_vrr_attribute17_o =>ben_vrr_shd.g_old_rec.vrr_attribute17
481: ,p_vrr_attribute18_o =>ben_vrr_shd.g_old_rec.vrr_attribute18
482: ,p_vrr_attribute19_o =>ben_vrr_shd.g_old_rec.vrr_attribute19
483: ,p_vrr_attribute20_o =>ben_vrr_shd.g_old_rec.vrr_attribute20
484: ,p_vrr_attribute21_o =>ben_vrr_shd.g_old_rec.vrr_attribute21
477: ,p_vrr_attribute14_o =>ben_vrr_shd.g_old_rec.vrr_attribute14
478: ,p_vrr_attribute15_o =>ben_vrr_shd.g_old_rec.vrr_attribute15
479: ,p_vrr_attribute16_o =>ben_vrr_shd.g_old_rec.vrr_attribute16
480: ,p_vrr_attribute17_o =>ben_vrr_shd.g_old_rec.vrr_attribute17
481: ,p_vrr_attribute18_o =>ben_vrr_shd.g_old_rec.vrr_attribute18
482: ,p_vrr_attribute19_o =>ben_vrr_shd.g_old_rec.vrr_attribute19
483: ,p_vrr_attribute20_o =>ben_vrr_shd.g_old_rec.vrr_attribute20
484: ,p_vrr_attribute21_o =>ben_vrr_shd.g_old_rec.vrr_attribute21
485: ,p_vrr_attribute22_o =>ben_vrr_shd.g_old_rec.vrr_attribute22
478: ,p_vrr_attribute15_o =>ben_vrr_shd.g_old_rec.vrr_attribute15
479: ,p_vrr_attribute16_o =>ben_vrr_shd.g_old_rec.vrr_attribute16
480: ,p_vrr_attribute17_o =>ben_vrr_shd.g_old_rec.vrr_attribute17
481: ,p_vrr_attribute18_o =>ben_vrr_shd.g_old_rec.vrr_attribute18
482: ,p_vrr_attribute19_o =>ben_vrr_shd.g_old_rec.vrr_attribute19
483: ,p_vrr_attribute20_o =>ben_vrr_shd.g_old_rec.vrr_attribute20
484: ,p_vrr_attribute21_o =>ben_vrr_shd.g_old_rec.vrr_attribute21
485: ,p_vrr_attribute22_o =>ben_vrr_shd.g_old_rec.vrr_attribute22
486: ,p_vrr_attribute23_o =>ben_vrr_shd.g_old_rec.vrr_attribute23
479: ,p_vrr_attribute16_o =>ben_vrr_shd.g_old_rec.vrr_attribute16
480: ,p_vrr_attribute17_o =>ben_vrr_shd.g_old_rec.vrr_attribute17
481: ,p_vrr_attribute18_o =>ben_vrr_shd.g_old_rec.vrr_attribute18
482: ,p_vrr_attribute19_o =>ben_vrr_shd.g_old_rec.vrr_attribute19
483: ,p_vrr_attribute20_o =>ben_vrr_shd.g_old_rec.vrr_attribute20
484: ,p_vrr_attribute21_o =>ben_vrr_shd.g_old_rec.vrr_attribute21
485: ,p_vrr_attribute22_o =>ben_vrr_shd.g_old_rec.vrr_attribute22
486: ,p_vrr_attribute23_o =>ben_vrr_shd.g_old_rec.vrr_attribute23
487: ,p_vrr_attribute24_o =>ben_vrr_shd.g_old_rec.vrr_attribute24
480: ,p_vrr_attribute17_o =>ben_vrr_shd.g_old_rec.vrr_attribute17
481: ,p_vrr_attribute18_o =>ben_vrr_shd.g_old_rec.vrr_attribute18
482: ,p_vrr_attribute19_o =>ben_vrr_shd.g_old_rec.vrr_attribute19
483: ,p_vrr_attribute20_o =>ben_vrr_shd.g_old_rec.vrr_attribute20
484: ,p_vrr_attribute21_o =>ben_vrr_shd.g_old_rec.vrr_attribute21
485: ,p_vrr_attribute22_o =>ben_vrr_shd.g_old_rec.vrr_attribute22
486: ,p_vrr_attribute23_o =>ben_vrr_shd.g_old_rec.vrr_attribute23
487: ,p_vrr_attribute24_o =>ben_vrr_shd.g_old_rec.vrr_attribute24
488: ,p_vrr_attribute25_o =>ben_vrr_shd.g_old_rec.vrr_attribute25
481: ,p_vrr_attribute18_o =>ben_vrr_shd.g_old_rec.vrr_attribute18
482: ,p_vrr_attribute19_o =>ben_vrr_shd.g_old_rec.vrr_attribute19
483: ,p_vrr_attribute20_o =>ben_vrr_shd.g_old_rec.vrr_attribute20
484: ,p_vrr_attribute21_o =>ben_vrr_shd.g_old_rec.vrr_attribute21
485: ,p_vrr_attribute22_o =>ben_vrr_shd.g_old_rec.vrr_attribute22
486: ,p_vrr_attribute23_o =>ben_vrr_shd.g_old_rec.vrr_attribute23
487: ,p_vrr_attribute24_o =>ben_vrr_shd.g_old_rec.vrr_attribute24
488: ,p_vrr_attribute25_o =>ben_vrr_shd.g_old_rec.vrr_attribute25
489: ,p_vrr_attribute26_o =>ben_vrr_shd.g_old_rec.vrr_attribute26
482: ,p_vrr_attribute19_o =>ben_vrr_shd.g_old_rec.vrr_attribute19
483: ,p_vrr_attribute20_o =>ben_vrr_shd.g_old_rec.vrr_attribute20
484: ,p_vrr_attribute21_o =>ben_vrr_shd.g_old_rec.vrr_attribute21
485: ,p_vrr_attribute22_o =>ben_vrr_shd.g_old_rec.vrr_attribute22
486: ,p_vrr_attribute23_o =>ben_vrr_shd.g_old_rec.vrr_attribute23
487: ,p_vrr_attribute24_o =>ben_vrr_shd.g_old_rec.vrr_attribute24
488: ,p_vrr_attribute25_o =>ben_vrr_shd.g_old_rec.vrr_attribute25
489: ,p_vrr_attribute26_o =>ben_vrr_shd.g_old_rec.vrr_attribute26
490: ,p_vrr_attribute27_o =>ben_vrr_shd.g_old_rec.vrr_attribute27
483: ,p_vrr_attribute20_o =>ben_vrr_shd.g_old_rec.vrr_attribute20
484: ,p_vrr_attribute21_o =>ben_vrr_shd.g_old_rec.vrr_attribute21
485: ,p_vrr_attribute22_o =>ben_vrr_shd.g_old_rec.vrr_attribute22
486: ,p_vrr_attribute23_o =>ben_vrr_shd.g_old_rec.vrr_attribute23
487: ,p_vrr_attribute24_o =>ben_vrr_shd.g_old_rec.vrr_attribute24
488: ,p_vrr_attribute25_o =>ben_vrr_shd.g_old_rec.vrr_attribute25
489: ,p_vrr_attribute26_o =>ben_vrr_shd.g_old_rec.vrr_attribute26
490: ,p_vrr_attribute27_o =>ben_vrr_shd.g_old_rec.vrr_attribute27
491: ,p_vrr_attribute28_o =>ben_vrr_shd.g_old_rec.vrr_attribute28
484: ,p_vrr_attribute21_o =>ben_vrr_shd.g_old_rec.vrr_attribute21
485: ,p_vrr_attribute22_o =>ben_vrr_shd.g_old_rec.vrr_attribute22
486: ,p_vrr_attribute23_o =>ben_vrr_shd.g_old_rec.vrr_attribute23
487: ,p_vrr_attribute24_o =>ben_vrr_shd.g_old_rec.vrr_attribute24
488: ,p_vrr_attribute25_o =>ben_vrr_shd.g_old_rec.vrr_attribute25
489: ,p_vrr_attribute26_o =>ben_vrr_shd.g_old_rec.vrr_attribute26
490: ,p_vrr_attribute27_o =>ben_vrr_shd.g_old_rec.vrr_attribute27
491: ,p_vrr_attribute28_o =>ben_vrr_shd.g_old_rec.vrr_attribute28
492: ,p_vrr_attribute29_o =>ben_vrr_shd.g_old_rec.vrr_attribute29
485: ,p_vrr_attribute22_o =>ben_vrr_shd.g_old_rec.vrr_attribute22
486: ,p_vrr_attribute23_o =>ben_vrr_shd.g_old_rec.vrr_attribute23
487: ,p_vrr_attribute24_o =>ben_vrr_shd.g_old_rec.vrr_attribute24
488: ,p_vrr_attribute25_o =>ben_vrr_shd.g_old_rec.vrr_attribute25
489: ,p_vrr_attribute26_o =>ben_vrr_shd.g_old_rec.vrr_attribute26
490: ,p_vrr_attribute27_o =>ben_vrr_shd.g_old_rec.vrr_attribute27
491: ,p_vrr_attribute28_o =>ben_vrr_shd.g_old_rec.vrr_attribute28
492: ,p_vrr_attribute29_o =>ben_vrr_shd.g_old_rec.vrr_attribute29
493: ,p_vrr_attribute30_o =>ben_vrr_shd.g_old_rec.vrr_attribute30
486: ,p_vrr_attribute23_o =>ben_vrr_shd.g_old_rec.vrr_attribute23
487: ,p_vrr_attribute24_o =>ben_vrr_shd.g_old_rec.vrr_attribute24
488: ,p_vrr_attribute25_o =>ben_vrr_shd.g_old_rec.vrr_attribute25
489: ,p_vrr_attribute26_o =>ben_vrr_shd.g_old_rec.vrr_attribute26
490: ,p_vrr_attribute27_o =>ben_vrr_shd.g_old_rec.vrr_attribute27
491: ,p_vrr_attribute28_o =>ben_vrr_shd.g_old_rec.vrr_attribute28
492: ,p_vrr_attribute29_o =>ben_vrr_shd.g_old_rec.vrr_attribute29
493: ,p_vrr_attribute30_o =>ben_vrr_shd.g_old_rec.vrr_attribute30
494: ,p_object_version_number_o =>ben_vrr_shd.g_old_rec.object_version_number
487: ,p_vrr_attribute24_o =>ben_vrr_shd.g_old_rec.vrr_attribute24
488: ,p_vrr_attribute25_o =>ben_vrr_shd.g_old_rec.vrr_attribute25
489: ,p_vrr_attribute26_o =>ben_vrr_shd.g_old_rec.vrr_attribute26
490: ,p_vrr_attribute27_o =>ben_vrr_shd.g_old_rec.vrr_attribute27
491: ,p_vrr_attribute28_o =>ben_vrr_shd.g_old_rec.vrr_attribute28
492: ,p_vrr_attribute29_o =>ben_vrr_shd.g_old_rec.vrr_attribute29
493: ,p_vrr_attribute30_o =>ben_vrr_shd.g_old_rec.vrr_attribute30
494: ,p_object_version_number_o =>ben_vrr_shd.g_old_rec.object_version_number
495: );
488: ,p_vrr_attribute25_o =>ben_vrr_shd.g_old_rec.vrr_attribute25
489: ,p_vrr_attribute26_o =>ben_vrr_shd.g_old_rec.vrr_attribute26
490: ,p_vrr_attribute27_o =>ben_vrr_shd.g_old_rec.vrr_attribute27
491: ,p_vrr_attribute28_o =>ben_vrr_shd.g_old_rec.vrr_attribute28
492: ,p_vrr_attribute29_o =>ben_vrr_shd.g_old_rec.vrr_attribute29
493: ,p_vrr_attribute30_o =>ben_vrr_shd.g_old_rec.vrr_attribute30
494: ,p_object_version_number_o =>ben_vrr_shd.g_old_rec.object_version_number
495: );
496: --
489: ,p_vrr_attribute26_o =>ben_vrr_shd.g_old_rec.vrr_attribute26
490: ,p_vrr_attribute27_o =>ben_vrr_shd.g_old_rec.vrr_attribute27
491: ,p_vrr_attribute28_o =>ben_vrr_shd.g_old_rec.vrr_attribute28
492: ,p_vrr_attribute29_o =>ben_vrr_shd.g_old_rec.vrr_attribute29
493: ,p_vrr_attribute30_o =>ben_vrr_shd.g_old_rec.vrr_attribute30
494: ,p_object_version_number_o =>ben_vrr_shd.g_old_rec.object_version_number
495: );
496: --
497: exception
490: ,p_vrr_attribute27_o =>ben_vrr_shd.g_old_rec.vrr_attribute27
491: ,p_vrr_attribute28_o =>ben_vrr_shd.g_old_rec.vrr_attribute28
492: ,p_vrr_attribute29_o =>ben_vrr_shd.g_old_rec.vrr_attribute29
493: ,p_vrr_attribute30_o =>ben_vrr_shd.g_old_rec.vrr_attribute30
494: ,p_object_version_number_o =>ben_vrr_shd.g_old_rec.object_version_number
495: );
496: --
497: exception
498: --
552: -- Internal Row Handler Use Only.
553: --
554: -- {End Of Comments}
555: -- ----------------------------------------------------------------------------
556: Procedure convert_defs(p_rec in out nocopy ben_vrr_shd.g_rec_type) is
557: --
558: l_proc varchar2(72) := g_package||'convert_defs';
559: --
560: Begin
567: -- is being used then we must set to the 'current' argument value.
568: --
569: If (p_rec.drvbl_fctr_apls_flag = hr_api.g_varchar2) then
570: p_rec.drvbl_fctr_apls_flag :=
571: ben_vrr_shd.g_old_rec.drvbl_fctr_apls_flag;
572: End If;
573: If (p_rec.rt_trtmt_cd = hr_api.g_varchar2) then
574: p_rec.rt_trtmt_cd :=
575: ben_vrr_shd.g_old_rec.rt_trtmt_cd;
571: ben_vrr_shd.g_old_rec.drvbl_fctr_apls_flag;
572: End If;
573: If (p_rec.rt_trtmt_cd = hr_api.g_varchar2) then
574: p_rec.rt_trtmt_cd :=
575: ben_vrr_shd.g_old_rec.rt_trtmt_cd;
576: End If;
577: If (p_rec.business_group_id = hr_api.g_number) then
578: p_rec.business_group_id :=
579: ben_vrr_shd.g_old_rec.business_group_id;
575: ben_vrr_shd.g_old_rec.rt_trtmt_cd;
576: End If;
577: If (p_rec.business_group_id = hr_api.g_number) then
578: p_rec.business_group_id :=
579: ben_vrr_shd.g_old_rec.business_group_id;
580: End If;
581: If (p_rec.formula_id = hr_api.g_number) then
582: p_rec.formula_id :=
583: ben_vrr_shd.g_old_rec.formula_id;
579: ben_vrr_shd.g_old_rec.business_group_id;
580: End If;
581: If (p_rec.formula_id = hr_api.g_number) then
582: p_rec.formula_id :=
583: ben_vrr_shd.g_old_rec.formula_id;
584: End If;
585: /*If (p_rec.actl_prem_id = hr_api.g_number) then
586: p_rec.actl_prem_id :=
587: ben_vrr_shd.g_old_rec.actl_prem_id;
583: ben_vrr_shd.g_old_rec.formula_id;
584: End If;
585: /*If (p_rec.actl_prem_id = hr_api.g_number) then
586: p_rec.actl_prem_id :=
587: ben_vrr_shd.g_old_rec.actl_prem_id;
588: End If;*/
589: If (p_rec.acty_base_rt_id = hr_api.g_number) then
590: p_rec.acty_base_rt_id :=
591: ben_vrr_shd.g_old_rec.acty_base_rt_id;
587: ben_vrr_shd.g_old_rec.actl_prem_id;
588: End If;*/
589: If (p_rec.acty_base_rt_id = hr_api.g_number) then
590: p_rec.acty_base_rt_id :=
591: ben_vrr_shd.g_old_rec.acty_base_rt_id;
592: End If;
593: If (p_rec.ordr_to_aply_num = hr_api.g_number) then
594: p_rec.ordr_to_aply_num :=
595: ben_vrr_shd.g_old_rec.ordr_to_aply_num;
591: ben_vrr_shd.g_old_rec.acty_base_rt_id;
592: End If;
593: If (p_rec.ordr_to_aply_num = hr_api.g_number) then
594: p_rec.ordr_to_aply_num :=
595: ben_vrr_shd.g_old_rec.ordr_to_aply_num;
596: End If;
597: If (p_rec.vrr_attribute_category = hr_api.g_varchar2) then
598: p_rec.vrr_attribute_category :=
599: ben_vrr_shd.g_old_rec.vrr_attribute_category;
595: ben_vrr_shd.g_old_rec.ordr_to_aply_num;
596: End If;
597: If (p_rec.vrr_attribute_category = hr_api.g_varchar2) then
598: p_rec.vrr_attribute_category :=
599: ben_vrr_shd.g_old_rec.vrr_attribute_category;
600: End If;
601: If (p_rec.vrr_attribute1 = hr_api.g_varchar2) then
602: p_rec.vrr_attribute1 :=
603: ben_vrr_shd.g_old_rec.vrr_attribute1;
599: ben_vrr_shd.g_old_rec.vrr_attribute_category;
600: End If;
601: If (p_rec.vrr_attribute1 = hr_api.g_varchar2) then
602: p_rec.vrr_attribute1 :=
603: ben_vrr_shd.g_old_rec.vrr_attribute1;
604: End If;
605: If (p_rec.vrr_attribute2 = hr_api.g_varchar2) then
606: p_rec.vrr_attribute2 :=
607: ben_vrr_shd.g_old_rec.vrr_attribute2;
603: ben_vrr_shd.g_old_rec.vrr_attribute1;
604: End If;
605: If (p_rec.vrr_attribute2 = hr_api.g_varchar2) then
606: p_rec.vrr_attribute2 :=
607: ben_vrr_shd.g_old_rec.vrr_attribute2;
608: End If;
609: If (p_rec.vrr_attribute3 = hr_api.g_varchar2) then
610: p_rec.vrr_attribute3 :=
611: ben_vrr_shd.g_old_rec.vrr_attribute3;
607: ben_vrr_shd.g_old_rec.vrr_attribute2;
608: End If;
609: If (p_rec.vrr_attribute3 = hr_api.g_varchar2) then
610: p_rec.vrr_attribute3 :=
611: ben_vrr_shd.g_old_rec.vrr_attribute3;
612: End If;
613: If (p_rec.vrr_attribute4 = hr_api.g_varchar2) then
614: p_rec.vrr_attribute4 :=
615: ben_vrr_shd.g_old_rec.vrr_attribute4;
611: ben_vrr_shd.g_old_rec.vrr_attribute3;
612: End If;
613: If (p_rec.vrr_attribute4 = hr_api.g_varchar2) then
614: p_rec.vrr_attribute4 :=
615: ben_vrr_shd.g_old_rec.vrr_attribute4;
616: End If;
617: If (p_rec.vrr_attribute5 = hr_api.g_varchar2) then
618: p_rec.vrr_attribute5 :=
619: ben_vrr_shd.g_old_rec.vrr_attribute5;
615: ben_vrr_shd.g_old_rec.vrr_attribute4;
616: End If;
617: If (p_rec.vrr_attribute5 = hr_api.g_varchar2) then
618: p_rec.vrr_attribute5 :=
619: ben_vrr_shd.g_old_rec.vrr_attribute5;
620: End If;
621: If (p_rec.vrr_attribute6 = hr_api.g_varchar2) then
622: p_rec.vrr_attribute6 :=
623: ben_vrr_shd.g_old_rec.vrr_attribute6;
619: ben_vrr_shd.g_old_rec.vrr_attribute5;
620: End If;
621: If (p_rec.vrr_attribute6 = hr_api.g_varchar2) then
622: p_rec.vrr_attribute6 :=
623: ben_vrr_shd.g_old_rec.vrr_attribute6;
624: End If;
625: If (p_rec.vrr_attribute7 = hr_api.g_varchar2) then
626: p_rec.vrr_attribute7 :=
627: ben_vrr_shd.g_old_rec.vrr_attribute7;
623: ben_vrr_shd.g_old_rec.vrr_attribute6;
624: End If;
625: If (p_rec.vrr_attribute7 = hr_api.g_varchar2) then
626: p_rec.vrr_attribute7 :=
627: ben_vrr_shd.g_old_rec.vrr_attribute7;
628: End If;
629: If (p_rec.vrr_attribute8 = hr_api.g_varchar2) then
630: p_rec.vrr_attribute8 :=
631: ben_vrr_shd.g_old_rec.vrr_attribute8;
627: ben_vrr_shd.g_old_rec.vrr_attribute7;
628: End If;
629: If (p_rec.vrr_attribute8 = hr_api.g_varchar2) then
630: p_rec.vrr_attribute8 :=
631: ben_vrr_shd.g_old_rec.vrr_attribute8;
632: End If;
633: If (p_rec.vrr_attribute9 = hr_api.g_varchar2) then
634: p_rec.vrr_attribute9 :=
635: ben_vrr_shd.g_old_rec.vrr_attribute9;
631: ben_vrr_shd.g_old_rec.vrr_attribute8;
632: End If;
633: If (p_rec.vrr_attribute9 = hr_api.g_varchar2) then
634: p_rec.vrr_attribute9 :=
635: ben_vrr_shd.g_old_rec.vrr_attribute9;
636: End If;
637: If (p_rec.vrr_attribute10 = hr_api.g_varchar2) then
638: p_rec.vrr_attribute10 :=
639: ben_vrr_shd.g_old_rec.vrr_attribute10;
635: ben_vrr_shd.g_old_rec.vrr_attribute9;
636: End If;
637: If (p_rec.vrr_attribute10 = hr_api.g_varchar2) then
638: p_rec.vrr_attribute10 :=
639: ben_vrr_shd.g_old_rec.vrr_attribute10;
640: End If;
641: If (p_rec.vrr_attribute11 = hr_api.g_varchar2) then
642: p_rec.vrr_attribute11 :=
643: ben_vrr_shd.g_old_rec.vrr_attribute11;
639: ben_vrr_shd.g_old_rec.vrr_attribute10;
640: End If;
641: If (p_rec.vrr_attribute11 = hr_api.g_varchar2) then
642: p_rec.vrr_attribute11 :=
643: ben_vrr_shd.g_old_rec.vrr_attribute11;
644: End If;
645: If (p_rec.vrr_attribute12 = hr_api.g_varchar2) then
646: p_rec.vrr_attribute12 :=
647: ben_vrr_shd.g_old_rec.vrr_attribute12;
643: ben_vrr_shd.g_old_rec.vrr_attribute11;
644: End If;
645: If (p_rec.vrr_attribute12 = hr_api.g_varchar2) then
646: p_rec.vrr_attribute12 :=
647: ben_vrr_shd.g_old_rec.vrr_attribute12;
648: End If;
649: If (p_rec.vrr_attribute13 = hr_api.g_varchar2) then
650: p_rec.vrr_attribute13 :=
651: ben_vrr_shd.g_old_rec.vrr_attribute13;
647: ben_vrr_shd.g_old_rec.vrr_attribute12;
648: End If;
649: If (p_rec.vrr_attribute13 = hr_api.g_varchar2) then
650: p_rec.vrr_attribute13 :=
651: ben_vrr_shd.g_old_rec.vrr_attribute13;
652: End If;
653: If (p_rec.vrr_attribute14 = hr_api.g_varchar2) then
654: p_rec.vrr_attribute14 :=
655: ben_vrr_shd.g_old_rec.vrr_attribute14;
651: ben_vrr_shd.g_old_rec.vrr_attribute13;
652: End If;
653: If (p_rec.vrr_attribute14 = hr_api.g_varchar2) then
654: p_rec.vrr_attribute14 :=
655: ben_vrr_shd.g_old_rec.vrr_attribute14;
656: End If;
657: If (p_rec.vrr_attribute15 = hr_api.g_varchar2) then
658: p_rec.vrr_attribute15 :=
659: ben_vrr_shd.g_old_rec.vrr_attribute15;
655: ben_vrr_shd.g_old_rec.vrr_attribute14;
656: End If;
657: If (p_rec.vrr_attribute15 = hr_api.g_varchar2) then
658: p_rec.vrr_attribute15 :=
659: ben_vrr_shd.g_old_rec.vrr_attribute15;
660: End If;
661: If (p_rec.vrr_attribute16 = hr_api.g_varchar2) then
662: p_rec.vrr_attribute16 :=
663: ben_vrr_shd.g_old_rec.vrr_attribute16;
659: ben_vrr_shd.g_old_rec.vrr_attribute15;
660: End If;
661: If (p_rec.vrr_attribute16 = hr_api.g_varchar2) then
662: p_rec.vrr_attribute16 :=
663: ben_vrr_shd.g_old_rec.vrr_attribute16;
664: End If;
665: If (p_rec.vrr_attribute17 = hr_api.g_varchar2) then
666: p_rec.vrr_attribute17 :=
667: ben_vrr_shd.g_old_rec.vrr_attribute17;
663: ben_vrr_shd.g_old_rec.vrr_attribute16;
664: End If;
665: If (p_rec.vrr_attribute17 = hr_api.g_varchar2) then
666: p_rec.vrr_attribute17 :=
667: ben_vrr_shd.g_old_rec.vrr_attribute17;
668: End If;
669: If (p_rec.vrr_attribute18 = hr_api.g_varchar2) then
670: p_rec.vrr_attribute18 :=
671: ben_vrr_shd.g_old_rec.vrr_attribute18;
667: ben_vrr_shd.g_old_rec.vrr_attribute17;
668: End If;
669: If (p_rec.vrr_attribute18 = hr_api.g_varchar2) then
670: p_rec.vrr_attribute18 :=
671: ben_vrr_shd.g_old_rec.vrr_attribute18;
672: End If;
673: If (p_rec.vrr_attribute19 = hr_api.g_varchar2) then
674: p_rec.vrr_attribute19 :=
675: ben_vrr_shd.g_old_rec.vrr_attribute19;
671: ben_vrr_shd.g_old_rec.vrr_attribute18;
672: End If;
673: If (p_rec.vrr_attribute19 = hr_api.g_varchar2) then
674: p_rec.vrr_attribute19 :=
675: ben_vrr_shd.g_old_rec.vrr_attribute19;
676: End If;
677: If (p_rec.vrr_attribute20 = hr_api.g_varchar2) then
678: p_rec.vrr_attribute20 :=
679: ben_vrr_shd.g_old_rec.vrr_attribute20;
675: ben_vrr_shd.g_old_rec.vrr_attribute19;
676: End If;
677: If (p_rec.vrr_attribute20 = hr_api.g_varchar2) then
678: p_rec.vrr_attribute20 :=
679: ben_vrr_shd.g_old_rec.vrr_attribute20;
680: End If;
681: If (p_rec.vrr_attribute21 = hr_api.g_varchar2) then
682: p_rec.vrr_attribute21 :=
683: ben_vrr_shd.g_old_rec.vrr_attribute21;
679: ben_vrr_shd.g_old_rec.vrr_attribute20;
680: End If;
681: If (p_rec.vrr_attribute21 = hr_api.g_varchar2) then
682: p_rec.vrr_attribute21 :=
683: ben_vrr_shd.g_old_rec.vrr_attribute21;
684: End If;
685: If (p_rec.vrr_attribute22 = hr_api.g_varchar2) then
686: p_rec.vrr_attribute22 :=
687: ben_vrr_shd.g_old_rec.vrr_attribute22;
683: ben_vrr_shd.g_old_rec.vrr_attribute21;
684: End If;
685: If (p_rec.vrr_attribute22 = hr_api.g_varchar2) then
686: p_rec.vrr_attribute22 :=
687: ben_vrr_shd.g_old_rec.vrr_attribute22;
688: End If;
689: If (p_rec.vrr_attribute23 = hr_api.g_varchar2) then
690: p_rec.vrr_attribute23 :=
691: ben_vrr_shd.g_old_rec.vrr_attribute23;
687: ben_vrr_shd.g_old_rec.vrr_attribute22;
688: End If;
689: If (p_rec.vrr_attribute23 = hr_api.g_varchar2) then
690: p_rec.vrr_attribute23 :=
691: ben_vrr_shd.g_old_rec.vrr_attribute23;
692: End If;
693: If (p_rec.vrr_attribute24 = hr_api.g_varchar2) then
694: p_rec.vrr_attribute24 :=
695: ben_vrr_shd.g_old_rec.vrr_attribute24;
691: ben_vrr_shd.g_old_rec.vrr_attribute23;
692: End If;
693: If (p_rec.vrr_attribute24 = hr_api.g_varchar2) then
694: p_rec.vrr_attribute24 :=
695: ben_vrr_shd.g_old_rec.vrr_attribute24;
696: End If;
697: If (p_rec.vrr_attribute25 = hr_api.g_varchar2) then
698: p_rec.vrr_attribute25 :=
699: ben_vrr_shd.g_old_rec.vrr_attribute25;
695: ben_vrr_shd.g_old_rec.vrr_attribute24;
696: End If;
697: If (p_rec.vrr_attribute25 = hr_api.g_varchar2) then
698: p_rec.vrr_attribute25 :=
699: ben_vrr_shd.g_old_rec.vrr_attribute25;
700: End If;
701: If (p_rec.vrr_attribute26 = hr_api.g_varchar2) then
702: p_rec.vrr_attribute26 :=
703: ben_vrr_shd.g_old_rec.vrr_attribute26;
699: ben_vrr_shd.g_old_rec.vrr_attribute25;
700: End If;
701: If (p_rec.vrr_attribute26 = hr_api.g_varchar2) then
702: p_rec.vrr_attribute26 :=
703: ben_vrr_shd.g_old_rec.vrr_attribute26;
704: End If;
705: If (p_rec.vrr_attribute27 = hr_api.g_varchar2) then
706: p_rec.vrr_attribute27 :=
707: ben_vrr_shd.g_old_rec.vrr_attribute27;
703: ben_vrr_shd.g_old_rec.vrr_attribute26;
704: End If;
705: If (p_rec.vrr_attribute27 = hr_api.g_varchar2) then
706: p_rec.vrr_attribute27 :=
707: ben_vrr_shd.g_old_rec.vrr_attribute27;
708: End If;
709: If (p_rec.vrr_attribute28 = hr_api.g_varchar2) then
710: p_rec.vrr_attribute28 :=
711: ben_vrr_shd.g_old_rec.vrr_attribute28;
707: ben_vrr_shd.g_old_rec.vrr_attribute27;
708: End If;
709: If (p_rec.vrr_attribute28 = hr_api.g_varchar2) then
710: p_rec.vrr_attribute28 :=
711: ben_vrr_shd.g_old_rec.vrr_attribute28;
712: End If;
713: If (p_rec.vrr_attribute29 = hr_api.g_varchar2) then
714: p_rec.vrr_attribute29 :=
715: ben_vrr_shd.g_old_rec.vrr_attribute29;
711: ben_vrr_shd.g_old_rec.vrr_attribute28;
712: End If;
713: If (p_rec.vrr_attribute29 = hr_api.g_varchar2) then
714: p_rec.vrr_attribute29 :=
715: ben_vrr_shd.g_old_rec.vrr_attribute29;
716: End If;
717: If (p_rec.vrr_attribute30 = hr_api.g_varchar2) then
718: p_rec.vrr_attribute30 :=
719: ben_vrr_shd.g_old_rec.vrr_attribute30;
715: ben_vrr_shd.g_old_rec.vrr_attribute29;
716: End If;
717: If (p_rec.vrr_attribute30 = hr_api.g_varchar2) then
718: p_rec.vrr_attribute30 :=
719: ben_vrr_shd.g_old_rec.vrr_attribute30;
720: End If;
721:
722: --
723: hr_utility.set_location(' Leaving:'||l_proc, 10);
728: -- |---------------------------------< upd >----------------------------------|
729: -- ----------------------------------------------------------------------------
730: Procedure upd
731: (
732: p_rec in out nocopy ben_vrr_shd.g_rec_type,
733: p_effective_date in date,
734: p_datetrack_mode in varchar2
735: ) is
736: --
746: dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode);
747: --
748: -- We must lock the row which we need to update.
749: --
750: ben_vrr_shd.lck
751: (p_effective_date => p_effective_date,
752: p_datetrack_mode => p_datetrack_mode,
753: p_vrbl_rt_rl_id => p_rec.vrbl_rt_rl_id,
754: p_object_version_number => p_rec.object_version_number,
846: p_effective_date in date,
847: p_datetrack_mode in varchar2
848: ) is
849: --
850: l_rec ben_vrr_shd.g_rec_type;
851: l_proc varchar2(72) := g_package||'upd';
852: --
853: Begin
854: hr_utility.set_location('Entering:'||l_proc, 5);
856: -- Call conversion function to turn arguments into the
857: -- l_rec structure.
858: --
859: l_rec :=
860: ben_vrr_shd.convert_args
861: (
862: p_vrbl_rt_rl_id,
863: null,
864: null,