DBA Data[Home] [Help]

APPS.BEN_PRY_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_pry_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_rmt_aprvd_fr_pymt_f t
    where  t.prtt_rmt_aprvd_fr_pymt_id       = p_rec.prtt_rmt_aprvd_fr_pymt_id
    and    t.effective_start_date =
             ben_pry_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_rmt_aprvd_fr_pymt_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_prtt_rmt_aprvd_fr_pymt_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_prtt_rmt_aprvd_fr_pymt_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_prtt_rmt_aprvd_fr_pymt_f
      (prtt_rmt_aprvd_fr_pymt_id
      ,prtt_reimbmt_rqst_id
      ,effective_start_date
      ,effective_end_date
      ,apprvd_fr_pymt_num
      ,adjmt_flag
      ,aprvd_fr_pymt_amt
      ,pymt_stat_cd
      ,pymt_stat_rsn_cd
      ,pymt_stat_ovrdn_rsn_cd
      ,pymt_stat_prr_to_ovrd_cd
      ,business_group_id
      ,element_entry_value_id
      ,pry_attribute_category
      ,pry_attribute1
      ,pry_attribute2
      ,pry_attribute3
      ,pry_attribute4
      ,pry_attribute5
      ,pry_attribute6
      ,pry_attribute7
      ,pry_attribute8
      ,pry_attribute9
      ,pry_attribute10
      ,pry_attribute11
      ,pry_attribute12
      ,pry_attribute13
      ,pry_attribute14
      ,pry_attribute15
      ,pry_attribute16
      ,pry_attribute17
      ,pry_attribute18
      ,pry_attribute19
      ,pry_attribute20
      ,pry_attribute21
      ,pry_attribute22
      ,pry_attribute23
      ,pry_attribute24
      ,pry_attribute25
      ,pry_attribute26
      ,pry_attribute27
      ,pry_attribute28
      ,pry_attribute29
      ,pry_attribute30
      ,object_version_number
      ,created_by
      ,creation_date
      ,last_update_date
      ,last_updated_by
      ,last_update_login
      )
  Values
    (p_rec.prtt_rmt_aprvd_fr_pymt_id
    ,p_rec.prtt_reimbmt_rqst_id
    ,p_rec.effective_start_date
    ,p_rec.effective_end_date
    ,p_rec.apprvd_fr_pymt_num
    ,p_rec.adjmt_flag
    ,p_rec.aprvd_fr_pymt_amt
    ,p_rec.pymt_stat_cd
    ,p_rec.pymt_stat_rsn_cd
    ,p_rec.pymt_stat_ovrdn_rsn_cd
    ,p_rec.pymt_stat_prr_to_ovrd_cd
    ,p_rec.business_group_id
    ,p_rec.element_entry_value_id
    ,p_rec.pry_attribute_category
    ,p_rec.pry_attribute1
    ,p_rec.pry_attribute2
    ,p_rec.pry_attribute3
    ,p_rec.pry_attribute4
    ,p_rec.pry_attribute5
    ,p_rec.pry_attribute6
    ,p_rec.pry_attribute7
    ,p_rec.pry_attribute8
    ,p_rec.pry_attribute9
    ,p_rec.pry_attribute10
    ,p_rec.pry_attribute11
    ,p_rec.pry_attribute12
    ,p_rec.pry_attribute13
    ,p_rec.pry_attribute14
    ,p_rec.pry_attribute15
    ,p_rec.pry_attribute16
    ,p_rec.pry_attribute17
    ,p_rec.pry_attribute18
    ,p_rec.pry_attribute19
    ,p_rec.pry_attribute20
    ,p_rec.pry_attribute21
    ,p_rec.pry_attribute22
    ,p_rec.pry_attribute23
    ,p_rec.pry_attribute24
    ,p_rec.pry_attribute25
    ,p_rec.pry_attribute26
    ,p_rec.pry_attribute27
    ,p_rec.pry_attribute28
    ,p_rec.pry_attribute29
    ,p_rec.pry_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: 256

End dt_insert_dml;
Line: 261

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

  ben_pry_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: 283

End insert_dml;
Line: 324

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

  Cursor C_Sel1 is select ben_prtt_rmt_aprvd_fr_pymt_s.nextval from sys.dual;
Line: 336

  select nvl(max(apprvd_fr_pymt_num),0) + 1
      from ben_prtt_rmt_aprvd_fr_pymt_f
      where prtt_reimbmt_rqst_id = p_rec.prtt_reimbmt_rqst_id ;
Line: 356

End pre_insert;
Line: 390

Procedure post_insert
  (p_rec                   in ben_pry_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: 404

    ben_pry_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_prtt_rmt_aprvd_fr_pymt_id
      => p_rec.prtt_rmt_aprvd_fr_pymt_id
      ,p_prtt_reimbmt_rqst_id
      => p_rec.prtt_reimbmt_rqst_id
      ,p_effective_start_date
      => p_rec.effective_start_date
      ,p_effective_end_date
      => p_rec.effective_end_date
      ,p_apprvd_fr_pymt_num
      => p_rec.apprvd_fr_pymt_num
      ,p_adjmt_flag
      => p_rec.adjmt_flag
      ,p_aprvd_fr_pymt_amt
      => p_rec.aprvd_fr_pymt_amt
      ,p_pymt_stat_cd
      => p_rec.pymt_stat_cd
      ,p_pymt_stat_rsn_cd
      => p_rec.pymt_stat_rsn_cd
      ,p_pymt_stat_ovrdn_rsn_cd
      => p_rec.pymt_stat_ovrdn_rsn_cd
      ,p_pymt_stat_prr_to_ovrd_cd
      => p_rec.pymt_stat_prr_to_ovrd_cd
      ,p_business_group_id
      => p_rec.business_group_id
      ,p_element_entry_value_id => p_rec.element_entry_value_id
      ,p_pry_attribute_category
      => p_rec.pry_attribute_category
      ,p_pry_attribute1
      => p_rec.pry_attribute1
      ,p_pry_attribute2
      => p_rec.pry_attribute2
      ,p_pry_attribute3
      => p_rec.pry_attribute3
      ,p_pry_attribute4
      => p_rec.pry_attribute4
      ,p_pry_attribute5
      => p_rec.pry_attribute5
      ,p_pry_attribute6
      => p_rec.pry_attribute6
      ,p_pry_attribute7
      => p_rec.pry_attribute7
      ,p_pry_attribute8
      => p_rec.pry_attribute8
      ,p_pry_attribute9
      => p_rec.pry_attribute9
      ,p_pry_attribute10
      => p_rec.pry_attribute10
      ,p_pry_attribute11
      => p_rec.pry_attribute11
      ,p_pry_attribute12
      => p_rec.pry_attribute12
      ,p_pry_attribute13
      => p_rec.pry_attribute13
      ,p_pry_attribute14
      => p_rec.pry_attribute14
      ,p_pry_attribute15
      => p_rec.pry_attribute15
      ,p_pry_attribute16
      => p_rec.pry_attribute16
      ,p_pry_attribute17
      => p_rec.pry_attribute17
      ,p_pry_attribute18
      => p_rec.pry_attribute18
      ,p_pry_attribute19
      => p_rec.pry_attribute19
      ,p_pry_attribute20
      => p_rec.pry_attribute20
      ,p_pry_attribute21
      => p_rec.pry_attribute21
      ,p_pry_attribute22
      => p_rec.pry_attribute22
      ,p_pry_attribute23
      => p_rec.pry_attribute23
      ,p_pry_attribute24
      => p_rec.pry_attribute24
      ,p_pry_attribute25
      => p_rec.pry_attribute25
      ,p_pry_attribute26
      => p_rec.pry_attribute26
      ,p_pry_attribute27
      => p_rec.pry_attribute27
      ,p_pry_attribute28
      => p_rec.pry_attribute28
      ,p_pry_attribute29
      => p_rec.pry_attribute29
      ,p_pry_attribute30
      => p_rec.pry_attribute30
      ,p_object_version_number
      => p_rec.object_version_number
      );
Line: 513

End post_insert;
Line: 601

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

  ben_pry_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: 630

  ben_pry_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: 640

  ben_pry_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: 650

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