DBA Data[Home] [Help]

APPS.BEN_PBC_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_pbc_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_pl_bnf_ctfn_prvdd_f
    set
        pl_bnf_ctfn_prvdd_id            = p_rec.pl_bnf_ctfn_prvdd_id,
    bnf_ctfn_typ_cd                 = p_rec.bnf_ctfn_typ_cd,
    bnf_ctfn_recd_dt                = p_rec.bnf_ctfn_recd_dt,
    bnf_ctfn_rqd_flag               = p_rec.bnf_ctfn_rqd_flag,
    pl_bnf_id                       = p_rec.pl_bnf_id,
    prtt_enrt_actn_id               = p_rec.prtt_enrt_actn_id,
    business_group_id               = p_rec.business_group_id,
    pbc_attribute_category          = p_rec.pbc_attribute_category,
    pbc_attribute1                  = p_rec.pbc_attribute1,
    pbc_attribute2                  = p_rec.pbc_attribute2,
    pbc_attribute3                  = p_rec.pbc_attribute3,
    pbc_attribute4                  = p_rec.pbc_attribute4,
    pbc_attribute5                  = p_rec.pbc_attribute5,
    pbc_attribute6                  = p_rec.pbc_attribute6,
    pbc_attribute7                  = p_rec.pbc_attribute7,
    pbc_attribute8                  = p_rec.pbc_attribute8,
    pbc_attribute9                  = p_rec.pbc_attribute9,
    pbc_attribute10                 = p_rec.pbc_attribute10,
    pbc_attribute11                 = p_rec.pbc_attribute11,
    pbc_attribute12                 = p_rec.pbc_attribute12,
    pbc_attribute13                 = p_rec.pbc_attribute13,
    pbc_attribute14                 = p_rec.pbc_attribute14,
    pbc_attribute15                 = p_rec.pbc_attribute15,
    pbc_attribute16                 = p_rec.pbc_attribute16,
    pbc_attribute17                 = p_rec.pbc_attribute17,
    pbc_attribute18                 = p_rec.pbc_attribute18,
    pbc_attribute19                 = p_rec.pbc_attribute19,
    pbc_attribute20                 = p_rec.pbc_attribute20,
    pbc_attribute21                 = p_rec.pbc_attribute21,
    pbc_attribute22                 = p_rec.pbc_attribute22,
    pbc_attribute23                 = p_rec.pbc_attribute23,
    pbc_attribute24                 = p_rec.pbc_attribute24,
    pbc_attribute25                 = p_rec.pbc_attribute25,
    pbc_attribute26                 = p_rec.pbc_attribute26,
    pbc_attribute27                 = p_rec.pbc_attribute27,
    pbc_attribute28                 = p_rec.pbc_attribute28,
    pbc_attribute29                 = p_rec.pbc_attribute29,
    pbc_attribute30                 = p_rec.pbc_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   pl_bnf_ctfn_prvdd_id = p_rec.pl_bnf_ctfn_prvdd_id
    and     effective_start_date = p_validation_start_date
    and     effective_end_date   = p_validation_end_date;
Line: 157

End dt_update_dml;
Line: 190

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

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

End update_dml;
Line: 254

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

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

      ben_pbc_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: 296

    ben_pbc_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: 304

End dt_pre_update;
Line: 339

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

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

End pre_update;
Line: 395

