DBA Data[Home] [Help]

APPS.BEN_OPT_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_opt_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_opt_f t
    where  t.opt_id       = p_rec.opt_id
    and    t.effective_start_date =
             ben_opt_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_opt_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_opt_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_opt_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_opt_f
  (	opt_id,
	effective_start_date,
	effective_end_date,
	name,
	cmbn_ptip_opt_id,
	business_group_id,
	opt_attribute_category,
	opt_attribute1,
	opt_attribute2,
	opt_attribute3,
	opt_attribute4,
	opt_attribute5,
	opt_attribute6,
	opt_attribute7,
	opt_attribute8,
	opt_attribute9,
	opt_attribute10,
	opt_attribute11,
	opt_attribute12,
	opt_attribute13,
	opt_attribute14,
	opt_attribute15,
	opt_attribute16,
	opt_attribute17,
	opt_attribute18,
	opt_attribute19,
	opt_attribute20,
	opt_attribute21,
	opt_attribute22,
	opt_attribute23,
	opt_attribute24,
	opt_attribute25,
	opt_attribute26,
	opt_attribute27,
	opt_attribute28,
	opt_attribute29,
	opt_attribute30,
	object_version_number,
	rqd_perd_enrt_nenrt_uom,
	rqd_perd_enrt_nenrt_val,
	rqd_perd_enrt_nenrt_rl,
	invk_wv_opt_flag,
	short_name,
	short_code,
	legislation_code,
	legislation_subgroup,
        group_opt_id ,
	component_reason,
        mapping_table_name,
        mapping_table_pk_id,
   	created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.opt_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.name,
	p_rec.cmbn_ptip_opt_id,
	p_rec.business_group_id,
	p_rec.opt_attribute_category,
	p_rec.opt_attribute1,
	p_rec.opt_attribute2,
	p_rec.opt_attribute3,
	p_rec.opt_attribute4,
	p_rec.opt_attribute5,
	p_rec.opt_attribute6,
	p_rec.opt_attribute7,
	p_rec.opt_attribute8,
	p_rec.opt_attribute9,
	p_rec.opt_attribute10,
	p_rec.opt_attribute11,
	p_rec.opt_attribute12,
	p_rec.opt_attribute13,
	p_rec.opt_attribute14,
	p_rec.opt_attribute15,
	p_rec.opt_attribute16,
	p_rec.opt_attribute17,
	p_rec.opt_attribute18,
	p_rec.opt_attribute19,
	p_rec.opt_attribute20,
	p_rec.opt_attribute21,
	p_rec.opt_attribute22,
	p_rec.opt_attribute23,
	p_rec.opt_attribute24,
	p_rec.opt_attribute25,
	p_rec.opt_attribute26,
	p_rec.opt_attribute27,
	p_rec.opt_attribute28,
	p_rec.opt_attribute29,
	p_rec.opt_attribute30,
	p_rec.object_version_number,
	p_rec.rqd_perd_enrt_nenrt_uom,
	p_rec.rqd_perd_enrt_nenrt_val,
	p_rec.rqd_perd_enrt_nenrt_rl,
	p_rec.invk_wv_opt_flag ,
	p_rec.short_name,
	p_rec.short_code,
	p_rec.legislation_code,
	p_rec.legislation_subgroup,
	p_rec.group_opt_id,
	p_rec.component_reason,
        p_rec.mapping_table_name,
        p_rec.mapping_table_pk_id,
	l_created_by,
   	l_creation_date,
   	l_last_update_date,
   	l_last_updated_by,
   	l_last_update_login
  );
Line: 265

End dt_insert_dml;
Line: 270

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

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

End insert_dml;
Line: 330

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

  Cursor C_Sel1 is select ben_opt_f_s.nextval from sys.dual;
Line: 353

End pre_insert;
Line: 387

Procedure post_insert
	(p_rec 			 in ben_opt_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: 413

    ben_opt_rki.after_insert
      (
  p_opt_id                        =>p_rec.opt_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_name                          =>p_rec.name
 ,p_cmbn_ptip_opt_id              =>p_rec.cmbn_ptip_opt_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_opt_attribute_category        =>p_rec.opt_attribute_category
 ,p_opt_attribute1                =>p_rec.opt_attribute1
 ,p_opt_attribute2                =>p_rec.opt_attribute2
 ,p_opt_attribute3                =>p_rec.opt_attribute3
 ,p_opt_attribute4                =>p_rec.opt_attribute4
 ,p_opt_attribute5                =>p_rec.opt_attribute5
 ,p_opt_attribute6                =>p_rec.opt_attribute6
 ,p_opt_attribute7                =>p_rec.opt_attribute7
 ,p_opt_attribute8                =>p_rec.opt_attribute8
 ,p_opt_attribute9                =>p_rec.opt_attribute9
 ,p_opt_attribute10               =>p_rec.opt_attribute10
 ,p_opt_attribute11               =>p_rec.opt_attribute11
 ,p_opt_attribute12               =>p_rec.opt_attribute12
 ,p_opt_attribute13               =>p_rec.opt_attribute13
 ,p_opt_attribute14               =>p_rec.opt_attribute14
 ,p_opt_attribute15               =>p_rec.opt_attribute15
 ,p_opt_attribute16               =>p_rec.opt_attribute16
 ,p_opt_attribute17               =>p_rec.opt_attribute17
 ,p_opt_attribute18               =>p_rec.opt_attribute18
 ,p_opt_attribute19               =>p_rec.opt_attribute19
 ,p_opt_attribute20               =>p_rec.opt_attribute20
 ,p_opt_attribute21               =>p_rec.opt_attribute21
 ,p_opt_attribute22               =>p_rec.opt_attribute22
 ,p_opt_attribute23               =>p_rec.opt_attribute23
 ,p_opt_attribute24               =>p_rec.opt_attribute24
 ,p_opt_attribute25               =>p_rec.opt_attribute25
 ,p_opt_attribute26               =>p_rec.opt_attribute26
 ,p_opt_attribute27               =>p_rec.opt_attribute27
 ,p_opt_attribute28               =>p_rec.opt_attribute28
 ,p_opt_attribute29               =>p_rec.opt_attribute29
 ,p_opt_attribute30               =>p_rec.opt_attribute30
 ,p_object_version_number         =>p_rec.object_version_number
 ,p_rqd_perd_enrt_nenrt_uom       =>p_rec.rqd_perd_enrt_nenrt_uom
 ,p_rqd_perd_enrt_nenrt_val       =>p_rec.rqd_perd_enrt_nenrt_val
 ,p_rqd_perd_enrt_nenrt_rl        =>p_rec.rqd_perd_enrt_nenrt_rl
 ,p_invk_wv_opt_flag              =>p_rec.invk_wv_opt_flag
 ,p_short_name                    =>p_rec.short_name
 ,p_short_code                    =>p_rec.short_code
 ,p_legislation_code              =>p_rec.legislation_code
 ,p_legislation_subgroup          =>p_rec.legislation_subgroup
 ,p_group_opt_id                  =>p_rec.group_opt_id
 ,p_component_reason              =>p_rec.component_reason
 ,p_mapping_table_name            =>p_rec.mapping_table_name
 ,p_mapping_table_pk_id           =>p_rec.mapping_table_pk_id
 ,p_effective_date                =>p_effective_date
 ,p_validation_start_date         =>p_validation_start_date
 ,p_validation_end_date           =>p_validation_end_date
      );
Line: 486

End post_insert;
Line: 574

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

  ben_opt_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: 601

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

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

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