DBA Data[Home] [Help]

APPS.BEN_PCM_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_pcm_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_per_cm_f
    set
    per_cm_id                       = p_rec.per_cm_id,
    lf_evt_ocrd_dt                  = p_rec.lf_evt_ocrd_dt,
    rqstbl_untl_dt                  = p_rec.rqstbl_untl_dt,
    ler_id                          = p_rec.ler_id,
    per_in_ler_id                   = p_rec.per_in_ler_id,
    prtt_enrt_actn_id               = p_rec.prtt_enrt_actn_id,
    person_id                       = p_rec.person_id,
    bnf_person_id                   = p_rec.bnf_person_id,
    dpnt_person_id                  = p_rec.dpnt_person_id,
    cm_typ_id                       = p_rec.cm_typ_id,
    business_group_id               = p_rec.business_group_id,
    pcm_attribute_category          = p_rec.pcm_attribute_category,
    pcm_attribute1                  = p_rec.pcm_attribute1,
    pcm_attribute2                  = p_rec.pcm_attribute2,
    pcm_attribute3                  = p_rec.pcm_attribute3,
    pcm_attribute4                  = p_rec.pcm_attribute4,
    pcm_attribute5                  = p_rec.pcm_attribute5,
    pcm_attribute6                  = p_rec.pcm_attribute6,
    pcm_attribute7                  = p_rec.pcm_attribute7,
    pcm_attribute8                  = p_rec.pcm_attribute8,
    pcm_attribute9                  = p_rec.pcm_attribute9,
    pcm_attribute10                 = p_rec.pcm_attribute10,
    pcm_attribute11                 = p_rec.pcm_attribute11,
    pcm_attribute12                 = p_rec.pcm_attribute12,
    pcm_attribute13                 = p_rec.pcm_attribute13,
    pcm_attribute14                 = p_rec.pcm_attribute14,
    pcm_attribute15                 = p_rec.pcm_attribute15,
    pcm_attribute16                 = p_rec.pcm_attribute16,
    pcm_attribute17                 = p_rec.pcm_attribute17,
    pcm_attribute18                 = p_rec.pcm_attribute18,
    pcm_attribute19                 = p_rec.pcm_attribute19,
    pcm_attribute20                 = p_rec.pcm_attribute20,
    pcm_attribute21                 = p_rec.pcm_attribute21,
    pcm_attribute22                 = p_rec.pcm_attribute22,
    pcm_attribute23                 = p_rec.pcm_attribute23,
    pcm_attribute24                 = p_rec.pcm_attribute24,
    pcm_attribute25                 = p_rec.pcm_attribute25,
    pcm_attribute26                 = p_rec.pcm_attribute26,
    pcm_attribute27                 = p_rec.pcm_attribute27,
    pcm_attribute28                 = p_rec.pcm_attribute28,
    pcm_attribute29                 = p_rec.pcm_attribute29,
    pcm_attribute30                 = p_rec.pcm_attribute30,
    request_id                      = p_rec.request_id,
    program_application_id          = p_rec.program_application_id,
    program_id                      = p_rec.program_id,
    program_update_date             = p_rec.program_update_date,
    object_version_number           = p_rec.object_version_number
    where   per_cm_id = p_rec.per_cm_id
    and     effective_start_date = p_validation_start_date
    and     effective_end_date   = p_validation_end_date;
Line: 161

End dt_update_dml;
Line: 194

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

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

End update_dml;
Line: 258

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

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

      ben_pcm_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: 300

    ben_pcm_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: 308

End dt_pre_update;
Line: 343

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

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

End pre_update;
Line: 399

