DBA Data[Home] [Help]

APPS.BEN_PTP_UPD SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 57

Procedure dt_update_dml
	(p_rec 			 in out nocopy ben_ptp_shd.g_rec_type,
	 p_effective_date	 in	date,
	 p_datetrack_mode	 in	varchar2,
	 p_validation_start_date in	date,
	 p_validation_end_date	 in	date) is
--
  l_proc	varchar2(72) := g_package||'dt_update_dml';
Line: 85

    update  ben_pl_typ_f
    set
        pl_typ_id                       = p_rec.pl_typ_id,
    name                            = p_rec.name,
    mx_enrl_alwd_num                = p_rec.mx_enrl_alwd_num,
    mn_enrl_rqd_num                 = p_rec.mn_enrl_rqd_num,
    pl_typ_stat_cd                  = p_rec.pl_typ_stat_cd,
    opt_typ_cd                      = p_rec.opt_typ_cd,
    opt_dsply_fmt_cd                = p_rec.opt_dsply_fmt_cd,
    comp_typ_cd                     = p_rec.comp_typ_cd,
    ivr_ident                       = p_rec.ivr_ident,
    no_mx_enrl_num_dfnd_flag        = p_rec.no_mx_enrl_num_dfnd_flag,
    no_mn_enrl_num_dfnd_flag        = p_rec.no_mn_enrl_num_dfnd_flag,
    business_group_id               = p_rec.business_group_id,
    ptp_attribute_category          = p_rec.ptp_attribute_category,
    ptp_attribute1                  = p_rec.ptp_attribute1,
    ptp_attribute2                  = p_rec.ptp_attribute2,
    ptp_attribute3                  = p_rec.ptp_attribute3,
    ptp_attribute4                  = p_rec.ptp_attribute4,
    ptp_attribute5                  = p_rec.ptp_attribute5,
    ptp_attribute6                  = p_rec.ptp_attribute6,
    ptp_attribute7                  = p_rec.ptp_attribute7,
    ptp_attribute8                  = p_rec.ptp_attribute8,
    ptp_attribute9                  = p_rec.ptp_attribute9,
    ptp_attribute10                 = p_rec.ptp_attribute10,
    ptp_attribute11                 = p_rec.ptp_attribute11,
    ptp_attribute12                 = p_rec.ptp_attribute12,
    ptp_attribute13                 = p_rec.ptp_attribute13,
    ptp_attribute14                 = p_rec.ptp_attribute14,
    ptp_attribute15                 = p_rec.ptp_attribute15,
    ptp_attribute16                 = p_rec.ptp_attribute16,
    ptp_attribute17                 = p_rec.ptp_attribute17,
    ptp_attribute18                 = p_rec.ptp_attribute18,
    ptp_attribute19                 = p_rec.ptp_attribute19,
    ptp_attribute20                 = p_rec.ptp_attribute20,
    ptp_attribute21                 = p_rec.ptp_attribute21,
    ptp_attribute22                 = p_rec.ptp_attribute22,
    ptp_attribute23                 = p_rec.ptp_attribute23,
    ptp_attribute24                 = p_rec.ptp_attribute24,
    ptp_attribute25                 = p_rec.ptp_attribute25,
    ptp_attribute26                 = p_rec.ptp_attribute26,
    ptp_attribute27                 = p_rec.ptp_attribute27,
    ptp_attribute28                 = p_rec.ptp_attribute28,
    ptp_attribute29                 = p_rec.ptp_attribute29,
    ptp_attribute30                 = p_rec.ptp_attribute30,
    short_name		            = p_rec.short_name, 	/*FHR*/
    short_code		            = p_rec.short_code, 	/*FHR*/
        legislation_code		            = p_rec.legislation_code,
        legislation_subgroup		            = p_rec.legislation_subgroup,
    object_version_number           = p_rec.object_version_number
    where   pl_typ_id = p_rec.pl_typ_id
    and     effective_start_date = p_validation_start_date
    and     effective_end_date   = p_validation_end_date;
Line: 162

End dt_update_dml;
Line: 195

Procedure update_dml
	(p_rec 			 in out nocopy ben_ptp_shd.g_rec_type,
	 p_effective_date	 in	date,
	 p_datetrack_mode	 in	varchar2,
	 p_validation_start_date in	date,
	 p_validation_end_date	 in	date) is
--
  l_proc	varchar2(72) := g_package||'update_dml';
Line: 207

  dt_update_dml(p_rec			=> p_rec,
		p_effective_date	=> p_effective_date,
		p_datetrack_mode	=> p_datetrack_mode,
       		p_validation_start_date	=> p_validation_start_date,
		p_validation_end_date	=> p_validation_end_date);
