DBA Data[Home] [Help]

APPS.BEN_PRB_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_prb_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_pl_regy_bod_f t
    where  t.pl_regy_bod_id       = p_rec.pl_regy_bod_id
    and    t.effective_start_date =
             ben_prb_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_pl_regy_bod_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_pl_regy_bod_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_pl_regy_bod_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_pl_regy_bod_f
  (	pl_regy_bod_id,
	effective_start_date,
	effective_end_date,
	business_group_id,
	pl_id,
	rptg_grp_id,
        organization_id,
	quald_dt,
	quald_flag,
	regy_pl_name,
	aprvd_trmn_dt,
	prb_attribute_category,
	prb_attribute1,
	prb_attribute2,
	prb_attribute3,
	prb_attribute4,
	prb_attribute5,
	prb_attribute6,
	prb_attribute7,
	prb_attribute8,
	prb_attribute9,
	prb_attribute10,
	prb_attribute11,
	prb_attribute12,
	prb_attribute13,
	prb_attribute14,
	prb_attribute15,
	prb_attribute16,
	prb_attribute17,
	prb_attribute18,
	prb_attribute19,
	prb_attribute20,
	prb_attribute21,
	prb_attribute22,
	prb_attribute23,
	prb_attribute24,
	prb_attribute25,
	prb_attribute26,
	prb_attribute27,
	prb_attribute28,
	prb_attribute29,
	prb_attribute30,
	object_version_number
   	, created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.pl_regy_bod_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.business_group_id,
	p_rec.pl_id,
	p_rec.rptg_grp_id,
        p_rec.organization_id,
	p_rec.quald_dt,
	p_rec.quald_flag,
	p_rec.regy_pl_name,
	p_rec.aprvd_trmn_dt,
	p_rec.prb_attribute_category,
	p_rec.prb_attribute1,
	p_rec.prb_attribute2,
	p_rec.prb_attribute3,
	p_rec.prb_attribute4,
	p_rec.prb_attribute5,
	p_rec.prb_attribute6,
	p_rec.prb_attribute7,
	p_rec.prb_attribute8,
	p_rec.prb_attribute9,
	p_rec.prb_attribute10,
	p_rec.prb_attribute11,
	p_rec.prb_attribute12,
	p_rec.prb_attribute13,
	p_rec.prb_attribute14,
	p_rec.prb_attribute15,
	p_rec.prb_attribute16,
	p_rec.prb_attribute17,
	p_rec.prb_attribute18,
	p_rec.prb_attribute19,
	p_rec.prb_attribute20,
	p_rec.prb_attribute21,
	p_rec.prb_attribute22,
	p_rec.prb_attribute23,
	p_rec.prb_attribute24,
	p_rec.prb_attribute25,
	p_rec.prb_attribute26,
	p_rec.prb_attribute27,
	p_rec.prb_attribute28,
	p_rec.prb_attribute29,
	p_rec.prb_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: 251

End dt_insert_dml;
Line: 256

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

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

End insert_dml;
Line: 316

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

  Cursor C_Sel1 is select ben_pl_regy_bod_f_s.nextval from sys.dual;
Line: 337

End pre_insert;
Line: 371

Procedure post_insert
	(p_rec 			 in ben_prb_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: 387

    ben_prb_rki.after_insert
      (
      p_pl_regy_bod_id                =>p_rec.pl_regy_bod_id
     ,p_effective_start_date          =>p_rec.effective_start_date
     ,p_effective_end_date            =>p_rec.effective_end_date
     ,p_business_group_id             =>p_rec.business_group_id
     ,p_pl_id                         =>p_rec.pl_id
     ,p_rptg_grp_id                   =>p_rec.rptg_grp_id
     ,p_organization_id               =>p_rec.organization_id
     ,p_quald_dt                      =>p_rec.quald_dt
     ,p_quald_flag                    =>p_rec.quald_flag
     ,p_regy_pl_name                  =>p_rec.regy_pl_name
     ,p_aprvd_trmn_dt                 =>p_rec.aprvd_trmn_dt
     ,p_prb_attribute_category        =>p_rec.prb_attribute_category
     ,p_prb_attribute1                =>p_rec.prb_attribute1
     ,p_prb_attribute2                =>p_rec.prb_attribute2
     ,p_prb_attribute3                =>p_rec.prb_attribute3
     ,p_prb_attribute4                =>p_rec.prb_attribute4
     ,p_prb_attribute5                =>p_rec.prb_attribute5
     ,p_prb_attribute6                =>p_rec.prb_attribute6
     ,p_prb_attribute7                =>p_rec.prb_attribute7
     ,p_prb_attribute8                =>p_rec.prb_attribute8
     ,p_prb_attribute9                =>p_rec.prb_attribute9
     ,p_prb_attribute10               =>p_rec.prb_attribute10
     ,p_prb_attribute11               =>p_rec.prb_attribute11
     ,p_prb_attribute12               =>p_rec.prb_attribute12
     ,p_prb_attribute13               =>p_rec.prb_attribute13
     ,p_prb_attribute14               =>p_rec.prb_attribute14
     ,p_prb_attribute15               =>p_rec.prb_attribute15
     ,p_prb_attribute16               =>p_rec.prb_attribute16
     ,p_prb_attribute17               =>p_rec.prb_attribute17
     ,p_prb_attribute18               =>p_rec.prb_attribute18
     ,p_prb_attribute19               =>p_rec.prb_attribute19
     ,p_prb_attribute20               =>p_rec.prb_attribute20
     ,p_prb_attribute21               =>p_rec.prb_attribute21
     ,p_prb_attribute22               =>p_rec.prb_attribute22
     ,p_prb_attribute23               =>p_rec.prb_attribute23
     ,p_prb_attribute24               =>p_rec.prb_attribute24
     ,p_prb_attribute25               =>p_rec.prb_attribute25
     ,p_prb_attribute26               =>p_rec.prb_attribute26
     ,p_prb_attribute27               =>p_rec.prb_attribute27
     ,p_prb_attribute28               =>p_rec.prb_attribute28
     ,p_prb_attribute29               =>p_rec.prb_attribute29
     ,p_prb_attribute30               =>p_rec.prb_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: 450

End post_insert;
Line: 538

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

  ben_prb_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: 565

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

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

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