Procedure post_update
	(p_rec 			 in ben_pbc_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: 412

    ben_pbc_rku.after_update
      (
  p_pl_bnf_ctfn_prvdd_id          =>p_rec.pl_bnf_ctfn_prvdd_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_bnf_ctfn_typ_cd               =>p_rec.bnf_ctfn_typ_cd
 ,p_bnf_ctfn_recd_dt              =>p_rec.bnf_ctfn_recd_dt
 ,p_bnf_ctfn_rqd_flag             =>p_rec.bnf_ctfn_rqd_flag
 ,p_pl_bnf_id                     =>p_rec.pl_bnf_id
 ,p_prtt_enrt_actn_id             =>p_rec.prtt_enrt_actn_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_pbc_attribute_category        =>p_rec.pbc_attribute_category
 ,p_pbc_attribute1                =>p_rec.pbc_attribute1
 ,p_pbc_attribute2                =>p_rec.pbc_attribute2
 ,p_pbc_attribute3                =>p_rec.pbc_attribute3
 ,p_pbc_attribute4                =>p_rec.pbc_attribute4
 ,p_pbc_attribute5                =>p_rec.pbc_attribute5
 ,p_pbc_attribute6                =>p_rec.pbc_attribute6
 ,p_pbc_attribute7                =>p_rec.pbc_attribute7
 ,p_pbc_attribute8                =>p_rec.pbc_attribute8
 ,p_pbc_attribute9                =>p_rec.pbc_attribute9
 ,p_pbc_attribute10               =>p_rec.pbc_attribute10
 ,p_pbc_attribute11               =>p_rec.pbc_attribute11
 ,p_pbc_attribute12               =>p_rec.pbc_attribute12
 ,p_pbc_attribute13               =>p_rec.pbc_attribute13
 ,p_pbc_attribute14               =>p_rec.pbc_attribute14
 ,p_pbc_attribute15               =>p_rec.pbc_attribute15
 ,p_pbc_attribute16               =>p_rec.pbc_attribute16
 ,p_pbc_attribute17               =>p_rec.pbc_attribute17
 ,p_pbc_attribute18               =>p_rec.pbc_attribute18
 ,p_pbc_attribute19               =>p_rec.pbc_attribute19
 ,p_pbc_attribute20               =>p_rec.pbc_attribute20
 ,p_pbc_attribute21               =>p_rec.pbc_attribute21
 ,p_pbc_attribute22               =>p_rec.pbc_attribute22
 ,p_pbc_attribute23               =>p_rec.pbc_attribute23
 ,p_pbc_attribute24               =>p_rec.pbc_attribute24
 ,p_pbc_attribute25               =>p_rec.pbc_attribute25
 ,p_pbc_attribute26               =>p_rec.pbc_attribute26
 ,p_pbc_attribute27               =>p_rec.pbc_attribute27
 ,p_pbc_attribute28               =>p_rec.pbc_attribute28
 ,p_pbc_attribute29               =>p_rec.pbc_attribute29
 ,p_pbc_attribute30               =>p_rec.pbc_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_pbc_shd.g_old_rec.effective_start_date
 ,p_effective_end_date_o          =>ben_pbc_shd.g_old_rec.effective_end_date
 ,p_bnf_ctfn_typ_cd_o             =>ben_pbc_shd.g_old_rec.bnf_ctfn_typ_cd
 ,p_bnf_ctfn_recd_dt_o            =>ben_pbc_shd.g_old_rec.bnf_ctfn_recd_dt
 ,p_bnf_ctfn_rqd_flag_o           =>ben_pbc_shd.g_old_rec.bnf_ctfn_rqd_flag
 ,p_pl_bnf_id_o                   =>ben_pbc_shd.g_old_rec.pl_bnf_id
 ,p_prtt_enrt_actn_id_o           =>ben_pbc_shd.g_old_rec.prtt_enrt_actn_id
 ,p_business_group_id_o           =>ben_pbc_shd.g_old_rec.business_group_id
 ,p_pbc_attribute_category_o      =>ben_pbc_shd.g_old_rec.pbc_attribute_category
 ,p_pbc_attribute1_o              =>ben_pbc_shd.g_old_rec.pbc_attribute1
 ,p_pbc_attribute2_o              =>ben_pbc_shd.g_old_rec.pbc_attribute2
 ,p_pbc_attribute3_o              =>ben_pbc_shd.g_old_rec.pbc_attribute3
 ,p_pbc_attribute4_o              =>ben_pbc_shd.g_old_rec.pbc_attribute4
 ,p_pbc_attribute5_o              =>ben_pbc_shd.g_old_rec.pbc_attribute5
 ,p_pbc_attribute6_o              =>ben_pbc_shd.g_old_rec.pbc_attribute6
 ,p_pbc_attribute7_o              =>ben_pbc_shd.g_old_rec.pbc_attribute7
 ,p_pbc_attribute8_o              =>ben_pbc_shd.g_old_rec.pbc_attribute8
 ,p_pbc_attribute9_o              =>ben_pbc_shd.g_old_rec.pbc_attribute9
 ,p_pbc_attribute10_o             =>ben_pbc_shd.g_old_rec.pbc_attribute10
 ,p_pbc_attribute11_o             =>ben_pbc_shd.g_old_rec.pbc_attribute11
 ,p_pbc_attribute12_o             =>ben_pbc_shd.g_old_rec.pbc_attribute12
 ,p_pbc_attribute13_o             =>ben_pbc_shd.g_old_rec.pbc_attribute13
 ,p_pbc_attribute14_o             =>ben_pbc_shd.g_old_rec.pbc_attribute14
 ,p_pbc_attribute15_o             =>ben_pbc_shd.g_old_rec.pbc_attribute15
 ,p_pbc_attribute16_o             =>ben_pbc_shd.g_old_rec.pbc_attribute16
 ,p_pbc_attribute17_o             =>ben_pbc_shd.g_old_rec.pbc_attribute17
 ,p_pbc_attribute18_o             =>ben_pbc_shd.g_old_rec.pbc_attribute18
 ,p_pbc_attribute19_o             =>ben_pbc_shd.g_old_rec.pbc_attribute19
 ,p_pbc_attribute20_o             =>ben_pbc_shd.g_old_rec.pbc_attribute20
 ,p_pbc_attribute21_o             =>ben_pbc_shd.g_old_rec.pbc_attribute21
 ,p_pbc_attribute22_o             =>ben_pbc_shd.g_old_rec.pbc_attribute22
 ,p_pbc_attribute23_o             =>ben_pbc_shd.g_old_rec.pbc_attribute23
 ,p_pbc_attribute24_o             =>ben_pbc_shd.g_old_rec.pbc_attribute24
 ,p_pbc_attribute25_o             =>ben_pbc_shd.g_old_rec.pbc_attribute25
 ,p_pbc_attribute26_o             =>ben_pbc_shd.g_old_rec.pbc_attribute26
 ,p_pbc_attribute27_o             =>ben_pbc_shd.g_old_rec.pbc_attribute27
 ,p_pbc_attribute28_o             =>ben_pbc_shd.g_old_rec.pbc_attribute28
 ,p_pbc_attribute29_o             =>ben_pbc_shd.g_old_rec.pbc_attribute29
 ,p_pbc_attribute30_o             =>ben_pbc_shd.g_old_rec.pbc_attribute30
 ,p_request_id_o                  =>ben_pbc_shd.g_old_rec.request_id
 ,p_program_application_id_o      =>ben_pbc_shd.g_old_rec.program_application_id
 ,p_program_id_o                  =>ben_pbc_shd.g_old_rec.program_id
 ,p_program_update_date_o         =>ben_pbc_shd.g_old_rec.program_update_date
 ,p_object_version_number_o       =>ben_pbc_shd.g_old_rec.object_version_number
      );
Line: 523

End post_update;
Line: 741

  If (p_rec.program_update_date = hr_api.g_date) then
    p_rec.program_update_date :=
    ben_pbc_shd.g_old_rec.program_update_date;
Line: 789

  ben_pbc_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: 798

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

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

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

  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_pbc_shd.g_rec_type;
Line: 933

  p_program_update_date,
  p_object_version_number
  );