DBA Data[Home] [Help]

APPS.BEN_PBN_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_pbn_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_f
    set
        pl_bnf_id                       = p_rec.pl_bnf_id,
    business_group_id               = p_rec.business_group_id,
    prtt_enrt_rslt_id               = p_rec.prtt_enrt_rslt_id,
    bnf_person_id                   = p_rec.bnf_person_id,
    organization_id                 = p_rec.organization_id,
    ttee_person_id                  = p_rec.ttee_person_id,
    prmry_cntngnt_cd                = p_rec.prmry_cntngnt_cd,
    pct_dsgd_num                    = p_rec.pct_dsgd_num,
    amt_dsgd_val                    = p_rec.amt_dsgd_val,
    amt_dsgd_uom                    = p_rec.amt_dsgd_uom,
    dsgn_strt_dt                    = p_rec.dsgn_strt_dt,
    dsgn_thru_dt                    = p_rec.dsgn_thru_dt,
    addl_instrn_txt                 = p_rec.addl_instrn_txt,
    pbn_attribute_category          = p_rec.pbn_attribute_category,
    pbn_attribute1                  = p_rec.pbn_attribute1,
    pbn_attribute2                  = p_rec.pbn_attribute2,
    pbn_attribute3                  = p_rec.pbn_attribute3,
    pbn_attribute4                  = p_rec.pbn_attribute4,
    pbn_attribute5                  = p_rec.pbn_attribute5,
    pbn_attribute6                  = p_rec.pbn_attribute6,
    pbn_attribute7                  = p_rec.pbn_attribute7,
    pbn_attribute8                  = p_rec.pbn_attribute8,
    pbn_attribute9                  = p_rec.pbn_attribute9,
    pbn_attribute10                 = p_rec.pbn_attribute10,
    pbn_attribute11                 = p_rec.pbn_attribute11,
    pbn_attribute12                 = p_rec.pbn_attribute12,
    pbn_attribute13                 = p_rec.pbn_attribute13,
    pbn_attribute14                 = p_rec.pbn_attribute14,
    pbn_attribute15                 = p_rec.pbn_attribute15,
    pbn_attribute16                 = p_rec.pbn_attribute16,
    pbn_attribute17                 = p_rec.pbn_attribute17,
    pbn_attribute18                 = p_rec.pbn_attribute18,
    pbn_attribute19                 = p_rec.pbn_attribute19,
    pbn_attribute20                 = p_rec.pbn_attribute20,
    pbn_attribute21                 = p_rec.pbn_attribute21,
    pbn_attribute22                 = p_rec.pbn_attribute22,
    pbn_attribute23                 = p_rec.pbn_attribute23,
    pbn_attribute24                 = p_rec.pbn_attribute24,
    pbn_attribute25                 = p_rec.pbn_attribute25,
    pbn_attribute26                 = p_rec.pbn_attribute26,
    pbn_attribute27                 = p_rec.pbn_attribute27,
    pbn_attribute28                 = p_rec.pbn_attribute28,
    pbn_attribute29                 = p_rec.pbn_attribute29,
    pbn_attribute30                 = p_rec.pbn_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,
    per_in_ler_id                   = p_rec.per_in_ler_id
    where   pl_bnf_id = p_rec.pl_bnf_id
    and     effective_start_date = p_validation_start_date
    and     effective_end_date   = p_validation_end_date;
Line: 164

End dt_update_dml;
Line: 197

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

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

End update_dml;
Line: 261

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

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

      ben_pbn_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: 303

    ben_pbn_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: 311

End dt_pre_update;
Line: 346

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

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

End pre_update;
Line: 402

