DBA Data[Home] [Help]

APPS.BEN_OPP_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_opp_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_oiplip_f t
    where  t.oiplip_id       = p_rec.oiplip_id
    and    t.effective_start_date =
             ben_opp_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_oiplip_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_oiplip_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_oiplip_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_oiplip_f
  (	oiplip_id,
	effective_start_date,
	effective_end_date,
	oipl_id,
	plip_id,
	business_group_id,
	legislation_code,
	legislation_subgroup,
	opp_attribute_category,
	opp_attribute1,
	opp_attribute2,
	opp_attribute3,
	opp_attribute4,
	opp_attribute5,
	opp_attribute6,
	opp_attribute7,
	opp_attribute8,
	opp_attribute9,
	opp_attribute10,
	opp_attribute11,
	opp_attribute12,
	opp_attribute13,
	opp_attribute14,
	opp_attribute15,
	opp_attribute16,
	opp_attribute17,
	opp_attribute18,
	opp_attribute19,
	opp_attribute20,
	opp_attribute21,
	opp_attribute22,
	opp_attribute23,
	opp_attribute24,
	opp_attribute25,
	opp_attribute26,
	opp_attribute27,
	opp_attribute28,
	opp_attribute29,
	opp_attribute30,
	object_version_number
   	, created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.oiplip_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.oipl_id,
	p_rec.plip_id,
	p_rec.business_group_id,
	p_rec.legislation_code,
	p_rec.legislation_subgroup,
	p_rec.opp_attribute_category,
	p_rec.opp_attribute1,
	p_rec.opp_attribute2,
	p_rec.opp_attribute3,
	p_rec.opp_attribute4,
	p_rec.opp_attribute5,
	p_rec.opp_attribute6,
	p_rec.opp_attribute7,
	p_rec.opp_attribute8,
	p_rec.opp_attribute9,
	p_rec.opp_attribute10,
	p_rec.opp_attribute11,
	p_rec.opp_attribute12,
	p_rec.opp_attribute13,
	p_rec.opp_attribute14,
	p_rec.opp_attribute15,
	p_rec.opp_attribute16,
	p_rec.opp_attribute17,
	p_rec.opp_attribute18,
	p_rec.opp_attribute19,
	p_rec.opp_attribute20,
	p_rec.opp_attribute21,
	p_rec.opp_attribute22,
	p_rec.opp_attribute23,
	p_rec.opp_attribute24,
	p_rec.opp_attribute25,
	p_rec.opp_attribute26,
	p_rec.opp_attribute27,
	p_rec.opp_attribute28,
	p_rec.opp_attribute29,
	p_rec.opp_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_opp_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_opp_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: 319

  Cursor C_Sel1 is select ben_oiplip_f_s.nextval from sys.dual;
Line: 333

End pre_insert;
Line: 367

Procedure post_insert
	(p_rec 			 in ben_opp_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: 384

    ben_opp_rki.after_insert
      (
  p_oiplip_id                     =>p_rec.oiplip_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_oipl_id                       =>p_rec.oipl_id
 ,p_plip_id                       =>p_rec.plip_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_legislation_code        =>p_rec.legislation_code
 ,p_legislation_subgroup        =>p_rec.legislation_subgroup
 ,p_opp_attribute_category        =>p_rec.opp_attribute_category
 ,p_opp_attribute1                =>p_rec.opp_attribute1
 ,p_opp_attribute2                =>p_rec.opp_attribute2
 ,p_opp_attribute3                =>p_rec.opp_attribute3
 ,p_opp_attribute4                =>p_rec.opp_attribute4
 ,p_opp_attribute5                =>p_rec.opp_attribute5
 ,p_opp_attribute6                =>p_rec.opp_attribute6
 ,p_opp_attribute7                =>p_rec.opp_attribute7
 ,p_opp_attribute8                =>p_rec.opp_attribute8
 ,p_opp_attribute9                =>p_rec.opp_attribute9
 ,p_opp_attribute10               =>p_rec.opp_attribute10
 ,p_opp_attribute11               =>p_rec.opp_attribute11
 ,p_opp_attribute12               =>p_rec.opp_attribute12
 ,p_opp_attribute13               =>p_rec.opp_attribute13
 ,p_opp_attribute14               =>p_rec.opp_attribute14
 ,p_opp_attribute15               =>p_rec.opp_attribute15
 ,p_opp_attribute16               =>p_rec.opp_attribute16
 ,p_opp_attribute17               =>p_rec.opp_attribute17
 ,p_opp_attribute18               =>p_rec.opp_attribute18
 ,p_opp_attribute19               =>p_rec.opp_attribute19
 ,p_opp_attribute20               =>p_rec.opp_attribute20
 ,p_opp_attribute21               =>p_rec.opp_attribute21
 ,p_opp_attribute22               =>p_rec.opp_attribute22
 ,p_opp_attribute23               =>p_rec.opp_attribute23
 ,p_opp_attribute24               =>p_rec.opp_attribute24
 ,p_opp_attribute25               =>p_rec.opp_attribute25
 ,p_opp_attribute26               =>p_rec.opp_attribute26
 ,p_opp_attribute27               =>p_rec.opp_attribute27
 ,p_opp_attribute28               =>p_rec.opp_attribute28
 ,p_opp_attribute29               =>p_rec.opp_attribute29
 ,p_opp_attribute30               =>p_rec.opp_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: 445

End post_insert;
Line: 536

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

  ben_opp_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: 563

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

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

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