DBA Data[Home] [Help]

APPS.BEN_PCR_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_pcr_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_per_cm_trgr_f t
    where  t.per_cm_trgr_id       = p_rec.per_cm_trgr_id
    and    t.effective_start_date =
             ben_pcr_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_per_cm_trgr_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_per_cm_trgr_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_per_cm_trgr_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_per_cm_trgr_f
  (	per_cm_trgr_id,
	effective_start_date,
	effective_end_date,
	cm_trgr_id,
	per_cm_id,
	business_group_id,
	pcr_attribute_category,
	pcr_attribute1,
	pcr_attribute2,
	pcr_attribute3,
	pcr_attribute4,
	pcr_attribute5,
	pcr_attribute6,
	pcr_attribute7,
	pcr_attribute8,
	pcr_attribute9,
	pcr_attribute10,
	pcr_attribute11,
	pcr_attribute12,
	pcr_attribute13,
	pcr_attribute14,
	pcr_attribute15,
	pcr_attribute16,
	pcr_attribute17,
	pcr_attribute18,
	pcr_attribute19,
	pcr_attribute20,
	pcr_attribute21,
	pcr_attribute22,
	pcr_attribute23,
	pcr_attribute24,
	pcr_attribute25,
	pcr_attribute26,
	pcr_attribute27,
	pcr_attribute28,
	pcr_attribute29,
	pcr_attribute30,
	request_id,
	program_application_id,
	program_id,
	program_update_date,
	object_version_number
   	, created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.per_cm_trgr_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.cm_trgr_id,
	p_rec.per_cm_id,
	p_rec.business_group_id,
	p_rec.pcr_attribute_category,
	p_rec.pcr_attribute1,
	p_rec.pcr_attribute2,
	p_rec.pcr_attribute3,
	p_rec.pcr_attribute4,
	p_rec.pcr_attribute5,
	p_rec.pcr_attribute6,
	p_rec.pcr_attribute7,
	p_rec.pcr_attribute8,
	p_rec.pcr_attribute9,
	p_rec.pcr_attribute10,
	p_rec.pcr_attribute11,
	p_rec.pcr_attribute12,
	p_rec.pcr_attribute13,
	p_rec.pcr_attribute14,
	p_rec.pcr_attribute15,
	p_rec.pcr_attribute16,
	p_rec.pcr_attribute17,
	p_rec.pcr_attribute18,
	p_rec.pcr_attribute19,
	p_rec.pcr_attribute20,
	p_rec.pcr_attribute21,
	p_rec.pcr_attribute22,
	p_rec.pcr_attribute23,
	p_rec.pcr_attribute24,
	p_rec.pcr_attribute25,
	p_rec.pcr_attribute26,
	p_rec.pcr_attribute27,
	p_rec.pcr_attribute28,
	p_rec.pcr_attribute29,
	p_rec.pcr_attribute30,
	p_rec.request_id,
	p_rec.program_application_id,
	p_rec.program_id,
	p_rec.program_update_date,
	p_rec.object_version_number
	, l_created_by,
   	l_creation_date,
   	l_last_update_date,
   	l_last_updated_by,
   	l_last_update_login
  );
Line: 249

End dt_insert_dml;
Line: 254

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

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

End insert_dml;
Line: 314

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

     select ben_per_cm_trgr_f_s.nextval
     from dual;
Line: 337

End pre_insert;
Line: 371

Procedure post_insert
	(p_rec 			 in ben_pcr_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: 388

    ben_pcr_rki.after_insert
      (
  p_per_cm_trgr_id                =>p_rec.per_cm_trgr_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_cm_trgr_id                    =>p_rec.cm_trgr_id
 ,p_per_cm_id                     =>p_rec.per_cm_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_pcr_attribute_category        =>p_rec.pcr_attribute_category
 ,p_pcr_attribute1                =>p_rec.pcr_attribute1
 ,p_pcr_attribute2                =>p_rec.pcr_attribute2
 ,p_pcr_attribute3                =>p_rec.pcr_attribute3
 ,p_pcr_attribute4                =>p_rec.pcr_attribute4
 ,p_pcr_attribute5                =>p_rec.pcr_attribute5
 ,p_pcr_attribute6                =>p_rec.pcr_attribute6
 ,p_pcr_attribute7                =>p_rec.pcr_attribute7
 ,p_pcr_attribute8                =>p_rec.pcr_attribute8
 ,p_pcr_attribute9                =>p_rec.pcr_attribute9
 ,p_pcr_attribute10               =>p_rec.pcr_attribute10
 ,p_pcr_attribute11               =>p_rec.pcr_attribute11
 ,p_pcr_attribute12               =>p_rec.pcr_attribute12
 ,p_pcr_attribute13               =>p_rec.pcr_attribute13
 ,p_pcr_attribute14               =>p_rec.pcr_attribute14
 ,p_pcr_attribute15               =>p_rec.pcr_attribute15
 ,p_pcr_attribute16               =>p_rec.pcr_attribute16
 ,p_pcr_attribute17               =>p_rec.pcr_attribute17
 ,p_pcr_attribute18               =>p_rec.pcr_attribute18
 ,p_pcr_attribute19               =>p_rec.pcr_attribute19
 ,p_pcr_attribute20               =>p_rec.pcr_attribute20
 ,p_pcr_attribute21               =>p_rec.pcr_attribute21
 ,p_pcr_attribute22               =>p_rec.pcr_attribute22
 ,p_pcr_attribute23               =>p_rec.pcr_attribute23
 ,p_pcr_attribute24               =>p_rec.pcr_attribute24
 ,p_pcr_attribute25               =>p_rec.pcr_attribute25
 ,p_pcr_attribute26               =>p_rec.pcr_attribute26
 ,p_pcr_attribute27               =>p_rec.pcr_attribute27
 ,p_pcr_attribute28               =>p_rec.pcr_attribute28
 ,p_pcr_attribute29               =>p_rec.pcr_attribute29
 ,p_pcr_attribute30               =>p_rec.pcr_attribute30
 ,p_request_id                    =>p_rec.request_id
 ,p_program_application_id        =>p_rec.program_application_id
 ,p_program_id                    =>p_rec.program_id
 ,p_program_update_date           =>p_rec.program_update_date
 ,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: 451

End post_insert;
Line: 539

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

  ben_pcr_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: 566

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

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

  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);
Line: 637

  p_program_update_date          in date             default null,
  p_object_version_number        out nocopy number,
  p_effective_date		 in date
  ) is
--
  l_rec		ben_pcr_shd.g_rec_type;
Line: 694

  p_program_update_date,
  null
  );