DBA Data[Home] [Help]

APPS.BEN_PRM_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_prm_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_prem_by_mo_f t
    where  t.prtt_prem_by_mo_id       = p_rec.prtt_prem_by_mo_id
    and    t.effective_start_date =
             ben_prm_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_prem_by_mo_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_prtt_prem_by_mo_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_prtt_prem_by_mo_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_prem_by_mo_f
  (	prtt_prem_by_mo_id,
	effective_start_date,
	effective_end_date,
	mnl_adj_flag,
	mo_num,
	yr_num,
	antcpd_prtt_cntr_uom,
	antcpd_prtt_cntr_val,
	val,
	cr_val,
	cr_mnl_adj_flag,
	alctd_val_flag,
	uom,
	prtt_prem_id,
	cost_allocation_keyflex_id,
	business_group_id,
	prm_attribute_category,
	prm_attribute1,
	prm_attribute2,
	prm_attribute3,
	prm_attribute4,
	prm_attribute5,
	prm_attribute6,
	prm_attribute7,
	prm_attribute8,
	prm_attribute9,
	prm_attribute10,
	prm_attribute11,
	prm_attribute12,
	prm_attribute13,
	prm_attribute14,
	prm_attribute15,
	prm_attribute16,
	prm_attribute17,
	prm_attribute18,
	prm_attribute19,
	prm_attribute20,
	prm_attribute21,
	prm_attribute22,
	prm_attribute23,
	prm_attribute24,
	prm_attribute25,
	prm_attribute26,
	prm_attribute27,
	prm_attribute28,
	prm_attribute29,
	prm_attribute30,
	object_version_number,
	request_id,
	program_application_id,
	program_id,
	program_update_date
   	, created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.prtt_prem_by_mo_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.mnl_adj_flag,
	p_rec.mo_num,
	p_rec.yr_num,
	p_rec.antcpd_prtt_cntr_uom,
	p_rec.antcpd_prtt_cntr_val,
	p_rec.val,
	p_rec.cr_val,
	p_rec.cr_mnl_adj_flag,
	p_rec.alctd_val_flag,
	p_rec.uom,
	p_rec.prtt_prem_id,
	p_rec.cost_allocation_keyflex_id,
	p_rec.business_group_id,
	p_rec.prm_attribute_category,
	p_rec.prm_attribute1,
	p_rec.prm_attribute2,
	p_rec.prm_attribute3,
	p_rec.prm_attribute4,
	p_rec.prm_attribute5,
	p_rec.prm_attribute6,
	p_rec.prm_attribute7,
	p_rec.prm_attribute8,
	p_rec.prm_attribute9,
	p_rec.prm_attribute10,
	p_rec.prm_attribute11,
	p_rec.prm_attribute12,
	p_rec.prm_attribute13,
	p_rec.prm_attribute14,
	p_rec.prm_attribute15,
	p_rec.prm_attribute16,
	p_rec.prm_attribute17,
	p_rec.prm_attribute18,
	p_rec.prm_attribute19,
	p_rec.prm_attribute20,
	p_rec.prm_attribute21,
	p_rec.prm_attribute22,
	p_rec.prm_attribute23,
	p_rec.prm_attribute24,
	p_rec.prm_attribute25,
	p_rec.prm_attribute26,
	p_rec.prm_attribute27,
	p_rec.prm_attribute28,
	p_rec.prm_attribute29,
	p_rec.prm_attribute30,
	p_rec.object_version_number,
	p_rec.request_id,
	p_rec.program_application_id,
	p_rec.program_id,
	p_rec.program_update_date
	, l_created_by,
   	l_creation_date,
   	l_last_update_date,
   	l_last_updated_by,
   	l_last_update_login
  );
Line: 269

End dt_insert_dml;
Line: 274

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

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

End insert_dml;
Line: 334

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

  cursor c1 is select ben_prtt_prem_by_mo_f_s.nextval from sys.dual;
Line: 354

End pre_insert;
Line: 388

