54: --
55: -- {End Of Comments}
56: -- ----------------------------------------------------------------------------
57: Procedure dt_update_dml
58: (p_rec in out nocopy ben_pbm_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_r_oipl_prem_by_mo_f',
78: p_base_key_column => 'pl_r_oipl_prem_by_mo_id',
79: p_base_key_value => p_rec.pl_r_oipl_prem_by_mo_id);
80: --
81: ben_pbm_shd.g_api_dml := true; -- Set the api dml status
82: --
83: -- Update the ben_pl_r_oipl_prem_by_mo_f Row
84: --
85: update ben_pl_r_oipl_prem_by_mo_f
133: where pl_r_oipl_prem_by_mo_id = p_rec.pl_r_oipl_prem_by_mo_id
134: and effective_start_date = p_validation_start_date
135: and effective_end_date = p_validation_end_date;
136: --
137: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
138: --
139: -- Set the effective start and end dates
140: --
141: p_rec.effective_start_date := p_validation_start_date;
145: hr_utility.set_location(' Leaving:'||l_proc, 15);
146: Exception
147: When hr_api.check_integrity_violated Then
148: -- A check constraint has been violated
149: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
150: ben_pbm_shd.constraint_error
151: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
152: When hr_api.unique_integrity_violated Then
153: -- Unique integrity has been violated
146: Exception
147: When hr_api.check_integrity_violated Then
148: -- A check constraint has been violated
149: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
150: ben_pbm_shd.constraint_error
151: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
152: When hr_api.unique_integrity_violated Then
153: -- Unique integrity has been violated
154: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
150: ben_pbm_shd.constraint_error
151: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
152: When hr_api.unique_integrity_violated Then
153: -- Unique integrity has been violated
154: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
155: ben_pbm_shd.constraint_error
156: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
157: When Others Then
158: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
151: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
152: When hr_api.unique_integrity_violated Then
153: -- Unique integrity has been violated
154: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
155: ben_pbm_shd.constraint_error
156: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
157: When Others Then
158: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
159: Raise;
154: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
155: ben_pbm_shd.constraint_error
156: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
157: When Others Then
158: ben_pbm_shd.g_api_dml := false; -- Unset the api dml status
159: Raise;
160: End dt_update_dml;
161: --
162: -- ----------------------------------------------------------------------------
190: --
191: -- {End Of Comments}
192: -- ----------------------------------------------------------------------------
193: Procedure update_dml
194: (p_rec in out nocopy ben_pbm_shd.g_rec_type,
195: p_effective_date in date,
196: p_datetrack_mode in varchar2,
197: p_validation_start_date in date,
198: p_validation_end_date in date) is
254: --
255: -- {End Of Comments}
256: -- ----------------------------------------------------------------------------
257: Procedure dt_pre_update
258: (p_rec in out nocopy ben_pbm_shd.g_rec_type,
259: p_effective_date in date,
260: p_datetrack_mode in varchar2,
261: p_validation_start_date in date,
262: p_validation_end_date in date) is
270: hr_utility.set_location(l_proc, 10);
271: --
272: -- Update the current effective end date
273: --
274: ben_pbm_shd.upd_effective_end_date
275: (p_effective_date => p_effective_date,
276: p_base_key_value => p_rec.pl_r_oipl_prem_by_mo_id,
277: p_new_effective_end_date => (p_validation_start_date - 1),
278: p_validation_start_date => p_validation_start_date,
339: --
340: -- {End Of Comments}
341: -- ----------------------------------------------------------------------------
342: Procedure pre_update
343: (p_rec in out nocopy ben_pbm_shd.g_rec_type,
344: p_effective_date in date,
345: p_datetrack_mode in varchar2,
346: p_validation_start_date in date,
347: p_validation_end_date in date) is
395: --
396: -- {End Of Comments}
397: -- ----------------------------------------------------------------------------
398: Procedure post_update
399: (p_rec in ben_pbm_shd.g_rec_type,
400: p_effective_date in date,
401: p_datetrack_mode in varchar2,
402: p_validation_start_date in date,
403: p_validation_end_date in date) is
465: ,p_effective_date =>p_effective_date
466: ,p_datetrack_mode =>p_datetrack_mode
467: ,p_validation_start_date =>p_validation_start_date
468: ,p_validation_end_date =>p_validation_end_date
469: ,p_effective_start_date_o =>ben_pbm_shd.g_old_rec.effective_start_date
470: ,p_effective_end_date_o =>ben_pbm_shd.g_old_rec.effective_end_date
471: ,p_mnl_adj_flag_o =>ben_pbm_shd.g_old_rec.mnl_adj_flag
472: ,p_mo_num_o =>ben_pbm_shd.g_old_rec.mo_num
473: ,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
466: ,p_datetrack_mode =>p_datetrack_mode
467: ,p_validation_start_date =>p_validation_start_date
468: ,p_validation_end_date =>p_validation_end_date
469: ,p_effective_start_date_o =>ben_pbm_shd.g_old_rec.effective_start_date
470: ,p_effective_end_date_o =>ben_pbm_shd.g_old_rec.effective_end_date
471: ,p_mnl_adj_flag_o =>ben_pbm_shd.g_old_rec.mnl_adj_flag
472: ,p_mo_num_o =>ben_pbm_shd.g_old_rec.mo_num
473: ,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
474: ,p_val_o =>ben_pbm_shd.g_old_rec.val
467: ,p_validation_start_date =>p_validation_start_date
468: ,p_validation_end_date =>p_validation_end_date
469: ,p_effective_start_date_o =>ben_pbm_shd.g_old_rec.effective_start_date
470: ,p_effective_end_date_o =>ben_pbm_shd.g_old_rec.effective_end_date
471: ,p_mnl_adj_flag_o =>ben_pbm_shd.g_old_rec.mnl_adj_flag
472: ,p_mo_num_o =>ben_pbm_shd.g_old_rec.mo_num
473: ,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
474: ,p_val_o =>ben_pbm_shd.g_old_rec.val
475: ,p_uom_o =>ben_pbm_shd.g_old_rec.uom
468: ,p_validation_end_date =>p_validation_end_date
469: ,p_effective_start_date_o =>ben_pbm_shd.g_old_rec.effective_start_date
470: ,p_effective_end_date_o =>ben_pbm_shd.g_old_rec.effective_end_date
471: ,p_mnl_adj_flag_o =>ben_pbm_shd.g_old_rec.mnl_adj_flag
472: ,p_mo_num_o =>ben_pbm_shd.g_old_rec.mo_num
473: ,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
474: ,p_val_o =>ben_pbm_shd.g_old_rec.val
475: ,p_uom_o =>ben_pbm_shd.g_old_rec.uom
476: ,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
469: ,p_effective_start_date_o =>ben_pbm_shd.g_old_rec.effective_start_date
470: ,p_effective_end_date_o =>ben_pbm_shd.g_old_rec.effective_end_date
471: ,p_mnl_adj_flag_o =>ben_pbm_shd.g_old_rec.mnl_adj_flag
472: ,p_mo_num_o =>ben_pbm_shd.g_old_rec.mo_num
473: ,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
474: ,p_val_o =>ben_pbm_shd.g_old_rec.val
475: ,p_uom_o =>ben_pbm_shd.g_old_rec.uom
476: ,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
477: ,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
470: ,p_effective_end_date_o =>ben_pbm_shd.g_old_rec.effective_end_date
471: ,p_mnl_adj_flag_o =>ben_pbm_shd.g_old_rec.mnl_adj_flag
472: ,p_mo_num_o =>ben_pbm_shd.g_old_rec.mo_num
473: ,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
474: ,p_val_o =>ben_pbm_shd.g_old_rec.val
475: ,p_uom_o =>ben_pbm_shd.g_old_rec.uom
476: ,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
477: ,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
478: ,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
471: ,p_mnl_adj_flag_o =>ben_pbm_shd.g_old_rec.mnl_adj_flag
472: ,p_mo_num_o =>ben_pbm_shd.g_old_rec.mo_num
473: ,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
474: ,p_val_o =>ben_pbm_shd.g_old_rec.val
475: ,p_uom_o =>ben_pbm_shd.g_old_rec.uom
476: ,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
477: ,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
478: ,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
479: ,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
472: ,p_mo_num_o =>ben_pbm_shd.g_old_rec.mo_num
473: ,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
474: ,p_val_o =>ben_pbm_shd.g_old_rec.val
475: ,p_uom_o =>ben_pbm_shd.g_old_rec.uom
476: ,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
477: ,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
478: ,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
479: ,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
480: ,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
473: ,p_yr_num_o =>ben_pbm_shd.g_old_rec.yr_num
474: ,p_val_o =>ben_pbm_shd.g_old_rec.val
475: ,p_uom_o =>ben_pbm_shd.g_old_rec.uom
476: ,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
477: ,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
478: ,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
479: ,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
480: ,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
481: ,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
474: ,p_val_o =>ben_pbm_shd.g_old_rec.val
475: ,p_uom_o =>ben_pbm_shd.g_old_rec.uom
476: ,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
477: ,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
478: ,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
479: ,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
480: ,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
481: ,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
482: ,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
475: ,p_uom_o =>ben_pbm_shd.g_old_rec.uom
476: ,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
477: ,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
478: ,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
479: ,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
480: ,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
481: ,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
482: ,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
483: ,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
476: ,p_prtts_num_o =>ben_pbm_shd.g_old_rec.prtts_num
477: ,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
478: ,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
479: ,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
480: ,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
481: ,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
482: ,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
483: ,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
484: ,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
477: ,p_actl_prem_id_o =>ben_pbm_shd.g_old_rec.actl_prem_id
478: ,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
479: ,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
480: ,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
481: ,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
482: ,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
483: ,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
484: ,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
485: ,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
478: ,p_cost_allocation_keyflex_id_o =>ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id
479: ,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
480: ,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
481: ,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
482: ,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
483: ,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
484: ,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
485: ,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
486: ,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
479: ,p_business_group_id_o =>ben_pbm_shd.g_old_rec.business_group_id
480: ,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
481: ,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
482: ,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
483: ,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
484: ,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
485: ,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
486: ,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
487: ,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
480: ,p_pbm_attribute_category_o =>ben_pbm_shd.g_old_rec.pbm_attribute_category
481: ,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
482: ,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
483: ,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
484: ,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
485: ,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
486: ,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
487: ,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
488: ,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
481: ,p_pbm_attribute1_o =>ben_pbm_shd.g_old_rec.pbm_attribute1
482: ,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
483: ,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
484: ,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
485: ,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
486: ,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
487: ,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
488: ,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
489: ,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
482: ,p_pbm_attribute2_o =>ben_pbm_shd.g_old_rec.pbm_attribute2
483: ,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
484: ,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
485: ,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
486: ,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
487: ,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
488: ,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
489: ,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
490: ,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
483: ,p_pbm_attribute3_o =>ben_pbm_shd.g_old_rec.pbm_attribute3
484: ,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
485: ,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
486: ,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
487: ,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
488: ,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
489: ,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
490: ,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
491: ,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
484: ,p_pbm_attribute4_o =>ben_pbm_shd.g_old_rec.pbm_attribute4
485: ,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
486: ,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
487: ,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
488: ,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
489: ,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
490: ,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
491: ,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
492: ,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
485: ,p_pbm_attribute5_o =>ben_pbm_shd.g_old_rec.pbm_attribute5
486: ,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
487: ,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
488: ,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
489: ,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
490: ,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
491: ,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
492: ,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
493: ,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
486: ,p_pbm_attribute6_o =>ben_pbm_shd.g_old_rec.pbm_attribute6
487: ,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
488: ,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
489: ,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
490: ,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
491: ,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
492: ,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
493: ,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
494: ,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
487: ,p_pbm_attribute7_o =>ben_pbm_shd.g_old_rec.pbm_attribute7
488: ,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
489: ,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
490: ,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
491: ,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
492: ,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
493: ,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
494: ,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
495: ,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
488: ,p_pbm_attribute8_o =>ben_pbm_shd.g_old_rec.pbm_attribute8
489: ,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
490: ,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
491: ,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
492: ,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
493: ,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
494: ,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
495: ,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
496: ,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
489: ,p_pbm_attribute9_o =>ben_pbm_shd.g_old_rec.pbm_attribute9
490: ,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
491: ,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
492: ,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
493: ,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
494: ,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
495: ,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
496: ,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
497: ,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
490: ,p_pbm_attribute10_o =>ben_pbm_shd.g_old_rec.pbm_attribute10
491: ,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
492: ,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
493: ,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
494: ,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
495: ,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
496: ,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
497: ,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
498: ,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
491: ,p_pbm_attribute11_o =>ben_pbm_shd.g_old_rec.pbm_attribute11
492: ,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
493: ,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
494: ,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
495: ,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
496: ,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
497: ,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
498: ,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
499: ,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
492: ,p_pbm_attribute12_o =>ben_pbm_shd.g_old_rec.pbm_attribute12
493: ,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
494: ,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
495: ,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
496: ,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
497: ,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
498: ,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
499: ,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
500: ,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
493: ,p_pbm_attribute13_o =>ben_pbm_shd.g_old_rec.pbm_attribute13
494: ,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
495: ,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
496: ,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
497: ,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
498: ,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
499: ,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
500: ,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
501: ,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
494: ,p_pbm_attribute14_o =>ben_pbm_shd.g_old_rec.pbm_attribute14
495: ,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
496: ,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
497: ,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
498: ,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
499: ,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
500: ,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
501: ,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
502: ,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
495: ,p_pbm_attribute15_o =>ben_pbm_shd.g_old_rec.pbm_attribute15
496: ,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
497: ,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
498: ,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
499: ,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
500: ,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
501: ,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
502: ,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
503: ,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
496: ,p_pbm_attribute16_o =>ben_pbm_shd.g_old_rec.pbm_attribute16
497: ,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
498: ,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
499: ,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
500: ,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
501: ,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
502: ,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
503: ,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
504: ,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
497: ,p_pbm_attribute17_o =>ben_pbm_shd.g_old_rec.pbm_attribute17
498: ,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
499: ,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
500: ,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
501: ,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
502: ,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
503: ,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
504: ,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
505: ,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
498: ,p_pbm_attribute18_o =>ben_pbm_shd.g_old_rec.pbm_attribute18
499: ,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
500: ,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
501: ,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
502: ,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
503: ,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
504: ,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
505: ,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
506: ,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
499: ,p_pbm_attribute19_o =>ben_pbm_shd.g_old_rec.pbm_attribute19
500: ,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
501: ,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
502: ,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
503: ,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
504: ,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
505: ,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
506: ,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
507: ,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
500: ,p_pbm_attribute20_o =>ben_pbm_shd.g_old_rec.pbm_attribute20
501: ,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
502: ,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
503: ,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
504: ,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
505: ,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
506: ,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
507: ,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
508: ,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
501: ,p_pbm_attribute21_o =>ben_pbm_shd.g_old_rec.pbm_attribute21
502: ,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
503: ,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
504: ,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
505: ,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
506: ,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
507: ,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
508: ,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
509: ,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
502: ,p_pbm_attribute22_o =>ben_pbm_shd.g_old_rec.pbm_attribute22
503: ,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
504: ,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
505: ,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
506: ,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
507: ,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
508: ,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
509: ,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
510: ,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
503: ,p_pbm_attribute23_o =>ben_pbm_shd.g_old_rec.pbm_attribute23
504: ,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
505: ,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
506: ,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
507: ,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
508: ,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
509: ,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
510: ,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
511: ,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
504: ,p_pbm_attribute24_o =>ben_pbm_shd.g_old_rec.pbm_attribute24
505: ,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
506: ,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
507: ,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
508: ,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
509: ,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
510: ,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
511: ,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
512: ,p_request_id_o =>ben_pbm_shd.g_old_rec.request_id
505: ,p_pbm_attribute25_o =>ben_pbm_shd.g_old_rec.pbm_attribute25
506: ,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
507: ,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
508: ,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
509: ,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
510: ,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
511: ,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
512: ,p_request_id_o =>ben_pbm_shd.g_old_rec.request_id
513: ,p_program_id_o =>ben_pbm_shd.g_old_rec.program_id
506: ,p_pbm_attribute26_o =>ben_pbm_shd.g_old_rec.pbm_attribute26
507: ,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
508: ,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
509: ,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
510: ,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
511: ,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
512: ,p_request_id_o =>ben_pbm_shd.g_old_rec.request_id
513: ,p_program_id_o =>ben_pbm_shd.g_old_rec.program_id
514: ,p_program_application_id_o =>ben_pbm_shd.g_old_rec.program_application_id
507: ,p_pbm_attribute27_o =>ben_pbm_shd.g_old_rec.pbm_attribute27
508: ,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
509: ,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
510: ,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
511: ,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
512: ,p_request_id_o =>ben_pbm_shd.g_old_rec.request_id
513: ,p_program_id_o =>ben_pbm_shd.g_old_rec.program_id
514: ,p_program_application_id_o =>ben_pbm_shd.g_old_rec.program_application_id
515: ,p_program_update_date_o =>ben_pbm_shd.g_old_rec.program_update_date
508: ,p_pbm_attribute28_o =>ben_pbm_shd.g_old_rec.pbm_attribute28
509: ,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
510: ,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
511: ,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
512: ,p_request_id_o =>ben_pbm_shd.g_old_rec.request_id
513: ,p_program_id_o =>ben_pbm_shd.g_old_rec.program_id
514: ,p_program_application_id_o =>ben_pbm_shd.g_old_rec.program_application_id
515: ,p_program_update_date_o =>ben_pbm_shd.g_old_rec.program_update_date
516: );
509: ,p_pbm_attribute29_o =>ben_pbm_shd.g_old_rec.pbm_attribute29
510: ,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
511: ,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
512: ,p_request_id_o =>ben_pbm_shd.g_old_rec.request_id
513: ,p_program_id_o =>ben_pbm_shd.g_old_rec.program_id
514: ,p_program_application_id_o =>ben_pbm_shd.g_old_rec.program_application_id
515: ,p_program_update_date_o =>ben_pbm_shd.g_old_rec.program_update_date
516: );
517: --
510: ,p_pbm_attribute30_o =>ben_pbm_shd.g_old_rec.pbm_attribute30
511: ,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
512: ,p_request_id_o =>ben_pbm_shd.g_old_rec.request_id
513: ,p_program_id_o =>ben_pbm_shd.g_old_rec.program_id
514: ,p_program_application_id_o =>ben_pbm_shd.g_old_rec.program_application_id
515: ,p_program_update_date_o =>ben_pbm_shd.g_old_rec.program_update_date
516: );
517: --
518: exception
511: ,p_object_version_number_o =>ben_pbm_shd.g_old_rec.object_version_number
512: ,p_request_id_o =>ben_pbm_shd.g_old_rec.request_id
513: ,p_program_id_o =>ben_pbm_shd.g_old_rec.program_id
514: ,p_program_application_id_o =>ben_pbm_shd.g_old_rec.program_application_id
515: ,p_program_update_date_o =>ben_pbm_shd.g_old_rec.program_update_date
516: );
517: --
518: exception
519: --
573: -- Internal Row Handler Use Only.
574: --
575: -- {End Of Comments}
576: -- ----------------------------------------------------------------------------
577: Procedure convert_defs(p_rec in out nocopy ben_pbm_shd.g_rec_type) is
578: --
579: l_proc varchar2(72) := g_package||'convert_defs';
580: --
581: Begin
588: -- is being used then we must set to the 'current' argument value.
589: --
590: If (p_rec.mnl_adj_flag = hr_api.g_varchar2) then
591: p_rec.mnl_adj_flag :=
592: ben_pbm_shd.g_old_rec.mnl_adj_flag;
593: End If;
594: If (p_rec.mo_num = hr_api.g_number) then
595: p_rec.mo_num :=
596: ben_pbm_shd.g_old_rec.mo_num;
592: ben_pbm_shd.g_old_rec.mnl_adj_flag;
593: End If;
594: If (p_rec.mo_num = hr_api.g_number) then
595: p_rec.mo_num :=
596: ben_pbm_shd.g_old_rec.mo_num;
597: End If;
598: If (p_rec.yr_num = hr_api.g_number) then
599: p_rec.yr_num :=
600: ben_pbm_shd.g_old_rec.yr_num;
596: ben_pbm_shd.g_old_rec.mo_num;
597: End If;
598: If (p_rec.yr_num = hr_api.g_number) then
599: p_rec.yr_num :=
600: ben_pbm_shd.g_old_rec.yr_num;
601: End If;
602: If (p_rec.val = hr_api.g_number) then
603: p_rec.val :=
604: ben_pbm_shd.g_old_rec.val;
600: ben_pbm_shd.g_old_rec.yr_num;
601: End If;
602: If (p_rec.val = hr_api.g_number) then
603: p_rec.val :=
604: ben_pbm_shd.g_old_rec.val;
605: End If;
606: If (p_rec.uom = hr_api.g_varchar2) then
607: p_rec.uom :=
608: ben_pbm_shd.g_old_rec.uom;
604: ben_pbm_shd.g_old_rec.val;
605: End If;
606: If (p_rec.uom = hr_api.g_varchar2) then
607: p_rec.uom :=
608: ben_pbm_shd.g_old_rec.uom;
609: End If;
610: If (p_rec.prtts_num = hr_api.g_number) then
611: p_rec.prtts_num :=
612: ben_pbm_shd.g_old_rec.prtts_num;
608: ben_pbm_shd.g_old_rec.uom;
609: End If;
610: If (p_rec.prtts_num = hr_api.g_number) then
611: p_rec.prtts_num :=
612: ben_pbm_shd.g_old_rec.prtts_num;
613: End If;
614: If (p_rec.actl_prem_id = hr_api.g_number) then
615: p_rec.actl_prem_id :=
616: ben_pbm_shd.g_old_rec.actl_prem_id;
612: ben_pbm_shd.g_old_rec.prtts_num;
613: End If;
614: If (p_rec.actl_prem_id = hr_api.g_number) then
615: p_rec.actl_prem_id :=
616: ben_pbm_shd.g_old_rec.actl_prem_id;
617: End If;
618: If (p_rec.cost_allocation_keyflex_id = hr_api.g_number) then
619: p_rec.cost_allocation_keyflex_id :=
620: ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id;
616: ben_pbm_shd.g_old_rec.actl_prem_id;
617: End If;
618: If (p_rec.cost_allocation_keyflex_id = hr_api.g_number) then
619: p_rec.cost_allocation_keyflex_id :=
620: ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id;
621: End If;
622: If (p_rec.business_group_id = hr_api.g_number) then
623: p_rec.business_group_id :=
624: ben_pbm_shd.g_old_rec.business_group_id;
620: ben_pbm_shd.g_old_rec.cost_allocation_keyflex_id;
621: End If;
622: If (p_rec.business_group_id = hr_api.g_number) then
623: p_rec.business_group_id :=
624: ben_pbm_shd.g_old_rec.business_group_id;
625: End If;
626: If (p_rec.pbm_attribute_category = hr_api.g_varchar2) then
627: p_rec.pbm_attribute_category :=
628: ben_pbm_shd.g_old_rec.pbm_attribute_category;
624: ben_pbm_shd.g_old_rec.business_group_id;
625: End If;
626: If (p_rec.pbm_attribute_category = hr_api.g_varchar2) then
627: p_rec.pbm_attribute_category :=
628: ben_pbm_shd.g_old_rec.pbm_attribute_category;
629: End If;
630: If (p_rec.pbm_attribute1 = hr_api.g_varchar2) then
631: p_rec.pbm_attribute1 :=
632: ben_pbm_shd.g_old_rec.pbm_attribute1;
628: ben_pbm_shd.g_old_rec.pbm_attribute_category;
629: End If;
630: If (p_rec.pbm_attribute1 = hr_api.g_varchar2) then
631: p_rec.pbm_attribute1 :=
632: ben_pbm_shd.g_old_rec.pbm_attribute1;
633: End If;
634: If (p_rec.pbm_attribute2 = hr_api.g_varchar2) then
635: p_rec.pbm_attribute2 :=
636: ben_pbm_shd.g_old_rec.pbm_attribute2;
632: ben_pbm_shd.g_old_rec.pbm_attribute1;
633: End If;
634: If (p_rec.pbm_attribute2 = hr_api.g_varchar2) then
635: p_rec.pbm_attribute2 :=
636: ben_pbm_shd.g_old_rec.pbm_attribute2;
637: End If;
638: If (p_rec.pbm_attribute3 = hr_api.g_varchar2) then
639: p_rec.pbm_attribute3 :=
640: ben_pbm_shd.g_old_rec.pbm_attribute3;
636: ben_pbm_shd.g_old_rec.pbm_attribute2;
637: End If;
638: If (p_rec.pbm_attribute3 = hr_api.g_varchar2) then
639: p_rec.pbm_attribute3 :=
640: ben_pbm_shd.g_old_rec.pbm_attribute3;
641: End If;
642: If (p_rec.pbm_attribute4 = hr_api.g_varchar2) then
643: p_rec.pbm_attribute4 :=
644: ben_pbm_shd.g_old_rec.pbm_attribute4;
640: ben_pbm_shd.g_old_rec.pbm_attribute3;
641: End If;
642: If (p_rec.pbm_attribute4 = hr_api.g_varchar2) then
643: p_rec.pbm_attribute4 :=
644: ben_pbm_shd.g_old_rec.pbm_attribute4;
645: End If;
646: If (p_rec.pbm_attribute5 = hr_api.g_varchar2) then
647: p_rec.pbm_attribute5 :=
648: ben_pbm_shd.g_old_rec.pbm_attribute5;
644: ben_pbm_shd.g_old_rec.pbm_attribute4;
645: End If;
646: If (p_rec.pbm_attribute5 = hr_api.g_varchar2) then
647: p_rec.pbm_attribute5 :=
648: ben_pbm_shd.g_old_rec.pbm_attribute5;
649: End If;
650: If (p_rec.pbm_attribute6 = hr_api.g_varchar2) then
651: p_rec.pbm_attribute6 :=
652: ben_pbm_shd.g_old_rec.pbm_attribute6;
648: ben_pbm_shd.g_old_rec.pbm_attribute5;
649: End If;
650: If (p_rec.pbm_attribute6 = hr_api.g_varchar2) then
651: p_rec.pbm_attribute6 :=
652: ben_pbm_shd.g_old_rec.pbm_attribute6;
653: End If;
654: If (p_rec.pbm_attribute7 = hr_api.g_varchar2) then
655: p_rec.pbm_attribute7 :=
656: ben_pbm_shd.g_old_rec.pbm_attribute7;
652: ben_pbm_shd.g_old_rec.pbm_attribute6;
653: End If;
654: If (p_rec.pbm_attribute7 = hr_api.g_varchar2) then
655: p_rec.pbm_attribute7 :=
656: ben_pbm_shd.g_old_rec.pbm_attribute7;
657: End If;
658: If (p_rec.pbm_attribute8 = hr_api.g_varchar2) then
659: p_rec.pbm_attribute8 :=
660: ben_pbm_shd.g_old_rec.pbm_attribute8;
656: ben_pbm_shd.g_old_rec.pbm_attribute7;
657: End If;
658: If (p_rec.pbm_attribute8 = hr_api.g_varchar2) then
659: p_rec.pbm_attribute8 :=
660: ben_pbm_shd.g_old_rec.pbm_attribute8;
661: End If;
662: If (p_rec.pbm_attribute9 = hr_api.g_varchar2) then
663: p_rec.pbm_attribute9 :=
664: ben_pbm_shd.g_old_rec.pbm_attribute9;
660: ben_pbm_shd.g_old_rec.pbm_attribute8;
661: End If;
662: If (p_rec.pbm_attribute9 = hr_api.g_varchar2) then
663: p_rec.pbm_attribute9 :=
664: ben_pbm_shd.g_old_rec.pbm_attribute9;
665: End If;
666: If (p_rec.pbm_attribute10 = hr_api.g_varchar2) then
667: p_rec.pbm_attribute10 :=
668: ben_pbm_shd.g_old_rec.pbm_attribute10;
664: ben_pbm_shd.g_old_rec.pbm_attribute9;
665: End If;
666: If (p_rec.pbm_attribute10 = hr_api.g_varchar2) then
667: p_rec.pbm_attribute10 :=
668: ben_pbm_shd.g_old_rec.pbm_attribute10;
669: End If;
670: If (p_rec.pbm_attribute11 = hr_api.g_varchar2) then
671: p_rec.pbm_attribute11 :=
672: ben_pbm_shd.g_old_rec.pbm_attribute11;
668: ben_pbm_shd.g_old_rec.pbm_attribute10;
669: End If;
670: If (p_rec.pbm_attribute11 = hr_api.g_varchar2) then
671: p_rec.pbm_attribute11 :=
672: ben_pbm_shd.g_old_rec.pbm_attribute11;
673: End If;
674: If (p_rec.pbm_attribute12 = hr_api.g_varchar2) then
675: p_rec.pbm_attribute12 :=
676: ben_pbm_shd.g_old_rec.pbm_attribute12;
672: ben_pbm_shd.g_old_rec.pbm_attribute11;
673: End If;
674: If (p_rec.pbm_attribute12 = hr_api.g_varchar2) then
675: p_rec.pbm_attribute12 :=
676: ben_pbm_shd.g_old_rec.pbm_attribute12;
677: End If;
678: If (p_rec.pbm_attribute13 = hr_api.g_varchar2) then
679: p_rec.pbm_attribute13 :=
680: ben_pbm_shd.g_old_rec.pbm_attribute13;
676: ben_pbm_shd.g_old_rec.pbm_attribute12;
677: End If;
678: If (p_rec.pbm_attribute13 = hr_api.g_varchar2) then
679: p_rec.pbm_attribute13 :=
680: ben_pbm_shd.g_old_rec.pbm_attribute13;
681: End If;
682: If (p_rec.pbm_attribute14 = hr_api.g_varchar2) then
683: p_rec.pbm_attribute14 :=
684: ben_pbm_shd.g_old_rec.pbm_attribute14;
680: ben_pbm_shd.g_old_rec.pbm_attribute13;
681: End If;
682: If (p_rec.pbm_attribute14 = hr_api.g_varchar2) then
683: p_rec.pbm_attribute14 :=
684: ben_pbm_shd.g_old_rec.pbm_attribute14;
685: End If;
686: If (p_rec.pbm_attribute15 = hr_api.g_varchar2) then
687: p_rec.pbm_attribute15 :=
688: ben_pbm_shd.g_old_rec.pbm_attribute15;
684: ben_pbm_shd.g_old_rec.pbm_attribute14;
685: End If;
686: If (p_rec.pbm_attribute15 = hr_api.g_varchar2) then
687: p_rec.pbm_attribute15 :=
688: ben_pbm_shd.g_old_rec.pbm_attribute15;
689: End If;
690: If (p_rec.pbm_attribute16 = hr_api.g_varchar2) then
691: p_rec.pbm_attribute16 :=
692: ben_pbm_shd.g_old_rec.pbm_attribute16;
688: ben_pbm_shd.g_old_rec.pbm_attribute15;
689: End If;
690: If (p_rec.pbm_attribute16 = hr_api.g_varchar2) then
691: p_rec.pbm_attribute16 :=
692: ben_pbm_shd.g_old_rec.pbm_attribute16;
693: End If;
694: If (p_rec.pbm_attribute17 = hr_api.g_varchar2) then
695: p_rec.pbm_attribute17 :=
696: ben_pbm_shd.g_old_rec.pbm_attribute17;
692: ben_pbm_shd.g_old_rec.pbm_attribute16;
693: End If;
694: If (p_rec.pbm_attribute17 = hr_api.g_varchar2) then
695: p_rec.pbm_attribute17 :=
696: ben_pbm_shd.g_old_rec.pbm_attribute17;
697: End If;
698: If (p_rec.pbm_attribute18 = hr_api.g_varchar2) then
699: p_rec.pbm_attribute18 :=
700: ben_pbm_shd.g_old_rec.pbm_attribute18;
696: ben_pbm_shd.g_old_rec.pbm_attribute17;
697: End If;
698: If (p_rec.pbm_attribute18 = hr_api.g_varchar2) then
699: p_rec.pbm_attribute18 :=
700: ben_pbm_shd.g_old_rec.pbm_attribute18;
701: End If;
702: If (p_rec.pbm_attribute19 = hr_api.g_varchar2) then
703: p_rec.pbm_attribute19 :=
704: ben_pbm_shd.g_old_rec.pbm_attribute19;
700: ben_pbm_shd.g_old_rec.pbm_attribute18;
701: End If;
702: If (p_rec.pbm_attribute19 = hr_api.g_varchar2) then
703: p_rec.pbm_attribute19 :=
704: ben_pbm_shd.g_old_rec.pbm_attribute19;
705: End If;
706: If (p_rec.pbm_attribute20 = hr_api.g_varchar2) then
707: p_rec.pbm_attribute20 :=
708: ben_pbm_shd.g_old_rec.pbm_attribute20;
704: ben_pbm_shd.g_old_rec.pbm_attribute19;
705: End If;
706: If (p_rec.pbm_attribute20 = hr_api.g_varchar2) then
707: p_rec.pbm_attribute20 :=
708: ben_pbm_shd.g_old_rec.pbm_attribute20;
709: End If;
710: If (p_rec.pbm_attribute21 = hr_api.g_varchar2) then
711: p_rec.pbm_attribute21 :=
712: ben_pbm_shd.g_old_rec.pbm_attribute21;
708: ben_pbm_shd.g_old_rec.pbm_attribute20;
709: End If;
710: If (p_rec.pbm_attribute21 = hr_api.g_varchar2) then
711: p_rec.pbm_attribute21 :=
712: ben_pbm_shd.g_old_rec.pbm_attribute21;
713: End If;
714: If (p_rec.pbm_attribute22 = hr_api.g_varchar2) then
715: p_rec.pbm_attribute22 :=
716: ben_pbm_shd.g_old_rec.pbm_attribute22;
712: ben_pbm_shd.g_old_rec.pbm_attribute21;
713: End If;
714: If (p_rec.pbm_attribute22 = hr_api.g_varchar2) then
715: p_rec.pbm_attribute22 :=
716: ben_pbm_shd.g_old_rec.pbm_attribute22;
717: End If;
718: If (p_rec.pbm_attribute23 = hr_api.g_varchar2) then
719: p_rec.pbm_attribute23 :=
720: ben_pbm_shd.g_old_rec.pbm_attribute23;
716: ben_pbm_shd.g_old_rec.pbm_attribute22;
717: End If;
718: If (p_rec.pbm_attribute23 = hr_api.g_varchar2) then
719: p_rec.pbm_attribute23 :=
720: ben_pbm_shd.g_old_rec.pbm_attribute23;
721: End If;
722: If (p_rec.pbm_attribute24 = hr_api.g_varchar2) then
723: p_rec.pbm_attribute24 :=
724: ben_pbm_shd.g_old_rec.pbm_attribute24;
720: ben_pbm_shd.g_old_rec.pbm_attribute23;
721: End If;
722: If (p_rec.pbm_attribute24 = hr_api.g_varchar2) then
723: p_rec.pbm_attribute24 :=
724: ben_pbm_shd.g_old_rec.pbm_attribute24;
725: End If;
726: If (p_rec.pbm_attribute25 = hr_api.g_varchar2) then
727: p_rec.pbm_attribute25 :=
728: ben_pbm_shd.g_old_rec.pbm_attribute25;
724: ben_pbm_shd.g_old_rec.pbm_attribute24;
725: End If;
726: If (p_rec.pbm_attribute25 = hr_api.g_varchar2) then
727: p_rec.pbm_attribute25 :=
728: ben_pbm_shd.g_old_rec.pbm_attribute25;
729: End If;
730: If (p_rec.pbm_attribute26 = hr_api.g_varchar2) then
731: p_rec.pbm_attribute26 :=
732: ben_pbm_shd.g_old_rec.pbm_attribute26;
728: ben_pbm_shd.g_old_rec.pbm_attribute25;
729: End If;
730: If (p_rec.pbm_attribute26 = hr_api.g_varchar2) then
731: p_rec.pbm_attribute26 :=
732: ben_pbm_shd.g_old_rec.pbm_attribute26;
733: End If;
734: If (p_rec.pbm_attribute27 = hr_api.g_varchar2) then
735: p_rec.pbm_attribute27 :=
736: ben_pbm_shd.g_old_rec.pbm_attribute27;
732: ben_pbm_shd.g_old_rec.pbm_attribute26;
733: End If;
734: If (p_rec.pbm_attribute27 = hr_api.g_varchar2) then
735: p_rec.pbm_attribute27 :=
736: ben_pbm_shd.g_old_rec.pbm_attribute27;
737: End If;
738: If (p_rec.pbm_attribute28 = hr_api.g_varchar2) then
739: p_rec.pbm_attribute28 :=
740: ben_pbm_shd.g_old_rec.pbm_attribute28;
736: ben_pbm_shd.g_old_rec.pbm_attribute27;
737: End If;
738: If (p_rec.pbm_attribute28 = hr_api.g_varchar2) then
739: p_rec.pbm_attribute28 :=
740: ben_pbm_shd.g_old_rec.pbm_attribute28;
741: End If;
742: If (p_rec.pbm_attribute29 = hr_api.g_varchar2) then
743: p_rec.pbm_attribute29 :=
744: ben_pbm_shd.g_old_rec.pbm_attribute29;
740: ben_pbm_shd.g_old_rec.pbm_attribute28;
741: End If;
742: If (p_rec.pbm_attribute29 = hr_api.g_varchar2) then
743: p_rec.pbm_attribute29 :=
744: ben_pbm_shd.g_old_rec.pbm_attribute29;
745: End If;
746: If (p_rec.pbm_attribute30 = hr_api.g_varchar2) then
747: p_rec.pbm_attribute30 :=
748: ben_pbm_shd.g_old_rec.pbm_attribute30;
744: ben_pbm_shd.g_old_rec.pbm_attribute29;
745: End If;
746: If (p_rec.pbm_attribute30 = hr_api.g_varchar2) then
747: p_rec.pbm_attribute30 :=
748: ben_pbm_shd.g_old_rec.pbm_attribute30;
749: End If;
750: If (p_rec.request_id = hr_api.g_number) then
751: p_rec.request_id :=
752: ben_pbm_shd.g_old_rec.request_id;
748: ben_pbm_shd.g_old_rec.pbm_attribute30;
749: End If;
750: If (p_rec.request_id = hr_api.g_number) then
751: p_rec.request_id :=
752: ben_pbm_shd.g_old_rec.request_id;
753: End If;
754: If (p_rec.program_id = hr_api.g_number) then
755: p_rec.program_id :=
756: ben_pbm_shd.g_old_rec.program_id;
752: ben_pbm_shd.g_old_rec.request_id;
753: End If;
754: If (p_rec.program_id = hr_api.g_number) then
755: p_rec.program_id :=
756: ben_pbm_shd.g_old_rec.program_id;
757: End If;
758: If (p_rec.program_application_id = hr_api.g_number) then
759: p_rec.program_application_id :=
760: ben_pbm_shd.g_old_rec.program_application_id;
756: ben_pbm_shd.g_old_rec.program_id;
757: End If;
758: If (p_rec.program_application_id = hr_api.g_number) then
759: p_rec.program_application_id :=
760: ben_pbm_shd.g_old_rec.program_application_id;
761: End If;
762: If (p_rec.program_update_date = hr_api.g_date) then
763: p_rec.program_update_date:=
764: ben_pbm_shd.g_old_rec.program_update_date;
760: ben_pbm_shd.g_old_rec.program_application_id;
761: End If;
762: If (p_rec.program_update_date = hr_api.g_date) then
763: p_rec.program_update_date:=
764: ben_pbm_shd.g_old_rec.program_update_date;
765: End If;
766:
767: --
768: hr_utility.set_location(' Leaving:'||l_proc, 10);
773: -- |---------------------------------< upd >----------------------------------|
774: -- ----------------------------------------------------------------------------
775: Procedure upd
776: (
777: p_rec in out nocopy ben_pbm_shd.g_rec_type,
778: p_effective_date in date,
779: p_datetrack_mode in varchar2
780: ) is
781: --
791: dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode);
792: --
793: -- We must lock the row which we need to update.
794: --
795: ben_pbm_shd.lck
796: (p_effective_date => p_effective_date,
797: p_datetrack_mode => p_datetrack_mode,
798: p_pl_r_oipl_prem_by_mo_id => p_rec.pl_r_oipl_prem_by_mo_id,
799: p_object_version_number => p_rec.object_version_number,
898: p_effective_date in date,
899: p_datetrack_mode in varchar2
900: ) is
901: --
902: l_rec ben_pbm_shd.g_rec_type;
903: l_proc varchar2(72) := g_package||'upd';
904: --
905: Begin
906: hr_utility.set_location('Entering:'||l_proc, 5);
908: -- Call conversion function to turn arguments into the
909: -- l_rec structure.
910: --
911: l_rec :=
912: ben_pbm_shd.convert_args
913: (
914: p_pl_r_oipl_prem_by_mo_id,
915: null,
916: null,