Line: 214

End update_dml;
Line: 259

Procedure dt_pre_update
	(p_rec 			 in out nocopy ben_ptp_shd.g_rec_type,
	 p_effective_date	 in	date,
	 p_datetrack_mode	 in	varchar2,
	 p_validation_start_date in	date,
	 p_validation_end_date	 in	date) is
--
  l_proc	         varchar2(72) := g_package||'dt_pre_update';
Line: 284

    If (p_datetrack_mode = 'UPDATE_OVERRIDE') then
      hr_utility.set_location(l_proc, 15);
Line: 290

      ben_ptp_del.delete_dml
        (p_rec			 => p_rec,
	 p_effective_date	 => p_effective_date,
	 p_datetrack_mode	 => p_datetrack_mode,
	 p_validation_start_date => p_validation_start_date,
	 p_validation_end_date   => p_validation_end_date);
Line: 301

    ben_ptp_ins.insert_dml
      (p_rec			=> p_rec,
       p_effective_date		=> p_effective_date,
       p_datetrack_mode		=> p_datetrack_mode,
       p_validation_start_date	=> p_validation_start_date,
       p_validation_end_date	=> p_validation_end_date);
Line: 309

End dt_pre_update;
Line: 344

Procedure pre_update
	(p_rec 			 in out nocopy ben_ptp_shd.g_rec_type,
	 p_effective_date	 in	date,
	 p_datetrack_mode	 in	varchar2,
	 p_validation_start_date in	date,
	 p_validation_end_date	 in	date) is
--
  l_proc	varchar2(72) := g_package||'pre_update';
Line: 358

  dt_pre_update
    (p_rec 		     => p_rec,
     p_effective_date	     => p_effective_date,
     p_datetrack_mode	     => p_datetrack_mode,
     p_validation_start_date => p_validation_start_date,
     p_validation_end_date   => p_validation_end_date);
Line: 366

End pre_update;
Line: 400

Procedure post_update
	(p_rec 			 in ben_ptp_shd.g_rec_type,
	 p_effective_date	 in date,
	 p_datetrack_mode	 in varchar2,
	 p_validation_start_date in date,
	 p_validation_end_date	 in date) is
--
  l_proc	varchar2(72) := g_package||'post_update';
Line: 413

     select pl_typ_opt_typ_id, object_version_number
     from ben_pl_typ_opt_typ_f
     where p_effective_Date between effective_start_date and effective_end_date
     and pl_typ_id = p_rec.pl_typ_id;
Line: 428

	    ben_plan_type_option_type_api.update_plan_type_option_type
	     ( p_pl_typ_opt_typ_id          => rec_c1.pl_typ_opt_typ_id,
	       p_pl_typ_opt_typ_cd          => p_rec.opt_typ_cd,
               p_effective_Start_date       => dt_1,
	       p_effective_end_Date         => dt_2,
	       p_object_version_number      => rec_c1.object_version_number,
	       p_effective_date             => p_effective_date,
	       p_datetrack_mode             => p_datetrack_mode
	      );