Procedure post_insert
	(p_rec 			 in ben_prm_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: 407

    ben_prm_rki.after_insert
      (
  p_prtt_prem_by_mo_id            =>p_rec.prtt_prem_by_mo_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_mnl_adj_flag                  =>p_rec.mnl_adj_flag
 ,p_mo_num                        =>p_rec.mo_num
 ,p_yr_num                        =>p_rec.yr_num
 ,p_antcpd_prtt_cntr_uom          =>p_rec.antcpd_prtt_cntr_uom
 ,p_antcpd_prtt_cntr_val          =>p_rec.antcpd_prtt_cntr_val
 ,p_val                           =>p_rec.val
 ,p_cr_val                        =>p_rec.cr_val
 ,p_cr_mnl_adj_flag               =>p_rec.cr_mnl_adj_flag
 ,p_alctd_val_flag                =>p_rec.alctd_val_flag
 ,p_uom                           =>p_rec.uom
 ,p_prtt_prem_id                  =>p_rec.prtt_prem_id
 ,p_cost_allocation_keyflex_id    =>p_rec.cost_allocation_keyflex_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_prm_attribute_category        =>p_rec.prm_attribute_category
 ,p_prm_attribute1                =>p_rec.prm_attribute1
 ,p_prm_attribute2                =>p_rec.prm_attribute2
 ,p_prm_attribute3                =>p_rec.prm_attribute3
 ,p_prm_attribute4                =>p_rec.prm_attribute4
 ,p_prm_attribute5                =>p_rec.prm_attribute5
 ,p_prm_attribute6                =>p_rec.prm_attribute6
 ,p_prm_attribute7                =>p_rec.prm_attribute7
 ,p_prm_attribute8                =>p_rec.prm_attribute8
 ,p_prm_attribute9                =>p_rec.prm_attribute9
 ,p_prm_attribute10               =>p_rec.prm_attribute10
 ,p_prm_attribute11               =>p_rec.prm_attribute11
 ,p_prm_attribute12               =>p_rec.prm_attribute12
 ,p_prm_attribute13               =>p_rec.prm_attribute13
 ,p_prm_attribute14               =>p_rec.prm_attribute14
 ,p_prm_attribute15               =>p_rec.prm_attribute15
 ,p_prm_attribute16               =>p_rec.prm_attribute16
 ,p_prm_attribute17               =>p_rec.prm_attribute17
 ,p_prm_attribute18               =>p_rec.prm_attribute18
 ,p_prm_attribute19               =>p_rec.prm_attribute19
 ,p_prm_attribute20               =>p_rec.prm_attribute20
 ,p_prm_attribute21               =>p_rec.prm_attribute21
 ,p_prm_attribute22               =>p_rec.prm_attribute22
 ,p_prm_attribute23               =>p_rec.prm_attribute23
 ,p_prm_attribute24               =>p_rec.prm_attribute24
 ,p_prm_attribute25               =>p_rec.prm_attribute25
 ,p_prm_attribute26               =>p_rec.prm_attribute26
 ,p_prm_attribute27               =>p_rec.prm_attribute27
 ,p_prm_attribute28               =>p_rec.prm_attribute28
 ,p_prm_attribute29               =>p_rec.prm_attribute29
 ,p_prm_attribute30               =>p_rec.prm_attribute30
 ,p_object_version_number         =>p_rec.object_version_number
 ,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_effective_date                =>p_effective_date
 ,p_validation_start_date         =>p_validation_start_date
 ,p_validation_end_date           =>p_validation_end_date
      );
Line: 476

    l_new_rec.update_mode             := 'INSERT'     ;
Line: 479

      (p_event     =>  'INSERT'
      ,p_old_rec   =>  l_old_rec
      ,p_new_rec   =>  l_new_rec
      ) ;
Line: 498

End post_insert;
Line: 586

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

  ben_prm_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: 613

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

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

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

  p_program_update_date          in date             default null,
  p_effective_date		 in date
  ) is
--
  l_rec		ben_prm_shd.g_rec_type;
Line: 762

  p_program_update_date
  );