Procedure post_update
	(p_rec 			 in ben_pcm_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: 416

    ben_pcm_rku.after_update
      (
  p_per_cm_id                     =>p_rec.per_cm_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_lf_evt_ocrd_dt                =>p_rec.lf_evt_ocrd_dt
 ,p_rqstbl_untl_dt                =>p_rec.rqstbl_untl_dt
 ,p_ler_id                        =>p_rec.ler_id
 ,p_per_in_ler_id                 =>p_rec.per_in_ler_id
 ,p_prtt_enrt_actn_id             =>p_rec.prtt_enrt_actn_id
 ,p_person_id                     =>p_rec.person_id
 ,p_bnf_person_id                 =>p_rec.bnf_person_id
 ,p_dpnt_person_id                =>p_rec.dpnt_person_id
 ,p_cm_typ_id                     =>p_rec.cm_typ_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_pcm_attribute_category        =>p_rec.pcm_attribute_category
 ,p_pcm_attribute1                =>p_rec.pcm_attribute1
 ,p_pcm_attribute2                =>p_rec.pcm_attribute2
 ,p_pcm_attribute3                =>p_rec.pcm_attribute3
 ,p_pcm_attribute4                =>p_rec.pcm_attribute4
 ,p_pcm_attribute5                =>p_rec.pcm_attribute5
 ,p_pcm_attribute6                =>p_rec.pcm_attribute6
 ,p_pcm_attribute7                =>p_rec.pcm_attribute7
 ,p_pcm_attribute8                =>p_rec.pcm_attribute8
 ,p_pcm_attribute9                =>p_rec.pcm_attribute9
 ,p_pcm_attribute10               =>p_rec.pcm_attribute10
 ,p_pcm_attribute11               =>p_rec.pcm_attribute11
 ,p_pcm_attribute12               =>p_rec.pcm_attribute12
 ,p_pcm_attribute13               =>p_rec.pcm_attribute13
 ,p_pcm_attribute14               =>p_rec.pcm_attribute14
 ,p_pcm_attribute15               =>p_rec.pcm_attribute15
 ,p_pcm_attribute16               =>p_rec.pcm_attribute16
 ,p_pcm_attribute17               =>p_rec.pcm_attribute17
 ,p_pcm_attribute18               =>p_rec.pcm_attribute18
 ,p_pcm_attribute19               =>p_rec.pcm_attribute19
 ,p_pcm_attribute20               =>p_rec.pcm_attribute20
 ,p_pcm_attribute21               =>p_rec.pcm_attribute21
 ,p_pcm_attribute22               =>p_rec.pcm_attribute22
 ,p_pcm_attribute23               =>p_rec.pcm_attribute23
 ,p_pcm_attribute24               =>p_rec.pcm_attribute24
 ,p_pcm_attribute25               =>p_rec.pcm_attribute25
 ,p_pcm_attribute26               =>p_rec.pcm_attribute26
 ,p_pcm_attribute27               =>p_rec.pcm_attribute27
 ,p_pcm_attribute28               =>p_rec.pcm_attribute28
 ,p_pcm_attribute29               =>p_rec.pcm_attribute29
 ,p_pcm_attribute30               =>p_rec.pcm_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_datetrack_mode                =>p_datetrack_mode
 ,p_validation_start_date         =>p_validation_start_date
 ,p_validation_end_date           =>p_validation_end_date
 ,p_effective_start_date_o        =>ben_pcm_shd.g_old_rec.effective_start_date
 ,p_effective_end_date_o          =>ben_pcm_shd.g_old_rec.effective_end_date
 ,p_lf_evt_ocrd_dt_o              =>ben_pcm_shd.g_old_rec.lf_evt_ocrd_dt
 ,p_rqstbl_untl_dt_o              =>ben_pcm_shd.g_old_rec.rqstbl_untl_dt
 ,p_ler_id_o                      =>ben_pcm_shd.g_old_rec.ler_id
 ,p_per_in_ler_id_o               =>ben_pcm_shd.g_old_rec.per_in_ler_id
 ,p_prtt_enrt_actn_id_o           =>ben_pcm_shd.g_old_rec.prtt_enrt_actn_id
 ,p_person_id_o                   =>ben_pcm_shd.g_old_rec.person_id
 ,p_bnf_person_id_o               =>ben_pcm_shd.g_old_rec.bnf_person_id
 ,p_dpnt_person_id_o              =>ben_pcm_shd.g_old_rec.dpnt_person_id
 ,p_cm_typ_id_o                   =>ben_pcm_shd.g_old_rec.cm_typ_id
 ,p_business_group_id_o           =>ben_pcm_shd.g_old_rec.business_group_id
 ,p_pcm_attribute_category_o      =>ben_pcm_shd.g_old_rec.pcm_attribute_category
 ,p_pcm_attribute1_o              =>ben_pcm_shd.g_old_rec.pcm_attribute1
 ,p_pcm_attribute2_o              =>ben_pcm_shd.g_old_rec.pcm_attribute2
 ,p_pcm_attribute3_o              =>ben_pcm_shd.g_old_rec.pcm_attribute3
 ,p_pcm_attribute4_o              =>ben_pcm_shd.g_old_rec.pcm_attribute4
 ,p_pcm_attribute5_o              =>ben_pcm_shd.g_old_rec.pcm_attribute5
 ,p_pcm_attribute6_o              =>ben_pcm_shd.g_old_rec.pcm_attribute6
 ,p_pcm_attribute7_o              =>ben_pcm_shd.g_old_rec.pcm_attribute7
 ,p_pcm_attribute8_o              =>ben_pcm_shd.g_old_rec.pcm_attribute8
 ,p_pcm_attribute9_o              =>ben_pcm_shd.g_old_rec.pcm_attribute9
 ,p_pcm_attribute10_o             =>ben_pcm_shd.g_old_rec.pcm_attribute10
 ,p_pcm_attribute11_o             =>ben_pcm_shd.g_old_rec.pcm_attribute11
 ,p_pcm_attribute12_o             =>ben_pcm_shd.g_old_rec.pcm_attribute12
 ,p_pcm_attribute13_o             =>ben_pcm_shd.g_old_rec.pcm_attribute13
 ,p_pcm_attribute14_o             =>ben_pcm_shd.g_old_rec.pcm_attribute14
 ,p_pcm_attribute15_o             =>ben_pcm_shd.g_old_rec.pcm_attribute15
 ,p_pcm_attribute16_o             =>ben_pcm_shd.g_old_rec.pcm_attribute16
 ,p_pcm_attribute17_o             =>ben_pcm_shd.g_old_rec.pcm_attribute17
 ,p_pcm_attribute18_o             =>ben_pcm_shd.g_old_rec.pcm_attribute18
 ,p_pcm_attribute19_o             =>ben_pcm_shd.g_old_rec.pcm_attribute19
 ,p_pcm_attribute20_o             =>ben_pcm_shd.g_old_rec.pcm_attribute20
 ,p_pcm_attribute21_o             =>ben_pcm_shd.g_old_rec.pcm_attribute21
 ,p_pcm_attribute22_o             =>ben_pcm_shd.g_old_rec.pcm_attribute22
 ,p_pcm_attribute23_o             =>ben_pcm_shd.g_old_rec.pcm_attribute23
 ,p_pcm_attribute24_o             =>ben_pcm_shd.g_old_rec.pcm_attribute24
 ,p_pcm_attribute25_o             =>ben_pcm_shd.g_old_rec.pcm_attribute25
 ,p_pcm_attribute26_o             =>ben_pcm_shd.g_old_rec.pcm_attribute26
 ,p_pcm_attribute27_o             =>ben_pcm_shd.g_old_rec.pcm_attribute27
 ,p_pcm_attribute28_o             =>ben_pcm_shd.g_old_rec.pcm_attribute28
 ,p_pcm_attribute29_o             =>ben_pcm_shd.g_old_rec.pcm_attribute29
 ,p_pcm_attribute30_o             =>ben_pcm_shd.g_old_rec.pcm_attribute30
 ,p_request_id_o                  =>ben_pcm_shd.g_old_rec.request_id
 ,p_program_application_id_o      =>ben_pcm_shd.g_old_rec.program_application_id
 ,p_program_id_o                  =>ben_pcm_shd.g_old_rec.program_id
 ,p_program_update_date_o         =>ben_pcm_shd.g_old_rec.program_update_date
 ,p_object_version_number_o       =>ben_pcm_shd.g_old_rec.object_version_number
      );
Line: 535

End post_update;
Line: 769

  If (p_rec.program_update_date = hr_api.g_date) then
    p_rec.program_update_date :=
    ben_pcm_shd.g_old_rec.program_update_date;
Line: 817

  ben_pcm_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: 826

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

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

  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);
Line: 904

  p_program_update_date          in date             default hr_api.g_date,
  p_object_version_number        in out nocopy number,
  p_effective_date		 in date,
  p_datetrack_mode		 in varchar2
  ) is
--
  l_rec		ben_pcm_shd.g_rec_type;
Line: 969

  p_program_update_date,
  p_object_version_number
  );