DBA Data[Home] [Help]

APPS.BEN_PRT_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_prt_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_poe_rt_f t
    where  t.poe_rt_id       = p_rec.poe_rt_id
    and    t.effective_start_date =
             ben_prt_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_poe_rt_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_poe_rt_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_poe_rt_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_poe_rt_f
  (	poe_rt_id,
	effective_start_date,
	effective_end_date,
	mn_poe_num,
	mx_poe_num,
	no_mn_poe_flag,
	no_mx_poe_flag,
	rndg_cd,
	rndg_rl,
	poe_nnmntry_uom,
	vrbl_rt_prfl_id,
	business_group_id,
	prt_attribute_category,
	prt_attribute1,
	prt_attribute2,
	prt_attribute3,
	prt_attribute4,
	prt_attribute5,
	prt_attribute6,
	prt_attribute7,
	prt_attribute8,
	prt_attribute9,
	prt_attribute10,
	prt_attribute11,
	prt_attribute12,
	prt_attribute13,
	prt_attribute14,
	prt_attribute15,
	prt_attribute16,
	prt_attribute17,
	prt_attribute18,
	prt_attribute19,
	prt_attribute20,
	prt_attribute21,
	prt_attribute22,
	prt_attribute23,
	prt_attribute24,
	prt_attribute25,
	prt_attribute26,
	prt_attribute27,
	prt_attribute28,
	prt_attribute29,
	prt_attribute30,
	object_version_number,
	cbr_dsblty_apls_flag
   	, created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.poe_rt_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.mn_poe_num,
	p_rec.mx_poe_num,
	p_rec.no_mn_poe_flag,
	p_rec.no_mx_poe_flag,
	p_rec.rndg_cd,
	p_rec.rndg_rl,
	p_rec.poe_nnmntry_uom,
	p_rec.vrbl_rt_prfl_id,
	p_rec.business_group_id,
	p_rec.prt_attribute_category,
	p_rec.prt_attribute1,
	p_rec.prt_attribute2,
	p_rec.prt_attribute3,
	p_rec.prt_attribute4,
	p_rec.prt_attribute5,
	p_rec.prt_attribute6,
	p_rec.prt_attribute7,
	p_rec.prt_attribute8,
	p_rec.prt_attribute9,
	p_rec.prt_attribute10,
	p_rec.prt_attribute11,
	p_rec.prt_attribute12,
	p_rec.prt_attribute13,
	p_rec.prt_attribute14,
	p_rec.prt_attribute15,
	p_rec.prt_attribute16,
	p_rec.prt_attribute17,
	p_rec.prt_attribute18,
	p_rec.prt_attribute19,
	p_rec.prt_attribute20,
	p_rec.prt_attribute21,
	p_rec.prt_attribute22,
	p_rec.prt_attribute23,
	p_rec.prt_attribute24,
	p_rec.prt_attribute25,
	p_rec.prt_attribute26,
	p_rec.prt_attribute27,
	p_rec.prt_attribute28,
	p_rec.prt_attribute29,
	p_rec.prt_attribute30,
	p_rec.object_version_number,
	p_rec.cbr_dsblty_apls_flag
	, l_created_by,
   	l_creation_date,
   	l_last_update_date,
   	l_last_updated_by,
   	l_last_update_login
  );
Line: 255

End dt_insert_dml;
Line: 260

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

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

End insert_dml;
Line: 320

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

    select ben_poe_rt_f_s.nextval
    from   sys.dual;
Line: 344

End pre_insert;
Line: 378

Procedure post_insert
	(p_rec 			 in ben_prt_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: 395

    ben_prt_rki.after_insert
      (
  p_poe_rt_id                     =>p_rec.poe_rt_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_mn_poe_num                    =>p_rec.mn_poe_num
 ,p_mx_poe_num                    =>p_rec.mx_poe_num
 ,p_no_mn_poe_flag                =>p_rec.no_mn_poe_flag
 ,p_no_mx_poe_flag                =>p_rec.no_mx_poe_flag
 ,p_rndg_cd                       =>p_rec.rndg_cd
 ,p_rndg_rl                       =>p_rec.rndg_rl
 ,p_poe_nnmntry_uom               =>p_rec.poe_nnmntry_uom
 ,p_vrbl_rt_prfl_id               =>p_rec.vrbl_rt_prfl_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_prt_attribute_category        =>p_rec.prt_attribute_category
 ,p_prt_attribute1                =>p_rec.prt_attribute1
 ,p_prt_attribute2                =>p_rec.prt_attribute2
 ,p_prt_attribute3                =>p_rec.prt_attribute3
 ,p_prt_attribute4                =>p_rec.prt_attribute4
 ,p_prt_attribute5                =>p_rec.prt_attribute5
 ,p_prt_attribute6                =>p_rec.prt_attribute6
 ,p_prt_attribute7                =>p_rec.prt_attribute7
 ,p_prt_attribute8                =>p_rec.prt_attribute8
 ,p_prt_attribute9                =>p_rec.prt_attribute9
 ,p_prt_attribute10               =>p_rec.prt_attribute10
 ,p_prt_attribute11               =>p_rec.prt_attribute11
 ,p_prt_attribute12               =>p_rec.prt_attribute12
 ,p_prt_attribute13               =>p_rec.prt_attribute13
 ,p_prt_attribute14               =>p_rec.prt_attribute14
 ,p_prt_attribute15               =>p_rec.prt_attribute15
 ,p_prt_attribute16               =>p_rec.prt_attribute16
 ,p_prt_attribute17               =>p_rec.prt_attribute17
 ,p_prt_attribute18               =>p_rec.prt_attribute18
 ,p_prt_attribute19               =>p_rec.prt_attribute19
 ,p_prt_attribute20               =>p_rec.prt_attribute20
 ,p_prt_attribute21               =>p_rec.prt_attribute21
 ,p_prt_attribute22               =>p_rec.prt_attribute22
 ,p_prt_attribute23               =>p_rec.prt_attribute23
 ,p_prt_attribute24               =>p_rec.prt_attribute24
 ,p_prt_attribute25               =>p_rec.prt_attribute25
 ,p_prt_attribute26               =>p_rec.prt_attribute26
 ,p_prt_attribute27               =>p_rec.prt_attribute27
 ,p_prt_attribute28               =>p_rec.prt_attribute28
 ,p_prt_attribute29               =>p_rec.prt_attribute29
 ,p_prt_attribute30               =>p_rec.prt_attribute30
 ,p_object_version_number         =>p_rec.object_version_number
 ,p_cbr_dsblty_apls_flag          =>p_rec.cbr_dsblty_apls_flag
 ,p_effective_date                =>p_effective_date
 ,p_validation_start_date         =>p_validation_start_date
 ,p_validation_end_date           =>p_validation_end_date
      );
Line: 461

End post_insert;
Line: 549

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

  ben_prt_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: 576

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

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

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