DBA Data[Home] [Help]

APPS.BEN_OTP_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_otp_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_optip_f t
    where  t.optip_id       = p_rec.optip_id
    and    t.effective_start_date =
             ben_otp_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_optip_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_optip_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_optip_f.last_update_login%TYPE;
Line: 103

  If (p_datetrack_mode <> hr_api.g_insert) then
    hr_utility.set_location(l_proc, 10);
Line: 125

    l_last_update_date   := sysdate;
Line: 126

    l_last_updated_by    := fnd_global.user_id;
Line: 127

    l_last_update_login  := fnd_global.login_id;
Line: 134

  insert into ben_optip_f
      (optip_id
      ,effective_start_date
      ,effective_end_date
      ,business_group_id
      ,pgm_id
      ,ptip_id
      ,pl_typ_id
      ,opt_id
      ,cmbn_ptip_opt_id
      ,legislation_code
      ,legislation_subgroup
      ,otp_attribute_category
      ,otp_attribute1
      ,otp_attribute2
      ,otp_attribute3
      ,otp_attribute4
      ,otp_attribute5
      ,otp_attribute6
      ,otp_attribute7
      ,otp_attribute8
      ,otp_attribute9
      ,otp_attribute10
      ,otp_attribute11
      ,otp_attribute12
      ,otp_attribute13
      ,otp_attribute14
      ,otp_attribute15
      ,otp_attribute16
      ,otp_attribute17
      ,otp_attribute18
      ,otp_attribute19
      ,otp_attribute20
      ,otp_attribute21
      ,otp_attribute22
      ,otp_attribute23
      ,otp_attribute24
      ,otp_attribute25
      ,otp_attribute26
      ,otp_attribute27
      ,otp_attribute28
      ,otp_attribute29
      ,otp_attribute30
      ,object_version_number
      ,created_by
      ,creation_date
      ,last_update_date
      ,last_updated_by
      ,last_update_login
      )
  Values
    (p_rec.optip_id
    ,p_rec.effective_start_date
    ,p_rec.effective_end_date
    ,p_rec.business_group_id
    ,p_rec.pgm_id
    ,p_rec.ptip_id
    ,p_rec.pl_typ_id
    ,p_rec.opt_id
    ,p_rec.cmbn_ptip_opt_id
    ,p_rec.legislation_code
    ,p_rec.legislation_subgroup
    ,p_rec.otp_attribute_category
    ,p_rec.otp_attribute1
    ,p_rec.otp_attribute2
    ,p_rec.otp_attribute3
    ,p_rec.otp_attribute4
    ,p_rec.otp_attribute5
    ,p_rec.otp_attribute6
    ,p_rec.otp_attribute7
    ,p_rec.otp_attribute8
    ,p_rec.otp_attribute9
    ,p_rec.otp_attribute10
    ,p_rec.otp_attribute11
    ,p_rec.otp_attribute12
    ,p_rec.otp_attribute13
    ,p_rec.otp_attribute14
    ,p_rec.otp_attribute15
    ,p_rec.otp_attribute16
    ,p_rec.otp_attribute17
    ,p_rec.otp_attribute18
    ,p_rec.otp_attribute19
    ,p_rec.otp_attribute20
    ,p_rec.otp_attribute21
    ,p_rec.otp_attribute22
    ,p_rec.otp_attribute23
    ,p_rec.otp_attribute24
    ,p_rec.otp_attribute25
    ,p_rec.otp_attribute26
    ,p_rec.otp_attribute27
    ,p_rec.otp_attribute28
    ,p_rec.otp_attribute29
    ,p_rec.otp_attribute30
    ,p_rec.object_version_number
    ,l_created_by
    ,l_creation_date
    ,l_last_update_date
    ,l_last_updated_by
    ,l_last_update_login
    );
Line: 252

End dt_insert_dml;
Line: 257

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

  ben_otp_ins.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: 279

End insert_dml;
Line: 320

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

  Cursor C_Sel1 is select ben_optip_s.nextval from sys.dual;
Line: 344

End pre_insert;
Line: 378

Procedure post_insert
  (p_rec                   in ben_otp_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: 392

    ben_otp_rki.after_insert
      (p_effective_date
      => p_effective_date
      ,p_validation_start_date
      => p_validation_start_date
      ,p_validation_end_date
      => p_validation_end_date
      ,p_optip_id
      => p_rec.optip_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_pgm_id
      => p_rec.pgm_id
      ,p_ptip_id
      => p_rec.ptip_id
      ,p_pl_typ_id
      => p_rec.pl_typ_id
      ,p_opt_id
      => p_rec.opt_id
      ,p_cmbn_ptip_opt_id
      => p_rec.cmbn_ptip_opt_id
      ,p_legislation_code
      => p_rec.legislation_code
      ,p_legislation_subgroup
      => p_rec.legislation_subgroup
      ,p_otp_attribute_category
      => p_rec.otp_attribute_category
      ,p_otp_attribute1
      => p_rec.otp_attribute1
      ,p_otp_attribute2
      => p_rec.otp_attribute2
      ,p_otp_attribute3
      => p_rec.otp_attribute3
      ,p_otp_attribute4
      => p_rec.otp_attribute4
      ,p_otp_attribute5
      => p_rec.otp_attribute5
      ,p_otp_attribute6
      => p_rec.otp_attribute6
      ,p_otp_attribute7
      => p_rec.otp_attribute7
      ,p_otp_attribute8
      => p_rec.otp_attribute8
      ,p_otp_attribute9
      => p_rec.otp_attribute9
      ,p_otp_attribute10
      => p_rec.otp_attribute10
      ,p_otp_attribute11
      => p_rec.otp_attribute11
      ,p_otp_attribute12
      => p_rec.otp_attribute12
      ,p_otp_attribute13
      => p_rec.otp_attribute13
      ,p_otp_attribute14
      => p_rec.otp_attribute14
      ,p_otp_attribute15
      => p_rec.otp_attribute15
      ,p_otp_attribute16
      => p_rec.otp_attribute16
      ,p_otp_attribute17
      => p_rec.otp_attribute17
      ,p_otp_attribute18
      => p_rec.otp_attribute18
      ,p_otp_attribute19
      => p_rec.otp_attribute19
      ,p_otp_attribute20
      => p_rec.otp_attribute20
      ,p_otp_attribute21
      => p_rec.otp_attribute21
      ,p_otp_attribute22
      => p_rec.otp_attribute22
      ,p_otp_attribute23
      => p_rec.otp_attribute23
      ,p_otp_attribute24
      => p_rec.otp_attribute24
      ,p_otp_attribute25
      => p_rec.otp_attribute25
      ,p_otp_attribute26
      => p_rec.otp_attribute26
      ,p_otp_attribute27
      => p_rec.otp_attribute27
      ,p_otp_attribute28
      => p_rec.otp_attribute28
      ,p_otp_attribute29
      => p_rec.otp_attribute29
      ,p_otp_attribute30
      => p_rec.otp_attribute30
      ,p_object_version_number
      => p_rec.object_version_number
      );
Line: 498

End post_insert;
Line: 592

  l_datetrack_mode              varchar2(30) := hr_api.g_insert;
Line: 611

  ben_otp_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: 621

  ben_otp_ins.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: 631

  ben_otp_ins.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: 641

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