54: --
55: -- {End Of Comments}
56: -- ----------------------------------------------------------------------------
57: Procedure dt_update_dml
58: (p_rec in out nocopy ben_lct_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_ler_chg_ptip_enrt_f',
78: p_base_key_column => 'ler_chg_ptip_enrt_id',
79: p_base_key_value => p_rec.ler_chg_ptip_enrt_id);
80: --
81: ben_lct_shd.g_api_dml := true; -- Set the api dml status
82: --
83: -- Update the ben_ler_chg_ptip_enrt_f Row
84: --
85: update ben_ler_chg_ptip_enrt_f
132: where ler_chg_ptip_enrt_id = p_rec.ler_chg_ptip_enrt_id
133: and effective_start_date = p_validation_start_date
134: and effective_end_date = p_validation_end_date;
135: --
136: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
137: --
138: -- Set the effective start and end dates
139: --
140: p_rec.effective_start_date := p_validation_start_date;
144: hr_utility.set_location(' Leaving:'||l_proc, 15);
145: Exception
146: When hr_api.check_integrity_violated Then
147: -- A check constraint has been violated
148: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
149: ben_lct_shd.constraint_error
150: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
151: When hr_api.unique_integrity_violated Then
152: -- Unique integrity has been violated
145: Exception
146: When hr_api.check_integrity_violated Then
147: -- A check constraint has been violated
148: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
149: ben_lct_shd.constraint_error
150: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
151: When hr_api.unique_integrity_violated Then
152: -- Unique integrity has been violated
153: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
149: ben_lct_shd.constraint_error
150: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
151: When hr_api.unique_integrity_violated Then
152: -- Unique integrity has been violated
153: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
154: ben_lct_shd.constraint_error
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When Others Then
157: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
150: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
151: When hr_api.unique_integrity_violated Then
152: -- Unique integrity has been violated
153: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
154: ben_lct_shd.constraint_error
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When Others Then
157: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
158: Raise;
153: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
154: ben_lct_shd.constraint_error
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When Others Then
157: ben_lct_shd.g_api_dml := false; -- Unset the api dml status
158: Raise;
159: End dt_update_dml;
160: --
161: -- ----------------------------------------------------------------------------
189: --
190: -- {End Of Comments}
191: -- ----------------------------------------------------------------------------
192: Procedure update_dml
193: (p_rec in out nocopy ben_lct_shd.g_rec_type,
194: p_effective_date in date,
195: p_datetrack_mode in varchar2,
196: p_validation_start_date in date,
197: p_validation_end_date in date) is
253: --
254: -- {End Of Comments}
255: -- ----------------------------------------------------------------------------
256: Procedure dt_pre_update
257: (p_rec in out nocopy ben_lct_shd.g_rec_type,
258: p_effective_date in date,
259: p_datetrack_mode in varchar2,
260: p_validation_start_date in date,
261: p_validation_end_date in date) is
269: hr_utility.set_location(l_proc, 10);
270: --
271: -- Update the current effective end date
272: --
273: ben_lct_shd.upd_effective_end_date
274: (p_effective_date => p_effective_date,
275: p_base_key_value => p_rec.ler_chg_ptip_enrt_id,
276: p_new_effective_end_date => (p_validation_start_date - 1),
277: p_validation_start_date => p_validation_start_date,
338: --
339: -- {End Of Comments}
340: -- ----------------------------------------------------------------------------
341: Procedure pre_update
342: (p_rec in out nocopy ben_lct_shd.g_rec_type,
343: p_effective_date in date,
344: p_datetrack_mode in varchar2,
345: p_validation_start_date in date,
346: p_validation_end_date in date) is
394: --
395: -- {End Of Comments}
396: -- ----------------------------------------------------------------------------
397: Procedure post_update
398: (p_rec in ben_lct_shd.g_rec_type,
399: p_effective_date in date,
400: p_datetrack_mode in varchar2,
401: p_validation_start_date in date,
402: p_validation_end_date in date) is
463: ,p_effective_date =>p_effective_date
464: ,p_datetrack_mode =>p_datetrack_mode
465: ,p_validation_start_date =>p_validation_start_date
466: ,p_validation_end_date =>p_validation_end_date
467: ,p_effective_start_date_o =>ben_lct_shd.g_old_rec.effective_start_date
468: ,p_effective_end_date_o =>ben_lct_shd.g_old_rec.effective_end_date
469: ,p_crnt_enrt_prclds_chg_flag_o =>ben_lct_shd.g_old_rec.crnt_enrt_prclds_chg_flag
470: ,p_stl_elig_cant_chg_flag_o =>ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag
471: ,p_dflt_flag_o =>ben_lct_shd.g_old_rec.dflt_flag
464: ,p_datetrack_mode =>p_datetrack_mode
465: ,p_validation_start_date =>p_validation_start_date
466: ,p_validation_end_date =>p_validation_end_date
467: ,p_effective_start_date_o =>ben_lct_shd.g_old_rec.effective_start_date
468: ,p_effective_end_date_o =>ben_lct_shd.g_old_rec.effective_end_date
469: ,p_crnt_enrt_prclds_chg_flag_o =>ben_lct_shd.g_old_rec.crnt_enrt_prclds_chg_flag
470: ,p_stl_elig_cant_chg_flag_o =>ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag
471: ,p_dflt_flag_o =>ben_lct_shd.g_old_rec.dflt_flag
472: ,p_dflt_enrt_cd_o =>ben_lct_shd.g_old_rec.dflt_enrt_cd
465: ,p_validation_start_date =>p_validation_start_date
466: ,p_validation_end_date =>p_validation_end_date
467: ,p_effective_start_date_o =>ben_lct_shd.g_old_rec.effective_start_date
468: ,p_effective_end_date_o =>ben_lct_shd.g_old_rec.effective_end_date
469: ,p_crnt_enrt_prclds_chg_flag_o =>ben_lct_shd.g_old_rec.crnt_enrt_prclds_chg_flag
470: ,p_stl_elig_cant_chg_flag_o =>ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag
471: ,p_dflt_flag_o =>ben_lct_shd.g_old_rec.dflt_flag
472: ,p_dflt_enrt_cd_o =>ben_lct_shd.g_old_rec.dflt_enrt_cd
473: ,p_dflt_enrt_rl_o =>ben_lct_shd.g_old_rec.dflt_enrt_rl
466: ,p_validation_end_date =>p_validation_end_date
467: ,p_effective_start_date_o =>ben_lct_shd.g_old_rec.effective_start_date
468: ,p_effective_end_date_o =>ben_lct_shd.g_old_rec.effective_end_date
469: ,p_crnt_enrt_prclds_chg_flag_o =>ben_lct_shd.g_old_rec.crnt_enrt_prclds_chg_flag
470: ,p_stl_elig_cant_chg_flag_o =>ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag
471: ,p_dflt_flag_o =>ben_lct_shd.g_old_rec.dflt_flag
472: ,p_dflt_enrt_cd_o =>ben_lct_shd.g_old_rec.dflt_enrt_cd
473: ,p_dflt_enrt_rl_o =>ben_lct_shd.g_old_rec.dflt_enrt_rl
474: ,p_enrt_cd_o =>ben_lct_shd.g_old_rec.enrt_cd
467: ,p_effective_start_date_o =>ben_lct_shd.g_old_rec.effective_start_date
468: ,p_effective_end_date_o =>ben_lct_shd.g_old_rec.effective_end_date
469: ,p_crnt_enrt_prclds_chg_flag_o =>ben_lct_shd.g_old_rec.crnt_enrt_prclds_chg_flag
470: ,p_stl_elig_cant_chg_flag_o =>ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag
471: ,p_dflt_flag_o =>ben_lct_shd.g_old_rec.dflt_flag
472: ,p_dflt_enrt_cd_o =>ben_lct_shd.g_old_rec.dflt_enrt_cd
473: ,p_dflt_enrt_rl_o =>ben_lct_shd.g_old_rec.dflt_enrt_rl
474: ,p_enrt_cd_o =>ben_lct_shd.g_old_rec.enrt_cd
475: ,p_enrt_mthd_cd_o =>ben_lct_shd.g_old_rec.enrt_mthd_cd
468: ,p_effective_end_date_o =>ben_lct_shd.g_old_rec.effective_end_date
469: ,p_crnt_enrt_prclds_chg_flag_o =>ben_lct_shd.g_old_rec.crnt_enrt_prclds_chg_flag
470: ,p_stl_elig_cant_chg_flag_o =>ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag
471: ,p_dflt_flag_o =>ben_lct_shd.g_old_rec.dflt_flag
472: ,p_dflt_enrt_cd_o =>ben_lct_shd.g_old_rec.dflt_enrt_cd
473: ,p_dflt_enrt_rl_o =>ben_lct_shd.g_old_rec.dflt_enrt_rl
474: ,p_enrt_cd_o =>ben_lct_shd.g_old_rec.enrt_cd
475: ,p_enrt_mthd_cd_o =>ben_lct_shd.g_old_rec.enrt_mthd_cd
476: ,p_enrt_rl_o =>ben_lct_shd.g_old_rec.enrt_rl
469: ,p_crnt_enrt_prclds_chg_flag_o =>ben_lct_shd.g_old_rec.crnt_enrt_prclds_chg_flag
470: ,p_stl_elig_cant_chg_flag_o =>ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag
471: ,p_dflt_flag_o =>ben_lct_shd.g_old_rec.dflt_flag
472: ,p_dflt_enrt_cd_o =>ben_lct_shd.g_old_rec.dflt_enrt_cd
473: ,p_dflt_enrt_rl_o =>ben_lct_shd.g_old_rec.dflt_enrt_rl
474: ,p_enrt_cd_o =>ben_lct_shd.g_old_rec.enrt_cd
475: ,p_enrt_mthd_cd_o =>ben_lct_shd.g_old_rec.enrt_mthd_cd
476: ,p_enrt_rl_o =>ben_lct_shd.g_old_rec.enrt_rl
477: ,p_tco_chg_enrt_cd_o =>ben_lct_shd.g_old_rec.tco_chg_enrt_cd
470: ,p_stl_elig_cant_chg_flag_o =>ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag
471: ,p_dflt_flag_o =>ben_lct_shd.g_old_rec.dflt_flag
472: ,p_dflt_enrt_cd_o =>ben_lct_shd.g_old_rec.dflt_enrt_cd
473: ,p_dflt_enrt_rl_o =>ben_lct_shd.g_old_rec.dflt_enrt_rl
474: ,p_enrt_cd_o =>ben_lct_shd.g_old_rec.enrt_cd
475: ,p_enrt_mthd_cd_o =>ben_lct_shd.g_old_rec.enrt_mthd_cd
476: ,p_enrt_rl_o =>ben_lct_shd.g_old_rec.enrt_rl
477: ,p_tco_chg_enrt_cd_o =>ben_lct_shd.g_old_rec.tco_chg_enrt_cd
478: ,p_ptip_id_o =>ben_lct_shd.g_old_rec.ptip_id
471: ,p_dflt_flag_o =>ben_lct_shd.g_old_rec.dflt_flag
472: ,p_dflt_enrt_cd_o =>ben_lct_shd.g_old_rec.dflt_enrt_cd
473: ,p_dflt_enrt_rl_o =>ben_lct_shd.g_old_rec.dflt_enrt_rl
474: ,p_enrt_cd_o =>ben_lct_shd.g_old_rec.enrt_cd
475: ,p_enrt_mthd_cd_o =>ben_lct_shd.g_old_rec.enrt_mthd_cd
476: ,p_enrt_rl_o =>ben_lct_shd.g_old_rec.enrt_rl
477: ,p_tco_chg_enrt_cd_o =>ben_lct_shd.g_old_rec.tco_chg_enrt_cd
478: ,p_ptip_id_o =>ben_lct_shd.g_old_rec.ptip_id
479: ,p_ler_id_o =>ben_lct_shd.g_old_rec.ler_id
472: ,p_dflt_enrt_cd_o =>ben_lct_shd.g_old_rec.dflt_enrt_cd
473: ,p_dflt_enrt_rl_o =>ben_lct_shd.g_old_rec.dflt_enrt_rl
474: ,p_enrt_cd_o =>ben_lct_shd.g_old_rec.enrt_cd
475: ,p_enrt_mthd_cd_o =>ben_lct_shd.g_old_rec.enrt_mthd_cd
476: ,p_enrt_rl_o =>ben_lct_shd.g_old_rec.enrt_rl
477: ,p_tco_chg_enrt_cd_o =>ben_lct_shd.g_old_rec.tco_chg_enrt_cd
478: ,p_ptip_id_o =>ben_lct_shd.g_old_rec.ptip_id
479: ,p_ler_id_o =>ben_lct_shd.g_old_rec.ler_id
480: ,p_business_group_id_o =>ben_lct_shd.g_old_rec.business_group_id
473: ,p_dflt_enrt_rl_o =>ben_lct_shd.g_old_rec.dflt_enrt_rl
474: ,p_enrt_cd_o =>ben_lct_shd.g_old_rec.enrt_cd
475: ,p_enrt_mthd_cd_o =>ben_lct_shd.g_old_rec.enrt_mthd_cd
476: ,p_enrt_rl_o =>ben_lct_shd.g_old_rec.enrt_rl
477: ,p_tco_chg_enrt_cd_o =>ben_lct_shd.g_old_rec.tco_chg_enrt_cd
478: ,p_ptip_id_o =>ben_lct_shd.g_old_rec.ptip_id
479: ,p_ler_id_o =>ben_lct_shd.g_old_rec.ler_id
480: ,p_business_group_id_o =>ben_lct_shd.g_old_rec.business_group_id
481: ,p_lct_attribute_category_o =>ben_lct_shd.g_old_rec.lct_attribute_category
474: ,p_enrt_cd_o =>ben_lct_shd.g_old_rec.enrt_cd
475: ,p_enrt_mthd_cd_o =>ben_lct_shd.g_old_rec.enrt_mthd_cd
476: ,p_enrt_rl_o =>ben_lct_shd.g_old_rec.enrt_rl
477: ,p_tco_chg_enrt_cd_o =>ben_lct_shd.g_old_rec.tco_chg_enrt_cd
478: ,p_ptip_id_o =>ben_lct_shd.g_old_rec.ptip_id
479: ,p_ler_id_o =>ben_lct_shd.g_old_rec.ler_id
480: ,p_business_group_id_o =>ben_lct_shd.g_old_rec.business_group_id
481: ,p_lct_attribute_category_o =>ben_lct_shd.g_old_rec.lct_attribute_category
482: ,p_lct_attribute1_o =>ben_lct_shd.g_old_rec.lct_attribute1
475: ,p_enrt_mthd_cd_o =>ben_lct_shd.g_old_rec.enrt_mthd_cd
476: ,p_enrt_rl_o =>ben_lct_shd.g_old_rec.enrt_rl
477: ,p_tco_chg_enrt_cd_o =>ben_lct_shd.g_old_rec.tco_chg_enrt_cd
478: ,p_ptip_id_o =>ben_lct_shd.g_old_rec.ptip_id
479: ,p_ler_id_o =>ben_lct_shd.g_old_rec.ler_id
480: ,p_business_group_id_o =>ben_lct_shd.g_old_rec.business_group_id
481: ,p_lct_attribute_category_o =>ben_lct_shd.g_old_rec.lct_attribute_category
482: ,p_lct_attribute1_o =>ben_lct_shd.g_old_rec.lct_attribute1
483: ,p_lct_attribute2_o =>ben_lct_shd.g_old_rec.lct_attribute2
476: ,p_enrt_rl_o =>ben_lct_shd.g_old_rec.enrt_rl
477: ,p_tco_chg_enrt_cd_o =>ben_lct_shd.g_old_rec.tco_chg_enrt_cd
478: ,p_ptip_id_o =>ben_lct_shd.g_old_rec.ptip_id
479: ,p_ler_id_o =>ben_lct_shd.g_old_rec.ler_id
480: ,p_business_group_id_o =>ben_lct_shd.g_old_rec.business_group_id
481: ,p_lct_attribute_category_o =>ben_lct_shd.g_old_rec.lct_attribute_category
482: ,p_lct_attribute1_o =>ben_lct_shd.g_old_rec.lct_attribute1
483: ,p_lct_attribute2_o =>ben_lct_shd.g_old_rec.lct_attribute2
484: ,p_lct_attribute3_o =>ben_lct_shd.g_old_rec.lct_attribute3
477: ,p_tco_chg_enrt_cd_o =>ben_lct_shd.g_old_rec.tco_chg_enrt_cd
478: ,p_ptip_id_o =>ben_lct_shd.g_old_rec.ptip_id
479: ,p_ler_id_o =>ben_lct_shd.g_old_rec.ler_id
480: ,p_business_group_id_o =>ben_lct_shd.g_old_rec.business_group_id
481: ,p_lct_attribute_category_o =>ben_lct_shd.g_old_rec.lct_attribute_category
482: ,p_lct_attribute1_o =>ben_lct_shd.g_old_rec.lct_attribute1
483: ,p_lct_attribute2_o =>ben_lct_shd.g_old_rec.lct_attribute2
484: ,p_lct_attribute3_o =>ben_lct_shd.g_old_rec.lct_attribute3
485: ,p_lct_attribute4_o =>ben_lct_shd.g_old_rec.lct_attribute4
478: ,p_ptip_id_o =>ben_lct_shd.g_old_rec.ptip_id
479: ,p_ler_id_o =>ben_lct_shd.g_old_rec.ler_id
480: ,p_business_group_id_o =>ben_lct_shd.g_old_rec.business_group_id
481: ,p_lct_attribute_category_o =>ben_lct_shd.g_old_rec.lct_attribute_category
482: ,p_lct_attribute1_o =>ben_lct_shd.g_old_rec.lct_attribute1
483: ,p_lct_attribute2_o =>ben_lct_shd.g_old_rec.lct_attribute2
484: ,p_lct_attribute3_o =>ben_lct_shd.g_old_rec.lct_attribute3
485: ,p_lct_attribute4_o =>ben_lct_shd.g_old_rec.lct_attribute4
486: ,p_lct_attribute5_o =>ben_lct_shd.g_old_rec.lct_attribute5
479: ,p_ler_id_o =>ben_lct_shd.g_old_rec.ler_id
480: ,p_business_group_id_o =>ben_lct_shd.g_old_rec.business_group_id
481: ,p_lct_attribute_category_o =>ben_lct_shd.g_old_rec.lct_attribute_category
482: ,p_lct_attribute1_o =>ben_lct_shd.g_old_rec.lct_attribute1
483: ,p_lct_attribute2_o =>ben_lct_shd.g_old_rec.lct_attribute2
484: ,p_lct_attribute3_o =>ben_lct_shd.g_old_rec.lct_attribute3
485: ,p_lct_attribute4_o =>ben_lct_shd.g_old_rec.lct_attribute4
486: ,p_lct_attribute5_o =>ben_lct_shd.g_old_rec.lct_attribute5
487: ,p_lct_attribute6_o =>ben_lct_shd.g_old_rec.lct_attribute6
480: ,p_business_group_id_o =>ben_lct_shd.g_old_rec.business_group_id
481: ,p_lct_attribute_category_o =>ben_lct_shd.g_old_rec.lct_attribute_category
482: ,p_lct_attribute1_o =>ben_lct_shd.g_old_rec.lct_attribute1
483: ,p_lct_attribute2_o =>ben_lct_shd.g_old_rec.lct_attribute2
484: ,p_lct_attribute3_o =>ben_lct_shd.g_old_rec.lct_attribute3
485: ,p_lct_attribute4_o =>ben_lct_shd.g_old_rec.lct_attribute4
486: ,p_lct_attribute5_o =>ben_lct_shd.g_old_rec.lct_attribute5
487: ,p_lct_attribute6_o =>ben_lct_shd.g_old_rec.lct_attribute6
488: ,p_lct_attribute7_o =>ben_lct_shd.g_old_rec.lct_attribute7
481: ,p_lct_attribute_category_o =>ben_lct_shd.g_old_rec.lct_attribute_category
482: ,p_lct_attribute1_o =>ben_lct_shd.g_old_rec.lct_attribute1
483: ,p_lct_attribute2_o =>ben_lct_shd.g_old_rec.lct_attribute2
484: ,p_lct_attribute3_o =>ben_lct_shd.g_old_rec.lct_attribute3
485: ,p_lct_attribute4_o =>ben_lct_shd.g_old_rec.lct_attribute4
486: ,p_lct_attribute5_o =>ben_lct_shd.g_old_rec.lct_attribute5
487: ,p_lct_attribute6_o =>ben_lct_shd.g_old_rec.lct_attribute6
488: ,p_lct_attribute7_o =>ben_lct_shd.g_old_rec.lct_attribute7
489: ,p_lct_attribute8_o =>ben_lct_shd.g_old_rec.lct_attribute8
482: ,p_lct_attribute1_o =>ben_lct_shd.g_old_rec.lct_attribute1
483: ,p_lct_attribute2_o =>ben_lct_shd.g_old_rec.lct_attribute2
484: ,p_lct_attribute3_o =>ben_lct_shd.g_old_rec.lct_attribute3
485: ,p_lct_attribute4_o =>ben_lct_shd.g_old_rec.lct_attribute4
486: ,p_lct_attribute5_o =>ben_lct_shd.g_old_rec.lct_attribute5
487: ,p_lct_attribute6_o =>ben_lct_shd.g_old_rec.lct_attribute6
488: ,p_lct_attribute7_o =>ben_lct_shd.g_old_rec.lct_attribute7
489: ,p_lct_attribute8_o =>ben_lct_shd.g_old_rec.lct_attribute8
490: ,p_lct_attribute9_o =>ben_lct_shd.g_old_rec.lct_attribute9
483: ,p_lct_attribute2_o =>ben_lct_shd.g_old_rec.lct_attribute2
484: ,p_lct_attribute3_o =>ben_lct_shd.g_old_rec.lct_attribute3
485: ,p_lct_attribute4_o =>ben_lct_shd.g_old_rec.lct_attribute4
486: ,p_lct_attribute5_o =>ben_lct_shd.g_old_rec.lct_attribute5
487: ,p_lct_attribute6_o =>ben_lct_shd.g_old_rec.lct_attribute6
488: ,p_lct_attribute7_o =>ben_lct_shd.g_old_rec.lct_attribute7
489: ,p_lct_attribute8_o =>ben_lct_shd.g_old_rec.lct_attribute8
490: ,p_lct_attribute9_o =>ben_lct_shd.g_old_rec.lct_attribute9
491: ,p_lct_attribute10_o =>ben_lct_shd.g_old_rec.lct_attribute10
484: ,p_lct_attribute3_o =>ben_lct_shd.g_old_rec.lct_attribute3
485: ,p_lct_attribute4_o =>ben_lct_shd.g_old_rec.lct_attribute4
486: ,p_lct_attribute5_o =>ben_lct_shd.g_old_rec.lct_attribute5
487: ,p_lct_attribute6_o =>ben_lct_shd.g_old_rec.lct_attribute6
488: ,p_lct_attribute7_o =>ben_lct_shd.g_old_rec.lct_attribute7
489: ,p_lct_attribute8_o =>ben_lct_shd.g_old_rec.lct_attribute8
490: ,p_lct_attribute9_o =>ben_lct_shd.g_old_rec.lct_attribute9
491: ,p_lct_attribute10_o =>ben_lct_shd.g_old_rec.lct_attribute10
492: ,p_lct_attribute11_o =>ben_lct_shd.g_old_rec.lct_attribute11
485: ,p_lct_attribute4_o =>ben_lct_shd.g_old_rec.lct_attribute4
486: ,p_lct_attribute5_o =>ben_lct_shd.g_old_rec.lct_attribute5
487: ,p_lct_attribute6_o =>ben_lct_shd.g_old_rec.lct_attribute6
488: ,p_lct_attribute7_o =>ben_lct_shd.g_old_rec.lct_attribute7
489: ,p_lct_attribute8_o =>ben_lct_shd.g_old_rec.lct_attribute8
490: ,p_lct_attribute9_o =>ben_lct_shd.g_old_rec.lct_attribute9
491: ,p_lct_attribute10_o =>ben_lct_shd.g_old_rec.lct_attribute10
492: ,p_lct_attribute11_o =>ben_lct_shd.g_old_rec.lct_attribute11
493: ,p_lct_attribute12_o =>ben_lct_shd.g_old_rec.lct_attribute12
486: ,p_lct_attribute5_o =>ben_lct_shd.g_old_rec.lct_attribute5
487: ,p_lct_attribute6_o =>ben_lct_shd.g_old_rec.lct_attribute6
488: ,p_lct_attribute7_o =>ben_lct_shd.g_old_rec.lct_attribute7
489: ,p_lct_attribute8_o =>ben_lct_shd.g_old_rec.lct_attribute8
490: ,p_lct_attribute9_o =>ben_lct_shd.g_old_rec.lct_attribute9
491: ,p_lct_attribute10_o =>ben_lct_shd.g_old_rec.lct_attribute10
492: ,p_lct_attribute11_o =>ben_lct_shd.g_old_rec.lct_attribute11
493: ,p_lct_attribute12_o =>ben_lct_shd.g_old_rec.lct_attribute12
494: ,p_lct_attribute13_o =>ben_lct_shd.g_old_rec.lct_attribute13
487: ,p_lct_attribute6_o =>ben_lct_shd.g_old_rec.lct_attribute6
488: ,p_lct_attribute7_o =>ben_lct_shd.g_old_rec.lct_attribute7
489: ,p_lct_attribute8_o =>ben_lct_shd.g_old_rec.lct_attribute8
490: ,p_lct_attribute9_o =>ben_lct_shd.g_old_rec.lct_attribute9
491: ,p_lct_attribute10_o =>ben_lct_shd.g_old_rec.lct_attribute10
492: ,p_lct_attribute11_o =>ben_lct_shd.g_old_rec.lct_attribute11
493: ,p_lct_attribute12_o =>ben_lct_shd.g_old_rec.lct_attribute12
494: ,p_lct_attribute13_o =>ben_lct_shd.g_old_rec.lct_attribute13
495: ,p_lct_attribute14_o =>ben_lct_shd.g_old_rec.lct_attribute14
488: ,p_lct_attribute7_o =>ben_lct_shd.g_old_rec.lct_attribute7
489: ,p_lct_attribute8_o =>ben_lct_shd.g_old_rec.lct_attribute8
490: ,p_lct_attribute9_o =>ben_lct_shd.g_old_rec.lct_attribute9
491: ,p_lct_attribute10_o =>ben_lct_shd.g_old_rec.lct_attribute10
492: ,p_lct_attribute11_o =>ben_lct_shd.g_old_rec.lct_attribute11
493: ,p_lct_attribute12_o =>ben_lct_shd.g_old_rec.lct_attribute12
494: ,p_lct_attribute13_o =>ben_lct_shd.g_old_rec.lct_attribute13
495: ,p_lct_attribute14_o =>ben_lct_shd.g_old_rec.lct_attribute14
496: ,p_lct_attribute15_o =>ben_lct_shd.g_old_rec.lct_attribute15
489: ,p_lct_attribute8_o =>ben_lct_shd.g_old_rec.lct_attribute8
490: ,p_lct_attribute9_o =>ben_lct_shd.g_old_rec.lct_attribute9
491: ,p_lct_attribute10_o =>ben_lct_shd.g_old_rec.lct_attribute10
492: ,p_lct_attribute11_o =>ben_lct_shd.g_old_rec.lct_attribute11
493: ,p_lct_attribute12_o =>ben_lct_shd.g_old_rec.lct_attribute12
494: ,p_lct_attribute13_o =>ben_lct_shd.g_old_rec.lct_attribute13
495: ,p_lct_attribute14_o =>ben_lct_shd.g_old_rec.lct_attribute14
496: ,p_lct_attribute15_o =>ben_lct_shd.g_old_rec.lct_attribute15
497: ,p_lct_attribute16_o =>ben_lct_shd.g_old_rec.lct_attribute16
490: ,p_lct_attribute9_o =>ben_lct_shd.g_old_rec.lct_attribute9
491: ,p_lct_attribute10_o =>ben_lct_shd.g_old_rec.lct_attribute10
492: ,p_lct_attribute11_o =>ben_lct_shd.g_old_rec.lct_attribute11
493: ,p_lct_attribute12_o =>ben_lct_shd.g_old_rec.lct_attribute12
494: ,p_lct_attribute13_o =>ben_lct_shd.g_old_rec.lct_attribute13
495: ,p_lct_attribute14_o =>ben_lct_shd.g_old_rec.lct_attribute14
496: ,p_lct_attribute15_o =>ben_lct_shd.g_old_rec.lct_attribute15
497: ,p_lct_attribute16_o =>ben_lct_shd.g_old_rec.lct_attribute16
498: ,p_lct_attribute17_o =>ben_lct_shd.g_old_rec.lct_attribute17
491: ,p_lct_attribute10_o =>ben_lct_shd.g_old_rec.lct_attribute10
492: ,p_lct_attribute11_o =>ben_lct_shd.g_old_rec.lct_attribute11
493: ,p_lct_attribute12_o =>ben_lct_shd.g_old_rec.lct_attribute12
494: ,p_lct_attribute13_o =>ben_lct_shd.g_old_rec.lct_attribute13
495: ,p_lct_attribute14_o =>ben_lct_shd.g_old_rec.lct_attribute14
496: ,p_lct_attribute15_o =>ben_lct_shd.g_old_rec.lct_attribute15
497: ,p_lct_attribute16_o =>ben_lct_shd.g_old_rec.lct_attribute16
498: ,p_lct_attribute17_o =>ben_lct_shd.g_old_rec.lct_attribute17
499: ,p_lct_attribute18_o =>ben_lct_shd.g_old_rec.lct_attribute18
492: ,p_lct_attribute11_o =>ben_lct_shd.g_old_rec.lct_attribute11
493: ,p_lct_attribute12_o =>ben_lct_shd.g_old_rec.lct_attribute12
494: ,p_lct_attribute13_o =>ben_lct_shd.g_old_rec.lct_attribute13
495: ,p_lct_attribute14_o =>ben_lct_shd.g_old_rec.lct_attribute14
496: ,p_lct_attribute15_o =>ben_lct_shd.g_old_rec.lct_attribute15
497: ,p_lct_attribute16_o =>ben_lct_shd.g_old_rec.lct_attribute16
498: ,p_lct_attribute17_o =>ben_lct_shd.g_old_rec.lct_attribute17
499: ,p_lct_attribute18_o =>ben_lct_shd.g_old_rec.lct_attribute18
500: ,p_lct_attribute19_o =>ben_lct_shd.g_old_rec.lct_attribute19
493: ,p_lct_attribute12_o =>ben_lct_shd.g_old_rec.lct_attribute12
494: ,p_lct_attribute13_o =>ben_lct_shd.g_old_rec.lct_attribute13
495: ,p_lct_attribute14_o =>ben_lct_shd.g_old_rec.lct_attribute14
496: ,p_lct_attribute15_o =>ben_lct_shd.g_old_rec.lct_attribute15
497: ,p_lct_attribute16_o =>ben_lct_shd.g_old_rec.lct_attribute16
498: ,p_lct_attribute17_o =>ben_lct_shd.g_old_rec.lct_attribute17
499: ,p_lct_attribute18_o =>ben_lct_shd.g_old_rec.lct_attribute18
500: ,p_lct_attribute19_o =>ben_lct_shd.g_old_rec.lct_attribute19
501: ,p_lct_attribute20_o =>ben_lct_shd.g_old_rec.lct_attribute20
494: ,p_lct_attribute13_o =>ben_lct_shd.g_old_rec.lct_attribute13
495: ,p_lct_attribute14_o =>ben_lct_shd.g_old_rec.lct_attribute14
496: ,p_lct_attribute15_o =>ben_lct_shd.g_old_rec.lct_attribute15
497: ,p_lct_attribute16_o =>ben_lct_shd.g_old_rec.lct_attribute16
498: ,p_lct_attribute17_o =>ben_lct_shd.g_old_rec.lct_attribute17
499: ,p_lct_attribute18_o =>ben_lct_shd.g_old_rec.lct_attribute18
500: ,p_lct_attribute19_o =>ben_lct_shd.g_old_rec.lct_attribute19
501: ,p_lct_attribute20_o =>ben_lct_shd.g_old_rec.lct_attribute20
502: ,p_lct_attribute21_o =>ben_lct_shd.g_old_rec.lct_attribute21
495: ,p_lct_attribute14_o =>ben_lct_shd.g_old_rec.lct_attribute14
496: ,p_lct_attribute15_o =>ben_lct_shd.g_old_rec.lct_attribute15
497: ,p_lct_attribute16_o =>ben_lct_shd.g_old_rec.lct_attribute16
498: ,p_lct_attribute17_o =>ben_lct_shd.g_old_rec.lct_attribute17
499: ,p_lct_attribute18_o =>ben_lct_shd.g_old_rec.lct_attribute18
500: ,p_lct_attribute19_o =>ben_lct_shd.g_old_rec.lct_attribute19
501: ,p_lct_attribute20_o =>ben_lct_shd.g_old_rec.lct_attribute20
502: ,p_lct_attribute21_o =>ben_lct_shd.g_old_rec.lct_attribute21
503: ,p_lct_attribute22_o =>ben_lct_shd.g_old_rec.lct_attribute22
496: ,p_lct_attribute15_o =>ben_lct_shd.g_old_rec.lct_attribute15
497: ,p_lct_attribute16_o =>ben_lct_shd.g_old_rec.lct_attribute16
498: ,p_lct_attribute17_o =>ben_lct_shd.g_old_rec.lct_attribute17
499: ,p_lct_attribute18_o =>ben_lct_shd.g_old_rec.lct_attribute18
500: ,p_lct_attribute19_o =>ben_lct_shd.g_old_rec.lct_attribute19
501: ,p_lct_attribute20_o =>ben_lct_shd.g_old_rec.lct_attribute20
502: ,p_lct_attribute21_o =>ben_lct_shd.g_old_rec.lct_attribute21
503: ,p_lct_attribute22_o =>ben_lct_shd.g_old_rec.lct_attribute22
504: ,p_lct_attribute23_o =>ben_lct_shd.g_old_rec.lct_attribute23
497: ,p_lct_attribute16_o =>ben_lct_shd.g_old_rec.lct_attribute16
498: ,p_lct_attribute17_o =>ben_lct_shd.g_old_rec.lct_attribute17
499: ,p_lct_attribute18_o =>ben_lct_shd.g_old_rec.lct_attribute18
500: ,p_lct_attribute19_o =>ben_lct_shd.g_old_rec.lct_attribute19
501: ,p_lct_attribute20_o =>ben_lct_shd.g_old_rec.lct_attribute20
502: ,p_lct_attribute21_o =>ben_lct_shd.g_old_rec.lct_attribute21
503: ,p_lct_attribute22_o =>ben_lct_shd.g_old_rec.lct_attribute22
504: ,p_lct_attribute23_o =>ben_lct_shd.g_old_rec.lct_attribute23
505: ,p_lct_attribute24_o =>ben_lct_shd.g_old_rec.lct_attribute24
498: ,p_lct_attribute17_o =>ben_lct_shd.g_old_rec.lct_attribute17
499: ,p_lct_attribute18_o =>ben_lct_shd.g_old_rec.lct_attribute18
500: ,p_lct_attribute19_o =>ben_lct_shd.g_old_rec.lct_attribute19
501: ,p_lct_attribute20_o =>ben_lct_shd.g_old_rec.lct_attribute20
502: ,p_lct_attribute21_o =>ben_lct_shd.g_old_rec.lct_attribute21
503: ,p_lct_attribute22_o =>ben_lct_shd.g_old_rec.lct_attribute22
504: ,p_lct_attribute23_o =>ben_lct_shd.g_old_rec.lct_attribute23
505: ,p_lct_attribute24_o =>ben_lct_shd.g_old_rec.lct_attribute24
506: ,p_lct_attribute25_o =>ben_lct_shd.g_old_rec.lct_attribute25
499: ,p_lct_attribute18_o =>ben_lct_shd.g_old_rec.lct_attribute18
500: ,p_lct_attribute19_o =>ben_lct_shd.g_old_rec.lct_attribute19
501: ,p_lct_attribute20_o =>ben_lct_shd.g_old_rec.lct_attribute20
502: ,p_lct_attribute21_o =>ben_lct_shd.g_old_rec.lct_attribute21
503: ,p_lct_attribute22_o =>ben_lct_shd.g_old_rec.lct_attribute22
504: ,p_lct_attribute23_o =>ben_lct_shd.g_old_rec.lct_attribute23
505: ,p_lct_attribute24_o =>ben_lct_shd.g_old_rec.lct_attribute24
506: ,p_lct_attribute25_o =>ben_lct_shd.g_old_rec.lct_attribute25
507: ,p_lct_attribute26_o =>ben_lct_shd.g_old_rec.lct_attribute26
500: ,p_lct_attribute19_o =>ben_lct_shd.g_old_rec.lct_attribute19
501: ,p_lct_attribute20_o =>ben_lct_shd.g_old_rec.lct_attribute20
502: ,p_lct_attribute21_o =>ben_lct_shd.g_old_rec.lct_attribute21
503: ,p_lct_attribute22_o =>ben_lct_shd.g_old_rec.lct_attribute22
504: ,p_lct_attribute23_o =>ben_lct_shd.g_old_rec.lct_attribute23
505: ,p_lct_attribute24_o =>ben_lct_shd.g_old_rec.lct_attribute24
506: ,p_lct_attribute25_o =>ben_lct_shd.g_old_rec.lct_attribute25
507: ,p_lct_attribute26_o =>ben_lct_shd.g_old_rec.lct_attribute26
508: ,p_lct_attribute27_o =>ben_lct_shd.g_old_rec.lct_attribute27
501: ,p_lct_attribute20_o =>ben_lct_shd.g_old_rec.lct_attribute20
502: ,p_lct_attribute21_o =>ben_lct_shd.g_old_rec.lct_attribute21
503: ,p_lct_attribute22_o =>ben_lct_shd.g_old_rec.lct_attribute22
504: ,p_lct_attribute23_o =>ben_lct_shd.g_old_rec.lct_attribute23
505: ,p_lct_attribute24_o =>ben_lct_shd.g_old_rec.lct_attribute24
506: ,p_lct_attribute25_o =>ben_lct_shd.g_old_rec.lct_attribute25
507: ,p_lct_attribute26_o =>ben_lct_shd.g_old_rec.lct_attribute26
508: ,p_lct_attribute27_o =>ben_lct_shd.g_old_rec.lct_attribute27
509: ,p_lct_attribute28_o =>ben_lct_shd.g_old_rec.lct_attribute28
502: ,p_lct_attribute21_o =>ben_lct_shd.g_old_rec.lct_attribute21
503: ,p_lct_attribute22_o =>ben_lct_shd.g_old_rec.lct_attribute22
504: ,p_lct_attribute23_o =>ben_lct_shd.g_old_rec.lct_attribute23
505: ,p_lct_attribute24_o =>ben_lct_shd.g_old_rec.lct_attribute24
506: ,p_lct_attribute25_o =>ben_lct_shd.g_old_rec.lct_attribute25
507: ,p_lct_attribute26_o =>ben_lct_shd.g_old_rec.lct_attribute26
508: ,p_lct_attribute27_o =>ben_lct_shd.g_old_rec.lct_attribute27
509: ,p_lct_attribute28_o =>ben_lct_shd.g_old_rec.lct_attribute28
510: ,p_lct_attribute29_o =>ben_lct_shd.g_old_rec.lct_attribute29
503: ,p_lct_attribute22_o =>ben_lct_shd.g_old_rec.lct_attribute22
504: ,p_lct_attribute23_o =>ben_lct_shd.g_old_rec.lct_attribute23
505: ,p_lct_attribute24_o =>ben_lct_shd.g_old_rec.lct_attribute24
506: ,p_lct_attribute25_o =>ben_lct_shd.g_old_rec.lct_attribute25
507: ,p_lct_attribute26_o =>ben_lct_shd.g_old_rec.lct_attribute26
508: ,p_lct_attribute27_o =>ben_lct_shd.g_old_rec.lct_attribute27
509: ,p_lct_attribute28_o =>ben_lct_shd.g_old_rec.lct_attribute28
510: ,p_lct_attribute29_o =>ben_lct_shd.g_old_rec.lct_attribute29
511: ,p_lct_attribute30_o =>ben_lct_shd.g_old_rec.lct_attribute30
504: ,p_lct_attribute23_o =>ben_lct_shd.g_old_rec.lct_attribute23
505: ,p_lct_attribute24_o =>ben_lct_shd.g_old_rec.lct_attribute24
506: ,p_lct_attribute25_o =>ben_lct_shd.g_old_rec.lct_attribute25
507: ,p_lct_attribute26_o =>ben_lct_shd.g_old_rec.lct_attribute26
508: ,p_lct_attribute27_o =>ben_lct_shd.g_old_rec.lct_attribute27
509: ,p_lct_attribute28_o =>ben_lct_shd.g_old_rec.lct_attribute28
510: ,p_lct_attribute29_o =>ben_lct_shd.g_old_rec.lct_attribute29
511: ,p_lct_attribute30_o =>ben_lct_shd.g_old_rec.lct_attribute30
512: ,p_object_version_number_o =>ben_lct_shd.g_old_rec.object_version_number
505: ,p_lct_attribute24_o =>ben_lct_shd.g_old_rec.lct_attribute24
506: ,p_lct_attribute25_o =>ben_lct_shd.g_old_rec.lct_attribute25
507: ,p_lct_attribute26_o =>ben_lct_shd.g_old_rec.lct_attribute26
508: ,p_lct_attribute27_o =>ben_lct_shd.g_old_rec.lct_attribute27
509: ,p_lct_attribute28_o =>ben_lct_shd.g_old_rec.lct_attribute28
510: ,p_lct_attribute29_o =>ben_lct_shd.g_old_rec.lct_attribute29
511: ,p_lct_attribute30_o =>ben_lct_shd.g_old_rec.lct_attribute30
512: ,p_object_version_number_o =>ben_lct_shd.g_old_rec.object_version_number
513: );
506: ,p_lct_attribute25_o =>ben_lct_shd.g_old_rec.lct_attribute25
507: ,p_lct_attribute26_o =>ben_lct_shd.g_old_rec.lct_attribute26
508: ,p_lct_attribute27_o =>ben_lct_shd.g_old_rec.lct_attribute27
509: ,p_lct_attribute28_o =>ben_lct_shd.g_old_rec.lct_attribute28
510: ,p_lct_attribute29_o =>ben_lct_shd.g_old_rec.lct_attribute29
511: ,p_lct_attribute30_o =>ben_lct_shd.g_old_rec.lct_attribute30
512: ,p_object_version_number_o =>ben_lct_shd.g_old_rec.object_version_number
513: );
514: --
507: ,p_lct_attribute26_o =>ben_lct_shd.g_old_rec.lct_attribute26
508: ,p_lct_attribute27_o =>ben_lct_shd.g_old_rec.lct_attribute27
509: ,p_lct_attribute28_o =>ben_lct_shd.g_old_rec.lct_attribute28
510: ,p_lct_attribute29_o =>ben_lct_shd.g_old_rec.lct_attribute29
511: ,p_lct_attribute30_o =>ben_lct_shd.g_old_rec.lct_attribute30
512: ,p_object_version_number_o =>ben_lct_shd.g_old_rec.object_version_number
513: );
514: --
515: exception
508: ,p_lct_attribute27_o =>ben_lct_shd.g_old_rec.lct_attribute27
509: ,p_lct_attribute28_o =>ben_lct_shd.g_old_rec.lct_attribute28
510: ,p_lct_attribute29_o =>ben_lct_shd.g_old_rec.lct_attribute29
511: ,p_lct_attribute30_o =>ben_lct_shd.g_old_rec.lct_attribute30
512: ,p_object_version_number_o =>ben_lct_shd.g_old_rec.object_version_number
513: );
514: --
515: exception
516: --
570: -- Internal Row Handler Use Only.
571: --
572: -- {End Of Comments}
573: -- ----------------------------------------------------------------------------
574: Procedure convert_defs(p_rec in out nocopy ben_lct_shd.g_rec_type) is
575: --
576: l_proc varchar2(72) := g_package||'convert_defs';
577: --
578: Begin
585: -- is being used then we must set to the 'current' argument value.
586: --
587: If (p_rec.crnt_enrt_prclds_chg_flag = hr_api.g_varchar2) then
588: p_rec.crnt_enrt_prclds_chg_flag :=
589: ben_lct_shd.g_old_rec.crnt_enrt_prclds_chg_flag;
590: End If;
591: If (p_rec.stl_elig_cant_chg_flag = hr_api.g_varchar2) then
592: p_rec.stl_elig_cant_chg_flag :=
593: ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag;
589: ben_lct_shd.g_old_rec.crnt_enrt_prclds_chg_flag;
590: End If;
591: If (p_rec.stl_elig_cant_chg_flag = hr_api.g_varchar2) then
592: p_rec.stl_elig_cant_chg_flag :=
593: ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag;
594: End If;
595: If (p_rec.dflt_flag = hr_api.g_varchar2) then
596: p_rec.dflt_flag :=
597: ben_lct_shd.g_old_rec.dflt_flag;
593: ben_lct_shd.g_old_rec.stl_elig_cant_chg_flag;
594: End If;
595: If (p_rec.dflt_flag = hr_api.g_varchar2) then
596: p_rec.dflt_flag :=
597: ben_lct_shd.g_old_rec.dflt_flag;
598: End If;
599: If (p_rec.dflt_enrt_cd = hr_api.g_varchar2) then
600: p_rec.dflt_enrt_cd :=
601: ben_lct_shd.g_old_rec.dflt_enrt_cd;
597: ben_lct_shd.g_old_rec.dflt_flag;
598: End If;
599: If (p_rec.dflt_enrt_cd = hr_api.g_varchar2) then
600: p_rec.dflt_enrt_cd :=
601: ben_lct_shd.g_old_rec.dflt_enrt_cd;
602: End If;
603: If (p_rec.dflt_enrt_rl = hr_api.g_varchar2) then
604: p_rec.dflt_enrt_rl :=
605: ben_lct_shd.g_old_rec.dflt_enrt_rl;
601: ben_lct_shd.g_old_rec.dflt_enrt_cd;
602: End If;
603: If (p_rec.dflt_enrt_rl = hr_api.g_varchar2) then
604: p_rec.dflt_enrt_rl :=
605: ben_lct_shd.g_old_rec.dflt_enrt_rl;
606: End If;
607: If (p_rec.enrt_cd = hr_api.g_varchar2) then
608: p_rec.enrt_cd :=
609: ben_lct_shd.g_old_rec.enrt_cd;
605: ben_lct_shd.g_old_rec.dflt_enrt_rl;
606: End If;
607: If (p_rec.enrt_cd = hr_api.g_varchar2) then
608: p_rec.enrt_cd :=
609: ben_lct_shd.g_old_rec.enrt_cd;
610: End If;
611: If (p_rec.enrt_mthd_cd = hr_api.g_varchar2) then
612: p_rec.enrt_mthd_cd :=
613: ben_lct_shd.g_old_rec.enrt_mthd_cd;
609: ben_lct_shd.g_old_rec.enrt_cd;
610: End If;
611: If (p_rec.enrt_mthd_cd = hr_api.g_varchar2) then
612: p_rec.enrt_mthd_cd :=
613: ben_lct_shd.g_old_rec.enrt_mthd_cd;
614: End If;
615: If (p_rec.enrt_rl = hr_api.g_varchar2) then
616: p_rec.enrt_rl :=
617: ben_lct_shd.g_old_rec.enrt_rl;
613: ben_lct_shd.g_old_rec.enrt_mthd_cd;
614: End If;
615: If (p_rec.enrt_rl = hr_api.g_varchar2) then
616: p_rec.enrt_rl :=
617: ben_lct_shd.g_old_rec.enrt_rl;
618: End If;
619: If (p_rec.tco_chg_enrt_cd = hr_api.g_varchar2) then
620: p_rec.tco_chg_enrt_cd :=
621: ben_lct_shd.g_old_rec.tco_chg_enrt_cd;
617: ben_lct_shd.g_old_rec.enrt_rl;
618: End If;
619: If (p_rec.tco_chg_enrt_cd = hr_api.g_varchar2) then
620: p_rec.tco_chg_enrt_cd :=
621: ben_lct_shd.g_old_rec.tco_chg_enrt_cd;
622: End If;
623: If (p_rec.ptip_id = hr_api.g_number) then
624: p_rec.ptip_id :=
625: ben_lct_shd.g_old_rec.ptip_id;
621: ben_lct_shd.g_old_rec.tco_chg_enrt_cd;
622: End If;
623: If (p_rec.ptip_id = hr_api.g_number) then
624: p_rec.ptip_id :=
625: ben_lct_shd.g_old_rec.ptip_id;
626: End If;
627: If (p_rec.ler_id = hr_api.g_number) then
628: p_rec.ler_id :=
629: ben_lct_shd.g_old_rec.ler_id;
625: ben_lct_shd.g_old_rec.ptip_id;
626: End If;
627: If (p_rec.ler_id = hr_api.g_number) then
628: p_rec.ler_id :=
629: ben_lct_shd.g_old_rec.ler_id;
630: End If;
631: If (p_rec.business_group_id = hr_api.g_number) then
632: p_rec.business_group_id :=
633: ben_lct_shd.g_old_rec.business_group_id;
629: ben_lct_shd.g_old_rec.ler_id;
630: End If;
631: If (p_rec.business_group_id = hr_api.g_number) then
632: p_rec.business_group_id :=
633: ben_lct_shd.g_old_rec.business_group_id;
634: End If;
635: If (p_rec.lct_attribute_category = hr_api.g_varchar2) then
636: p_rec.lct_attribute_category :=
637: ben_lct_shd.g_old_rec.lct_attribute_category;
633: ben_lct_shd.g_old_rec.business_group_id;
634: End If;
635: If (p_rec.lct_attribute_category = hr_api.g_varchar2) then
636: p_rec.lct_attribute_category :=
637: ben_lct_shd.g_old_rec.lct_attribute_category;
638: End If;
639: If (p_rec.lct_attribute1 = hr_api.g_varchar2) then
640: p_rec.lct_attribute1 :=
641: ben_lct_shd.g_old_rec.lct_attribute1;
637: ben_lct_shd.g_old_rec.lct_attribute_category;
638: End If;
639: If (p_rec.lct_attribute1 = hr_api.g_varchar2) then
640: p_rec.lct_attribute1 :=
641: ben_lct_shd.g_old_rec.lct_attribute1;
642: End If;
643: If (p_rec.lct_attribute2 = hr_api.g_varchar2) then
644: p_rec.lct_attribute2 :=
645: ben_lct_shd.g_old_rec.lct_attribute2;
641: ben_lct_shd.g_old_rec.lct_attribute1;
642: End If;
643: If (p_rec.lct_attribute2 = hr_api.g_varchar2) then
644: p_rec.lct_attribute2 :=
645: ben_lct_shd.g_old_rec.lct_attribute2;
646: End If;
647: If (p_rec.lct_attribute3 = hr_api.g_varchar2) then
648: p_rec.lct_attribute3 :=
649: ben_lct_shd.g_old_rec.lct_attribute3;
645: ben_lct_shd.g_old_rec.lct_attribute2;
646: End If;
647: If (p_rec.lct_attribute3 = hr_api.g_varchar2) then
648: p_rec.lct_attribute3 :=
649: ben_lct_shd.g_old_rec.lct_attribute3;
650: End If;
651: If (p_rec.lct_attribute4 = hr_api.g_varchar2) then
652: p_rec.lct_attribute4 :=
653: ben_lct_shd.g_old_rec.lct_attribute4;
649: ben_lct_shd.g_old_rec.lct_attribute3;
650: End If;
651: If (p_rec.lct_attribute4 = hr_api.g_varchar2) then
652: p_rec.lct_attribute4 :=
653: ben_lct_shd.g_old_rec.lct_attribute4;
654: End If;
655: If (p_rec.lct_attribute5 = hr_api.g_varchar2) then
656: p_rec.lct_attribute5 :=
657: ben_lct_shd.g_old_rec.lct_attribute5;
653: ben_lct_shd.g_old_rec.lct_attribute4;
654: End If;
655: If (p_rec.lct_attribute5 = hr_api.g_varchar2) then
656: p_rec.lct_attribute5 :=
657: ben_lct_shd.g_old_rec.lct_attribute5;
658: End If;
659: If (p_rec.lct_attribute6 = hr_api.g_varchar2) then
660: p_rec.lct_attribute6 :=
661: ben_lct_shd.g_old_rec.lct_attribute6;
657: ben_lct_shd.g_old_rec.lct_attribute5;
658: End If;
659: If (p_rec.lct_attribute6 = hr_api.g_varchar2) then
660: p_rec.lct_attribute6 :=
661: ben_lct_shd.g_old_rec.lct_attribute6;
662: End If;
663: If (p_rec.lct_attribute7 = hr_api.g_varchar2) then
664: p_rec.lct_attribute7 :=
665: ben_lct_shd.g_old_rec.lct_attribute7;
661: ben_lct_shd.g_old_rec.lct_attribute6;
662: End If;
663: If (p_rec.lct_attribute7 = hr_api.g_varchar2) then
664: p_rec.lct_attribute7 :=
665: ben_lct_shd.g_old_rec.lct_attribute7;
666: End If;
667: If (p_rec.lct_attribute8 = hr_api.g_varchar2) then
668: p_rec.lct_attribute8 :=
669: ben_lct_shd.g_old_rec.lct_attribute8;
665: ben_lct_shd.g_old_rec.lct_attribute7;
666: End If;
667: If (p_rec.lct_attribute8 = hr_api.g_varchar2) then
668: p_rec.lct_attribute8 :=
669: ben_lct_shd.g_old_rec.lct_attribute8;
670: End If;
671: If (p_rec.lct_attribute9 = hr_api.g_varchar2) then
672: p_rec.lct_attribute9 :=
673: ben_lct_shd.g_old_rec.lct_attribute9;
669: ben_lct_shd.g_old_rec.lct_attribute8;
670: End If;
671: If (p_rec.lct_attribute9 = hr_api.g_varchar2) then
672: p_rec.lct_attribute9 :=
673: ben_lct_shd.g_old_rec.lct_attribute9;
674: End If;
675: If (p_rec.lct_attribute10 = hr_api.g_varchar2) then
676: p_rec.lct_attribute10 :=
677: ben_lct_shd.g_old_rec.lct_attribute10;
673: ben_lct_shd.g_old_rec.lct_attribute9;
674: End If;
675: If (p_rec.lct_attribute10 = hr_api.g_varchar2) then
676: p_rec.lct_attribute10 :=
677: ben_lct_shd.g_old_rec.lct_attribute10;
678: End If;
679: If (p_rec.lct_attribute11 = hr_api.g_varchar2) then
680: p_rec.lct_attribute11 :=
681: ben_lct_shd.g_old_rec.lct_attribute11;
677: ben_lct_shd.g_old_rec.lct_attribute10;
678: End If;
679: If (p_rec.lct_attribute11 = hr_api.g_varchar2) then
680: p_rec.lct_attribute11 :=
681: ben_lct_shd.g_old_rec.lct_attribute11;
682: End If;
683: If (p_rec.lct_attribute12 = hr_api.g_varchar2) then
684: p_rec.lct_attribute12 :=
685: ben_lct_shd.g_old_rec.lct_attribute12;
681: ben_lct_shd.g_old_rec.lct_attribute11;
682: End If;
683: If (p_rec.lct_attribute12 = hr_api.g_varchar2) then
684: p_rec.lct_attribute12 :=
685: ben_lct_shd.g_old_rec.lct_attribute12;
686: End If;
687: If (p_rec.lct_attribute13 = hr_api.g_varchar2) then
688: p_rec.lct_attribute13 :=
689: ben_lct_shd.g_old_rec.lct_attribute13;
685: ben_lct_shd.g_old_rec.lct_attribute12;
686: End If;
687: If (p_rec.lct_attribute13 = hr_api.g_varchar2) then
688: p_rec.lct_attribute13 :=
689: ben_lct_shd.g_old_rec.lct_attribute13;
690: End If;
691: If (p_rec.lct_attribute14 = hr_api.g_varchar2) then
692: p_rec.lct_attribute14 :=
693: ben_lct_shd.g_old_rec.lct_attribute14;
689: ben_lct_shd.g_old_rec.lct_attribute13;
690: End If;
691: If (p_rec.lct_attribute14 = hr_api.g_varchar2) then
692: p_rec.lct_attribute14 :=
693: ben_lct_shd.g_old_rec.lct_attribute14;
694: End If;
695: If (p_rec.lct_attribute15 = hr_api.g_varchar2) then
696: p_rec.lct_attribute15 :=
697: ben_lct_shd.g_old_rec.lct_attribute15;
693: ben_lct_shd.g_old_rec.lct_attribute14;
694: End If;
695: If (p_rec.lct_attribute15 = hr_api.g_varchar2) then
696: p_rec.lct_attribute15 :=
697: ben_lct_shd.g_old_rec.lct_attribute15;
698: End If;
699: If (p_rec.lct_attribute16 = hr_api.g_varchar2) then
700: p_rec.lct_attribute16 :=
701: ben_lct_shd.g_old_rec.lct_attribute16;
697: ben_lct_shd.g_old_rec.lct_attribute15;
698: End If;
699: If (p_rec.lct_attribute16 = hr_api.g_varchar2) then
700: p_rec.lct_attribute16 :=
701: ben_lct_shd.g_old_rec.lct_attribute16;
702: End If;
703: If (p_rec.lct_attribute17 = hr_api.g_varchar2) then
704: p_rec.lct_attribute17 :=
705: ben_lct_shd.g_old_rec.lct_attribute17;
701: ben_lct_shd.g_old_rec.lct_attribute16;
702: End If;
703: If (p_rec.lct_attribute17 = hr_api.g_varchar2) then
704: p_rec.lct_attribute17 :=
705: ben_lct_shd.g_old_rec.lct_attribute17;
706: End If;
707: If (p_rec.lct_attribute18 = hr_api.g_varchar2) then
708: p_rec.lct_attribute18 :=
709: ben_lct_shd.g_old_rec.lct_attribute18;
705: ben_lct_shd.g_old_rec.lct_attribute17;
706: End If;
707: If (p_rec.lct_attribute18 = hr_api.g_varchar2) then
708: p_rec.lct_attribute18 :=
709: ben_lct_shd.g_old_rec.lct_attribute18;
710: End If;
711: If (p_rec.lct_attribute19 = hr_api.g_varchar2) then
712: p_rec.lct_attribute19 :=
713: ben_lct_shd.g_old_rec.lct_attribute19;
709: ben_lct_shd.g_old_rec.lct_attribute18;
710: End If;
711: If (p_rec.lct_attribute19 = hr_api.g_varchar2) then
712: p_rec.lct_attribute19 :=
713: ben_lct_shd.g_old_rec.lct_attribute19;
714: End If;
715: If (p_rec.lct_attribute20 = hr_api.g_varchar2) then
716: p_rec.lct_attribute20 :=
717: ben_lct_shd.g_old_rec.lct_attribute20;
713: ben_lct_shd.g_old_rec.lct_attribute19;
714: End If;
715: If (p_rec.lct_attribute20 = hr_api.g_varchar2) then
716: p_rec.lct_attribute20 :=
717: ben_lct_shd.g_old_rec.lct_attribute20;
718: End If;
719: If (p_rec.lct_attribute21 = hr_api.g_varchar2) then
720: p_rec.lct_attribute21 :=
721: ben_lct_shd.g_old_rec.lct_attribute21;
717: ben_lct_shd.g_old_rec.lct_attribute20;
718: End If;
719: If (p_rec.lct_attribute21 = hr_api.g_varchar2) then
720: p_rec.lct_attribute21 :=
721: ben_lct_shd.g_old_rec.lct_attribute21;
722: End If;
723: If (p_rec.lct_attribute22 = hr_api.g_varchar2) then
724: p_rec.lct_attribute22 :=
725: ben_lct_shd.g_old_rec.lct_attribute22;
721: ben_lct_shd.g_old_rec.lct_attribute21;
722: End If;
723: If (p_rec.lct_attribute22 = hr_api.g_varchar2) then
724: p_rec.lct_attribute22 :=
725: ben_lct_shd.g_old_rec.lct_attribute22;
726: End If;
727: If (p_rec.lct_attribute23 = hr_api.g_varchar2) then
728: p_rec.lct_attribute23 :=
729: ben_lct_shd.g_old_rec.lct_attribute23;
725: ben_lct_shd.g_old_rec.lct_attribute22;
726: End If;
727: If (p_rec.lct_attribute23 = hr_api.g_varchar2) then
728: p_rec.lct_attribute23 :=
729: ben_lct_shd.g_old_rec.lct_attribute23;
730: End If;
731: If (p_rec.lct_attribute24 = hr_api.g_varchar2) then
732: p_rec.lct_attribute24 :=
733: ben_lct_shd.g_old_rec.lct_attribute24;
729: ben_lct_shd.g_old_rec.lct_attribute23;
730: End If;
731: If (p_rec.lct_attribute24 = hr_api.g_varchar2) then
732: p_rec.lct_attribute24 :=
733: ben_lct_shd.g_old_rec.lct_attribute24;
734: End If;
735: If (p_rec.lct_attribute25 = hr_api.g_varchar2) then
736: p_rec.lct_attribute25 :=
737: ben_lct_shd.g_old_rec.lct_attribute25;
733: ben_lct_shd.g_old_rec.lct_attribute24;
734: End If;
735: If (p_rec.lct_attribute25 = hr_api.g_varchar2) then
736: p_rec.lct_attribute25 :=
737: ben_lct_shd.g_old_rec.lct_attribute25;
738: End If;
739: If (p_rec.lct_attribute26 = hr_api.g_varchar2) then
740: p_rec.lct_attribute26 :=
741: ben_lct_shd.g_old_rec.lct_attribute26;
737: ben_lct_shd.g_old_rec.lct_attribute25;
738: End If;
739: If (p_rec.lct_attribute26 = hr_api.g_varchar2) then
740: p_rec.lct_attribute26 :=
741: ben_lct_shd.g_old_rec.lct_attribute26;
742: End If;
743: If (p_rec.lct_attribute27 = hr_api.g_varchar2) then
744: p_rec.lct_attribute27 :=
745: ben_lct_shd.g_old_rec.lct_attribute27;
741: ben_lct_shd.g_old_rec.lct_attribute26;
742: End If;
743: If (p_rec.lct_attribute27 = hr_api.g_varchar2) then
744: p_rec.lct_attribute27 :=
745: ben_lct_shd.g_old_rec.lct_attribute27;
746: End If;
747: If (p_rec.lct_attribute28 = hr_api.g_varchar2) then
748: p_rec.lct_attribute28 :=
749: ben_lct_shd.g_old_rec.lct_attribute28;
745: ben_lct_shd.g_old_rec.lct_attribute27;
746: End If;
747: If (p_rec.lct_attribute28 = hr_api.g_varchar2) then
748: p_rec.lct_attribute28 :=
749: ben_lct_shd.g_old_rec.lct_attribute28;
750: End If;
751: If (p_rec.lct_attribute29 = hr_api.g_varchar2) then
752: p_rec.lct_attribute29 :=
753: ben_lct_shd.g_old_rec.lct_attribute29;
749: ben_lct_shd.g_old_rec.lct_attribute28;
750: End If;
751: If (p_rec.lct_attribute29 = hr_api.g_varchar2) then
752: p_rec.lct_attribute29 :=
753: ben_lct_shd.g_old_rec.lct_attribute29;
754: End If;
755: If (p_rec.lct_attribute30 = hr_api.g_varchar2) then
756: p_rec.lct_attribute30 :=
757: ben_lct_shd.g_old_rec.lct_attribute30;
753: ben_lct_shd.g_old_rec.lct_attribute29;
754: End If;
755: If (p_rec.lct_attribute30 = hr_api.g_varchar2) then
756: p_rec.lct_attribute30 :=
757: ben_lct_shd.g_old_rec.lct_attribute30;
758: End If;
759:
760: --
761: hr_utility.set_location(' Leaving:'||l_proc, 10);
766: -- |---------------------------------< upd >----------------------------------|
767: -- ----------------------------------------------------------------------------
768: Procedure upd
769: (
770: p_rec in out nocopy ben_lct_shd.g_rec_type,
771: p_effective_date in date,
772: p_datetrack_mode in varchar2
773: ) is
774: --
784: dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode);
785: --
786: -- We must lock the row which we need to update.
787: --
788: ben_lct_shd.lck
789: (p_effective_date => p_effective_date,
790: p_datetrack_mode => p_datetrack_mode,
791: p_ler_chg_ptip_enrt_id => p_rec.ler_chg_ptip_enrt_id,
792: p_object_version_number => p_rec.object_version_number,
890: p_effective_date in date,
891: p_datetrack_mode in varchar2
892: ) is
893: --
894: l_rec ben_lct_shd.g_rec_type;
895: l_proc varchar2(72) := g_package||'upd';
896: --
897: Begin
898: hr_utility.set_location('Entering:'||l_proc, 5);
900: -- Call conversion function to turn arguments into the
901: -- l_rec structure.
902: --
903: l_rec :=
904: ben_lct_shd.convert_args
905: (
906: p_ler_chg_ptip_enrt_id,
907: null,
908: null,