DBA Data[Home] [Help]

APPS.BEN_CTU_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_ctu_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_cm_typ_usg_f t
    where  t.cm_typ_usg_id       = p_rec.cm_typ_usg_id
    and    t.effective_start_date =
             ben_ctu_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_cm_typ_usg_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_cm_typ_usg_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_cm_typ_usg_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_cm_typ_usg_f
  (	cm_typ_usg_id,
	effective_start_date,
	effective_end_date,
	all_r_any_cd,
	cm_usg_rl,
        descr_text,
	pgm_id,
	pl_id,
        pl_typ_id,
	enrt_perd_id,
	actn_typ_id,
	cm_typ_id,
	ler_id,
	business_group_id,
	ctu_attribute_category,
	ctu_attribute1,
	ctu_attribute2,
	ctu_attribute3,
	ctu_attribute4,
	ctu_attribute5,
	ctu_attribute6,
	ctu_attribute7,
	ctu_attribute8,
	ctu_attribute9,
	ctu_attribute10,
	ctu_attribute11,
	ctu_attribute12,
	ctu_attribute13,
	ctu_attribute14,
	ctu_attribute15,
	ctu_attribute16,
	ctu_attribute17,
	ctu_attribute18,
	ctu_attribute19,
	ctu_attribute20,
	ctu_attribute21,
	ctu_attribute22,
	ctu_attribute23,
	ctu_attribute24,
	ctu_attribute25,
	ctu_attribute26,
	ctu_attribute27,
	ctu_attribute28,
	ctu_attribute29,
	ctu_attribute30,
	object_version_number
   	, created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.cm_typ_usg_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.all_r_any_cd,
	p_rec.cm_usg_rl,
        p_rec.descr_text,
	p_rec.pgm_id,
	p_rec.pl_id,
        p_rec.pl_typ_id,
	p_rec.enrt_perd_id,
	p_rec.actn_typ_id,
	p_rec.cm_typ_id,
	p_rec.ler_id,
	p_rec.business_group_id,
	p_rec.ctu_attribute_category,
	p_rec.ctu_attribute1,
	p_rec.ctu_attribute2,
	p_rec.ctu_attribute3,
	p_rec.ctu_attribute4,
	p_rec.ctu_attribute5,
	p_rec.ctu_attribute6,
	p_rec.ctu_attribute7,
	p_rec.ctu_attribute8,
	p_rec.ctu_attribute9,
	p_rec.ctu_attribute10,
	p_rec.ctu_attribute11,
	p_rec.ctu_attribute12,
	p_rec.ctu_attribute13,
	p_rec.ctu_attribute14,
	p_rec.ctu_attribute15,
	p_rec.ctu_attribute16,
	p_rec.ctu_attribute17,
	p_rec.ctu_attribute18,
	p_rec.ctu_attribute19,
	p_rec.ctu_attribute20,
	p_rec.ctu_attribute21,
	p_rec.ctu_attribute22,
	p_rec.ctu_attribute23,
	p_rec.ctu_attribute24,
	p_rec.ctu_attribute25,
	p_rec.ctu_attribute26,
	p_rec.ctu_attribute27,
	p_rec.ctu_attribute28,
	p_rec.ctu_attribute29,
	p_rec.ctu_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: 257

End dt_insert_dml;
Line: 262

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

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

End insert_dml;
Line: 322

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

  select ben_cm_typ_usg_f_s.nextval into p_rec.cm_typ_usg_id from sys.dual;
Line: 341

End pre_insert;
Line: 375

Procedure post_insert
	(p_rec 			 in ben_ctu_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: 392

    ben_ctu_rki.after_insert
      (p_cm_typ_usg_id                 =>p_rec.cm_typ_usg_id
      ,p_effective_start_date          =>p_rec.effective_start_date
      ,p_effective_end_date            =>p_rec.effective_end_date
      ,p_all_r_any_cd                  =>p_rec.all_r_any_cd
      ,p_cm_usg_rl                     =>p_rec.cm_usg_rl
      ,p_descr_text                    =>p_rec.descr_text
      ,p_pgm_id                        =>p_rec.pgm_id
      ,p_pl_id                         =>p_rec.pl_id
      ,p_pl_typ_id                     =>p_rec.pl_typ_id
      ,p_enrt_perd_id                  =>p_rec.enrt_perd_id
      ,p_actn_typ_id                   =>p_rec.actn_typ_id
      ,p_cm_typ_id                     =>p_rec.cm_typ_id
      ,p_ler_id                        =>p_rec.ler_id
      ,p_business_group_id             =>p_rec.business_group_id
      ,p_ctu_attribute_category        =>p_rec.ctu_attribute_category
      ,p_ctu_attribute1                =>p_rec.ctu_attribute1
      ,p_ctu_attribute2                =>p_rec.ctu_attribute2
      ,p_ctu_attribute3                =>p_rec.ctu_attribute3
      ,p_ctu_attribute4                =>p_rec.ctu_attribute4
      ,p_ctu_attribute5                =>p_rec.ctu_attribute5
      ,p_ctu_attribute6                =>p_rec.ctu_attribute6
      ,p_ctu_attribute7                =>p_rec.ctu_attribute7
      ,p_ctu_attribute8                =>p_rec.ctu_attribute8
      ,p_ctu_attribute9                =>p_rec.ctu_attribute9
      ,p_ctu_attribute10               =>p_rec.ctu_attribute10
      ,p_ctu_attribute11               =>p_rec.ctu_attribute11
      ,p_ctu_attribute12               =>p_rec.ctu_attribute12
      ,p_ctu_attribute13               =>p_rec.ctu_attribute13
      ,p_ctu_attribute14               =>p_rec.ctu_attribute14
      ,p_ctu_attribute15               =>p_rec.ctu_attribute15
      ,p_ctu_attribute16               =>p_rec.ctu_attribute16
      ,p_ctu_attribute17               =>p_rec.ctu_attribute17
      ,p_ctu_attribute18               =>p_rec.ctu_attribute18
      ,p_ctu_attribute19               =>p_rec.ctu_attribute19
      ,p_ctu_attribute20               =>p_rec.ctu_attribute20
      ,p_ctu_attribute21               =>p_rec.ctu_attribute21
      ,p_ctu_attribute22               =>p_rec.ctu_attribute22
      ,p_ctu_attribute23               =>p_rec.ctu_attribute23
      ,p_ctu_attribute24               =>p_rec.ctu_attribute24
      ,p_ctu_attribute25               =>p_rec.ctu_attribute25
      ,p_ctu_attribute26               =>p_rec.ctu_attribute26
      ,p_ctu_attribute27               =>p_rec.ctu_attribute27
      ,p_ctu_attribute28               =>p_rec.ctu_attribute28
      ,p_ctu_attribute29               =>p_rec.ctu_attribute29
      ,p_ctu_attribute30               =>p_rec.ctu_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: 457

End post_insert;
Line: 554

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

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

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

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

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