DBA Data[Home] [Help]

APPS.BEN_BPR_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_bpr_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_bnft_pool_rlovr_rqmt_f t
    where  t.bnft_pool_rlovr_rqmt_id       = p_rec.bnft_pool_rlovr_rqmt_id
    and    t.effective_start_date =
             ben_bpr_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_bnft_pool_rlovr_rqmt_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_bnft_pool_rlovr_rqmt_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_bnft_pool_rlovr_rqmt_f.last_update_login%TYPE;
Line: 102

  If (p_datetrack_mode <> 'INSERT') then
    hr_utility.set_location(l_proc, 10);
Line: 124

    l_last_update_date   := sysdate;
Line: 125

    l_last_updated_by    := fnd_global.user_id;
Line: 126

    l_last_update_login  := fnd_global.login_id;
Line: 133

  insert into ben_bnft_pool_rlovr_rqmt_f
  (	bnft_pool_rlovr_rqmt_id,
	effective_start_date,
	effective_end_date,
	no_mn_rlovr_pct_dfnd_flag,
	no_mx_rlovr_pct_dfnd_flag,
	no_mn_rlovr_val_dfnd_flag,
	no_mx_rlovr_val_dfnd_flag,
	rlovr_val_incrmt_num,
	rlovr_val_rl,
	mn_rlovr_val,
	mx_rlovr_val,
	val_rndg_cd,
	val_rndg_rl,
	pct_rndg_cd,
	pct_rndg_rl,
        prtt_elig_rlovr_rl,
	mx_rchd_dflt_ordr_num,
	pct_rlovr_incrmt_num,
	mn_rlovr_pct_num,
	mx_rlovr_pct_num,
        crs_rlovr_procg_cd,
        mx_pct_ttl_crs_cn_roll_num,
	bnft_prvdr_pool_id,
	acty_base_rt_id,
	business_group_id,
	bpr_attribute_category,
	bpr_attribute1,
	bpr_attribute2,
	bpr_attribute3,
	bpr_attribute4,
	bpr_attribute5,
	bpr_attribute6,
	bpr_attribute7,
	bpr_attribute8,
	bpr_attribute9,
	bpr_attribute10,
	bpr_attribute11,
	bpr_attribute12,
	bpr_attribute13,
	bpr_attribute14,
	bpr_attribute15,
	bpr_attribute16,
	bpr_attribute17,
	bpr_attribute18,
	bpr_attribute19,
	bpr_attribute20,
	bpr_attribute21,
	bpr_attribute22,
	bpr_attribute23,
	bpr_attribute24,
	bpr_attribute25,
	bpr_attribute26,
	bpr_attribute27,
	bpr_attribute28,
	bpr_attribute29,
	bpr_attribute30,
	object_version_number
   	, created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.bnft_pool_rlovr_rqmt_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.no_mn_rlovr_pct_dfnd_flag,
	p_rec.no_mx_rlovr_pct_dfnd_flag,
	p_rec.no_mn_rlovr_val_dfnd_flag,
	p_rec.no_mx_rlovr_val_dfnd_flag,
	p_rec.rlovr_val_incrmt_num,
	p_rec.rlovr_val_rl,
	p_rec.mn_rlovr_val,
	p_rec.mx_rlovr_val,
	p_rec.val_rndg_cd,
	p_rec.val_rndg_rl,
	p_rec.pct_rndg_cd,
	p_rec.pct_rndg_rl,
        p_rec.prtt_elig_rlovr_rl,
	p_rec.mx_rchd_dflt_ordr_num,
	p_rec.pct_rlovr_incrmt_num,
	p_rec.mn_rlovr_pct_num,
	p_rec.mx_rlovr_pct_num,
        p_rec.crs_rlovr_procg_cd,
        p_rec.mx_pct_ttl_crs_cn_roll_num,
	p_rec.bnft_prvdr_pool_id,
	p_rec.acty_base_rt_id,
	p_rec.business_group_id,
	p_rec.bpr_attribute_category,
	p_rec.bpr_attribute1,
	p_rec.bpr_attribute2,
	p_rec.bpr_attribute3,
	p_rec.bpr_attribute4,
	p_rec.bpr_attribute5,
	p_rec.bpr_attribute6,
	p_rec.bpr_attribute7,
	p_rec.bpr_attribute8,
	p_rec.bpr_attribute9,
	p_rec.bpr_attribute10,
	p_rec.bpr_attribute11,
	p_rec.bpr_attribute12,
	p_rec.bpr_attribute13,
	p_rec.bpr_attribute14,
	p_rec.bpr_attribute15,
	p_rec.bpr_attribute16,
	p_rec.bpr_attribute17,
	p_rec.bpr_attribute18,
	p_rec.bpr_attribute19,
	p_rec.bpr_attribute20,
	p_rec.bpr_attribute21,
	p_rec.bpr_attribute22,
	p_rec.bpr_attribute23,
	p_rec.bpr_attribute24,
	p_rec.bpr_attribute25,
	p_rec.bpr_attribute26,
	p_rec.bpr_attribute27,
	p_rec.bpr_attribute28,
	p_rec.bpr_attribute29,
	p_rec.bpr_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: 279

End dt_insert_dml;
Line: 284

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

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

End insert_dml;
Line: 344

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

    select ben_bnft_pool_rlovr_rqmt_f_s.nextval
    from   sys.dual;
Line: 365

End pre_insert;
Line: 399

Procedure post_insert
	(p_rec 			 in ben_bpr_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: 416

    ben_bpr_rki.after_insert
      (
  p_bnft_pool_rlovr_rqmt_id       =>p_rec.bnft_pool_rlovr_rqmt_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_no_mn_rlovr_pct_dfnd_flag     =>p_rec.no_mn_rlovr_pct_dfnd_flag
 ,p_no_mx_rlovr_pct_dfnd_flag     =>p_rec.no_mx_rlovr_pct_dfnd_flag
 ,p_no_mn_rlovr_val_dfnd_flag     =>p_rec.no_mn_rlovr_val_dfnd_flag
 ,p_no_mx_rlovr_val_dfnd_flag     =>p_rec.no_mx_rlovr_val_dfnd_flag
 ,p_rlovr_val_incrmt_num          =>p_rec.rlovr_val_incrmt_num
 ,p_rlovr_val_rl                  =>p_rec.rlovr_val_rl
 ,p_mn_rlovr_val                  =>p_rec.mn_rlovr_val
 ,p_mx_rlovr_val                  =>p_rec.mx_rlovr_val
 ,p_val_rndg_cd                   =>p_rec.val_rndg_cd
 ,p_val_rndg_rl                   =>p_rec.val_rndg_rl
 ,p_pct_rndg_cd                   =>p_rec.pct_rndg_cd
 ,p_pct_rndg_rl                   =>p_rec.pct_rndg_rl
 ,p_prtt_elig_rlovr_rl            =>p_rec.prtt_elig_rlovr_rl
 ,p_mx_rchd_dflt_ordr_num         =>p_rec.mx_rchd_dflt_ordr_num
 ,p_pct_rlovr_incrmt_num          =>p_rec.pct_rlovr_incrmt_num
 ,p_mn_rlovr_pct_num              =>p_rec.mn_rlovr_pct_num
 ,p_mx_rlovr_pct_num              =>p_rec.mx_rlovr_pct_num
 ,p_crs_rlovr_procg_cd            =>p_rec.crs_rlovr_procg_cd
 ,p_mx_pct_ttl_crs_cn_roll_num    =>p_rec.mx_pct_ttl_crs_cn_roll_num
 ,p_bnft_prvdr_pool_id            =>p_rec.bnft_prvdr_pool_id
 ,p_acty_base_rt_id               =>p_rec.acty_base_rt_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_bpr_attribute_category        =>p_rec.bpr_attribute_category
 ,p_bpr_attribute1                =>p_rec.bpr_attribute1
 ,p_bpr_attribute2                =>p_rec.bpr_attribute2
 ,p_bpr_attribute3                =>p_rec.bpr_attribute3
 ,p_bpr_attribute4                =>p_rec.bpr_attribute4
 ,p_bpr_attribute5                =>p_rec.bpr_attribute5
 ,p_bpr_attribute6                =>p_rec.bpr_attribute6
 ,p_bpr_attribute7                =>p_rec.bpr_attribute7
 ,p_bpr_attribute8                =>p_rec.bpr_attribute8
 ,p_bpr_attribute9                =>p_rec.bpr_attribute9
 ,p_bpr_attribute10               =>p_rec.bpr_attribute10
 ,p_bpr_attribute11               =>p_rec.bpr_attribute11
 ,p_bpr_attribute12               =>p_rec.bpr_attribute12
 ,p_bpr_attribute13               =>p_rec.bpr_attribute13
 ,p_bpr_attribute14               =>p_rec.bpr_attribute14
 ,p_bpr_attribute15               =>p_rec.bpr_attribute15
 ,p_bpr_attribute16               =>p_rec.bpr_attribute16
 ,p_bpr_attribute17               =>p_rec.bpr_attribute17
 ,p_bpr_attribute18               =>p_rec.bpr_attribute18
 ,p_bpr_attribute19               =>p_rec.bpr_attribute19
 ,p_bpr_attribute20               =>p_rec.bpr_attribute20
 ,p_bpr_attribute21               =>p_rec.bpr_attribute21
 ,p_bpr_attribute22               =>p_rec.bpr_attribute22
 ,p_bpr_attribute23               =>p_rec.bpr_attribute23
 ,p_bpr_attribute24               =>p_rec.bpr_attribute24
 ,p_bpr_attribute25               =>p_rec.bpr_attribute25
 ,p_bpr_attribute26               =>p_rec.bpr_attribute26
 ,p_bpr_attribute27               =>p_rec.bpr_attribute27
 ,p_bpr_attribute28               =>p_rec.bpr_attribute28
 ,p_bpr_attribute29               =>p_rec.bpr_attribute29
 ,p_bpr_attribute30               =>p_rec.bpr_attribute30
 ,p_object_version_number         =>p_rec.object_version_number
 ,p_effective_date                =>p_effective_date
 ,p_validation_start_date         =>p_validation_start_date
 ,p_validation_end_date           =>p_validation_end_date
      );
Line: 494

End post_insert;
Line: 585

  l_datetrack_mode		varchar2(30) := 'INSERT';
Line: 603

  ben_bpr_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: 612

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

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

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