DBA Data[Home] [Help]

APPS.BEN_PEN_INS SQL Statements

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

Line: 57

Procedure dt_insert_dml
    (p_rec 			 in out nocopy ben_pen_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
--
-- Cursor to select 'old' created AOL who column values
--
  Cursor C_Sel1 Is
    select t.created_by,
           t.creation_date
    from   ben_prtt_enrt_rslt_f t
    where  t.prtt_enrt_rslt_id       = p_rec.prtt_enrt_rslt_id
    and    t.effective_start_date =
             ben_pen_shd.g_old_rec.effective_start_date
    and    t.effective_end_date   = (p_validation_start_date - 1);
Line: 75

  l_proc		varchar2(72) := g_package||'dt_insert_dml';
Line: 78

  l_last_update_date   	ben_prtt_enrt_rslt_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_prtt_enrt_rslt_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_prtt_enrt_rslt_f.last_update_login%TYPE;
Line: 102

  If (p_datetrack_mode <> 'INSERT') then
    hr_utility.set_location(l_proc, 10);
Line: 124

    l_last_update_date   := sysdate;
Line: 125

    l_last_updated_by    := fnd_global.user_id;
Line: 126

    l_last_update_login  := fnd_global.login_id;
Line: 133

  insert into ben_prtt_enrt_rslt_f
  (	prtt_enrt_rslt_id,
    effective_start_date,
    effective_end_date,
    business_group_id,
    oipl_id,
    person_id,
    assignment_id,
    pgm_id,
    pl_id,
    rplcs_sspndd_rslt_id,
    ptip_id,
    pl_typ_id,
    ler_id,
    sspndd_flag,
    prtt_is_cvrd_flag,
    bnft_amt,
    uom     ,
    orgnl_enrt_dt,
    enrt_mthd_cd,
        no_lngr_elig_flag,
    enrt_ovridn_flag,
    enrt_ovrid_rsn_cd,
    erlst_deenrt_dt,
    enrt_cvg_strt_dt,
    enrt_cvg_thru_dt,
    enrt_ovrid_thru_dt,
        pl_ordr_num,
        plip_ordr_num,
        ptip_ordr_num,
        oipl_ordr_num,
    pen_attribute_category,
    pen_attribute1,
    pen_attribute2,
    pen_attribute3,
    pen_attribute4,
    pen_attribute5,
    pen_attribute6,
    pen_attribute7,
    pen_attribute8,
    pen_attribute9,
    pen_attribute10,
    pen_attribute11,
    pen_attribute12,
    pen_attribute13,
    pen_attribute14,
    pen_attribute15,
    pen_attribute16,
    pen_attribute17,
    pen_attribute18,
    pen_attribute19,
    pen_attribute20,
    pen_attribute21,
    pen_attribute22,
    pen_attribute23,
    pen_attribute24,
    pen_attribute25,
    pen_attribute26,
    pen_attribute27,
    pen_attribute28,
    pen_attribute29,
    pen_attribute30,
    request_id,
    program_application_id,
    program_id,
    program_update_date,
    object_version_number,
    per_in_ler_id,
    bnft_typ_cd,
      bnft_ordr_num,
      prtt_enrt_rslt_stat_cd,
    bnft_nnmntry_uom,
      comp_lvl_cd,
   	created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.prtt_enrt_rslt_id,
    p_rec.effective_start_date,
    p_rec.effective_end_date,
    p_rec.business_group_id,
    p_rec.oipl_id,
    p_rec.person_id,
    p_rec.assignment_id,
    p_rec.pgm_id,
    p_rec.pl_id,
    p_rec.rplcs_sspndd_rslt_id,
    p_rec.ptip_id,
    p_rec.pl_typ_id,
    p_rec.ler_id,
    p_rec.sspndd_flag,
    p_rec.prtt_is_cvrd_flag,
    p_rec.bnft_amt,
    p_rec.uom     ,
    p_rec.orgnl_enrt_dt,
    p_rec.enrt_mthd_cd,
        p_rec.no_lngr_elig_flag,
    p_rec.enrt_ovridn_flag,
    p_rec.enrt_ovrid_rsn_cd,
    p_rec.erlst_deenrt_dt,
    p_rec.enrt_cvg_strt_dt,
    p_rec.enrt_cvg_thru_dt,
    p_rec.enrt_ovrid_thru_dt,
        p_rec.pl_ordr_num,
        p_rec.plip_ordr_num,
        p_rec.ptip_ordr_num,
        p_rec.oipl_ordr_num,
    p_rec.pen_attribute_category,
    p_rec.pen_attribute1,
    p_rec.pen_attribute2,
    p_rec.pen_attribute3,
    p_rec.pen_attribute4,
    p_rec.pen_attribute5,
    p_rec.pen_attribute6,
    p_rec.pen_attribute7,
    p_rec.pen_attribute8,
    p_rec.pen_attribute9,
    p_rec.pen_attribute10,
    p_rec.pen_attribute11,
    p_rec.pen_attribute12,
    p_rec.pen_attribute13,
    p_rec.pen_attribute14,
    p_rec.pen_attribute15,
    p_rec.pen_attribute16,
    p_rec.pen_attribute17,
    p_rec.pen_attribute18,
    p_rec.pen_attribute19,
    p_rec.pen_attribute20,
    p_rec.pen_attribute21,
    p_rec.pen_attribute22,
    p_rec.pen_attribute23,
    p_rec.pen_attribute24,
    p_rec.pen_attribute25,
    p_rec.pen_attribute26,
    p_rec.pen_attribute27,
    p_rec.pen_attribute28,
    p_rec.pen_attribute29,
    p_rec.pen_attribute30,
    p_rec.request_id,
    p_rec.program_application_id,
    p_rec.program_id,
    p_rec.program_update_date,
    p_rec.object_version_number,
    p_rec.per_in_ler_id,
    p_rec.bnft_typ_cd,
      p_rec.bnft_ordr_num,
      p_rec.prtt_enrt_rslt_stat_cd,
    p_rec.bnft_nnmntry_uom,
    p_rec.comp_lvl_cd,
    l_created_by,
   	l_creation_date,
   	l_last_update_date,
   	l_last_updated_by,
   	l_last_update_login
  );
Line: 309

End dt_insert_dml;
Line: 314

Procedure insert_dml
    (p_rec 			         in out nocopy ben_pen_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||'insert_dml';
Line: 326

  dt_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: 333

End insert_dml;
Line: 374

Procedure pre_insert
    (p_rec  			     in out nocopy ben_pen_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_insert';
Line: 383

    select ben_prtt_enrt_rslt_f_s.nextval from sys.dual;
Line: 404

End pre_insert;
Line: 438

Procedure post_insert
    (p_rec 			         in     ben_pen_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_insert';
Line: 467

    ben_pen_rki.after_insert
      (p_prtt_enrt_rslt_id             =>p_rec.prtt_enrt_rslt_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_oipl_id                       =>p_rec.oipl_id
      ,p_person_id                     =>p_rec.person_id
      ,p_assignment_id                 =>p_rec.assignment_id
      ,p_pgm_id                        =>p_rec.pgm_id
      ,p_pl_id                         =>p_rec.pl_id
      ,p_rplcs_sspndd_rslt_id          =>p_rec.rplcs_sspndd_rslt_id
      ,p_ptip_id                       =>p_rec.ptip_id
      ,p_pl_typ_id                     =>p_rec.pl_typ_id
      ,p_ler_id                        =>p_rec.ler_id
      ,p_sspndd_flag                   =>p_rec.sspndd_flag
      ,p_prtt_is_cvrd_flag             =>p_rec.prtt_is_cvrd_flag
      ,p_bnft_amt                      =>p_rec.bnft_amt
      ,p_uom                           =>p_rec.uom
      ,p_orgnl_enrt_dt                 =>p_rec.orgnl_enrt_dt
      ,p_enrt_mthd_cd                  =>p_rec.enrt_mthd_cd
      ,p_no_lngr_elig_flag             =>p_rec.no_lngr_elig_flag
      ,p_enrt_ovridn_flag              =>p_rec.enrt_ovridn_flag
      ,p_enrt_ovrid_rsn_cd             =>p_rec.enrt_ovrid_rsn_cd
      ,p_erlst_deenrt_dt               =>p_rec.erlst_deenrt_dt
      ,p_enrt_cvg_strt_dt              =>p_rec.enrt_cvg_strt_dt
      ,p_enrt_cvg_thru_dt              =>p_rec.enrt_cvg_thru_dt
      ,p_enrt_ovrid_thru_dt            =>p_rec.enrt_ovrid_thru_dt
      ,p_pl_ordr_num                     =>p_rec.pl_ordr_num
      ,p_plip_ordr_num                   =>p_rec.plip_ordr_num
      ,p_ptip_ordr_num                   =>p_rec.ptip_ordr_num
      ,p_oipl_ordr_num                   =>p_rec.oipl_ordr_num
      ,p_pen_attribute_category        =>p_rec.pen_attribute_category
      ,p_pen_attribute1                =>p_rec.pen_attribute1
      ,p_pen_attribute2                =>p_rec.pen_attribute2
      ,p_pen_attribute3                =>p_rec.pen_attribute3
      ,p_pen_attribute4                =>p_rec.pen_attribute4
      ,p_pen_attribute5                =>p_rec.pen_attribute5
      ,p_pen_attribute6                =>p_rec.pen_attribute6
      ,p_pen_attribute7                =>p_rec.pen_attribute7
      ,p_pen_attribute8                =>p_rec.pen_attribute8
      ,p_pen_attribute9                =>p_rec.pen_attribute9
      ,p_pen_attribute10               =>p_rec.pen_attribute10
      ,p_pen_attribute11               =>p_rec.pen_attribute11
      ,p_pen_attribute12               =>p_rec.pen_attribute12
      ,p_pen_attribute13               =>p_rec.pen_attribute13
      ,p_pen_attribute14               =>p_rec.pen_attribute14
      ,p_pen_attribute15               =>p_rec.pen_attribute15
      ,p_pen_attribute16               =>p_rec.pen_attribute16
      ,p_pen_attribute17               =>p_rec.pen_attribute17
      ,p_pen_attribute18               =>p_rec.pen_attribute18
      ,p_pen_attribute19               =>p_rec.pen_attribute19
      ,p_pen_attribute20               =>p_rec.pen_attribute20
      ,p_pen_attribute21               =>p_rec.pen_attribute21
      ,p_pen_attribute22               =>p_rec.pen_attribute22
      ,p_pen_attribute23               =>p_rec.pen_attribute23
      ,p_pen_attribute24               =>p_rec.pen_attribute24
      ,p_pen_attribute25               =>p_rec.pen_attribute25
      ,p_pen_attribute26               =>p_rec.pen_attribute26
      ,p_pen_attribute27               =>p_rec.pen_attribute27
      ,p_pen_attribute28               =>p_rec.pen_attribute28
      ,p_pen_attribute29               =>p_rec.pen_attribute29
      ,p_pen_attribute30               =>p_rec.pen_attribute30
      ,p_request_id                    =>p_rec.request_id
      ,p_program_application_id        =>p_rec.program_application_id
      ,p_program_id                    =>p_rec.program_id
      ,p_program_update_date           =>p_rec.program_update_date
      ,p_object_version_number         =>p_rec.object_version_number
      ,p_per_in_ler_id                 =>p_rec.per_in_ler_id
      ,p_bnft_typ_cd                   =>p_rec.bnft_typ_cd
      ,p_bnft_ordr_num                 =>p_rec.bnft_ordr_num
      ,p_prtt_enrt_rslt_stat_cd        =>p_rec.prtt_enrt_rslt_stat_cd
      ,p_bnft_nnmntry_uom              =>p_rec.bnft_nnmntry_uom
      ,p_comp_lvl_cd                   =>p_rec.comp_lvl_cd
      ,p_effective_date                =>p_effective_date
      ,p_validation_start_date         =>p_validation_start_date
      ,p_validation_end_date           =>p_validation_end_date
      );
Line: 556

End post_insert;
Line: 660

  l_datetrack_mode		varchar2(30) := 'INSERT';
Line: 678

  ben_pen_bus.insert_validate
    (p_rec			         => p_rec,
     p_effective_date	     => p_effective_date,
     p_datetrack_mode	     => l_datetrack_mode,
     p_validation_start_date => l_validation_start_date,
     p_validation_end_date	 => l_validation_end_date);
Line: 687

  pre_insert
 	(p_rec			         => p_rec,
     p_effective_date	     => p_effective_date,
     p_datetrack_mode	     => l_datetrack_mode,
     p_validation_start_date => l_validation_start_date,
     p_validation_end_date	 => l_validation_end_date);
Line: 696

  insert_dml
 	(p_rec			         => p_rec,
     p_effective_date	     => p_effective_date,
     p_datetrack_mode	     => l_datetrack_mode,
     p_validation_start_date => l_validation_start_date,
     p_validation_end_date	 => l_validation_end_date);
Line: 716

  post_insert
 	(p_rec			 => p_rec,
     p_effective_date	 => p_effective_date,
     p_datetrack_mode	 => l_datetrack_mode,
     p_validation_start_date => l_validation_start_date,
     p_validation_end_date	 => l_validation_end_date);
Line: 729

      hr_utility.set_location('Logging PEN insert event'|| l_proc, 5);
Line: 730

      hri_opl_ben_elig_enrl_eq.insert_event (
                 p_rec              => p_rec ,
                 p_effective_date   => p_effective_date,
                 p_datetrack_mode   => l_datetrack_mode );
Line: 807

  p_program_update_date          in date             default null,
  p_object_version_number        out nocopy number,
  p_per_in_ler_id                in number           default null,
  p_bnft_typ_cd                  in varchar2         default null,
  p_bnft_ordr_num                in number           default null,
  p_prtt_enrt_rslt_stat_cd       in varchar2         default null,
  p_bnft_nnmntry_uom             in varchar2         default null,
  p_comp_lvl_cd                  in varchar2         default null,
  p_effective_date		 in date
  ) is
--
  l_rec		ben_pen_shd.g_rec_type;
Line: 894

  p_program_update_date,
  null,
  p_per_in_ler_id,
  p_bnft_typ_cd,
  p_bnft_ordr_num,
  p_prtt_enrt_rslt_stat_cd,
  p_bnft_nnmntry_uom,
  p_comp_lvl_cd
   );