Procedure post_update
	(p_rec 			 in ben_pbn_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: 419

    ben_pbn_rku.after_update
      (
  p_pl_bnf_id                     =>p_rec.pl_bnf_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_prtt_enrt_rslt_id             =>p_rec.prtt_enrt_rslt_id
 ,p_bnf_person_id                 =>p_rec.bnf_person_id
 ,p_organization_id               =>p_rec.organization_id
 ,p_ttee_person_id                =>p_rec.ttee_person_id
 ,p_prmry_cntngnt_cd              =>p_rec.prmry_cntngnt_cd
 ,p_pct_dsgd_num                  =>p_rec.pct_dsgd_num
 ,p_amt_dsgd_val                  =>p_rec.amt_dsgd_val
 ,p_amt_dsgd_uom                  =>p_rec.amt_dsgd_uom
 ,p_dsgn_strt_dt                  =>p_rec.dsgn_strt_dt
 ,p_dsgn_thru_dt                  =>p_rec.dsgn_thru_dt
 ,p_addl_instrn_txt               =>p_rec.addl_instrn_txt
 ,p_pbn_attribute_category        =>p_rec.pbn_attribute_category
 ,p_pbn_attribute1                =>p_rec.pbn_attribute1
 ,p_pbn_attribute2                =>p_rec.pbn_attribute2
 ,p_pbn_attribute3                =>p_rec.pbn_attribute3
 ,p_pbn_attribute4                =>p_rec.pbn_attribute4
 ,p_pbn_attribute5                =>p_rec.pbn_attribute5
 ,p_pbn_attribute6                =>p_rec.pbn_attribute6
 ,p_pbn_attribute7                =>p_rec.pbn_attribute7
 ,p_pbn_attribute8                =>p_rec.pbn_attribute8
 ,p_pbn_attribute9                =>p_rec.pbn_attribute9
 ,p_pbn_attribute10               =>p_rec.pbn_attribute10
 ,p_pbn_attribute11               =>p_rec.pbn_attribute11
 ,p_pbn_attribute12               =>p_rec.pbn_attribute12
 ,p_pbn_attribute13               =>p_rec.pbn_attribute13
 ,p_pbn_attribute14               =>p_rec.pbn_attribute14
 ,p_pbn_attribute15               =>p_rec.pbn_attribute15
 ,p_pbn_attribute16               =>p_rec.pbn_attribute16
 ,p_pbn_attribute17               =>p_rec.pbn_attribute17
 ,p_pbn_attribute18               =>p_rec.pbn_attribute18
 ,p_pbn_attribute19               =>p_rec.pbn_attribute19
 ,p_pbn_attribute20               =>p_rec.pbn_attribute20
 ,p_pbn_attribute21               =>p_rec.pbn_attribute21
 ,p_pbn_attribute22               =>p_rec.pbn_attribute22
 ,p_pbn_attribute23               =>p_rec.pbn_attribute23
 ,p_pbn_attribute24               =>p_rec.pbn_attribute24
 ,p_pbn_attribute25               =>p_rec.pbn_attribute25
 ,p_pbn_attribute26               =>p_rec.pbn_attribute26
 ,p_pbn_attribute27               =>p_rec.pbn_attribute27
 ,p_pbn_attribute28               =>p_rec.pbn_attribute28
 ,p_pbn_attribute29               =>p_rec.pbn_attribute29
 ,p_pbn_attribute30               =>p_rec.pbn_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_per_in_ler_id                 =>p_rec.per_in_ler_id
 ,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_pbn_shd.g_old_rec.effective_start_date
 ,p_effective_end_date_o          =>ben_pbn_shd.g_old_rec.effective_end_date
 ,p_business_group_id_o           =>ben_pbn_shd.g_old_rec.business_group_id
 ,p_prtt_enrt_rslt_id_o           =>ben_pbn_shd.g_old_rec.prtt_enrt_rslt_id
 ,p_bnf_person_id_o               =>ben_pbn_shd.g_old_rec.bnf_person_id
 ,p_organization_id_o             =>ben_pbn_shd.g_old_rec.organization_id
 ,p_ttee_person_id_o              =>ben_pbn_shd.g_old_rec.ttee_person_id
 ,p_prmry_cntngnt_cd_o            =>ben_pbn_shd.g_old_rec.prmry_cntngnt_cd
 ,p_pct_dsgd_num_o                =>ben_pbn_shd.g_old_rec.pct_dsgd_num
 ,p_amt_dsgd_val_o                =>ben_pbn_shd.g_old_rec.amt_dsgd_val
 ,p_amt_dsgd_uom_o                =>ben_pbn_shd.g_old_rec.amt_dsgd_uom
 ,p_dsgn_strt_dt_o                =>ben_pbn_shd.g_old_rec.dsgn_strt_dt
 ,p_dsgn_thru_dt_o                =>ben_pbn_shd.g_old_rec.dsgn_thru_dt
 ,p_addl_instrn_txt_o             =>ben_pbn_shd.g_old_rec.addl_instrn_txt
 ,p_pbn_attribute_category_o      =>ben_pbn_shd.g_old_rec.pbn_attribute_category
 ,p_pbn_attribute1_o              =>ben_pbn_shd.g_old_rec.pbn_attribute1
 ,p_pbn_attribute2_o              =>ben_pbn_shd.g_old_rec.pbn_attribute2
 ,p_pbn_attribute3_o              =>ben_pbn_shd.g_old_rec.pbn_attribute3
 ,p_pbn_attribute4_o              =>ben_pbn_shd.g_old_rec.pbn_attribute4
 ,p_pbn_attribute5_o              =>ben_pbn_shd.g_old_rec.pbn_attribute5
 ,p_pbn_attribute6_o              =>ben_pbn_shd.g_old_rec.pbn_attribute6
 ,p_pbn_attribute7_o              =>ben_pbn_shd.g_old_rec.pbn_attribute7
 ,p_pbn_attribute8_o              =>ben_pbn_shd.g_old_rec.pbn_attribute8
 ,p_pbn_attribute9_o              =>ben_pbn_shd.g_old_rec.pbn_attribute9
 ,p_pbn_attribute10_o             =>ben_pbn_shd.g_old_rec.pbn_attribute10
 ,p_pbn_attribute11_o             =>ben_pbn_shd.g_old_rec.pbn_attribute11
 ,p_pbn_attribute12_o             =>ben_pbn_shd.g_old_rec.pbn_attribute12
 ,p_pbn_attribute13_o             =>ben_pbn_shd.g_old_rec.pbn_attribute13
 ,p_pbn_attribute14_o             =>ben_pbn_shd.g_old_rec.pbn_attribute14
 ,p_pbn_attribute15_o             =>ben_pbn_shd.g_old_rec.pbn_attribute15
 ,p_pbn_attribute16_o             =>ben_pbn_shd.g_old_rec.pbn_attribute16
 ,p_pbn_attribute17_o             =>ben_pbn_shd.g_old_rec.pbn_attribute17
 ,p_pbn_attribute18_o             =>ben_pbn_shd.g_old_rec.pbn_attribute18
 ,p_pbn_attribute19_o             =>ben_pbn_shd.g_old_rec.pbn_attribute19
 ,p_pbn_attribute20_o             =>ben_pbn_shd.g_old_rec.pbn_attribute20
 ,p_pbn_attribute21_o             =>ben_pbn_shd.g_old_rec.pbn_attribute21
 ,p_pbn_attribute22_o             =>ben_pbn_shd.g_old_rec.pbn_attribute22
 ,p_pbn_attribute23_o             =>ben_pbn_shd.g_old_rec.pbn_attribute23
 ,p_pbn_attribute24_o             =>ben_pbn_shd.g_old_rec.pbn_attribute24
 ,p_pbn_attribute25_o             =>ben_pbn_shd.g_old_rec.pbn_attribute25
 ,p_pbn_attribute26_o             =>ben_pbn_shd.g_old_rec.pbn_attribute26
 ,p_pbn_attribute27_o             =>ben_pbn_shd.g_old_rec.pbn_attribute27
 ,p_pbn_attribute28_o             =>ben_pbn_shd.g_old_rec.pbn_attribute28
 ,p_pbn_attribute29_o             =>ben_pbn_shd.g_old_rec.pbn_attribute29
 ,p_pbn_attribute30_o             =>ben_pbn_shd.g_old_rec.pbn_attribute30
 ,p_request_id_o                  =>ben_pbn_shd.g_old_rec.request_id
 ,p_program_application_id_o      =>ben_pbn_shd.g_old_rec.program_application_id
 ,p_program_id_o                  =>ben_pbn_shd.g_old_rec.program_id
 ,p_program_update_date_o         =>ben_pbn_shd.g_old_rec.program_update_date
 ,p_object_version_number_o       =>ben_pbn_shd.g_old_rec.object_version_number
 ,p_per_in_ler_id_o               =>ben_pbn_shd.g_old_rec.per_in_ler_id
      );
Line: 544

End post_update;
Line: 786

  If (p_rec.program_update_date = hr_api.g_date) then
    p_rec.program_update_date :=
    ben_pbn_shd.g_old_rec.program_update_date;
Line: 837

  ben_pbn_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: 846

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

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

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

  p_program_update_date          in date             default hr_api.g_date,
  p_object_version_number        in out nocopy number,
  p_per_in_ler_id                in number           default hr_api.g_number,
  p_effective_date               in date,
  p_datetrack_mode               in varchar2
  ) is
--
  l_rec		ben_pbn_shd.g_rec_type;
Line: 994

  p_program_update_date,
  p_object_version_number,
  p_per_in_ler_id
  );