DBA Data[Home] [Help]

APPS.BEN_PRR_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_prr_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_perf_rtng_rt_f t
    where  t.perf_rtng_rt_id = p_rec.perf_rtng_rt_id
    and    t.effective_start_date =
             ben_prr_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_perf_rtng_rt_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_perf_rtng_rt_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_perf_rtng_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_perf_rtng_rt_f
  (	perf_rtng_rt_id,
	effective_start_date,
	effective_end_date,
	business_group_id,
	vrbl_rt_prfl_id,
	ordr_num,
	excld_flag,
	event_type,
	perf_rtng_cd,
	prr_attribute_category,
	prr_attribute1,
	prr_attribute2,
	prr_attribute3,
	prr_attribute4,
	prr_attribute5,
	prr_attribute6,
	prr_attribute7,
	prr_attribute8,
	prr_attribute9,
	prr_attribute10,
	prr_attribute11,
	prr_attribute12,
	prr_attribute13,
	prr_attribute14,
	prr_attribute15,
	prr_attribute16,
	prr_attribute17,
	prr_attribute18,
	prr_attribute19,
	prr_attribute20,
	prr_attribute21,
	prr_attribute22,
	prr_attribute23,
	prr_attribute24,
	prr_attribute25,
	prr_attribute26,
	prr_attribute27,
	prr_attribute28,
	prr_attribute29,
	prr_attribute30,
	object_version_number,
        created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.perf_rtng_rt_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.business_group_id,
	p_rec.vrbl_rt_prfl_id,
	p_rec.ordr_num,
	p_rec.excld_flag,
	p_rec.event_type,
	p_rec.perf_rtng_cd,
	p_rec.prr_attribute_category,
	p_rec.prr_attribute1,
	p_rec.prr_attribute2,
	p_rec.prr_attribute3,
	p_rec.prr_attribute4,
	p_rec.prr_attribute5,
	p_rec.prr_attribute6,
	p_rec.prr_attribute7,
	p_rec.prr_attribute8,
	p_rec.prr_attribute9,
	p_rec.prr_attribute10,
	p_rec.prr_attribute11,
	p_rec.prr_attribute12,
	p_rec.prr_attribute13,
	p_rec.prr_attribute14,
	p_rec.prr_attribute15,
	p_rec.prr_attribute16,
	p_rec.prr_attribute17,
	p_rec.prr_attribute18,
	p_rec.prr_attribute19,
	p_rec.prr_attribute20,
	p_rec.prr_attribute21,
	p_rec.prr_attribute22,
	p_rec.prr_attribute23,
	p_rec.prr_attribute24,
	p_rec.prr_attribute25,
	p_rec.prr_attribute26,
	p_rec.prr_attribute27,
	p_rec.prr_attribute28,
	p_rec.prr_attribute29,
	p_rec.prr_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: 247

End dt_insert_dml;
Line: 252

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

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

End insert_dml;
Line: 312

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

    select ben_perf_rtng_rt_f_s.nextval
    from sys.dual;
Line: 336

End pre_insert;
Line: 370

Procedure post_insert
	(p_rec 			 in ben_prr_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: 387

    ben_prr_rki.after_insert
      (
  p_perf_rtng_rt_id    =>p_rec.perf_rtng_rt_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_vrbl_rt_prfl_id               =>p_rec.vrbl_rt_prfl_id
 ,p_ordr_num                      =>p_rec.ordr_num
 ,p_excld_flag                    =>p_rec.excld_flag
 ,p_prr_attribute_category        =>p_rec.prr_attribute_category
 ,p_prr_attribute1                =>p_rec.prr_attribute1
 ,p_prr_attribute2                =>p_rec.prr_attribute2
 ,p_prr_attribute3                =>p_rec.prr_attribute3
 ,p_prr_attribute4                =>p_rec.prr_attribute4
 ,p_prr_attribute5                =>p_rec.prr_attribute5
 ,p_prr_attribute6                =>p_rec.prr_attribute6
 ,p_prr_attribute7                =>p_rec.prr_attribute7
 ,p_prr_attribute8                =>p_rec.prr_attribute8
 ,p_prr_attribute9                =>p_rec.prr_attribute9
 ,p_prr_attribute10               =>p_rec.prr_attribute10
 ,p_prr_attribute11               =>p_rec.prr_attribute11
 ,p_prr_attribute12               =>p_rec.prr_attribute12
 ,p_prr_attribute13               =>p_rec.prr_attribute13
 ,p_prr_attribute14               =>p_rec.prr_attribute14
 ,p_prr_attribute15               =>p_rec.prr_attribute15
 ,p_prr_attribute16               =>p_rec.prr_attribute16
 ,p_prr_attribute17               =>p_rec.prr_attribute17
 ,p_prr_attribute18               =>p_rec.prr_attribute18
 ,p_prr_attribute19               =>p_rec.prr_attribute19
 ,p_prr_attribute20               =>p_rec.prr_attribute20
 ,p_prr_attribute21               =>p_rec.prr_attribute21
 ,p_prr_attribute22               =>p_rec.prr_attribute22
 ,p_prr_attribute23               =>p_rec.prr_attribute23
 ,p_prr_attribute24               =>p_rec.prr_attribute24
 ,p_prr_attribute25               =>p_rec.prr_attribute25
 ,p_prr_attribute26               =>p_rec.prr_attribute26
 ,p_prr_attribute27               =>p_rec.prr_attribute27
 ,p_prr_attribute28               =>p_rec.prr_attribute28
 ,p_prr_attribute29               =>p_rec.prr_attribute29
 ,p_prr_attribute30               =>p_rec.prr_attribute30
 ,p_object_version_number         =>p_rec.object_version_number
 ,p_event_type         		  =>p_rec.event_type
 ,p_perf_rtng_cd                  =>p_rec.perf_rtng_cd
 ,p_effective_date                =>p_effective_date
 ,p_validation_start_date         =>p_validation_start_date
 ,p_validation_end_date           =>p_validation_end_date
      );
Line: 449

End post_insert;
Line: 537

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

  ben_prr_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: 564

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

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

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