54: --
55: -- {End Of Comments}
56: -- ----------------------------------------------------------------------------
57: Procedure dt_update_dml
58: (p_rec in out nocopy ben_prm_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_prtt_prem_by_mo_f',
78: p_base_key_column => 'prtt_prem_by_mo_id',
79: p_base_key_value => p_rec.prtt_prem_by_mo_id);
80: --
81: ben_prm_shd.g_api_dml := true; -- Set the api dml status
82: --
83: -- Update the ben_prtt_prem_by_mo_f Row
84: --
85: update ben_prtt_prem_by_mo_f
137: where prtt_prem_by_mo_id = p_rec.prtt_prem_by_mo_id
138: and effective_start_date = p_validation_start_date
139: and effective_end_date = p_validation_end_date;
140: --
141: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
142: --
143: -- Set the effective start and end dates
144: --
145: p_rec.effective_start_date := p_validation_start_date;
149: hr_utility.set_location(' Leaving:'||l_proc, 15);
150: Exception
151: When hr_api.check_integrity_violated Then
152: -- A check constraint has been violated
153: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
154: ben_prm_shd.constraint_error
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When hr_api.unique_integrity_violated Then
157: -- Unique integrity has been violated
150: Exception
151: When hr_api.check_integrity_violated Then
152: -- A check constraint has been violated
153: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
154: ben_prm_shd.constraint_error
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When hr_api.unique_integrity_violated Then
157: -- Unique integrity has been violated
158: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
154: ben_prm_shd.constraint_error
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When hr_api.unique_integrity_violated Then
157: -- Unique integrity has been violated
158: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
159: ben_prm_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When Others Then
162: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When hr_api.unique_integrity_violated Then
157: -- Unique integrity has been violated
158: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
159: ben_prm_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When Others Then
162: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
163: Raise;
158: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
159: ben_prm_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When Others Then
162: ben_prm_shd.g_api_dml := false; -- Unset the api dml status
163: Raise;
164: End dt_update_dml;
165: --
166: -- ----------------------------------------------------------------------------
194: --
195: -- {End Of Comments}
196: -- ----------------------------------------------------------------------------
197: Procedure update_dml
198: (p_rec in out nocopy ben_prm_shd.g_rec_type,
199: p_effective_date in date,
200: p_datetrack_mode in varchar2,
201: p_validation_start_date in date,
202: p_validation_end_date in date) is
258: --
259: -- {End Of Comments}
260: -- ----------------------------------------------------------------------------
261: Procedure dt_pre_update
262: (p_rec in out nocopy ben_prm_shd.g_rec_type,
263: p_effective_date in date,
264: p_datetrack_mode in varchar2,
265: p_validation_start_date in date,
266: p_validation_end_date in date) is
274: hr_utility.set_location(l_proc, 10);
275: --
276: -- Update the current effective end date
277: --
278: ben_prm_shd.upd_effective_end_date
279: (p_effective_date => p_effective_date,
280: p_base_key_value => p_rec.prtt_prem_by_mo_id,
281: p_new_effective_end_date => (p_validation_start_date - 1),
282: p_validation_start_date => p_validation_start_date,
343: --
344: -- {End Of Comments}
345: -- ----------------------------------------------------------------------------
346: Procedure pre_update
347: (p_rec in out nocopy ben_prm_shd.g_rec_type,
348: p_effective_date in date,
349: p_datetrack_mode in varchar2,
350: p_validation_start_date in date,
351: p_validation_end_date in date) is
399: --
400: -- {End Of Comments}
401: -- ----------------------------------------------------------------------------
402: Procedure post_update
403: (p_rec in ben_prm_shd.g_rec_type,
404: p_effective_date in date,
405: p_datetrack_mode in varchar2,
406: p_validation_start_date in date,
407: p_validation_end_date in date) is
476: ,p_effective_date =>p_effective_date
477: ,p_datetrack_mode =>p_datetrack_mode
478: ,p_validation_start_date =>p_validation_start_date
479: ,p_validation_end_date =>p_validation_end_date
480: ,p_effective_start_date_o =>ben_prm_shd.g_old_rec.effective_start_date
481: ,p_effective_end_date_o =>ben_prm_shd.g_old_rec.effective_end_date
482: ,p_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.mnl_adj_flag
483: ,p_mo_num_o =>ben_prm_shd.g_old_rec.mo_num
484: ,p_yr_num_o =>ben_prm_shd.g_old_rec.yr_num
477: ,p_datetrack_mode =>p_datetrack_mode
478: ,p_validation_start_date =>p_validation_start_date
479: ,p_validation_end_date =>p_validation_end_date
480: ,p_effective_start_date_o =>ben_prm_shd.g_old_rec.effective_start_date
481: ,p_effective_end_date_o =>ben_prm_shd.g_old_rec.effective_end_date
482: ,p_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.mnl_adj_flag
483: ,p_mo_num_o =>ben_prm_shd.g_old_rec.mo_num
484: ,p_yr_num_o =>ben_prm_shd.g_old_rec.yr_num
485: ,p_antcpd_prtt_cntr_uom_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
478: ,p_validation_start_date =>p_validation_start_date
479: ,p_validation_end_date =>p_validation_end_date
480: ,p_effective_start_date_o =>ben_prm_shd.g_old_rec.effective_start_date
481: ,p_effective_end_date_o =>ben_prm_shd.g_old_rec.effective_end_date
482: ,p_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.mnl_adj_flag
483: ,p_mo_num_o =>ben_prm_shd.g_old_rec.mo_num
484: ,p_yr_num_o =>ben_prm_shd.g_old_rec.yr_num
485: ,p_antcpd_prtt_cntr_uom_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
486: ,p_antcpd_prtt_cntr_val_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
479: ,p_validation_end_date =>p_validation_end_date
480: ,p_effective_start_date_o =>ben_prm_shd.g_old_rec.effective_start_date
481: ,p_effective_end_date_o =>ben_prm_shd.g_old_rec.effective_end_date
482: ,p_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.mnl_adj_flag
483: ,p_mo_num_o =>ben_prm_shd.g_old_rec.mo_num
484: ,p_yr_num_o =>ben_prm_shd.g_old_rec.yr_num
485: ,p_antcpd_prtt_cntr_uom_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
486: ,p_antcpd_prtt_cntr_val_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
487: ,p_val_o =>ben_prm_shd.g_old_rec.val
480: ,p_effective_start_date_o =>ben_prm_shd.g_old_rec.effective_start_date
481: ,p_effective_end_date_o =>ben_prm_shd.g_old_rec.effective_end_date
482: ,p_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.mnl_adj_flag
483: ,p_mo_num_o =>ben_prm_shd.g_old_rec.mo_num
484: ,p_yr_num_o =>ben_prm_shd.g_old_rec.yr_num
485: ,p_antcpd_prtt_cntr_uom_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
486: ,p_antcpd_prtt_cntr_val_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
487: ,p_val_o =>ben_prm_shd.g_old_rec.val
488: ,p_cr_val_o =>ben_prm_shd.g_old_rec.cr_val
481: ,p_effective_end_date_o =>ben_prm_shd.g_old_rec.effective_end_date
482: ,p_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.mnl_adj_flag
483: ,p_mo_num_o =>ben_prm_shd.g_old_rec.mo_num
484: ,p_yr_num_o =>ben_prm_shd.g_old_rec.yr_num
485: ,p_antcpd_prtt_cntr_uom_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
486: ,p_antcpd_prtt_cntr_val_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
487: ,p_val_o =>ben_prm_shd.g_old_rec.val
488: ,p_cr_val_o =>ben_prm_shd.g_old_rec.cr_val
489: ,p_cr_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
482: ,p_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.mnl_adj_flag
483: ,p_mo_num_o =>ben_prm_shd.g_old_rec.mo_num
484: ,p_yr_num_o =>ben_prm_shd.g_old_rec.yr_num
485: ,p_antcpd_prtt_cntr_uom_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
486: ,p_antcpd_prtt_cntr_val_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
487: ,p_val_o =>ben_prm_shd.g_old_rec.val
488: ,p_cr_val_o =>ben_prm_shd.g_old_rec.cr_val
489: ,p_cr_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
490: ,p_alctd_val_flag_o =>ben_prm_shd.g_old_rec.alctd_val_flag
483: ,p_mo_num_o =>ben_prm_shd.g_old_rec.mo_num
484: ,p_yr_num_o =>ben_prm_shd.g_old_rec.yr_num
485: ,p_antcpd_prtt_cntr_uom_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
486: ,p_antcpd_prtt_cntr_val_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
487: ,p_val_o =>ben_prm_shd.g_old_rec.val
488: ,p_cr_val_o =>ben_prm_shd.g_old_rec.cr_val
489: ,p_cr_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
490: ,p_alctd_val_flag_o =>ben_prm_shd.g_old_rec.alctd_val_flag
491: ,p_uom_o =>ben_prm_shd.g_old_rec.uom
484: ,p_yr_num_o =>ben_prm_shd.g_old_rec.yr_num
485: ,p_antcpd_prtt_cntr_uom_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
486: ,p_antcpd_prtt_cntr_val_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
487: ,p_val_o =>ben_prm_shd.g_old_rec.val
488: ,p_cr_val_o =>ben_prm_shd.g_old_rec.cr_val
489: ,p_cr_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
490: ,p_alctd_val_flag_o =>ben_prm_shd.g_old_rec.alctd_val_flag
491: ,p_uom_o =>ben_prm_shd.g_old_rec.uom
492: ,p_prtt_prem_id_o =>ben_prm_shd.g_old_rec.prtt_prem_id
485: ,p_antcpd_prtt_cntr_uom_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
486: ,p_antcpd_prtt_cntr_val_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
487: ,p_val_o =>ben_prm_shd.g_old_rec.val
488: ,p_cr_val_o =>ben_prm_shd.g_old_rec.cr_val
489: ,p_cr_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
490: ,p_alctd_val_flag_o =>ben_prm_shd.g_old_rec.alctd_val_flag
491: ,p_uom_o =>ben_prm_shd.g_old_rec.uom
492: ,p_prtt_prem_id_o =>ben_prm_shd.g_old_rec.prtt_prem_id
493: ,p_cost_allocation_keyflex_id_o =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
486: ,p_antcpd_prtt_cntr_val_o =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
487: ,p_val_o =>ben_prm_shd.g_old_rec.val
488: ,p_cr_val_o =>ben_prm_shd.g_old_rec.cr_val
489: ,p_cr_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
490: ,p_alctd_val_flag_o =>ben_prm_shd.g_old_rec.alctd_val_flag
491: ,p_uom_o =>ben_prm_shd.g_old_rec.uom
492: ,p_prtt_prem_id_o =>ben_prm_shd.g_old_rec.prtt_prem_id
493: ,p_cost_allocation_keyflex_id_o =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
494: ,p_business_group_id_o =>ben_prm_shd.g_old_rec.business_group_id
487: ,p_val_o =>ben_prm_shd.g_old_rec.val
488: ,p_cr_val_o =>ben_prm_shd.g_old_rec.cr_val
489: ,p_cr_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
490: ,p_alctd_val_flag_o =>ben_prm_shd.g_old_rec.alctd_val_flag
491: ,p_uom_o =>ben_prm_shd.g_old_rec.uom
492: ,p_prtt_prem_id_o =>ben_prm_shd.g_old_rec.prtt_prem_id
493: ,p_cost_allocation_keyflex_id_o =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
494: ,p_business_group_id_o =>ben_prm_shd.g_old_rec.business_group_id
495: ,p_prm_attribute_category_o =>ben_prm_shd.g_old_rec.prm_attribute_category
488: ,p_cr_val_o =>ben_prm_shd.g_old_rec.cr_val
489: ,p_cr_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
490: ,p_alctd_val_flag_o =>ben_prm_shd.g_old_rec.alctd_val_flag
491: ,p_uom_o =>ben_prm_shd.g_old_rec.uom
492: ,p_prtt_prem_id_o =>ben_prm_shd.g_old_rec.prtt_prem_id
493: ,p_cost_allocation_keyflex_id_o =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
494: ,p_business_group_id_o =>ben_prm_shd.g_old_rec.business_group_id
495: ,p_prm_attribute_category_o =>ben_prm_shd.g_old_rec.prm_attribute_category
496: ,p_prm_attribute1_o =>ben_prm_shd.g_old_rec.prm_attribute1
489: ,p_cr_mnl_adj_flag_o =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
490: ,p_alctd_val_flag_o =>ben_prm_shd.g_old_rec.alctd_val_flag
491: ,p_uom_o =>ben_prm_shd.g_old_rec.uom
492: ,p_prtt_prem_id_o =>ben_prm_shd.g_old_rec.prtt_prem_id
493: ,p_cost_allocation_keyflex_id_o =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
494: ,p_business_group_id_o =>ben_prm_shd.g_old_rec.business_group_id
495: ,p_prm_attribute_category_o =>ben_prm_shd.g_old_rec.prm_attribute_category
496: ,p_prm_attribute1_o =>ben_prm_shd.g_old_rec.prm_attribute1
497: ,p_prm_attribute2_o =>ben_prm_shd.g_old_rec.prm_attribute2
490: ,p_alctd_val_flag_o =>ben_prm_shd.g_old_rec.alctd_val_flag
491: ,p_uom_o =>ben_prm_shd.g_old_rec.uom
492: ,p_prtt_prem_id_o =>ben_prm_shd.g_old_rec.prtt_prem_id
493: ,p_cost_allocation_keyflex_id_o =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
494: ,p_business_group_id_o =>ben_prm_shd.g_old_rec.business_group_id
495: ,p_prm_attribute_category_o =>ben_prm_shd.g_old_rec.prm_attribute_category
496: ,p_prm_attribute1_o =>ben_prm_shd.g_old_rec.prm_attribute1
497: ,p_prm_attribute2_o =>ben_prm_shd.g_old_rec.prm_attribute2
498: ,p_prm_attribute3_o =>ben_prm_shd.g_old_rec.prm_attribute3
491: ,p_uom_o =>ben_prm_shd.g_old_rec.uom
492: ,p_prtt_prem_id_o =>ben_prm_shd.g_old_rec.prtt_prem_id
493: ,p_cost_allocation_keyflex_id_o =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
494: ,p_business_group_id_o =>ben_prm_shd.g_old_rec.business_group_id
495: ,p_prm_attribute_category_o =>ben_prm_shd.g_old_rec.prm_attribute_category
496: ,p_prm_attribute1_o =>ben_prm_shd.g_old_rec.prm_attribute1
497: ,p_prm_attribute2_o =>ben_prm_shd.g_old_rec.prm_attribute2
498: ,p_prm_attribute3_o =>ben_prm_shd.g_old_rec.prm_attribute3
499: ,p_prm_attribute4_o =>ben_prm_shd.g_old_rec.prm_attribute4
492: ,p_prtt_prem_id_o =>ben_prm_shd.g_old_rec.prtt_prem_id
493: ,p_cost_allocation_keyflex_id_o =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
494: ,p_business_group_id_o =>ben_prm_shd.g_old_rec.business_group_id
495: ,p_prm_attribute_category_o =>ben_prm_shd.g_old_rec.prm_attribute_category
496: ,p_prm_attribute1_o =>ben_prm_shd.g_old_rec.prm_attribute1
497: ,p_prm_attribute2_o =>ben_prm_shd.g_old_rec.prm_attribute2
498: ,p_prm_attribute3_o =>ben_prm_shd.g_old_rec.prm_attribute3
499: ,p_prm_attribute4_o =>ben_prm_shd.g_old_rec.prm_attribute4
500: ,p_prm_attribute5_o =>ben_prm_shd.g_old_rec.prm_attribute5
493: ,p_cost_allocation_keyflex_id_o =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
494: ,p_business_group_id_o =>ben_prm_shd.g_old_rec.business_group_id
495: ,p_prm_attribute_category_o =>ben_prm_shd.g_old_rec.prm_attribute_category
496: ,p_prm_attribute1_o =>ben_prm_shd.g_old_rec.prm_attribute1
497: ,p_prm_attribute2_o =>ben_prm_shd.g_old_rec.prm_attribute2
498: ,p_prm_attribute3_o =>ben_prm_shd.g_old_rec.prm_attribute3
499: ,p_prm_attribute4_o =>ben_prm_shd.g_old_rec.prm_attribute4
500: ,p_prm_attribute5_o =>ben_prm_shd.g_old_rec.prm_attribute5
501: ,p_prm_attribute6_o =>ben_prm_shd.g_old_rec.prm_attribute6
494: ,p_business_group_id_o =>ben_prm_shd.g_old_rec.business_group_id
495: ,p_prm_attribute_category_o =>ben_prm_shd.g_old_rec.prm_attribute_category
496: ,p_prm_attribute1_o =>ben_prm_shd.g_old_rec.prm_attribute1
497: ,p_prm_attribute2_o =>ben_prm_shd.g_old_rec.prm_attribute2
498: ,p_prm_attribute3_o =>ben_prm_shd.g_old_rec.prm_attribute3
499: ,p_prm_attribute4_o =>ben_prm_shd.g_old_rec.prm_attribute4
500: ,p_prm_attribute5_o =>ben_prm_shd.g_old_rec.prm_attribute5
501: ,p_prm_attribute6_o =>ben_prm_shd.g_old_rec.prm_attribute6
502: ,p_prm_attribute7_o =>ben_prm_shd.g_old_rec.prm_attribute7
495: ,p_prm_attribute_category_o =>ben_prm_shd.g_old_rec.prm_attribute_category
496: ,p_prm_attribute1_o =>ben_prm_shd.g_old_rec.prm_attribute1
497: ,p_prm_attribute2_o =>ben_prm_shd.g_old_rec.prm_attribute2
498: ,p_prm_attribute3_o =>ben_prm_shd.g_old_rec.prm_attribute3
499: ,p_prm_attribute4_o =>ben_prm_shd.g_old_rec.prm_attribute4
500: ,p_prm_attribute5_o =>ben_prm_shd.g_old_rec.prm_attribute5
501: ,p_prm_attribute6_o =>ben_prm_shd.g_old_rec.prm_attribute6
502: ,p_prm_attribute7_o =>ben_prm_shd.g_old_rec.prm_attribute7
503: ,p_prm_attribute8_o =>ben_prm_shd.g_old_rec.prm_attribute8
496: ,p_prm_attribute1_o =>ben_prm_shd.g_old_rec.prm_attribute1
497: ,p_prm_attribute2_o =>ben_prm_shd.g_old_rec.prm_attribute2
498: ,p_prm_attribute3_o =>ben_prm_shd.g_old_rec.prm_attribute3
499: ,p_prm_attribute4_o =>ben_prm_shd.g_old_rec.prm_attribute4
500: ,p_prm_attribute5_o =>ben_prm_shd.g_old_rec.prm_attribute5
501: ,p_prm_attribute6_o =>ben_prm_shd.g_old_rec.prm_attribute6
502: ,p_prm_attribute7_o =>ben_prm_shd.g_old_rec.prm_attribute7
503: ,p_prm_attribute8_o =>ben_prm_shd.g_old_rec.prm_attribute8
504: ,p_prm_attribute9_o =>ben_prm_shd.g_old_rec.prm_attribute9
497: ,p_prm_attribute2_o =>ben_prm_shd.g_old_rec.prm_attribute2
498: ,p_prm_attribute3_o =>ben_prm_shd.g_old_rec.prm_attribute3
499: ,p_prm_attribute4_o =>ben_prm_shd.g_old_rec.prm_attribute4
500: ,p_prm_attribute5_o =>ben_prm_shd.g_old_rec.prm_attribute5
501: ,p_prm_attribute6_o =>ben_prm_shd.g_old_rec.prm_attribute6
502: ,p_prm_attribute7_o =>ben_prm_shd.g_old_rec.prm_attribute7
503: ,p_prm_attribute8_o =>ben_prm_shd.g_old_rec.prm_attribute8
504: ,p_prm_attribute9_o =>ben_prm_shd.g_old_rec.prm_attribute9
505: ,p_prm_attribute10_o =>ben_prm_shd.g_old_rec.prm_attribute10
498: ,p_prm_attribute3_o =>ben_prm_shd.g_old_rec.prm_attribute3
499: ,p_prm_attribute4_o =>ben_prm_shd.g_old_rec.prm_attribute4
500: ,p_prm_attribute5_o =>ben_prm_shd.g_old_rec.prm_attribute5
501: ,p_prm_attribute6_o =>ben_prm_shd.g_old_rec.prm_attribute6
502: ,p_prm_attribute7_o =>ben_prm_shd.g_old_rec.prm_attribute7
503: ,p_prm_attribute8_o =>ben_prm_shd.g_old_rec.prm_attribute8
504: ,p_prm_attribute9_o =>ben_prm_shd.g_old_rec.prm_attribute9
505: ,p_prm_attribute10_o =>ben_prm_shd.g_old_rec.prm_attribute10
506: ,p_prm_attribute11_o =>ben_prm_shd.g_old_rec.prm_attribute11
499: ,p_prm_attribute4_o =>ben_prm_shd.g_old_rec.prm_attribute4
500: ,p_prm_attribute5_o =>ben_prm_shd.g_old_rec.prm_attribute5
501: ,p_prm_attribute6_o =>ben_prm_shd.g_old_rec.prm_attribute6
502: ,p_prm_attribute7_o =>ben_prm_shd.g_old_rec.prm_attribute7
503: ,p_prm_attribute8_o =>ben_prm_shd.g_old_rec.prm_attribute8
504: ,p_prm_attribute9_o =>ben_prm_shd.g_old_rec.prm_attribute9
505: ,p_prm_attribute10_o =>ben_prm_shd.g_old_rec.prm_attribute10
506: ,p_prm_attribute11_o =>ben_prm_shd.g_old_rec.prm_attribute11
507: ,p_prm_attribute12_o =>ben_prm_shd.g_old_rec.prm_attribute12
500: ,p_prm_attribute5_o =>ben_prm_shd.g_old_rec.prm_attribute5
501: ,p_prm_attribute6_o =>ben_prm_shd.g_old_rec.prm_attribute6
502: ,p_prm_attribute7_o =>ben_prm_shd.g_old_rec.prm_attribute7
503: ,p_prm_attribute8_o =>ben_prm_shd.g_old_rec.prm_attribute8
504: ,p_prm_attribute9_o =>ben_prm_shd.g_old_rec.prm_attribute9
505: ,p_prm_attribute10_o =>ben_prm_shd.g_old_rec.prm_attribute10
506: ,p_prm_attribute11_o =>ben_prm_shd.g_old_rec.prm_attribute11
507: ,p_prm_attribute12_o =>ben_prm_shd.g_old_rec.prm_attribute12
508: ,p_prm_attribute13_o =>ben_prm_shd.g_old_rec.prm_attribute13
501: ,p_prm_attribute6_o =>ben_prm_shd.g_old_rec.prm_attribute6
502: ,p_prm_attribute7_o =>ben_prm_shd.g_old_rec.prm_attribute7
503: ,p_prm_attribute8_o =>ben_prm_shd.g_old_rec.prm_attribute8
504: ,p_prm_attribute9_o =>ben_prm_shd.g_old_rec.prm_attribute9
505: ,p_prm_attribute10_o =>ben_prm_shd.g_old_rec.prm_attribute10
506: ,p_prm_attribute11_o =>ben_prm_shd.g_old_rec.prm_attribute11
507: ,p_prm_attribute12_o =>ben_prm_shd.g_old_rec.prm_attribute12
508: ,p_prm_attribute13_o =>ben_prm_shd.g_old_rec.prm_attribute13
509: ,p_prm_attribute14_o =>ben_prm_shd.g_old_rec.prm_attribute14
502: ,p_prm_attribute7_o =>ben_prm_shd.g_old_rec.prm_attribute7
503: ,p_prm_attribute8_o =>ben_prm_shd.g_old_rec.prm_attribute8
504: ,p_prm_attribute9_o =>ben_prm_shd.g_old_rec.prm_attribute9
505: ,p_prm_attribute10_o =>ben_prm_shd.g_old_rec.prm_attribute10
506: ,p_prm_attribute11_o =>ben_prm_shd.g_old_rec.prm_attribute11
507: ,p_prm_attribute12_o =>ben_prm_shd.g_old_rec.prm_attribute12
508: ,p_prm_attribute13_o =>ben_prm_shd.g_old_rec.prm_attribute13
509: ,p_prm_attribute14_o =>ben_prm_shd.g_old_rec.prm_attribute14
510: ,p_prm_attribute15_o =>ben_prm_shd.g_old_rec.prm_attribute15
503: ,p_prm_attribute8_o =>ben_prm_shd.g_old_rec.prm_attribute8
504: ,p_prm_attribute9_o =>ben_prm_shd.g_old_rec.prm_attribute9
505: ,p_prm_attribute10_o =>ben_prm_shd.g_old_rec.prm_attribute10
506: ,p_prm_attribute11_o =>ben_prm_shd.g_old_rec.prm_attribute11
507: ,p_prm_attribute12_o =>ben_prm_shd.g_old_rec.prm_attribute12
508: ,p_prm_attribute13_o =>ben_prm_shd.g_old_rec.prm_attribute13
509: ,p_prm_attribute14_o =>ben_prm_shd.g_old_rec.prm_attribute14
510: ,p_prm_attribute15_o =>ben_prm_shd.g_old_rec.prm_attribute15
511: ,p_prm_attribute16_o =>ben_prm_shd.g_old_rec.prm_attribute16
504: ,p_prm_attribute9_o =>ben_prm_shd.g_old_rec.prm_attribute9
505: ,p_prm_attribute10_o =>ben_prm_shd.g_old_rec.prm_attribute10
506: ,p_prm_attribute11_o =>ben_prm_shd.g_old_rec.prm_attribute11
507: ,p_prm_attribute12_o =>ben_prm_shd.g_old_rec.prm_attribute12
508: ,p_prm_attribute13_o =>ben_prm_shd.g_old_rec.prm_attribute13
509: ,p_prm_attribute14_o =>ben_prm_shd.g_old_rec.prm_attribute14
510: ,p_prm_attribute15_o =>ben_prm_shd.g_old_rec.prm_attribute15
511: ,p_prm_attribute16_o =>ben_prm_shd.g_old_rec.prm_attribute16
512: ,p_prm_attribute17_o =>ben_prm_shd.g_old_rec.prm_attribute17
505: ,p_prm_attribute10_o =>ben_prm_shd.g_old_rec.prm_attribute10
506: ,p_prm_attribute11_o =>ben_prm_shd.g_old_rec.prm_attribute11
507: ,p_prm_attribute12_o =>ben_prm_shd.g_old_rec.prm_attribute12
508: ,p_prm_attribute13_o =>ben_prm_shd.g_old_rec.prm_attribute13
509: ,p_prm_attribute14_o =>ben_prm_shd.g_old_rec.prm_attribute14
510: ,p_prm_attribute15_o =>ben_prm_shd.g_old_rec.prm_attribute15
511: ,p_prm_attribute16_o =>ben_prm_shd.g_old_rec.prm_attribute16
512: ,p_prm_attribute17_o =>ben_prm_shd.g_old_rec.prm_attribute17
513: ,p_prm_attribute18_o =>ben_prm_shd.g_old_rec.prm_attribute18
506: ,p_prm_attribute11_o =>ben_prm_shd.g_old_rec.prm_attribute11
507: ,p_prm_attribute12_o =>ben_prm_shd.g_old_rec.prm_attribute12
508: ,p_prm_attribute13_o =>ben_prm_shd.g_old_rec.prm_attribute13
509: ,p_prm_attribute14_o =>ben_prm_shd.g_old_rec.prm_attribute14
510: ,p_prm_attribute15_o =>ben_prm_shd.g_old_rec.prm_attribute15
511: ,p_prm_attribute16_o =>ben_prm_shd.g_old_rec.prm_attribute16
512: ,p_prm_attribute17_o =>ben_prm_shd.g_old_rec.prm_attribute17
513: ,p_prm_attribute18_o =>ben_prm_shd.g_old_rec.prm_attribute18
514: ,p_prm_attribute19_o =>ben_prm_shd.g_old_rec.prm_attribute19
507: ,p_prm_attribute12_o =>ben_prm_shd.g_old_rec.prm_attribute12
508: ,p_prm_attribute13_o =>ben_prm_shd.g_old_rec.prm_attribute13
509: ,p_prm_attribute14_o =>ben_prm_shd.g_old_rec.prm_attribute14
510: ,p_prm_attribute15_o =>ben_prm_shd.g_old_rec.prm_attribute15
511: ,p_prm_attribute16_o =>ben_prm_shd.g_old_rec.prm_attribute16
512: ,p_prm_attribute17_o =>ben_prm_shd.g_old_rec.prm_attribute17
513: ,p_prm_attribute18_o =>ben_prm_shd.g_old_rec.prm_attribute18
514: ,p_prm_attribute19_o =>ben_prm_shd.g_old_rec.prm_attribute19
515: ,p_prm_attribute20_o =>ben_prm_shd.g_old_rec.prm_attribute20
508: ,p_prm_attribute13_o =>ben_prm_shd.g_old_rec.prm_attribute13
509: ,p_prm_attribute14_o =>ben_prm_shd.g_old_rec.prm_attribute14
510: ,p_prm_attribute15_o =>ben_prm_shd.g_old_rec.prm_attribute15
511: ,p_prm_attribute16_o =>ben_prm_shd.g_old_rec.prm_attribute16
512: ,p_prm_attribute17_o =>ben_prm_shd.g_old_rec.prm_attribute17
513: ,p_prm_attribute18_o =>ben_prm_shd.g_old_rec.prm_attribute18
514: ,p_prm_attribute19_o =>ben_prm_shd.g_old_rec.prm_attribute19
515: ,p_prm_attribute20_o =>ben_prm_shd.g_old_rec.prm_attribute20
516: ,p_prm_attribute21_o =>ben_prm_shd.g_old_rec.prm_attribute21
509: ,p_prm_attribute14_o =>ben_prm_shd.g_old_rec.prm_attribute14
510: ,p_prm_attribute15_o =>ben_prm_shd.g_old_rec.prm_attribute15
511: ,p_prm_attribute16_o =>ben_prm_shd.g_old_rec.prm_attribute16
512: ,p_prm_attribute17_o =>ben_prm_shd.g_old_rec.prm_attribute17
513: ,p_prm_attribute18_o =>ben_prm_shd.g_old_rec.prm_attribute18
514: ,p_prm_attribute19_o =>ben_prm_shd.g_old_rec.prm_attribute19
515: ,p_prm_attribute20_o =>ben_prm_shd.g_old_rec.prm_attribute20
516: ,p_prm_attribute21_o =>ben_prm_shd.g_old_rec.prm_attribute21
517: ,p_prm_attribute22_o =>ben_prm_shd.g_old_rec.prm_attribute22
510: ,p_prm_attribute15_o =>ben_prm_shd.g_old_rec.prm_attribute15
511: ,p_prm_attribute16_o =>ben_prm_shd.g_old_rec.prm_attribute16
512: ,p_prm_attribute17_o =>ben_prm_shd.g_old_rec.prm_attribute17
513: ,p_prm_attribute18_o =>ben_prm_shd.g_old_rec.prm_attribute18
514: ,p_prm_attribute19_o =>ben_prm_shd.g_old_rec.prm_attribute19
515: ,p_prm_attribute20_o =>ben_prm_shd.g_old_rec.prm_attribute20
516: ,p_prm_attribute21_o =>ben_prm_shd.g_old_rec.prm_attribute21
517: ,p_prm_attribute22_o =>ben_prm_shd.g_old_rec.prm_attribute22
518: ,p_prm_attribute23_o =>ben_prm_shd.g_old_rec.prm_attribute23
511: ,p_prm_attribute16_o =>ben_prm_shd.g_old_rec.prm_attribute16
512: ,p_prm_attribute17_o =>ben_prm_shd.g_old_rec.prm_attribute17
513: ,p_prm_attribute18_o =>ben_prm_shd.g_old_rec.prm_attribute18
514: ,p_prm_attribute19_o =>ben_prm_shd.g_old_rec.prm_attribute19
515: ,p_prm_attribute20_o =>ben_prm_shd.g_old_rec.prm_attribute20
516: ,p_prm_attribute21_o =>ben_prm_shd.g_old_rec.prm_attribute21
517: ,p_prm_attribute22_o =>ben_prm_shd.g_old_rec.prm_attribute22
518: ,p_prm_attribute23_o =>ben_prm_shd.g_old_rec.prm_attribute23
519: ,p_prm_attribute24_o =>ben_prm_shd.g_old_rec.prm_attribute24
512: ,p_prm_attribute17_o =>ben_prm_shd.g_old_rec.prm_attribute17
513: ,p_prm_attribute18_o =>ben_prm_shd.g_old_rec.prm_attribute18
514: ,p_prm_attribute19_o =>ben_prm_shd.g_old_rec.prm_attribute19
515: ,p_prm_attribute20_o =>ben_prm_shd.g_old_rec.prm_attribute20
516: ,p_prm_attribute21_o =>ben_prm_shd.g_old_rec.prm_attribute21
517: ,p_prm_attribute22_o =>ben_prm_shd.g_old_rec.prm_attribute22
518: ,p_prm_attribute23_o =>ben_prm_shd.g_old_rec.prm_attribute23
519: ,p_prm_attribute24_o =>ben_prm_shd.g_old_rec.prm_attribute24
520: ,p_prm_attribute25_o =>ben_prm_shd.g_old_rec.prm_attribute25
513: ,p_prm_attribute18_o =>ben_prm_shd.g_old_rec.prm_attribute18
514: ,p_prm_attribute19_o =>ben_prm_shd.g_old_rec.prm_attribute19
515: ,p_prm_attribute20_o =>ben_prm_shd.g_old_rec.prm_attribute20
516: ,p_prm_attribute21_o =>ben_prm_shd.g_old_rec.prm_attribute21
517: ,p_prm_attribute22_o =>ben_prm_shd.g_old_rec.prm_attribute22
518: ,p_prm_attribute23_o =>ben_prm_shd.g_old_rec.prm_attribute23
519: ,p_prm_attribute24_o =>ben_prm_shd.g_old_rec.prm_attribute24
520: ,p_prm_attribute25_o =>ben_prm_shd.g_old_rec.prm_attribute25
521: ,p_prm_attribute26_o =>ben_prm_shd.g_old_rec.prm_attribute26
514: ,p_prm_attribute19_o =>ben_prm_shd.g_old_rec.prm_attribute19
515: ,p_prm_attribute20_o =>ben_prm_shd.g_old_rec.prm_attribute20
516: ,p_prm_attribute21_o =>ben_prm_shd.g_old_rec.prm_attribute21
517: ,p_prm_attribute22_o =>ben_prm_shd.g_old_rec.prm_attribute22
518: ,p_prm_attribute23_o =>ben_prm_shd.g_old_rec.prm_attribute23
519: ,p_prm_attribute24_o =>ben_prm_shd.g_old_rec.prm_attribute24
520: ,p_prm_attribute25_o =>ben_prm_shd.g_old_rec.prm_attribute25
521: ,p_prm_attribute26_o =>ben_prm_shd.g_old_rec.prm_attribute26
522: ,p_prm_attribute27_o =>ben_prm_shd.g_old_rec.prm_attribute27
515: ,p_prm_attribute20_o =>ben_prm_shd.g_old_rec.prm_attribute20
516: ,p_prm_attribute21_o =>ben_prm_shd.g_old_rec.prm_attribute21
517: ,p_prm_attribute22_o =>ben_prm_shd.g_old_rec.prm_attribute22
518: ,p_prm_attribute23_o =>ben_prm_shd.g_old_rec.prm_attribute23
519: ,p_prm_attribute24_o =>ben_prm_shd.g_old_rec.prm_attribute24
520: ,p_prm_attribute25_o =>ben_prm_shd.g_old_rec.prm_attribute25
521: ,p_prm_attribute26_o =>ben_prm_shd.g_old_rec.prm_attribute26
522: ,p_prm_attribute27_o =>ben_prm_shd.g_old_rec.prm_attribute27
523: ,p_prm_attribute28_o =>ben_prm_shd.g_old_rec.prm_attribute28
516: ,p_prm_attribute21_o =>ben_prm_shd.g_old_rec.prm_attribute21
517: ,p_prm_attribute22_o =>ben_prm_shd.g_old_rec.prm_attribute22
518: ,p_prm_attribute23_o =>ben_prm_shd.g_old_rec.prm_attribute23
519: ,p_prm_attribute24_o =>ben_prm_shd.g_old_rec.prm_attribute24
520: ,p_prm_attribute25_o =>ben_prm_shd.g_old_rec.prm_attribute25
521: ,p_prm_attribute26_o =>ben_prm_shd.g_old_rec.prm_attribute26
522: ,p_prm_attribute27_o =>ben_prm_shd.g_old_rec.prm_attribute27
523: ,p_prm_attribute28_o =>ben_prm_shd.g_old_rec.prm_attribute28
524: ,p_prm_attribute29_o =>ben_prm_shd.g_old_rec.prm_attribute29
517: ,p_prm_attribute22_o =>ben_prm_shd.g_old_rec.prm_attribute22
518: ,p_prm_attribute23_o =>ben_prm_shd.g_old_rec.prm_attribute23
519: ,p_prm_attribute24_o =>ben_prm_shd.g_old_rec.prm_attribute24
520: ,p_prm_attribute25_o =>ben_prm_shd.g_old_rec.prm_attribute25
521: ,p_prm_attribute26_o =>ben_prm_shd.g_old_rec.prm_attribute26
522: ,p_prm_attribute27_o =>ben_prm_shd.g_old_rec.prm_attribute27
523: ,p_prm_attribute28_o =>ben_prm_shd.g_old_rec.prm_attribute28
524: ,p_prm_attribute29_o =>ben_prm_shd.g_old_rec.prm_attribute29
525: ,p_prm_attribute30_o =>ben_prm_shd.g_old_rec.prm_attribute30
518: ,p_prm_attribute23_o =>ben_prm_shd.g_old_rec.prm_attribute23
519: ,p_prm_attribute24_o =>ben_prm_shd.g_old_rec.prm_attribute24
520: ,p_prm_attribute25_o =>ben_prm_shd.g_old_rec.prm_attribute25
521: ,p_prm_attribute26_o =>ben_prm_shd.g_old_rec.prm_attribute26
522: ,p_prm_attribute27_o =>ben_prm_shd.g_old_rec.prm_attribute27
523: ,p_prm_attribute28_o =>ben_prm_shd.g_old_rec.prm_attribute28
524: ,p_prm_attribute29_o =>ben_prm_shd.g_old_rec.prm_attribute29
525: ,p_prm_attribute30_o =>ben_prm_shd.g_old_rec.prm_attribute30
526: ,p_object_version_number_o =>ben_prm_shd.g_old_rec.object_version_number
519: ,p_prm_attribute24_o =>ben_prm_shd.g_old_rec.prm_attribute24
520: ,p_prm_attribute25_o =>ben_prm_shd.g_old_rec.prm_attribute25
521: ,p_prm_attribute26_o =>ben_prm_shd.g_old_rec.prm_attribute26
522: ,p_prm_attribute27_o =>ben_prm_shd.g_old_rec.prm_attribute27
523: ,p_prm_attribute28_o =>ben_prm_shd.g_old_rec.prm_attribute28
524: ,p_prm_attribute29_o =>ben_prm_shd.g_old_rec.prm_attribute29
525: ,p_prm_attribute30_o =>ben_prm_shd.g_old_rec.prm_attribute30
526: ,p_object_version_number_o =>ben_prm_shd.g_old_rec.object_version_number
527: ,p_request_id_o =>ben_prm_shd.g_old_rec.request_id
520: ,p_prm_attribute25_o =>ben_prm_shd.g_old_rec.prm_attribute25
521: ,p_prm_attribute26_o =>ben_prm_shd.g_old_rec.prm_attribute26
522: ,p_prm_attribute27_o =>ben_prm_shd.g_old_rec.prm_attribute27
523: ,p_prm_attribute28_o =>ben_prm_shd.g_old_rec.prm_attribute28
524: ,p_prm_attribute29_o =>ben_prm_shd.g_old_rec.prm_attribute29
525: ,p_prm_attribute30_o =>ben_prm_shd.g_old_rec.prm_attribute30
526: ,p_object_version_number_o =>ben_prm_shd.g_old_rec.object_version_number
527: ,p_request_id_o =>ben_prm_shd.g_old_rec.request_id
528: ,p_program_application_id_o =>ben_prm_shd.g_old_rec.program_application_id
521: ,p_prm_attribute26_o =>ben_prm_shd.g_old_rec.prm_attribute26
522: ,p_prm_attribute27_o =>ben_prm_shd.g_old_rec.prm_attribute27
523: ,p_prm_attribute28_o =>ben_prm_shd.g_old_rec.prm_attribute28
524: ,p_prm_attribute29_o =>ben_prm_shd.g_old_rec.prm_attribute29
525: ,p_prm_attribute30_o =>ben_prm_shd.g_old_rec.prm_attribute30
526: ,p_object_version_number_o =>ben_prm_shd.g_old_rec.object_version_number
527: ,p_request_id_o =>ben_prm_shd.g_old_rec.request_id
528: ,p_program_application_id_o =>ben_prm_shd.g_old_rec.program_application_id
529: ,p_program_id_o =>ben_prm_shd.g_old_rec.program_id
522: ,p_prm_attribute27_o =>ben_prm_shd.g_old_rec.prm_attribute27
523: ,p_prm_attribute28_o =>ben_prm_shd.g_old_rec.prm_attribute28
524: ,p_prm_attribute29_o =>ben_prm_shd.g_old_rec.prm_attribute29
525: ,p_prm_attribute30_o =>ben_prm_shd.g_old_rec.prm_attribute30
526: ,p_object_version_number_o =>ben_prm_shd.g_old_rec.object_version_number
527: ,p_request_id_o =>ben_prm_shd.g_old_rec.request_id
528: ,p_program_application_id_o =>ben_prm_shd.g_old_rec.program_application_id
529: ,p_program_id_o =>ben_prm_shd.g_old_rec.program_id
530: ,p_program_update_date_o =>ben_prm_shd.g_old_rec.program_update_date
523: ,p_prm_attribute28_o =>ben_prm_shd.g_old_rec.prm_attribute28
524: ,p_prm_attribute29_o =>ben_prm_shd.g_old_rec.prm_attribute29
525: ,p_prm_attribute30_o =>ben_prm_shd.g_old_rec.prm_attribute30
526: ,p_object_version_number_o =>ben_prm_shd.g_old_rec.object_version_number
527: ,p_request_id_o =>ben_prm_shd.g_old_rec.request_id
528: ,p_program_application_id_o =>ben_prm_shd.g_old_rec.program_application_id
529: ,p_program_id_o =>ben_prm_shd.g_old_rec.program_id
530: ,p_program_update_date_o =>ben_prm_shd.g_old_rec.program_update_date
531: );
524: ,p_prm_attribute29_o =>ben_prm_shd.g_old_rec.prm_attribute29
525: ,p_prm_attribute30_o =>ben_prm_shd.g_old_rec.prm_attribute30
526: ,p_object_version_number_o =>ben_prm_shd.g_old_rec.object_version_number
527: ,p_request_id_o =>ben_prm_shd.g_old_rec.request_id
528: ,p_program_application_id_o =>ben_prm_shd.g_old_rec.program_application_id
529: ,p_program_id_o =>ben_prm_shd.g_old_rec.program_id
530: ,p_program_update_date_o =>ben_prm_shd.g_old_rec.program_update_date
531: );
532:
525: ,p_prm_attribute30_o =>ben_prm_shd.g_old_rec.prm_attribute30
526: ,p_object_version_number_o =>ben_prm_shd.g_old_rec.object_version_number
527: ,p_request_id_o =>ben_prm_shd.g_old_rec.request_id
528: ,p_program_application_id_o =>ben_prm_shd.g_old_rec.program_application_id
529: ,p_program_id_o =>ben_prm_shd.g_old_rec.program_id
530: ,p_program_update_date_o =>ben_prm_shd.g_old_rec.program_update_date
531: );
532:
533:
526: ,p_object_version_number_o =>ben_prm_shd.g_old_rec.object_version_number
527: ,p_request_id_o =>ben_prm_shd.g_old_rec.request_id
528: ,p_program_application_id_o =>ben_prm_shd.g_old_rec.program_application_id
529: ,p_program_id_o =>ben_prm_shd.g_old_rec.program_id
530: ,p_program_update_date_o =>ben_prm_shd.g_old_rec.program_update_date
531: );
532:
533:
534:
544: l_new_rec.uom := p_rec.uom ;
545: l_new_rec.update_mode := 'UPDATE' ;
546:
547: -- call the change log event
548: l_old_rec.prtt_prem_id := ben_prm_shd.g_old_rec.prtt_prem_id ;
549: l_old_rec.val := ben_prm_shd.g_old_rec.val ;
550: l_old_rec.effective_start_date := ben_prm_shd.g_old_rec.effective_start_date;
551: l_old_rec.effective_end_date := ben_prm_shd.g_old_rec.effective_end_date;
552: l_old_rec.business_group_id := ben_prm_shd.g_old_rec.business_group_id ;
545: l_new_rec.update_mode := 'UPDATE' ;
546:
547: -- call the change log event
548: l_old_rec.prtt_prem_id := ben_prm_shd.g_old_rec.prtt_prem_id ;
549: l_old_rec.val := ben_prm_shd.g_old_rec.val ;
550: l_old_rec.effective_start_date := ben_prm_shd.g_old_rec.effective_start_date;
551: l_old_rec.effective_end_date := ben_prm_shd.g_old_rec.effective_end_date;
552: l_old_rec.business_group_id := ben_prm_shd.g_old_rec.business_group_id ;
553: l_old_rec.mo_num := ben_prm_shd.g_old_rec.mo_num ;
546:
547: -- call the change log event
548: l_old_rec.prtt_prem_id := ben_prm_shd.g_old_rec.prtt_prem_id ;
549: l_old_rec.val := ben_prm_shd.g_old_rec.val ;
550: l_old_rec.effective_start_date := ben_prm_shd.g_old_rec.effective_start_date;
551: l_old_rec.effective_end_date := ben_prm_shd.g_old_rec.effective_end_date;
552: l_old_rec.business_group_id := ben_prm_shd.g_old_rec.business_group_id ;
553: l_old_rec.mo_num := ben_prm_shd.g_old_rec.mo_num ;
554: l_old_rec.yr_num := ben_prm_shd.g_old_rec.yr_num ;
547: -- call the change log event
548: l_old_rec.prtt_prem_id := ben_prm_shd.g_old_rec.prtt_prem_id ;
549: l_old_rec.val := ben_prm_shd.g_old_rec.val ;
550: l_old_rec.effective_start_date := ben_prm_shd.g_old_rec.effective_start_date;
551: l_old_rec.effective_end_date := ben_prm_shd.g_old_rec.effective_end_date;
552: l_old_rec.business_group_id := ben_prm_shd.g_old_rec.business_group_id ;
553: l_old_rec.mo_num := ben_prm_shd.g_old_rec.mo_num ;
554: l_old_rec.yr_num := ben_prm_shd.g_old_rec.yr_num ;
555: l_old_rec.cr_val := ben_prm_shd.g_old_rec.cr_val ;
548: l_old_rec.prtt_prem_id := ben_prm_shd.g_old_rec.prtt_prem_id ;
549: l_old_rec.val := ben_prm_shd.g_old_rec.val ;
550: l_old_rec.effective_start_date := ben_prm_shd.g_old_rec.effective_start_date;
551: l_old_rec.effective_end_date := ben_prm_shd.g_old_rec.effective_end_date;
552: l_old_rec.business_group_id := ben_prm_shd.g_old_rec.business_group_id ;
553: l_old_rec.mo_num := ben_prm_shd.g_old_rec.mo_num ;
554: l_old_rec.yr_num := ben_prm_shd.g_old_rec.yr_num ;
555: l_old_rec.cr_val := ben_prm_shd.g_old_rec.cr_val ;
556: l_old_rec.uom := ben_prm_shd.g_old_rec.uom ;
549: l_old_rec.val := ben_prm_shd.g_old_rec.val ;
550: l_old_rec.effective_start_date := ben_prm_shd.g_old_rec.effective_start_date;
551: l_old_rec.effective_end_date := ben_prm_shd.g_old_rec.effective_end_date;
552: l_old_rec.business_group_id := ben_prm_shd.g_old_rec.business_group_id ;
553: l_old_rec.mo_num := ben_prm_shd.g_old_rec.mo_num ;
554: l_old_rec.yr_num := ben_prm_shd.g_old_rec.yr_num ;
555: l_old_rec.cr_val := ben_prm_shd.g_old_rec.cr_val ;
556: l_old_rec.uom := ben_prm_shd.g_old_rec.uom ;
557:
550: l_old_rec.effective_start_date := ben_prm_shd.g_old_rec.effective_start_date;
551: l_old_rec.effective_end_date := ben_prm_shd.g_old_rec.effective_end_date;
552: l_old_rec.business_group_id := ben_prm_shd.g_old_rec.business_group_id ;
553: l_old_rec.mo_num := ben_prm_shd.g_old_rec.mo_num ;
554: l_old_rec.yr_num := ben_prm_shd.g_old_rec.yr_num ;
555: l_old_rec.cr_val := ben_prm_shd.g_old_rec.cr_val ;
556: l_old_rec.uom := ben_prm_shd.g_old_rec.uom ;
557:
558: if nvl(l_new_rec.val,-1) <> nvl(l_old_rec.val,-1) then
551: l_old_rec.effective_end_date := ben_prm_shd.g_old_rec.effective_end_date;
552: l_old_rec.business_group_id := ben_prm_shd.g_old_rec.business_group_id ;
553: l_old_rec.mo_num := ben_prm_shd.g_old_rec.mo_num ;
554: l_old_rec.yr_num := ben_prm_shd.g_old_rec.yr_num ;
555: l_old_rec.cr_val := ben_prm_shd.g_old_rec.cr_val ;
556: l_old_rec.uom := ben_prm_shd.g_old_rec.uom ;
557:
558: if nvl(l_new_rec.val,-1) <> nvl(l_old_rec.val,-1) then
559: ben_ext_chlg.log_prem_mo_chg
552: l_old_rec.business_group_id := ben_prm_shd.g_old_rec.business_group_id ;
553: l_old_rec.mo_num := ben_prm_shd.g_old_rec.mo_num ;
554: l_old_rec.yr_num := ben_prm_shd.g_old_rec.yr_num ;
555: l_old_rec.cr_val := ben_prm_shd.g_old_rec.cr_val ;
556: l_old_rec.uom := ben_prm_shd.g_old_rec.uom ;
557:
558: if nvl(l_new_rec.val,-1) <> nvl(l_old_rec.val,-1) then
559: ben_ext_chlg.log_prem_mo_chg
560: (p_event => 'UPDATE'
621: -- Internal Row Handler Use Only.
622: --
623: -- {End Of Comments}
624: -- ----------------------------------------------------------------------------
625: Procedure convert_defs(p_rec in out nocopy ben_prm_shd.g_rec_type) is
626: --
627: l_proc varchar2(72) := g_package||'convert_defs';
628: --
629: Begin
636: -- is being used then we must set to the 'current' argument value.
637: --
638: If (p_rec.mnl_adj_flag = hr_api.g_varchar2) then
639: p_rec.mnl_adj_flag :=
640: ben_prm_shd.g_old_rec.mnl_adj_flag;
641: End If;
642: If (p_rec.mo_num = hr_api.g_number) then
643: p_rec.mo_num :=
644: ben_prm_shd.g_old_rec.mo_num;
640: ben_prm_shd.g_old_rec.mnl_adj_flag;
641: End If;
642: If (p_rec.mo_num = hr_api.g_number) then
643: p_rec.mo_num :=
644: ben_prm_shd.g_old_rec.mo_num;
645: End If;
646: If (p_rec.yr_num = hr_api.g_number) then
647: p_rec.yr_num :=
648: ben_prm_shd.g_old_rec.yr_num;
644: ben_prm_shd.g_old_rec.mo_num;
645: End If;
646: If (p_rec.yr_num = hr_api.g_number) then
647: p_rec.yr_num :=
648: ben_prm_shd.g_old_rec.yr_num;
649: End If;
650: If (p_rec.antcpd_prtt_cntr_uom = hr_api.g_varchar2) then
651: p_rec.antcpd_prtt_cntr_uom :=
652: ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom;
648: ben_prm_shd.g_old_rec.yr_num;
649: End If;
650: If (p_rec.antcpd_prtt_cntr_uom = hr_api.g_varchar2) then
651: p_rec.antcpd_prtt_cntr_uom :=
652: ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom;
653: End If;
654: If (p_rec.antcpd_prtt_cntr_val = hr_api.g_number) then
655: p_rec.antcpd_prtt_cntr_val :=
656: ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val;
652: ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom;
653: End If;
654: If (p_rec.antcpd_prtt_cntr_val = hr_api.g_number) then
655: p_rec.antcpd_prtt_cntr_val :=
656: ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val;
657: End If;
658: If (p_rec.val = hr_api.g_number) then
659: p_rec.val :=
660: ben_prm_shd.g_old_rec.val;
656: ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val;
657: End If;
658: If (p_rec.val = hr_api.g_number) then
659: p_rec.val :=
660: ben_prm_shd.g_old_rec.val;
661: End If;
662: If (p_rec.cr_val = hr_api.g_number) then
663: p_rec.cr_val :=
664: ben_prm_shd.g_old_rec.cr_val;
660: ben_prm_shd.g_old_rec.val;
661: End If;
662: If (p_rec.cr_val = hr_api.g_number) then
663: p_rec.cr_val :=
664: ben_prm_shd.g_old_rec.cr_val;
665: End If;
666: If (p_rec.cr_mnl_adj_flag = hr_api.g_varchar2) then
667: p_rec.cr_mnl_adj_flag :=
668: ben_prm_shd.g_old_rec.cr_mnl_adj_flag;
664: ben_prm_shd.g_old_rec.cr_val;
665: End If;
666: If (p_rec.cr_mnl_adj_flag = hr_api.g_varchar2) then
667: p_rec.cr_mnl_adj_flag :=
668: ben_prm_shd.g_old_rec.cr_mnl_adj_flag;
669: End If;
670: If (p_rec.alctd_val_flag = hr_api.g_varchar2) then
671: p_rec.alctd_val_flag :=
672: ben_prm_shd.g_old_rec.alctd_val_flag;
668: ben_prm_shd.g_old_rec.cr_mnl_adj_flag;
669: End If;
670: If (p_rec.alctd_val_flag = hr_api.g_varchar2) then
671: p_rec.alctd_val_flag :=
672: ben_prm_shd.g_old_rec.alctd_val_flag;
673: End If;
674: If (p_rec.uom = hr_api.g_varchar2) then
675: p_rec.uom :=
676: ben_prm_shd.g_old_rec.uom;
672: ben_prm_shd.g_old_rec.alctd_val_flag;
673: End If;
674: If (p_rec.uom = hr_api.g_varchar2) then
675: p_rec.uom :=
676: ben_prm_shd.g_old_rec.uom;
677: End If;
678: If (p_rec.prtt_prem_id = hr_api.g_number) then
679: p_rec.prtt_prem_id :=
680: ben_prm_shd.g_old_rec.prtt_prem_id;
676: ben_prm_shd.g_old_rec.uom;
677: End If;
678: If (p_rec.prtt_prem_id = hr_api.g_number) then
679: p_rec.prtt_prem_id :=
680: ben_prm_shd.g_old_rec.prtt_prem_id;
681: End If;
682: If (p_rec.cost_allocation_keyflex_id = hr_api.g_number) then
683: p_rec.cost_allocation_keyflex_id :=
684: ben_prm_shd.g_old_rec.cost_allocation_keyflex_id;
680: ben_prm_shd.g_old_rec.prtt_prem_id;
681: End If;
682: If (p_rec.cost_allocation_keyflex_id = hr_api.g_number) then
683: p_rec.cost_allocation_keyflex_id :=
684: ben_prm_shd.g_old_rec.cost_allocation_keyflex_id;
685: End If;
686: If (p_rec.business_group_id = hr_api.g_number) then
687: p_rec.business_group_id :=
688: ben_prm_shd.g_old_rec.business_group_id;
684: ben_prm_shd.g_old_rec.cost_allocation_keyflex_id;
685: End If;
686: If (p_rec.business_group_id = hr_api.g_number) then
687: p_rec.business_group_id :=
688: ben_prm_shd.g_old_rec.business_group_id;
689: End If;
690: If (p_rec.prm_attribute_category = hr_api.g_varchar2) then
691: p_rec.prm_attribute_category :=
692: ben_prm_shd.g_old_rec.prm_attribute_category;
688: ben_prm_shd.g_old_rec.business_group_id;
689: End If;
690: If (p_rec.prm_attribute_category = hr_api.g_varchar2) then
691: p_rec.prm_attribute_category :=
692: ben_prm_shd.g_old_rec.prm_attribute_category;
693: End If;
694: If (p_rec.prm_attribute1 = hr_api.g_varchar2) then
695: p_rec.prm_attribute1 :=
696: ben_prm_shd.g_old_rec.prm_attribute1;
692: ben_prm_shd.g_old_rec.prm_attribute_category;
693: End If;
694: If (p_rec.prm_attribute1 = hr_api.g_varchar2) then
695: p_rec.prm_attribute1 :=
696: ben_prm_shd.g_old_rec.prm_attribute1;
697: End If;
698: If (p_rec.prm_attribute2 = hr_api.g_varchar2) then
699: p_rec.prm_attribute2 :=
700: ben_prm_shd.g_old_rec.prm_attribute2;
696: ben_prm_shd.g_old_rec.prm_attribute1;
697: End If;
698: If (p_rec.prm_attribute2 = hr_api.g_varchar2) then
699: p_rec.prm_attribute2 :=
700: ben_prm_shd.g_old_rec.prm_attribute2;
701: End If;
702: If (p_rec.prm_attribute3 = hr_api.g_varchar2) then
703: p_rec.prm_attribute3 :=
704: ben_prm_shd.g_old_rec.prm_attribute3;
700: ben_prm_shd.g_old_rec.prm_attribute2;
701: End If;
702: If (p_rec.prm_attribute3 = hr_api.g_varchar2) then
703: p_rec.prm_attribute3 :=
704: ben_prm_shd.g_old_rec.prm_attribute3;
705: End If;
706: If (p_rec.prm_attribute4 = hr_api.g_varchar2) then
707: p_rec.prm_attribute4 :=
708: ben_prm_shd.g_old_rec.prm_attribute4;
704: ben_prm_shd.g_old_rec.prm_attribute3;
705: End If;
706: If (p_rec.prm_attribute4 = hr_api.g_varchar2) then
707: p_rec.prm_attribute4 :=
708: ben_prm_shd.g_old_rec.prm_attribute4;
709: End If;
710: If (p_rec.prm_attribute5 = hr_api.g_varchar2) then
711: p_rec.prm_attribute5 :=
712: ben_prm_shd.g_old_rec.prm_attribute5;
708: ben_prm_shd.g_old_rec.prm_attribute4;
709: End If;
710: If (p_rec.prm_attribute5 = hr_api.g_varchar2) then
711: p_rec.prm_attribute5 :=
712: ben_prm_shd.g_old_rec.prm_attribute5;
713: End If;
714: If (p_rec.prm_attribute6 = hr_api.g_varchar2) then
715: p_rec.prm_attribute6 :=
716: ben_prm_shd.g_old_rec.prm_attribute6;
712: ben_prm_shd.g_old_rec.prm_attribute5;
713: End If;
714: If (p_rec.prm_attribute6 = hr_api.g_varchar2) then
715: p_rec.prm_attribute6 :=
716: ben_prm_shd.g_old_rec.prm_attribute6;
717: End If;
718: If (p_rec.prm_attribute7 = hr_api.g_varchar2) then
719: p_rec.prm_attribute7 :=
720: ben_prm_shd.g_old_rec.prm_attribute7;
716: ben_prm_shd.g_old_rec.prm_attribute6;
717: End If;
718: If (p_rec.prm_attribute7 = hr_api.g_varchar2) then
719: p_rec.prm_attribute7 :=
720: ben_prm_shd.g_old_rec.prm_attribute7;
721: End If;
722: If (p_rec.prm_attribute8 = hr_api.g_varchar2) then
723: p_rec.prm_attribute8 :=
724: ben_prm_shd.g_old_rec.prm_attribute8;
720: ben_prm_shd.g_old_rec.prm_attribute7;
721: End If;
722: If (p_rec.prm_attribute8 = hr_api.g_varchar2) then
723: p_rec.prm_attribute8 :=
724: ben_prm_shd.g_old_rec.prm_attribute8;
725: End If;
726: If (p_rec.prm_attribute9 = hr_api.g_varchar2) then
727: p_rec.prm_attribute9 :=
728: ben_prm_shd.g_old_rec.prm_attribute9;
724: ben_prm_shd.g_old_rec.prm_attribute8;
725: End If;
726: If (p_rec.prm_attribute9 = hr_api.g_varchar2) then
727: p_rec.prm_attribute9 :=
728: ben_prm_shd.g_old_rec.prm_attribute9;
729: End If;
730: If (p_rec.prm_attribute10 = hr_api.g_varchar2) then
731: p_rec.prm_attribute10 :=
732: ben_prm_shd.g_old_rec.prm_attribute10;
728: ben_prm_shd.g_old_rec.prm_attribute9;
729: End If;
730: If (p_rec.prm_attribute10 = hr_api.g_varchar2) then
731: p_rec.prm_attribute10 :=
732: ben_prm_shd.g_old_rec.prm_attribute10;
733: End If;
734: If (p_rec.prm_attribute11 = hr_api.g_varchar2) then
735: p_rec.prm_attribute11 :=
736: ben_prm_shd.g_old_rec.prm_attribute11;
732: ben_prm_shd.g_old_rec.prm_attribute10;
733: End If;
734: If (p_rec.prm_attribute11 = hr_api.g_varchar2) then
735: p_rec.prm_attribute11 :=
736: ben_prm_shd.g_old_rec.prm_attribute11;
737: End If;
738: If (p_rec.prm_attribute12 = hr_api.g_varchar2) then
739: p_rec.prm_attribute12 :=
740: ben_prm_shd.g_old_rec.prm_attribute12;
736: ben_prm_shd.g_old_rec.prm_attribute11;
737: End If;
738: If (p_rec.prm_attribute12 = hr_api.g_varchar2) then
739: p_rec.prm_attribute12 :=
740: ben_prm_shd.g_old_rec.prm_attribute12;
741: End If;
742: If (p_rec.prm_attribute13 = hr_api.g_varchar2) then
743: p_rec.prm_attribute13 :=
744: ben_prm_shd.g_old_rec.prm_attribute13;
740: ben_prm_shd.g_old_rec.prm_attribute12;
741: End If;
742: If (p_rec.prm_attribute13 = hr_api.g_varchar2) then
743: p_rec.prm_attribute13 :=
744: ben_prm_shd.g_old_rec.prm_attribute13;
745: End If;
746: If (p_rec.prm_attribute14 = hr_api.g_varchar2) then
747: p_rec.prm_attribute14 :=
748: ben_prm_shd.g_old_rec.prm_attribute14;
744: ben_prm_shd.g_old_rec.prm_attribute13;
745: End If;
746: If (p_rec.prm_attribute14 = hr_api.g_varchar2) then
747: p_rec.prm_attribute14 :=
748: ben_prm_shd.g_old_rec.prm_attribute14;
749: End If;
750: If (p_rec.prm_attribute15 = hr_api.g_varchar2) then
751: p_rec.prm_attribute15 :=
752: ben_prm_shd.g_old_rec.prm_attribute15;
748: ben_prm_shd.g_old_rec.prm_attribute14;
749: End If;
750: If (p_rec.prm_attribute15 = hr_api.g_varchar2) then
751: p_rec.prm_attribute15 :=
752: ben_prm_shd.g_old_rec.prm_attribute15;
753: End If;
754: If (p_rec.prm_attribute16 = hr_api.g_varchar2) then
755: p_rec.prm_attribute16 :=
756: ben_prm_shd.g_old_rec.prm_attribute16;
752: ben_prm_shd.g_old_rec.prm_attribute15;
753: End If;
754: If (p_rec.prm_attribute16 = hr_api.g_varchar2) then
755: p_rec.prm_attribute16 :=
756: ben_prm_shd.g_old_rec.prm_attribute16;
757: End If;
758: If (p_rec.prm_attribute17 = hr_api.g_varchar2) then
759: p_rec.prm_attribute17 :=
760: ben_prm_shd.g_old_rec.prm_attribute17;
756: ben_prm_shd.g_old_rec.prm_attribute16;
757: End If;
758: If (p_rec.prm_attribute17 = hr_api.g_varchar2) then
759: p_rec.prm_attribute17 :=
760: ben_prm_shd.g_old_rec.prm_attribute17;
761: End If;
762: If (p_rec.prm_attribute18 = hr_api.g_varchar2) then
763: p_rec.prm_attribute18 :=
764: ben_prm_shd.g_old_rec.prm_attribute18;
760: ben_prm_shd.g_old_rec.prm_attribute17;
761: End If;
762: If (p_rec.prm_attribute18 = hr_api.g_varchar2) then
763: p_rec.prm_attribute18 :=
764: ben_prm_shd.g_old_rec.prm_attribute18;
765: End If;
766: If (p_rec.prm_attribute19 = hr_api.g_varchar2) then
767: p_rec.prm_attribute19 :=
768: ben_prm_shd.g_old_rec.prm_attribute19;
764: ben_prm_shd.g_old_rec.prm_attribute18;
765: End If;
766: If (p_rec.prm_attribute19 = hr_api.g_varchar2) then
767: p_rec.prm_attribute19 :=
768: ben_prm_shd.g_old_rec.prm_attribute19;
769: End If;
770: If (p_rec.prm_attribute20 = hr_api.g_varchar2) then
771: p_rec.prm_attribute20 :=
772: ben_prm_shd.g_old_rec.prm_attribute20;
768: ben_prm_shd.g_old_rec.prm_attribute19;
769: End If;
770: If (p_rec.prm_attribute20 = hr_api.g_varchar2) then
771: p_rec.prm_attribute20 :=
772: ben_prm_shd.g_old_rec.prm_attribute20;
773: End If;
774: If (p_rec.prm_attribute21 = hr_api.g_varchar2) then
775: p_rec.prm_attribute21 :=
776: ben_prm_shd.g_old_rec.prm_attribute21;
772: ben_prm_shd.g_old_rec.prm_attribute20;
773: End If;
774: If (p_rec.prm_attribute21 = hr_api.g_varchar2) then
775: p_rec.prm_attribute21 :=
776: ben_prm_shd.g_old_rec.prm_attribute21;
777: End If;
778: If (p_rec.prm_attribute22 = hr_api.g_varchar2) then
779: p_rec.prm_attribute22 :=
780: ben_prm_shd.g_old_rec.prm_attribute22;
776: ben_prm_shd.g_old_rec.prm_attribute21;
777: End If;
778: If (p_rec.prm_attribute22 = hr_api.g_varchar2) then
779: p_rec.prm_attribute22 :=
780: ben_prm_shd.g_old_rec.prm_attribute22;
781: End If;
782: If (p_rec.prm_attribute23 = hr_api.g_varchar2) then
783: p_rec.prm_attribute23 :=
784: ben_prm_shd.g_old_rec.prm_attribute23;
780: ben_prm_shd.g_old_rec.prm_attribute22;
781: End If;
782: If (p_rec.prm_attribute23 = hr_api.g_varchar2) then
783: p_rec.prm_attribute23 :=
784: ben_prm_shd.g_old_rec.prm_attribute23;
785: End If;
786: If (p_rec.prm_attribute24 = hr_api.g_varchar2) then
787: p_rec.prm_attribute24 :=
788: ben_prm_shd.g_old_rec.prm_attribute24;
784: ben_prm_shd.g_old_rec.prm_attribute23;
785: End If;
786: If (p_rec.prm_attribute24 = hr_api.g_varchar2) then
787: p_rec.prm_attribute24 :=
788: ben_prm_shd.g_old_rec.prm_attribute24;
789: End If;
790: If (p_rec.prm_attribute25 = hr_api.g_varchar2) then
791: p_rec.prm_attribute25 :=
792: ben_prm_shd.g_old_rec.prm_attribute25;
788: ben_prm_shd.g_old_rec.prm_attribute24;
789: End If;
790: If (p_rec.prm_attribute25 = hr_api.g_varchar2) then
791: p_rec.prm_attribute25 :=
792: ben_prm_shd.g_old_rec.prm_attribute25;
793: End If;
794: If (p_rec.prm_attribute26 = hr_api.g_varchar2) then
795: p_rec.prm_attribute26 :=
796: ben_prm_shd.g_old_rec.prm_attribute26;
792: ben_prm_shd.g_old_rec.prm_attribute25;
793: End If;
794: If (p_rec.prm_attribute26 = hr_api.g_varchar2) then
795: p_rec.prm_attribute26 :=
796: ben_prm_shd.g_old_rec.prm_attribute26;
797: End If;
798: If (p_rec.prm_attribute27 = hr_api.g_varchar2) then
799: p_rec.prm_attribute27 :=
800: ben_prm_shd.g_old_rec.prm_attribute27;
796: ben_prm_shd.g_old_rec.prm_attribute26;
797: End If;
798: If (p_rec.prm_attribute27 = hr_api.g_varchar2) then
799: p_rec.prm_attribute27 :=
800: ben_prm_shd.g_old_rec.prm_attribute27;
801: End If;
802: If (p_rec.prm_attribute28 = hr_api.g_varchar2) then
803: p_rec.prm_attribute28 :=
804: ben_prm_shd.g_old_rec.prm_attribute28;
800: ben_prm_shd.g_old_rec.prm_attribute27;
801: End If;
802: If (p_rec.prm_attribute28 = hr_api.g_varchar2) then
803: p_rec.prm_attribute28 :=
804: ben_prm_shd.g_old_rec.prm_attribute28;
805: End If;
806: If (p_rec.prm_attribute29 = hr_api.g_varchar2) then
807: p_rec.prm_attribute29 :=
808: ben_prm_shd.g_old_rec.prm_attribute29;
804: ben_prm_shd.g_old_rec.prm_attribute28;
805: End If;
806: If (p_rec.prm_attribute29 = hr_api.g_varchar2) then
807: p_rec.prm_attribute29 :=
808: ben_prm_shd.g_old_rec.prm_attribute29;
809: End If;
810: If (p_rec.prm_attribute30 = hr_api.g_varchar2) then
811: p_rec.prm_attribute30 :=
812: ben_prm_shd.g_old_rec.prm_attribute30;
808: ben_prm_shd.g_old_rec.prm_attribute29;
809: End If;
810: If (p_rec.prm_attribute30 = hr_api.g_varchar2) then
811: p_rec.prm_attribute30 :=
812: ben_prm_shd.g_old_rec.prm_attribute30;
813: End If;
814: If (p_rec.request_id = hr_api.g_number) then
815: p_rec.request_id :=
816: ben_prm_shd.g_old_rec.request_id;
812: ben_prm_shd.g_old_rec.prm_attribute30;
813: End If;
814: If (p_rec.request_id = hr_api.g_number) then
815: p_rec.request_id :=
816: ben_prm_shd.g_old_rec.request_id;
817: End If;
818: If (p_rec.program_application_id = hr_api.g_number) then
819: p_rec.program_application_id :=
820: ben_prm_shd.g_old_rec.program_application_id;
816: ben_prm_shd.g_old_rec.request_id;
817: End If;
818: If (p_rec.program_application_id = hr_api.g_number) then
819: p_rec.program_application_id :=
820: ben_prm_shd.g_old_rec.program_application_id;
821: End If;
822: If (p_rec.program_id = hr_api.g_number) then
823: p_rec.program_id :=
824: ben_prm_shd.g_old_rec.program_id;
820: ben_prm_shd.g_old_rec.program_application_id;
821: End If;
822: If (p_rec.program_id = hr_api.g_number) then
823: p_rec.program_id :=
824: ben_prm_shd.g_old_rec.program_id;
825: End If;
826: If (p_rec.program_update_date = hr_api.g_date) then
827: p_rec.program_update_date :=
828: ben_prm_shd.g_old_rec.program_update_date;
824: ben_prm_shd.g_old_rec.program_id;
825: End If;
826: If (p_rec.program_update_date = hr_api.g_date) then
827: p_rec.program_update_date :=
828: ben_prm_shd.g_old_rec.program_update_date;
829: End If;
830: --
831: hr_utility.set_location(' Leaving:'||l_proc, 10);
832: --
836: -- |---------------------------------< upd >----------------------------------|
837: -- ----------------------------------------------------------------------------
838: Procedure upd
839: (
840: p_rec in out nocopy ben_prm_shd.g_rec_type,
841: p_effective_date in date,
842: p_datetrack_mode in varchar2
843: ) is
844: --
854: dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_mode);
855: --
856: -- We must lock the row which we need to update.
857: --
858: ben_prm_shd.lck
859: (p_effective_date => p_effective_date,
860: p_datetrack_mode => p_datetrack_mode,
861: p_prtt_prem_by_mo_id => p_rec.prtt_prem_by_mo_id,
862: p_object_version_number => p_rec.object_version_number,
965: p_effective_date in date,
966: p_datetrack_mode in varchar2
967: ) is
968: --
969: l_rec ben_prm_shd.g_rec_type;
970: l_proc varchar2(72) := g_package||'upd';
971: --
972: Begin
973: hr_utility.set_location('Entering:'||l_proc, 5);
975: -- Call conversion function to turn arguments into the
976: -- l_rec structure.
977: --
978: l_rec :=
979: ben_prm_shd.convert_args
980: (
981: p_prtt_prem_by_mo_id,
982: null,
983: null,