DBA Data[Home] [Help]

APPS.BEN_PAP_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_pap_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_prtt_anthr_pl_rt_f t
    where  t.prtt_anthr_pl_rt_id       = p_rec.prtt_anthr_pl_rt_id
    and    t.effective_start_date =
             ben_pap_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_prtt_anthr_pl_rt_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_prtt_anthr_pl_rt_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_prtt_anthr_pl_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_prtt_anthr_pl_rt_f
  (	prtt_anthr_pl_rt_id,
	effective_start_date,
	effective_end_date,
	excld_flag,
	ordr_num,
	vrbl_rt_prfl_id,
	pl_id,
	business_group_id,
	pap_attribute_category,
	pap_attribute1,
	pap_attribute2,
	pap_attribute3,
	pap_attribute4,
	pap_attribute5,
	pap_attribute6,
	pap_attribute7,
	pap_attribute8,
	pap_attribute9,
	pap_attribute10,
	pap_attribute11,
	pap_attribute12,
	pap_attribute13,
	pap_attribute14,
	pap_attribute15,
	pap_attribute16,
	pap_attribute17,
	pap_attribute18,
	pap_attribute19,
	pap_attribute20,
	pap_attribute21,
	pap_attribute22,
	pap_attribute23,
	pap_attribute24,
	pap_attribute25,
	pap_attribute26,
	pap_attribute27,
	pap_attribute28,
	pap_attribute29,
	pap_attribute30,
	object_version_number
   	, created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.prtt_anthr_pl_rt_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.excld_flag,
	p_rec.ordr_num,
	p_rec.vrbl_rt_prfl_id,
	p_rec.pl_id,
	p_rec.business_group_id,
	p_rec.pap_attribute_category,
	p_rec.pap_attribute1,
	p_rec.pap_attribute2,
	p_rec.pap_attribute3,
	p_rec.pap_attribute4,
	p_rec.pap_attribute5,
	p_rec.pap_attribute6,
	p_rec.pap_attribute7,
	p_rec.pap_attribute8,
	p_rec.pap_attribute9,
	p_rec.pap_attribute10,
	p_rec.pap_attribute11,
	p_rec.pap_attribute12,
	p_rec.pap_attribute13,
	p_rec.pap_attribute14,
	p_rec.pap_attribute15,
	p_rec.pap_attribute16,
	p_rec.pap_attribute17,
	p_rec.pap_attribute18,
	p_rec.pap_attribute19,
	p_rec.pap_attribute20,
	p_rec.pap_attribute21,
	p_rec.pap_attribute22,
	p_rec.pap_attribute23,
	p_rec.pap_attribute24,
	p_rec.pap_attribute25,
	p_rec.pap_attribute26,
	p_rec.pap_attribute27,
	p_rec.pap_attribute28,
	p_rec.pap_attribute29,
	p_rec.pap_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: 245

End dt_insert_dml;
Line: 250

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

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

End insert_dml;
Line: 310

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

  cursor c1 is select  BEN_PRTT_ANTHR_PL_RT_F_S.nextval
               from    sys.dual;
Line: 331

End pre_insert;
Line: 365

Procedure post_insert
	(p_rec 			 in ben_pap_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: 382

    ben_pap_rki.after_insert
      (
  p_prtt_anthr_pl_rt_id    =>p_rec.prtt_anthr_pl_rt_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_excld_flag                    =>p_rec.excld_flag
 ,p_ordr_num                      =>p_rec.ordr_num
 ,p_vrbl_rt_prfl_id                 =>p_rec.vrbl_rt_prfl_id
 ,p_pl_id                         =>p_rec.pl_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_pap_attribute_category        =>p_rec.pap_attribute_category
 ,p_pap_attribute1                =>p_rec.pap_attribute1
 ,p_pap_attribute2                =>p_rec.pap_attribute2
 ,p_pap_attribute3                =>p_rec.pap_attribute3
 ,p_pap_attribute4                =>p_rec.pap_attribute4
 ,p_pap_attribute5                =>p_rec.pap_attribute5
 ,p_pap_attribute6                =>p_rec.pap_attribute6
 ,p_pap_attribute7                =>p_rec.pap_attribute7
 ,p_pap_attribute8                =>p_rec.pap_attribute8
 ,p_pap_attribute9                =>p_rec.pap_attribute9
 ,p_pap_attribute10               =>p_rec.pap_attribute10
 ,p_pap_attribute11               =>p_rec.pap_attribute11
 ,p_pap_attribute12               =>p_rec.pap_attribute12
 ,p_pap_attribute13               =>p_rec.pap_attribute13
 ,p_pap_attribute14               =>p_rec.pap_attribute14
 ,p_pap_attribute15               =>p_rec.pap_attribute15
 ,p_pap_attribute16               =>p_rec.pap_attribute16
 ,p_pap_attribute17               =>p_rec.pap_attribute17
 ,p_pap_attribute18               =>p_rec.pap_attribute18
 ,p_pap_attribute19               =>p_rec.pap_attribute19
 ,p_pap_attribute20               =>p_rec.pap_attribute20
 ,p_pap_attribute21               =>p_rec.pap_attribute21
 ,p_pap_attribute22               =>p_rec.pap_attribute22
 ,p_pap_attribute23               =>p_rec.pap_attribute23
 ,p_pap_attribute24               =>p_rec.pap_attribute24
 ,p_pap_attribute25               =>p_rec.pap_attribute25
 ,p_pap_attribute26               =>p_rec.pap_attribute26
 ,p_pap_attribute27               =>p_rec.pap_attribute27
 ,p_pap_attribute28               =>p_rec.pap_attribute28
 ,p_pap_attribute29               =>p_rec.pap_attribute29
 ,p_pap_attribute30               =>p_rec.pap_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: 443

End post_insert;
Line: 531

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

  ben_pap_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: 558

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

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

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