DBA Data[Home] [Help]

APPS.BEN_EPO_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_epo_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_elig_per_opt_f t
    where  t.elig_per_opt_id       = p_rec.elig_per_opt_id
    and    t.effective_start_date =
             ben_epo_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_elig_per_opt_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_elig_per_opt_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_elig_per_opt_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: 134

  insert into ben_elig_per_opt_f
  (    elig_per_opt_id,
    elig_per_id,
    effective_start_date,
    effective_end_date,
    prtn_ovridn_flag,
    prtn_ovridn_thru_dt,
    no_mx_prtn_ovrid_thru_flag,
    elig_flag,
    prtn_strt_dt,
    prtn_end_dt,
    wait_perd_cmpltn_date,
    wait_perd_strt_dt,
    prtn_ovridn_rsn_cd,
    pct_fl_tm_val,
    opt_id,
    per_in_ler_id,
    rt_comp_ref_amt,
    rt_cmbn_age_n_los_val,
    rt_comp_ref_uom,
    rt_age_val,
    rt_los_val,
    rt_hrs_wkd_val,
    rt_hrs_wkd_bndry_perd_cd,
    rt_age_uom,
    rt_los_uom,
    rt_pct_fl_tm_val,
    rt_frz_los_flag,
    rt_frz_age_flag,
    rt_frz_cmp_lvl_flag,
    rt_frz_pct_fl_tm_flag,
    rt_frz_hrs_wkd_flag,
    rt_frz_comb_age_and_los_flag,
    comp_ref_amt,
    cmbn_age_n_los_val,
    comp_ref_uom,
    age_val,
    los_val,
    hrs_wkd_val,
    hrs_wkd_bndry_perd_cd,
    age_uom,
    los_uom,
    frz_los_flag,
    frz_age_flag,
    frz_cmp_lvl_flag,
    frz_pct_fl_tm_flag,
    frz_hrs_wkd_flag,
    frz_comb_age_and_los_flag,
    ovrid_svc_dt,
    inelg_rsn_cd,
    once_r_cntug_cd,
    oipl_ordr_num,
    business_group_id,
    epo_attribute_category,
    epo_attribute1,
    epo_attribute2,
    epo_attribute3,
    epo_attribute4,
    epo_attribute5,
    epo_attribute6,
    epo_attribute7,
    epo_attribute8,
    epo_attribute9,
    epo_attribute10,
    epo_attribute11,
    epo_attribute12,
    epo_attribute13,
    epo_attribute14,
    epo_attribute15,
    epo_attribute16,
    epo_attribute17,
    epo_attribute18,
    epo_attribute19,
    epo_attribute20,
    epo_attribute21,
    epo_attribute22,
    epo_attribute23,
    epo_attribute24,
    epo_attribute25,
    epo_attribute26,
    epo_attribute27,
    epo_attribute28,
    epo_attribute29,
    epo_attribute30,
    request_id,
    program_application_id,
    program_id,
    program_update_date,
    object_version_number,
    created_by,
    creation_date,
    last_update_date,
    last_updated_by,
    last_update_login
  )
  Values
  ( p_rec.elig_per_opt_id,
    p_rec.elig_per_id,
    p_rec.effective_start_date,
    p_rec.effective_end_date,
    p_rec.prtn_ovridn_flag,
    p_rec.prtn_ovridn_thru_dt,
    p_rec.no_mx_prtn_ovrid_thru_flag,
    p_rec.elig_flag,
    p_rec.prtn_strt_dt,
    p_rec.prtn_end_dt,
    p_rec.wait_perd_cmpltn_date,
    p_rec.wait_perd_strt_dt,
    p_rec.prtn_ovridn_rsn_cd,
    p_rec.pct_fl_tm_val,
    p_rec.opt_id,
    p_rec.per_in_ler_id,
    p_rec.rt_comp_ref_amt,
    p_rec.rt_cmbn_age_n_los_val,
    p_rec.rt_comp_ref_uom,
    p_rec.rt_age_val,
    p_rec.rt_los_val,
    p_rec.rt_hrs_wkd_val,
    p_rec.rt_hrs_wkd_bndry_perd_cd,
    p_rec.rt_age_uom,
    p_rec.rt_los_uom,
    p_rec.rt_pct_fl_tm_val,
    p_rec.rt_frz_los_flag,
    p_rec.rt_frz_age_flag,
    p_rec.rt_frz_cmp_lvl_flag,
    p_rec.rt_frz_pct_fl_tm_flag,
    p_rec.rt_frz_hrs_wkd_flag,
    p_rec.rt_frz_comb_age_and_los_flag,
    p_rec.comp_ref_amt,
    p_rec.cmbn_age_n_los_val,
    p_rec.comp_ref_uom,
    p_rec.age_val,
    p_rec.los_val,
    p_rec.hrs_wkd_val,
    p_rec.hrs_wkd_bndry_perd_cd,
    p_rec.age_uom,
    p_rec.los_uom,
    p_rec.frz_los_flag,
    p_rec.frz_age_flag,
    p_rec.frz_cmp_lvl_flag,
    p_rec.frz_pct_fl_tm_flag,
    p_rec.frz_hrs_wkd_flag,
    p_rec.frz_comb_age_and_los_flag,
    p_rec.ovrid_svc_dt,
    p_rec.inelg_rsn_cd,
    p_rec.once_r_cntug_cd,
    p_rec.oipl_ordr_num,
    p_rec.business_group_id,
    p_rec.epo_attribute_category,
    p_rec.epo_attribute1,
    p_rec.epo_attribute2,
    p_rec.epo_attribute3,
    p_rec.epo_attribute4,
    p_rec.epo_attribute5,
    p_rec.epo_attribute6,
    p_rec.epo_attribute7,
    p_rec.epo_attribute8,
    p_rec.epo_attribute9,
    p_rec.epo_attribute10,
    p_rec.epo_attribute11,
    p_rec.epo_attribute12,
    p_rec.epo_attribute13,
    p_rec.epo_attribute14,
    p_rec.epo_attribute15,
    p_rec.epo_attribute16,
    p_rec.epo_attribute17,
    p_rec.epo_attribute18,
    p_rec.epo_attribute19,
    p_rec.epo_attribute20,
    p_rec.epo_attribute21,
    p_rec.epo_attribute22,
    p_rec.epo_attribute23,
    p_rec.epo_attribute24,
    p_rec.epo_attribute25,
    p_rec.epo_attribute26,
    p_rec.epo_attribute27,
    p_rec.epo_attribute28,
    p_rec.epo_attribute29,
    p_rec.epo_attribute30,
    p_rec.request_id,
    p_rec.program_application_id,
    p_rec.program_id,
    p_rec.program_update_date,
    p_rec.object_version_number,
    l_created_by,
    l_creation_date,
    l_last_update_date,
    l_last_updated_by,
    l_last_update_login
  );