Line: 441

    ben_ptp_rku.after_update
      (
  p_pl_typ_id                     =>p_rec.pl_typ_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_name                          =>p_rec.name
 ,p_mx_enrl_alwd_num              =>p_rec.mx_enrl_alwd_num
 ,p_mn_enrl_rqd_num               =>p_rec.mn_enrl_rqd_num
 ,p_pl_typ_stat_cd                =>p_rec.pl_typ_stat_cd
 ,p_opt_typ_cd                    =>p_rec.opt_typ_cd
 ,p_opt_dsply_fmt_cd              =>p_rec.opt_dsply_fmt_cd
 ,p_comp_typ_cd                   =>p_rec.comp_typ_cd
 ,p_ivr_ident                     =>p_rec.ivr_ident
 ,p_no_mx_enrl_num_dfnd_flag      =>p_rec.no_mx_enrl_num_dfnd_flag
 ,p_no_mn_enrl_num_dfnd_flag      =>p_rec.no_mn_enrl_num_dfnd_flag
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_ptp_attribute_category        =>p_rec.ptp_attribute_category
 ,p_ptp_attribute1                =>p_rec.ptp_attribute1
 ,p_ptp_attribute2                =>p_rec.ptp_attribute2
 ,p_ptp_attribute3                =>p_rec.ptp_attribute3
 ,p_ptp_attribute4                =>p_rec.ptp_attribute4
 ,p_ptp_attribute5                =>p_rec.ptp_attribute5
 ,p_ptp_attribute6                =>p_rec.ptp_attribute6
 ,p_ptp_attribute7                =>p_rec.ptp_attribute7
 ,p_ptp_attribute8                =>p_rec.ptp_attribute8
 ,p_ptp_attribute9                =>p_rec.ptp_attribute9
 ,p_ptp_attribute10               =>p_rec.ptp_attribute10
 ,p_ptp_attribute11               =>p_rec.ptp_attribute11
 ,p_ptp_attribute12               =>p_rec.ptp_attribute12
 ,p_ptp_attribute13               =>p_rec.ptp_attribute13
 ,p_ptp_attribute14               =>p_rec.ptp_attribute14
 ,p_ptp_attribute15               =>p_rec.ptp_attribute15
 ,p_ptp_attribute16               =>p_rec.ptp_attribute16
 ,p_ptp_attribute17               =>p_rec.ptp_attribute17
 ,p_ptp_attribute18               =>p_rec.ptp_attribute18
 ,p_ptp_attribute19               =>p_rec.ptp_attribute19
 ,p_ptp_attribute20               =>p_rec.ptp_attribute20
 ,p_ptp_attribute21               =>p_rec.ptp_attribute21
 ,p_ptp_attribute22               =>p_rec.ptp_attribute22
 ,p_ptp_attribute23               =>p_rec.ptp_attribute23
 ,p_ptp_attribute24               =>p_rec.ptp_attribute24
 ,p_ptp_attribute25               =>p_rec.ptp_attribute25
 ,p_ptp_attribute26               =>p_rec.ptp_attribute26
 ,p_ptp_attribute27               =>p_rec.ptp_attribute27
 ,p_ptp_attribute28               =>p_rec.ptp_attribute28
 ,p_ptp_attribute29               =>p_rec.ptp_attribute29
 ,p_ptp_attribute30               =>p_rec.ptp_attribute30
 ,p_short_name			  =>p_rec.short_name			--FHR
 ,p_short_code			  =>p_rec.short_code			--FHR
  ,p_legislation_code			  =>p_rec.legislation_code
  ,p_legislation_subgroup			  =>p_rec.legislation_subgroup
 ,p_object_version_number         =>p_rec.object_version_number
 ,p_effective_date                =>p_effective_date
 ,p_datetrack_mode                =>p_datetrack_mode
 ,p_validation_start_date         =>p_validation_start_date
 ,p_validation_end_date           =>p_validation_end_date
 ,p_effective_start_date_o        =>ben_ptp_shd.g_old_rec.effective_start_date
 ,p_effective_end_date_o          =>ben_ptp_shd.g_old_rec.effective_end_date
 ,p_name_o                        =>ben_ptp_shd.g_old_rec.name
 ,p_mx_enrl_alwd_num_o            =>ben_ptp_shd.g_old_rec.mx_enrl_alwd_num
 ,p_mn_enrl_rqd_num_o             =>ben_ptp_shd.g_old_rec.mn_enrl_rqd_num
 ,p_pl_typ_stat_cd_o              =>ben_ptp_shd.g_old_rec.pl_typ_stat_cd
 ,p_opt_typ_cd_o                  =>ben_ptp_shd.g_old_rec.opt_typ_cd
 ,p_opt_dsply_fmt_cd_o            =>ben_ptp_shd.g_old_rec.opt_dsply_fmt_cd
 ,p_comp_typ_cd_o                 =>ben_ptp_shd.g_old_rec.comp_typ_cd
 ,p_ivr_ident_o                   =>ben_ptp_shd.g_old_rec.ivr_ident
 ,p_no_mx_enrl_num_dfnd_flag_o    =>ben_ptp_shd.g_old_rec.no_mx_enrl_num_dfnd_flag
 ,p_no_mn_enrl_num_dfnd_flag_o    =>ben_ptp_shd.g_old_rec.no_mn_enrl_num_dfnd_flag
 ,p_business_group_id_o           =>ben_ptp_shd.g_old_rec.business_group_id
 ,p_ptp_attribute_category_o      =>ben_ptp_shd.g_old_rec.ptp_attribute_category
 ,p_ptp_attribute1_o              =>ben_ptp_shd.g_old_rec.ptp_attribute1
 ,p_ptp_attribute2_o              =>ben_ptp_shd.g_old_rec.ptp_attribute2
 ,p_ptp_attribute3_o              =>ben_ptp_shd.g_old_rec.ptp_attribute3
 ,p_ptp_attribute4_o              =>ben_ptp_shd.g_old_rec.ptp_attribute4
 ,p_ptp_attribute5_o              =>ben_ptp_shd.g_old_rec.ptp_attribute5
 ,p_ptp_attribute6_o              =>ben_ptp_shd.g_old_rec.ptp_attribute6
 ,p_ptp_attribute7_o              =>ben_ptp_shd.g_old_rec.ptp_attribute7
 ,p_ptp_attribute8_o              =>ben_ptp_shd.g_old_rec.ptp_attribute8
 ,p_ptp_attribute9_o              =>ben_ptp_shd.g_old_rec.ptp_attribute9
 ,p_ptp_attribute10_o             =>ben_ptp_shd.g_old_rec.ptp_attribute10
 ,p_ptp_attribute11_o             =>ben_ptp_shd.g_old_rec.ptp_attribute11
 ,p_ptp_attribute12_o             =>ben_ptp_shd.g_old_rec.ptp_attribute12
 ,p_ptp_attribute13_o             =>ben_ptp_shd.g_old_rec.ptp_attribute13
 ,p_ptp_attribute14_o             =>ben_ptp_shd.g_old_rec.ptp_attribute14
 ,p_ptp_attribute15_o             =>ben_ptp_shd.g_old_rec.ptp_attribute15
 ,p_ptp_attribute16_o             =>ben_ptp_shd.g_old_rec.ptp_attribute16
 ,p_ptp_attribute17_o             =>ben_ptp_shd.g_old_rec.ptp_attribute17
 ,p_ptp_attribute18_o             =>ben_ptp_shd.g_old_rec.ptp_attribute18
 ,p_ptp_attribute19_o             =>ben_ptp_shd.g_old_rec.ptp_attribute19
 ,p_ptp_attribute20_o             =>ben_ptp_shd.g_old_rec.ptp_attribute20
 ,p_ptp_attribute21_o             =>ben_ptp_shd.g_old_rec.ptp_attribute21
 ,p_ptp_attribute22_o             =>ben_ptp_shd.g_old_rec.ptp_attribute22
 ,p_ptp_attribute23_o             =>ben_ptp_shd.g_old_rec.ptp_attribute23
 ,p_ptp_attribute24_o             =>ben_ptp_shd.g_old_rec.ptp_attribute24
 ,p_ptp_attribute25_o             =>ben_ptp_shd.g_old_rec.ptp_attribute25
 ,p_ptp_attribute26_o             =>ben_ptp_shd.g_old_rec.ptp_attribute26
 ,p_ptp_attribute27_o             =>ben_ptp_shd.g_old_rec.ptp_attribute27
 ,p_ptp_attribute28_o             =>ben_ptp_shd.g_old_rec.ptp_attribute28
 ,p_ptp_attribute29_o             =>ben_ptp_shd.g_old_rec.ptp_attribute29
 ,p_ptp_attribute30_o             =>ben_ptp_shd.g_old_rec.ptp_attribute30
 ,p_short_name_o		  =>ben_ptp_shd.g_old_rec.short_name			--FHR
 ,p_short_code_o		  =>ben_ptp_shd.g_old_rec.short_code			--FHR
  ,p_legislation_code_o		  =>ben_ptp_shd.g_old_rec.legislation_code
  ,p_legislation_subgroup_o		  =>ben_ptp_shd.g_old_rec.legislation_subgroup
 ,p_object_version_number_o       =>ben_ptp_shd.g_old_rec.object_version_number
      );
Line: 562

End post_update;
Line: 850

  ben_ptp_bus.update_validate
	(p_rec			 => p_rec,
	 p_effective_date	 => p_effective_date,
	 p_datetrack_mode  	 => p_datetrack_mode,
	 p_validation_start_date => l_validation_start_date,
	 p_validation_end_date	 => l_validation_end_date);
Line: 859

  pre_update
	(p_rec			 => p_rec,
	 p_effective_date	 => p_effective_date,
	 p_datetrack_mode	 => p_datetrack_mode,
	 p_validation_start_date => l_validation_start_date,
	 p_validation_end_date	 => l_validation_end_date);
Line: 868

  update_dml
	(p_rec			 => p_rec,
	 p_effective_date	 => p_effective_date,
	 p_datetrack_mode	 => p_datetrack_mode,
	 p_validation_start_date => l_validation_start_date,
	 p_validation_end_date	 => l_validation_end_date);
Line: 877

  post_update
	(p_rec			 => p_rec,
	 p_effective_date	 => p_effective_date,
	 p_datetrack_mode	 => p_datetrack_mode,
	 p_validation_start_date => l_validation_start_date,
	 p_validation_end_date	 => l_validation_end_date);