DBA Data[Home] [Help]

APPS.BEN_BPP_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_bpp_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_prvdr_pool_f t
    where  t.bnft_prvdr_pool_id       = p_rec.bnft_prvdr_pool_id
    and    t.effective_start_date =
             ben_bpp_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_prvdr_pool_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_bnft_prvdr_pool_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_bnft_prvdr_pool_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: 134

  insert into ben_bnft_prvdr_pool_f
  (	bnft_prvdr_pool_id,
	effective_start_date,
	effective_end_date,
	name,
	pgm_pool_flag,
	excs_alwys_fftd_flag,
	use_for_pgm_pool_flag,
	pct_rndg_cd,
	pct_rndg_rl,
	val_rndg_cd,
	val_rndg_rl,
	dflt_excs_trtmt_cd,
	dflt_excs_trtmt_rl,
	rlovr_rstrcn_cd,
	no_mn_dstrbl_pct_flag,
	no_mn_dstrbl_val_flag,
	no_mx_dstrbl_pct_flag,
	no_mx_dstrbl_val_flag,
        auto_alct_excs_flag,
        alws_ngtv_crs_flag ,
        uses_net_crs_mthd_flag,
        mx_dfcit_pct_pool_crs_num ,
        mx_dfcit_pct_comp_num ,
        comp_lvl_fctr_id,
	mn_dstrbl_pct_num,
	mn_dstrbl_val,
	mx_dstrbl_pct_num,
	mx_dstrbl_val,
	excs_trtmt_cd,
	ptip_id,
	plip_id,
	pgm_id,
	oiplip_id,
	cmbn_plip_id,
	cmbn_ptip_id,
	cmbn_ptip_opt_id,
	business_group_id,
	bpp_attribute_category,
	bpp_attribute1,
	bpp_attribute2,
	bpp_attribute3,
	bpp_attribute4,
	bpp_attribute5,
	bpp_attribute6,
	bpp_attribute7,
	bpp_attribute8,
	bpp_attribute9,
	bpp_attribute10,
	bpp_attribute11,
	bpp_attribute12,
	bpp_attribute13,
	bpp_attribute14,
	bpp_attribute15,
	bpp_attribute16,
	bpp_attribute17,
	bpp_attribute18,
	bpp_attribute19,
	bpp_attribute20,
	bpp_attribute21,
	bpp_attribute22,
	bpp_attribute23,
	bpp_attribute24,
	bpp_attribute25,
	bpp_attribute26,
	bpp_attribute27,
	bpp_attribute28,
	bpp_attribute29,
	bpp_attribute30,
	object_version_number,
   	created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.bnft_prvdr_pool_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.name,
	p_rec.pgm_pool_flag,
	p_rec.excs_alwys_fftd_flag,
	p_rec.use_for_pgm_pool_flag,
	p_rec.pct_rndg_cd,
	p_rec.pct_rndg_rl,
	p_rec.val_rndg_cd,
	p_rec.val_rndg_rl,
	p_rec.dflt_excs_trtmt_cd,
	p_rec.dflt_excs_trtmt_rl,
	p_rec.rlovr_rstrcn_cd,
	p_rec.no_mn_dstrbl_pct_flag,
	p_rec.no_mn_dstrbl_val_flag,
	p_rec.no_mx_dstrbl_pct_flag,
	p_rec.no_mx_dstrbl_val_flag,
        p_rec.auto_alct_excs_flag,
        p_rec.alws_ngtv_crs_flag ,
        p_rec.uses_net_crs_mthd_flag,
        p_rec.mx_dfcit_pct_pool_crs_num ,
        p_rec.mx_dfcit_pct_comp_num ,
        p_rec.comp_lvl_fctr_id,
	p_rec.mn_dstrbl_pct_num,
	p_rec.mn_dstrbl_val,
	p_rec.mx_dstrbl_pct_num,
	p_rec.mx_dstrbl_val,
	p_rec.excs_trtmt_cd,
	p_rec.ptip_id,
	p_rec.plip_id,
	p_rec.pgm_id,
	p_rec.oiplip_id,
	p_rec.cmbn_plip_id,
	p_rec.cmbn_ptip_id,
	p_rec.cmbn_ptip_opt_id,
	p_rec.business_group_id,
	p_rec.bpp_attribute_category,
	p_rec.bpp_attribute1,
	p_rec.bpp_attribute2,
	p_rec.bpp_attribute3,
	p_rec.bpp_attribute4,
	p_rec.bpp_attribute5,
	p_rec.bpp_attribute6,
	p_rec.bpp_attribute7,
	p_rec.bpp_attribute8,
	p_rec.bpp_attribute9,
	p_rec.bpp_attribute10,
	p_rec.bpp_attribute11,
	p_rec.bpp_attribute12,
	p_rec.bpp_attribute13,
	p_rec.bpp_attribute14,
	p_rec.bpp_attribute15,
	p_rec.bpp_attribute16,
	p_rec.bpp_attribute17,
	p_rec.bpp_attribute18,
	p_rec.bpp_attribute19,
	p_rec.bpp_attribute20,
	p_rec.bpp_attribute21,
	p_rec.bpp_attribute22,
	p_rec.bpp_attribute23,
	p_rec.bpp_attribute24,
	p_rec.bpp_attribute25,
	p_rec.bpp_attribute26,
	p_rec.bpp_attribute27,
	p_rec.bpp_attribute28,
	p_rec.bpp_attribute29,
	p_rec.bpp_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: 305

End dt_insert_dml;
Line: 310

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

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

End insert_dml;
Line: 370

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

    select ben_bnft_prvdr_pool_f_s.nextval
    from   sys.dual;
Line: 391

End pre_insert;
Line: 425

Procedure post_insert
	(p_rec 			 in ben_bpp_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: 441

    ben_bpp_rki.after_insert
      (
  p_bnft_prvdr_pool_id             => p_rec.bnft_prvdr_pool_id
 ,p_effective_start_date           => p_rec.effective_start_date
 ,p_effective_end_date             => p_rec.effective_end_date
 ,p_name                           => p_rec.name
 ,p_pgm_pool_flag                  => p_rec.pgm_pool_flag
 ,p_excs_alwys_fftd_flag           => p_rec.excs_alwys_fftd_flag
 ,p_use_for_pgm_pool_flag          => p_rec.use_for_pgm_pool_flag
 ,p_pct_rndg_cd                    => p_rec.pct_rndg_cd
 ,p_pct_rndg_rl                    => p_rec.pct_rndg_rl
 ,p_val_rndg_cd                    => p_rec.val_rndg_cd
 ,p_val_rndg_rl                    => p_rec.val_rndg_rl
 ,p_dflt_excs_trtmt_cd             => p_rec.dflt_excs_trtmt_cd
 ,p_dflt_excs_trtmt_rl             => p_rec.dflt_excs_trtmt_rl
 ,p_rlovr_rstrcn_cd                => p_rec.rlovr_rstrcn_cd
 ,p_no_mn_dstrbl_pct_flag          => p_rec.no_mn_dstrbl_pct_flag
 ,p_no_mn_dstrbl_val_flag          => p_rec.no_mn_dstrbl_val_flag
 ,p_no_mx_dstrbl_pct_flag          => p_rec.no_mx_dstrbl_pct_flag
 ,p_no_mx_dstrbl_val_flag          => p_rec.no_mx_dstrbl_val_flag
 ,p_auto_alct_excs_flag            => p_rec.auto_alct_excs_flag
 ,p_alws_ngtv_crs_flag             => p_rec.alws_ngtv_crs_flag
 ,p_uses_net_crs_mthd_flag         => p_rec.uses_net_crs_mthd_flag
 ,p_mx_dfcit_pct_pool_crs_num      => p_rec.mx_dfcit_pct_pool_crs_num
 ,p_mx_dfcit_pct_comp_num           => p_rec.mx_dfcit_pct_comp_num
 ,p_comp_lvl_fctr_id               => p_rec.comp_lvl_fctr_id
 ,p_mn_dstrbl_pct_num              => p_rec.mn_dstrbl_pct_num
 ,p_mn_dstrbl_val                  => p_rec.mn_dstrbl_val
 ,p_mx_dstrbl_pct_num              => p_rec.mx_dstrbl_pct_num
 ,p_mx_dstrbl_val                  => p_rec.mx_dstrbl_val
 ,p_excs_trtmt_cd                  => p_rec.excs_trtmt_cd
 ,p_ptip_id                        => p_rec.ptip_id
 ,p_plip_id                        => p_rec.plip_id
 ,p_pgm_id                         => p_rec.pgm_id
 ,p_oiplip_id                      => p_rec.oiplip_id
 ,p_cmbn_plip_id                   => p_rec.cmbn_plip_id
 ,p_cmbn_ptip_id                   => p_rec.cmbn_ptip_id
 ,p_cmbn_ptip_opt_id               => p_rec.cmbn_ptip_opt_id
 ,p_business_group_id              => p_rec.business_group_id
 ,p_bpp_attribute_category         => p_rec.bpp_attribute_category
 ,p_bpp_attribute1                 => p_rec.bpp_attribute1
 ,p_bpp_attribute2                 => p_rec.bpp_attribute2
 ,p_bpp_attribute3                 => p_rec.bpp_attribute3
 ,p_bpp_attribute4                 => p_rec.bpp_attribute4
 ,p_bpp_attribute5                 => p_rec.bpp_attribute5
 ,p_bpp_attribute6                 => p_rec.bpp_attribute6
 ,p_bpp_attribute7                 => p_rec.bpp_attribute7
 ,p_bpp_attribute8                 => p_rec.bpp_attribute8
 ,p_bpp_attribute9                 => p_rec.bpp_attribute9
 ,p_bpp_attribute10                => p_rec.bpp_attribute10
 ,p_bpp_attribute11                => p_rec.bpp_attribute11
 ,p_bpp_attribute12                => p_rec.bpp_attribute12
 ,p_bpp_attribute13                => p_rec.bpp_attribute13
 ,p_bpp_attribute14                => p_rec.bpp_attribute14
 ,p_bpp_attribute15                => p_rec.bpp_attribute15
 ,p_bpp_attribute16                => p_rec.bpp_attribute16
 ,p_bpp_attribute17                => p_rec.bpp_attribute17
 ,p_bpp_attribute18                => p_rec.bpp_attribute18
 ,p_bpp_attribute19                => p_rec.bpp_attribute19
 ,p_bpp_attribute20                => p_rec.bpp_attribute20
 ,p_bpp_attribute21                => p_rec.bpp_attribute21
 ,p_bpp_attribute22                => p_rec.bpp_attribute22
 ,p_bpp_attribute23                => p_rec.bpp_attribute23
 ,p_bpp_attribute24                => p_rec.bpp_attribute24
 ,p_bpp_attribute25                => p_rec.bpp_attribute25
 ,p_bpp_attribute26                => p_rec.bpp_attribute26
 ,p_bpp_attribute27                => p_rec.bpp_attribute27
 ,p_bpp_attribute28                => p_rec.bpp_attribute28
 ,p_bpp_attribute29                => p_rec.bpp_attribute29
 ,p_bpp_attribute30                => p_rec.bpp_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: 531

End post_insert;
Line: 637

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

  ben_bpp_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: 664

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

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

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