Line: 342

End dt_insert_dml;
Line: 347

Procedure insert_dml
    (p_rec              in out nocopy ben_epo_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: 359

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

End insert_dml;
Line: 407

Procedure pre_insert
    (p_rec              in out nocopy ben_epo_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: 417

  Cursor C_Sel1 is select ben_elig_per_opt_f_s.nextval from sys.dual;
Line: 431

End pre_insert;
Line: 465

Procedure post_insert
    (p_rec              in ben_epo_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: 482

    ben_epo_rki.after_insert
      (
  p_elig_per_opt_id               =>p_rec.elig_per_opt_id
 ,p_elig_per_id                   =>p_rec.elig_per_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_prtn_ovridn_flag              =>p_rec.prtn_ovridn_flag
 ,p_prtn_ovridn_thru_dt           =>p_rec.prtn_ovridn_thru_dt
 ,p_no_mx_prtn_ovrid_thru_flag    =>p_rec.no_mx_prtn_ovrid_thru_flag
 ,p_elig_flag                     =>p_rec.elig_flag
 ,p_prtn_strt_dt                  =>p_rec.prtn_strt_dt
 ,p_prtn_end_dt                   =>p_rec.prtn_end_dt
 ,p_wait_perd_cmpltn_date           =>p_rec.wait_perd_cmpltn_date
 ,p_wait_perd_strt_dt             =>p_rec.wait_perd_strt_dt
 ,p_prtn_ovridn_rsn_cd            =>p_rec.prtn_ovridn_rsn_cd
 ,p_pct_fl_tm_val                 =>p_rec.pct_fl_tm_val
 ,p_opt_id                        =>p_rec.opt_id
 ,p_per_in_ler_id                 =>p_rec.per_in_ler_id
 ,p_rt_comp_ref_amt               =>p_rec.rt_comp_ref_amt
 ,p_rt_cmbn_age_n_los_val         =>p_rec.rt_cmbn_age_n_los_val
 ,p_rt_comp_ref_uom               =>p_rec.rt_comp_ref_uom
 ,p_rt_age_val                    =>p_rec.rt_age_val
 ,p_rt_los_val                    =>p_rec.rt_los_val
 ,p_rt_hrs_wkd_val                =>p_rec.rt_hrs_wkd_val
 ,p_rt_hrs_wkd_bndry_perd_cd      =>p_rec.rt_hrs_wkd_bndry_perd_cd
 ,p_rt_age_uom                    =>p_rec.rt_age_uom
 ,p_rt_los_uom                    =>p_rec.rt_los_uom
 ,p_rt_pct_fl_tm_val              =>p_rec.rt_pct_fl_tm_val
 ,p_rt_frz_los_flag               =>p_rec.rt_frz_los_flag
 ,p_rt_frz_age_flag               =>p_rec.rt_frz_age_flag
 ,p_rt_frz_cmp_lvl_flag           =>p_rec.rt_frz_cmp_lvl_flag
 ,p_rt_frz_pct_fl_tm_flag         =>p_rec.rt_frz_pct_fl_tm_flag
 ,p_rt_frz_hrs_wkd_flag           =>p_rec.rt_frz_hrs_wkd_flag
 ,p_rt_frz_comb_age_and_los_flag  =>p_rec.rt_frz_comb_age_and_los_flag
 ,p_comp_ref_amt                  =>p_rec.comp_ref_amt
 ,p_cmbn_age_n_los_val            =>p_rec.cmbn_age_n_los_val
 ,p_comp_ref_uom                  =>p_rec.comp_ref_uom
 ,p_age_val                       =>p_rec.age_val
 ,p_los_val                       =>p_rec.los_val
 ,p_hrs_wkd_val                   =>p_rec.hrs_wkd_val
 ,p_hrs_wkd_bndry_perd_cd         =>p_rec.hrs_wkd_bndry_perd_cd
 ,p_age_uom                       =>p_rec.age_uom
 ,p_los_uom                       =>p_rec.los_uom
 ,p_frz_los_flag                  =>p_rec.frz_los_flag
 ,p_frz_age_flag                  =>p_rec.frz_age_flag
 ,p_frz_cmp_lvl_flag              =>p_rec.frz_cmp_lvl_flag
 ,p_frz_pct_fl_tm_flag            =>p_rec.frz_pct_fl_tm_flag
 ,p_frz_hrs_wkd_flag              =>p_rec.frz_hrs_wkd_flag
 ,p_frz_comb_age_and_los_flag     =>p_rec.frz_comb_age_and_los_flag
 ,p_ovrid_svc_dt                  =>p_rec.ovrid_svc_dt
 ,p_inelg_rsn_cd                  =>p_rec.inelg_rsn_cd
 ,p_once_r_cntug_cd               =>p_rec.once_r_cntug_cd
 ,p_oipl_ordr_num                 =>p_rec.oipl_ordr_num
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_epo_attribute_category        =>p_rec.epo_attribute_category
 ,p_epo_attribute1                =>p_rec.epo_attribute1
 ,p_epo_attribute2                =>p_rec.epo_attribute2
 ,p_epo_attribute3                =>p_rec.epo_attribute3
 ,p_epo_attribute4                =>p_rec.epo_attribute4
 ,p_epo_attribute5                =>p_rec.epo_attribute5
 ,p_epo_attribute6                =>p_rec.epo_attribute6
 ,p_epo_attribute7                =>p_rec.epo_attribute7
 ,p_epo_attribute8                =>p_rec.epo_attribute8
 ,p_epo_attribute9                =>p_rec.epo_attribute9
 ,p_epo_attribute10               =>p_rec.epo_attribute10
 ,p_epo_attribute11               =>p_rec.epo_attribute11
 ,p_epo_attribute12               =>p_rec.epo_attribute12
 ,p_epo_attribute13               =>p_rec.epo_attribute13
 ,p_epo_attribute14               =>p_rec.epo_attribute14
 ,p_epo_attribute15               =>p_rec.epo_attribute15
 ,p_epo_attribute16               =>p_rec.epo_attribute16
 ,p_epo_attribute17               =>p_rec.epo_attribute17
 ,p_epo_attribute18               =>p_rec.epo_attribute18
 ,p_epo_attribute19               =>p_rec.epo_attribute19
 ,p_epo_attribute20               =>p_rec.epo_attribute20
 ,p_epo_attribute21               =>p_rec.epo_attribute21
 ,p_epo_attribute22               =>p_rec.epo_attribute22
 ,p_epo_attribute23               =>p_rec.epo_attribute23
 ,p_epo_attribute24               =>p_rec.epo_attribute24
 ,p_epo_attribute25               =>p_rec.epo_attribute25
 ,p_epo_attribute26               =>p_rec.epo_attribute26
 ,p_epo_attribute27               =>p_rec.epo_attribute27
 ,p_epo_attribute28               =>p_rec.epo_attribute28
 ,p_epo_attribute29               =>p_rec.epo_attribute29
 ,p_epo_attribute30               =>p_rec.epo_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_effective_date                =>p_effective_date
 ,p_validation_start_date         =>p_validation_start_date
 ,p_validation_end_date           =>p_validation_end_date
      );
Line: 591

End post_insert;
Line: 682

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

    ben_epo_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: 716

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

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

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

  p_program_update_date          in date             default null,
  p_object_version_number        out nocopy number,
  p_effective_date               in date,
  --
  p_override_validation          in boolean          default false
  )
is
--
  l_rec        ben_epo_shd.g_rec_type;
Line: 940

  p_program_update_date,
  null
  );