DBA Data[Home] [Help]

APPS.BEN_DDR_DEL SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 53

Procedure dt_delete_dml
	(p_rec 			 in out nocopy ben_ddr_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_delete_dml';
Line: 64

  If (p_datetrack_mode = 'DELETE_NEXT_CHANGE') then
    hr_utility.set_location(l_proc, 10);
Line: 71

    delete from ben_dsgn_rqmt_f
    where       dsgn_rqmt_id = p_rec.dsgn_rqmt_id
    and	  effective_start_date = p_validation_start_date;
Line: 83

    delete from ben_dsgn_rqmt_f
    where        dsgn_rqmt_id = p_rec.dsgn_rqmt_id
    and	  effective_start_date >= p_validation_start_date;
Line: 96

End dt_delete_dml;
Line: 101

Procedure delete_dml
	(p_rec 			 in out nocopy ben_ddr_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||'delete_dml';
Line: 113

  dt_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: 120

End delete_dml;
Line: 155

Procedure dt_pre_delete
	(p_rec 			 in out nocopy ben_ddr_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_delete';
Line: 171

    If (p_datetrack_mode = 'DELETE') then
      p_rec.effective_end_date := p_validation_start_date - 1;
Line: 191

End dt_pre_delete;
Line: 226

Procedure pre_delete
	(p_rec 			 in out nocopy ben_ddr_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_delete';
Line: 242

  dt_pre_delete
    (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: 250

End pre_delete;
Line: 284

Procedure post_delete
	(p_rec 			 in ben_ddr_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_delete';
Line: 301

    ben_ddr_rkd.after_delete
      (
  p_dsgn_rqmt_id                  =>p_rec.dsgn_rqmt_id
 ,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          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_effective_start_date_o        =>ben_ddr_shd.g_old_rec.effective_start_date
 ,p_effective_end_date_o          =>ben_ddr_shd.g_old_rec.effective_end_date
 ,p_mn_dpnts_rqd_num_o            =>ben_ddr_shd.g_old_rec.mn_dpnts_rqd_num
 ,p_mx_dpnts_alwd_num_o           =>ben_ddr_shd.g_old_rec.mx_dpnts_alwd_num
 ,p_no_mn_num_dfnd_flag_o         =>ben_ddr_shd.g_old_rec.no_mn_num_dfnd_flag
 ,p_no_mx_num_dfnd_flag_o         =>ben_ddr_shd.g_old_rec.no_mx_num_dfnd_flag
 ,p_cvr_all_elig_flag_o           =>ben_ddr_shd.g_old_rec.cvr_all_elig_flag
 ,p_oipl_id_o                     =>ben_ddr_shd.g_old_rec.oipl_id
 ,p_pl_id_o                       =>ben_ddr_shd.g_old_rec.pl_id
 ,p_opt_id_o                      =>ben_ddr_shd.g_old_rec.opt_id
 ,p_grp_rlshp_cd_o                =>ben_ddr_shd.g_old_rec.grp_rlshp_cd
 ,p_dsgn_typ_cd_o                 =>ben_ddr_shd.g_old_rec.dsgn_typ_cd
 ,p_business_group_id_o           =>ben_ddr_shd.g_old_rec.business_group_id
 ,p_ddr_attribute_category_o      =>ben_ddr_shd.g_old_rec.ddr_attribute_category
 ,p_ddr_attribute1_o              =>ben_ddr_shd.g_old_rec.ddr_attribute1
 ,p_ddr_attribute2_o              =>ben_ddr_shd.g_old_rec.ddr_attribute2
 ,p_ddr_attribute3_o              =>ben_ddr_shd.g_old_rec.ddr_attribute3
 ,p_ddr_attribute4_o              =>ben_ddr_shd.g_old_rec.ddr_attribute4
 ,p_ddr_attribute5_o              =>ben_ddr_shd.g_old_rec.ddr_attribute5
 ,p_ddr_attribute6_o              =>ben_ddr_shd.g_old_rec.ddr_attribute6
 ,p_ddr_attribute7_o              =>ben_ddr_shd.g_old_rec.ddr_attribute7
 ,p_ddr_attribute8_o              =>ben_ddr_shd.g_old_rec.ddr_attribute8
 ,p_ddr_attribute9_o              =>ben_ddr_shd.g_old_rec.ddr_attribute9
 ,p_ddr_attribute10_o             =>ben_ddr_shd.g_old_rec.ddr_attribute10
 ,p_ddr_attribute11_o             =>ben_ddr_shd.g_old_rec.ddr_attribute11
 ,p_ddr_attribute12_o             =>ben_ddr_shd.g_old_rec.ddr_attribute12
 ,p_ddr_attribute13_o             =>ben_ddr_shd.g_old_rec.ddr_attribute13
 ,p_ddr_attribute14_o             =>ben_ddr_shd.g_old_rec.ddr_attribute14
 ,p_ddr_attribute15_o             =>ben_ddr_shd.g_old_rec.ddr_attribute15
 ,p_ddr_attribute16_o             =>ben_ddr_shd.g_old_rec.ddr_attribute16
 ,p_ddr_attribute17_o             =>ben_ddr_shd.g_old_rec.ddr_attribute17
 ,p_ddr_attribute18_o             =>ben_ddr_shd.g_old_rec.ddr_attribute18
 ,p_ddr_attribute19_o             =>ben_ddr_shd.g_old_rec.ddr_attribute19
 ,p_ddr_attribute20_o             =>ben_ddr_shd.g_old_rec.ddr_attribute20
 ,p_ddr_attribute21_o             =>ben_ddr_shd.g_old_rec.ddr_attribute21
 ,p_ddr_attribute22_o             =>ben_ddr_shd.g_old_rec.ddr_attribute22
 ,p_ddr_attribute23_o             =>ben_ddr_shd.g_old_rec.ddr_attribute23
 ,p_ddr_attribute24_o             =>ben_ddr_shd.g_old_rec.ddr_attribute24
 ,p_ddr_attribute25_o             =>ben_ddr_shd.g_old_rec.ddr_attribute25
 ,p_ddr_attribute26_o             =>ben_ddr_shd.g_old_rec.ddr_attribute26
 ,p_ddr_attribute27_o             =>ben_ddr_shd.g_old_rec.ddr_attribute27
 ,p_ddr_attribute28_o             =>ben_ddr_shd.g_old_rec.ddr_attribute28
 ,p_ddr_attribute29_o             =>ben_ddr_shd.g_old_rec.ddr_attribute29
 ,p_ddr_attribute30_o             =>ben_ddr_shd.g_old_rec.ddr_attribute30
 ,p_object_version_number_o       =>ben_ddr_shd.g_old_rec.object_version_number
      );
Line: 370

End post_delete;
Line: 405

  ben_ddr_bus.delete_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: 414

  pre_delete
	(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: 423

  delete_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: 432

  post_delete
	(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);