DBA Data[Home] [Help]

APPS.BEN_LEN_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_len_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_lee_rsn_f
    set
        lee_rsn_id                      = p_rec.lee_rsn_id,
    business_group_id               = p_rec.business_group_id,
    popl_enrt_typ_cycl_id           = p_rec.popl_enrt_typ_cycl_id,
    ler_id                          = p_rec.ler_id,
    cls_enrt_dt_to_use_cd           = p_rec.cls_enrt_dt_to_use_cd,
    dys_aftr_end_to_dflt_num        = p_rec.dys_aftr_end_to_dflt_num,
    enrt_cvg_end_dt_cd              = p_rec.enrt_cvg_end_dt_cd,
    enrt_cvg_strt_dt_cd             = p_rec.enrt_cvg_strt_dt_cd,
    enrt_perd_strt_dt_cd            = p_rec.enrt_perd_strt_dt_cd,
    enrt_perd_strt_dt_rl            = p_rec.enrt_perd_strt_dt_rl,
    enrt_perd_end_dt_cd             = p_rec.enrt_perd_end_dt_cd,
    enrt_perd_end_dt_rl             = p_rec.enrt_perd_end_dt_rl,
    addl_procg_dys_num              = p_rec.addl_procg_dys_num,
    dys_no_enrl_not_elig_num        = p_rec.dys_no_enrl_not_elig_num,
    dys_no_enrl_cant_enrl_num       = p_rec.dys_no_enrl_cant_enrl_num,
    rt_end_dt_cd                    = p_rec.rt_end_dt_cd,
    rt_end_dt_rl                    = p_rec.rt_end_dt_rl,
    rt_strt_dt_cd                   = p_rec.rt_strt_dt_cd,
    rt_strt_dt_rl                   = p_rec.rt_strt_dt_rl,
    enrt_cvg_end_dt_rl              = p_rec.enrt_cvg_end_dt_rl,
    enrt_cvg_strt_dt_rl             = p_rec.enrt_cvg_strt_dt_rl,
    len_attribute_category          = p_rec.len_attribute_category,
    len_attribute1                  = p_rec.len_attribute1,
    len_attribute2                  = p_rec.len_attribute2,
    len_attribute3                  = p_rec.len_attribute3,
    len_attribute4                  = p_rec.len_attribute4,
    len_attribute5                  = p_rec.len_attribute5,
    len_attribute6                  = p_rec.len_attribute6,
    len_attribute7                  = p_rec.len_attribute7,
    len_attribute8                  = p_rec.len_attribute8,
    len_attribute9                  = p_rec.len_attribute9,
    len_attribute10                 = p_rec.len_attribute10,
    len_attribute11                 = p_rec.len_attribute11,
    len_attribute12                 = p_rec.len_attribute12,
    len_attribute13                 = p_rec.len_attribute13,
    len_attribute14                 = p_rec.len_attribute14,
    len_attribute15                 = p_rec.len_attribute15,
    len_attribute16                 = p_rec.len_attribute16,
    len_attribute17                 = p_rec.len_attribute17,
    len_attribute18                 = p_rec.len_attribute18,
    len_attribute19                 = p_rec.len_attribute19,
    len_attribute20                 = p_rec.len_attribute20,
    len_attribute21                 = p_rec.len_attribute21,
    len_attribute22                 = p_rec.len_attribute22,
    len_attribute23                 = p_rec.len_attribute23,
    len_attribute24                 = p_rec.len_attribute24,
    len_attribute25                 = p_rec.len_attribute25,
    len_attribute26                 = p_rec.len_attribute26,
    len_attribute27                 = p_rec.len_attribute27,
    len_attribute28                 = p_rec.len_attribute28,
    len_attribute29                 = p_rec.len_attribute29,
    len_attribute30                 = p_rec.len_attribute30,
    object_version_number           = p_rec.object_version_number ,
    enrt_perd_det_ovrlp_bckdt_cd    = p_rec.enrt_perd_det_ovrlp_bckdt_cd,
    reinstate_cd				=	p_rec.reinstate_cd,
    reinstate_ovrdn_cd		=	p_rec.reinstate_ovrdn_cd ,
    ENRT_PERD_STRT_DAYS		=	p_rec.ENRT_PERD_STRT_DAYS,
    ENRT_PERD_END_DAYS		=	p_rec.ENRT_PERD_END_DAYS,
    defer_deenrol_flag		=       p_rec.defer_deenrol_flag
    where   lee_rsn_id = p_rec.lee_rsn_id
    and     effective_start_date = p_validation_start_date
    and     effective_end_date   = p_validation_end_date;
