DBA Data[Home] [Help]

APPS.BEN_RCL_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_rcl_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_rltd_per_chg_cs_ler_f t
    where  t.rltd_per_chg_cs_ler_id       = p_rec.rltd_per_chg_cs_ler_id
    and    t.effective_start_date =
             ben_rcl_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_rltd_per_chg_cs_ler_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_rltd_per_chg_cs_ler_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_rltd_per_chg_cs_ler_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_rltd_per_chg_cs_ler_f
  (	rltd_per_chg_cs_ler_id,
        name,
	effective_start_date,
	effective_end_date,
	old_val,
	new_val,
	whatif_lbl_txt,
	rule_overrides_flag,
	source_column,
	source_table,
	rltd_per_chg_cs_ler_rl,
	business_group_id,
	rcl_attribute_category,
	rcl_attribute1,
	rcl_attribute2,
	rcl_attribute3,
	rcl_attribute4,
	rcl_attribute5,
	rcl_attribute6,
	rcl_attribute7,
	rcl_attribute8,
	rcl_attribute9,
	rcl_attribute10,
	rcl_attribute11,
	rcl_attribute12,
	rcl_attribute13,
	rcl_attribute14,
	rcl_attribute15,
	rcl_attribute16,
	rcl_attribute17,
	rcl_attribute18,
	rcl_attribute19,
	rcl_attribute20,
	rcl_attribute21,
	rcl_attribute22,
	rcl_attribute23,
	rcl_attribute24,
	rcl_attribute25,
	rcl_attribute26,
	rcl_attribute27,
	rcl_attribute28,
	rcl_attribute29,
	rcl_attribute30,
	object_version_number ,
        created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.rltd_per_chg_cs_ler_id,
  	p_rec.name,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.old_val,
	p_rec.new_val,
	p_rec.whatif_lbl_txt,
	p_rec.rule_overrides_flag,
	p_rec.source_column,
	p_rec.source_table,
	p_rec.rltd_per_chg_cs_ler_rl,
	p_rec.business_group_id,
	p_rec.rcl_attribute_category,
	p_rec.rcl_attribute1,
	p_rec.rcl_attribute2,
	p_rec.rcl_attribute3,
	p_rec.rcl_attribute4,
	p_rec.rcl_attribute5,
	p_rec.rcl_attribute6,
	p_rec.rcl_attribute7,
	p_rec.rcl_attribute8,
	p_rec.rcl_attribute9,
	p_rec.rcl_attribute10,
	p_rec.rcl_attribute11,
	p_rec.rcl_attribute12,
	p_rec.rcl_attribute13,
	p_rec.rcl_attribute14,
	p_rec.rcl_attribute15,
	p_rec.rcl_attribute16,
	p_rec.rcl_attribute17,
	p_rec.rcl_attribute18,
	p_rec.rcl_attribute19,
	p_rec.rcl_attribute20,
	p_rec.rcl_attribute21,
	p_rec.rcl_attribute22,
	p_rec.rcl_attribute23,
	p_rec.rcl_attribute24,
	p_rec.rcl_attribute25,
	p_rec.rcl_attribute26,
	p_rec.rcl_attribute27,
	p_rec.rcl_attribute28,
	p_rec.rcl_attribute29,
	p_rec.rcl_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: 253

End dt_insert_dml;
Line: 258

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

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

End insert_dml;
Line: 318

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

  Cursor C_Sel1 is select ben_rltd_per_chg_cs_ler_f_s.nextval from sys.dual;
Line: 340

End pre_insert;
Line: 374

Procedure post_insert
	(p_rec 			 in ben_rcl_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: 391

    ben_rcl_rki.after_insert
      (
  p_rltd_per_chg_cs_ler_id        =>p_rec.rltd_per_chg_cs_ler_id
 ,p_name                          =>p_rec.name
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_old_val                       =>p_rec.old_val
 ,p_new_val                       =>p_rec.new_val
 ,p_whatif_lbl_txt                =>p_rec.whatif_lbl_txt
 ,p_rule_overrides_flag                =>p_rec.rule_overrides_flag
 ,p_source_column                 =>p_rec.source_column
 ,p_source_table                  =>p_rec.source_table
 ,p_rltd_per_chg_cs_ler_rl        =>p_rec.rltd_per_chg_cs_ler_rl
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_rcl_attribute_category        =>p_rec.rcl_attribute_category
 ,p_rcl_attribute1                =>p_rec.rcl_attribute1
 ,p_rcl_attribute2                =>p_rec.rcl_attribute2
 ,p_rcl_attribute3                =>p_rec.rcl_attribute3
 ,p_rcl_attribute4                =>p_rec.rcl_attribute4
 ,p_rcl_attribute5                =>p_rec.rcl_attribute5
 ,p_rcl_attribute6                =>p_rec.rcl_attribute6
 ,p_rcl_attribute7                =>p_rec.rcl_attribute7
 ,p_rcl_attribute8                =>p_rec.rcl_attribute8
 ,p_rcl_attribute9                =>p_rec.rcl_attribute9
 ,p_rcl_attribute10               =>p_rec.rcl_attribute10
 ,p_rcl_attribute11               =>p_rec.rcl_attribute11
 ,p_rcl_attribute12               =>p_rec.rcl_attribute12
 ,p_rcl_attribute13               =>p_rec.rcl_attribute13
 ,p_rcl_attribute14               =>p_rec.rcl_attribute14
 ,p_rcl_attribute15               =>p_rec.rcl_attribute15
 ,p_rcl_attribute16               =>p_rec.rcl_attribute16
 ,p_rcl_attribute17               =>p_rec.rcl_attribute17
 ,p_rcl_attribute18               =>p_rec.rcl_attribute18
 ,p_rcl_attribute19               =>p_rec.rcl_attribute19
 ,p_rcl_attribute20               =>p_rec.rcl_attribute20
 ,p_rcl_attribute21               =>p_rec.rcl_attribute21
 ,p_rcl_attribute22               =>p_rec.rcl_attribute22
 ,p_rcl_attribute23               =>p_rec.rcl_attribute23
 ,p_rcl_attribute24               =>p_rec.rcl_attribute24
 ,p_rcl_attribute25               =>p_rec.rcl_attribute25
 ,p_rcl_attribute26               =>p_rec.rcl_attribute26
 ,p_rcl_attribute27               =>p_rec.rcl_attribute27
 ,p_rcl_attribute28               =>p_rec.rcl_attribute28
 ,p_rcl_attribute29               =>p_rec.rcl_attribute29
 ,p_rcl_attribute30               =>p_rec.rcl_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: 456

End post_insert;
Line: 541

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

  ben_rcl_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: 568

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

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

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