Line: 173

End dt_update_dml;
Line: 206

Procedure update_dml
	(p_rec 			 in out nocopy ben_len_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: 218

  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: 225

End update_dml;
Line: 270

Procedure dt_pre_update
	(p_rec 			 in out nocopy ben_len_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: 295

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

      ben_len_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: 312

    ben_len_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: 320

End dt_pre_update;
Line: 355

Procedure pre_update
	(p_rec 			 in out nocopy ben_len_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: 369

  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: 377

End pre_update;
Line: 411

Procedure post_update
	(p_rec 			 in ben_len_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: 428

    ben_len_rku.after_update
      (
  p_lee_rsn_id                    =>p_rec.lee_rsn_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_popl_enrt_typ_cycl_id         =>p_rec.popl_enrt_typ_cycl_id
 ,p_ler_id                        =>p_rec.ler_id
 ,p_cls_enrt_dt_to_use_cd         =>p_rec.cls_enrt_dt_to_use_cd
 ,p_dys_aftr_end_to_dflt_num      =>p_rec.dys_aftr_end_to_dflt_num
 ,p_enrt_cvg_end_dt_cd            =>p_rec.enrt_cvg_end_dt_cd
 ,p_enrt_cvg_strt_dt_cd           =>p_rec.enrt_cvg_strt_dt_cd
 ,p_enrt_perd_strt_dt_cd          =>p_rec.enrt_perd_strt_dt_cd
 ,p_enrt_perd_strt_dt_rl          =>p_rec.enrt_perd_strt_dt_rl
 ,p_enrt_perd_end_dt_cd           =>p_rec.enrt_perd_end_dt_cd
 ,p_enrt_perd_end_dt_rl           =>p_rec.enrt_perd_end_dt_rl
 ,p_addl_procg_dys_num            =>p_rec.addl_procg_dys_num
 ,p_dys_no_enrl_not_elig_num      =>p_rec.dys_no_enrl_not_elig_num
 ,p_dys_no_enrl_cant_enrl_num     =>p_rec.dys_no_enrl_cant_enrl_num
 ,p_rt_end_dt_cd                  =>p_rec.rt_end_dt_cd
 ,p_rt_end_dt_rl                  =>p_rec.rt_end_dt_rl
 ,p_rt_strt_dt_cd                 =>p_rec.rt_strt_dt_cd
 ,p_rt_strt_dt_rl                 =>p_rec.rt_strt_dt_rl
 ,p_enrt_cvg_end_dt_rl            =>p_rec.enrt_cvg_end_dt_rl
 ,p_enrt_cvg_strt_dt_rl           =>p_rec.enrt_cvg_strt_dt_rl
 ,p_len_attribute_category        =>p_rec.len_attribute_category
 ,p_len_attribute1                =>p_rec.len_attribute1
 ,p_len_attribute2                =>p_rec.len_attribute2
 ,p_len_attribute3                =>p_rec.len_attribute3
 ,p_len_attribute4                =>p_rec.len_attribute4
 ,p_len_attribute5                =>p_rec.len_attribute5
 ,p_len_attribute6                =>p_rec.len_attribute6
 ,p_len_attribute7                =>p_rec.len_attribute7
 ,p_len_attribute8                =>p_rec.len_attribute8
 ,p_len_attribute9                =>p_rec.len_attribute9
 ,p_len_attribute10               =>p_rec.len_attribute10
 ,p_len_attribute11               =>p_rec.len_attribute11
 ,p_len_attribute12               =>p_rec.len_attribute12
 ,p_len_attribute13               =>p_rec.len_attribute13
 ,p_len_attribute14               =>p_rec.len_attribute14
 ,p_len_attribute15               =>p_rec.len_attribute15
 ,p_len_attribute16               =>p_rec.len_attribute16
 ,p_len_attribute17               =>p_rec.len_attribute17
 ,p_len_attribute18               =>p_rec.len_attribute18
 ,p_len_attribute19               =>p_rec.len_attribute19
 ,p_len_attribute20               =>p_rec.len_attribute20
 ,p_len_attribute21               =>p_rec.len_attribute21
 ,p_len_attribute22               =>p_rec.len_attribute22
 ,p_len_attribute23               =>p_rec.len_attribute23
 ,p_len_attribute24               =>p_rec.len_attribute24
 ,p_len_attribute25               =>p_rec.len_attribute25
 ,p_len_attribute26               =>p_rec.len_attribute26
 ,p_len_attribute27               =>p_rec.len_attribute27
 ,p_len_attribute28               =>p_rec.len_attribute28
 ,p_len_attribute29               =>p_rec.len_attribute29
 ,p_len_attribute30               =>p_rec.len_attribute30
 ,p_object_version_number         =>p_rec.object_version_number
 ,p_enrt_perd_det_ovrlp_bckdt_cd  =>p_rec.enrt_perd_det_ovrlp_bckdt_cd
 ,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_reinstate_cd			  =>p_rec.reinstate_cd
 ,p_reinstate_ovrdn_cd		  =>p_rec.reinstate_ovrdn_cd
 ,p_ENRT_PERD_STRT_DAYS		  =>p_rec.ENRT_PERD_STRT_DAYS
 ,p_ENRT_PERD_END_DAYS		  =>p_rec.ENRT_PERD_END_DAYS
 ,p_defer_deenrol_flag		  =>p_rec.defer_deenrol_flag
 ,p_effective_start_date_o        =>ben_len_shd.g_old_rec.effective_start_date
 ,p_effective_end_date_o          =>ben_len_shd.g_old_rec.effective_end_date
 ,p_business_group_id_o           =>ben_len_shd.g_old_rec.business_group_id
 ,p_popl_enrt_typ_cycl_id_o       =>ben_len_shd.g_old_rec.popl_enrt_typ_cycl_id
 ,p_ler_id_o                      =>ben_len_shd.g_old_rec.ler_id
 ,p_cls_enrt_dt_to_use_cd_o       =>ben_len_shd.g_old_rec.cls_enrt_dt_to_use_cd
 ,p_dys_aftr_end_to_dflt_num_o    =>ben_len_shd.g_old_rec.dys_aftr_end_to_dflt_num
 ,p_enrt_cvg_end_dt_cd_o          =>ben_len_shd.g_old_rec.enrt_cvg_end_dt_cd
 ,p_enrt_cvg_strt_dt_cd_o         =>ben_len_shd.g_old_rec.enrt_cvg_strt_dt_cd
 ,p_enrt_perd_strt_dt_cd_o        =>ben_len_shd.g_old_rec.enrt_perd_strt_dt_cd
 ,p_enrt_perd_strt_dt_rl_o        =>ben_len_shd.g_old_rec.enrt_perd_strt_dt_rl
 ,p_enrt_perd_end_dt_cd_o         =>ben_len_shd.g_old_rec.enrt_perd_end_dt_cd
 ,p_enrt_perd_end_dt_rl_o         =>ben_len_shd.g_old_rec.enrt_perd_end_dt_rl
 ,p_addl_procg_dys_num_o          =>ben_len_shd.g_old_rec.addl_procg_dys_num
 ,p_dys_no_enrl_not_elig_num_o    =>ben_len_shd.g_old_rec.dys_no_enrl_not_elig_num
 ,p_dys_no_enrl_cant_enrl_num_o   =>ben_len_shd.g_old_rec.dys_no_enrl_cant_enrl_num
 ,p_rt_end_dt_cd_o                =>ben_len_shd.g_old_rec.rt_end_dt_cd
 ,p_rt_end_dt_rl_o                =>ben_len_shd.g_old_rec.rt_end_dt_rl
 ,p_rt_strt_dt_cd_o               =>ben_len_shd.g_old_rec.rt_strt_dt_cd
 ,p_rt_strt_dt_rl_o               =>ben_len_shd.g_old_rec.rt_strt_dt_rl
 ,p_enrt_cvg_end_dt_rl_o          =>ben_len_shd.g_old_rec.enrt_cvg_end_dt_rl
 ,p_enrt_cvg_strt_dt_rl_o         =>ben_len_shd.g_old_rec.enrt_cvg_strt_dt_rl
 ,p_len_attribute_category_o      =>ben_len_shd.g_old_rec.len_attribute_category
 ,p_len_attribute1_o              =>ben_len_shd.g_old_rec.len_attribute1
 ,p_len_attribute2_o              =>ben_len_shd.g_old_rec.len_attribute2
 ,p_len_attribute3_o              =>ben_len_shd.g_old_rec.len_attribute3
 ,p_len_attribute4_o              =>ben_len_shd.g_old_rec.len_attribute4
 ,p_len_attribute5_o              =>ben_len_shd.g_old_rec.len_attribute5
 ,p_len_attribute6_o              =>ben_len_shd.g_old_rec.len_attribute6
 ,p_len_attribute7_o              =>ben_len_shd.g_old_rec.len_attribute7
 ,p_len_attribute8_o              =>ben_len_shd.g_old_rec.len_attribute8
 ,p_len_attribute9_o              =>ben_len_shd.g_old_rec.len_attribute9
 ,p_len_attribute10_o             =>ben_len_shd.g_old_rec.len_attribute10
 ,p_len_attribute11_o             =>ben_len_shd.g_old_rec.len_attribute11
 ,p_len_attribute12_o             =>ben_len_shd.g_old_rec.len_attribute12
 ,p_len_attribute13_o             =>ben_len_shd.g_old_rec.len_attribute13
 ,p_len_attribute14_o             =>ben_len_shd.g_old_rec.len_attribute14
 ,p_len_attribute15_o             =>ben_len_shd.g_old_rec.len_attribute15
 ,p_len_attribute16_o             =>ben_len_shd.g_old_rec.len_attribute16
 ,p_len_attribute17_o             =>ben_len_shd.g_old_rec.len_attribute17
 ,p_len_attribute18_o             =>ben_len_shd.g_old_rec.len_attribute18
 ,p_len_attribute19_o             =>ben_len_shd.g_old_rec.len_attribute19
 ,p_len_attribute20_o             =>ben_len_shd.g_old_rec.len_attribute20
 ,p_len_attribute21_o             =>ben_len_shd.g_old_rec.len_attribute21
 ,p_len_attribute22_o             =>ben_len_shd.g_old_rec.len_attribute22
 ,p_len_attribute23_o             =>ben_len_shd.g_old_rec.len_attribute23
 ,p_len_attribute24_o             =>ben_len_shd.g_old_rec.len_attribute24
 ,p_len_attribute25_o             =>ben_len_shd.g_old_rec.len_attribute25
 ,p_len_attribute26_o             =>ben_len_shd.g_old_rec.len_attribute26
 ,p_len_attribute27_o             =>ben_len_shd.g_old_rec.len_attribute27
 ,p_len_attribute28_o             =>ben_len_shd.g_old_rec.len_attribute28
 ,p_len_attribute29_o             =>ben_len_shd.g_old_rec.len_attribute29
 ,p_len_attribute30_o             =>ben_len_shd.g_old_rec.len_attribute30
 ,p_object_version_number_o       =>ben_len_shd.g_old_rec.object_version_number
 --,p_enrt_perd_det_ovrlp_bckdt_cd_o       =>ben_len_shd.g_old_rec.enrt_perd_det_ovrlp_bckdt_cd
 ,p_enrt_perd_det_ovrlp_cd_o       =>ben_len_shd.g_old_rec.enrt_perd_det_ovrlp_bckdt_cd
 ,p_reinstate_cd_o		  =>ben_len_shd.g_old_rec.reinstate_cd
 ,p_reinstate_ovrdn_cd_o	  =>ben_len_shd.g_old_rec.reinstate_ovrdn_cd
 ,p_ENRT_PERD_STRT_DAYS_o	  =>ben_len_shd.g_old_rec.ENRT_PERD_STRT_DAYS
 ,p_ENRT_PERD_END_DAYS_o	  =>ben_len_shd.g_old_rec.ENRT_PERD_END_DAYS
 ,p_defer_deenrol_flag_o	  =>ben_len_shd.g_old_rec.defer_deenrol_flag
      );
Line: 572

End post_update;
Line: 894

  ben_len_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: 903

  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: 912

  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: 921

  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);