DBA Data[Home] [Help]

APPS.BEN_PBC_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_pbc_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_bnf_ctfn_prvdd_f t
    where  t.pl_bnf_ctfn_prvdd_id       = p_rec.pl_bnf_ctfn_prvdd_id
    and    t.effective_start_date =
             ben_pbc_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_bnf_ctfn_prvdd_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_pl_bnf_ctfn_prvdd_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_pl_bnf_ctfn_prvdd_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_bnf_ctfn_prvdd_f
  (	pl_bnf_ctfn_prvdd_id,
	effective_start_date,
	effective_end_date,
	bnf_ctfn_typ_cd,
	bnf_ctfn_recd_dt,
	bnf_ctfn_rqd_flag,
	pl_bnf_id,
	prtt_enrt_actn_id,
	business_group_id,
	pbc_attribute_category,
	pbc_attribute1,
	pbc_attribute2,
	pbc_attribute3,
	pbc_attribute4,
	pbc_attribute5,
	pbc_attribute6,
	pbc_attribute7,
	pbc_attribute8,
	pbc_attribute9,
	pbc_attribute10,
	pbc_attribute11,
	pbc_attribute12,
	pbc_attribute13,
	pbc_attribute14,
	pbc_attribute15,
	pbc_attribute16,
	pbc_attribute17,
	pbc_attribute18,
	pbc_attribute19,
	pbc_attribute20,
	pbc_attribute21,
	pbc_attribute22,
	pbc_attribute23,
	pbc_attribute24,
	pbc_attribute25,
	pbc_attribute26,
	pbc_attribute27,
	pbc_attribute28,
	pbc_attribute29,
	pbc_attribute30,
	request_id,
	program_application_id,
	program_id,
	program_update_date,
	object_version_number
   	, created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.pl_bnf_ctfn_prvdd_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.bnf_ctfn_typ_cd,
	p_rec.bnf_ctfn_recd_dt,
	p_rec.bnf_ctfn_rqd_flag,
	p_rec.pl_bnf_id,
	p_rec.prtt_enrt_actn_id,
	p_rec.business_group_id,
	p_rec.pbc_attribute_category,
	p_rec.pbc_attribute1,
	p_rec.pbc_attribute2,
	p_rec.pbc_attribute3,
	p_rec.pbc_attribute4,
	p_rec.pbc_attribute5,
	p_rec.pbc_attribute6,
	p_rec.pbc_attribute7,
	p_rec.pbc_attribute8,
	p_rec.pbc_attribute9,
	p_rec.pbc_attribute10,
	p_rec.pbc_attribute11,
	p_rec.pbc_attribute12,
	p_rec.pbc_attribute13,
	p_rec.pbc_attribute14,
	p_rec.pbc_attribute15,
	p_rec.pbc_attribute16,
	p_rec.pbc_attribute17,
	p_rec.pbc_attribute18,
	p_rec.pbc_attribute19,
	p_rec.pbc_attribute20,
	p_rec.pbc_attribute21,
	p_rec.pbc_attribute22,
	p_rec.pbc_attribute23,
	p_rec.pbc_attribute24,
	p_rec.pbc_attribute25,
	p_rec.pbc_attribute26,
	p_rec.pbc_attribute27,
	p_rec.pbc_attribute28,
	p_rec.pbc_attribute29,
	p_rec.pbc_attribute30,
	p_rec.request_id,
	p_rec.program_application_id,
	p_rec.program_id,
	p_rec.program_update_date,
	p_rec.object_version_number
	, l_created_by,
   	l_creation_date,
   	l_last_update_date,
   	l_last_updated_by,
   	l_last_update_login
  );
Line: 255

End dt_insert_dml;
Line: 260

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

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

End insert_dml;
Line: 320

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

    select ben_pl_bnf_ctfn_prvdd_f_s.nextval
    from sys.dual;
Line: 346

End pre_insert;
Line: 380

Procedure post_insert
	(p_rec 			 in ben_pbc_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: 397

    ben_pbc_rki.after_insert
      (
  p_pl_bnf_ctfn_prvdd_id          =>p_rec.pl_bnf_ctfn_prvdd_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_bnf_ctfn_typ_cd               =>p_rec.bnf_ctfn_typ_cd
 ,p_bnf_ctfn_recd_dt              =>p_rec.bnf_ctfn_recd_dt
 ,p_bnf_ctfn_rqd_flag             =>p_rec.bnf_ctfn_rqd_flag
 ,p_pl_bnf_id                     =>p_rec.pl_bnf_id
 ,p_prtt_enrt_actn_id             =>p_rec.prtt_enrt_actn_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_pbc_attribute_category        =>p_rec.pbc_attribute_category
 ,p_pbc_attribute1                =>p_rec.pbc_attribute1
 ,p_pbc_attribute2                =>p_rec.pbc_attribute2
 ,p_pbc_attribute3                =>p_rec.pbc_attribute3
 ,p_pbc_attribute4                =>p_rec.pbc_attribute4
 ,p_pbc_attribute5                =>p_rec.pbc_attribute5
 ,p_pbc_attribute6                =>p_rec.pbc_attribute6
 ,p_pbc_attribute7                =>p_rec.pbc_attribute7
 ,p_pbc_attribute8                =>p_rec.pbc_attribute8
 ,p_pbc_attribute9                =>p_rec.pbc_attribute9
 ,p_pbc_attribute10               =>p_rec.pbc_attribute10
 ,p_pbc_attribute11               =>p_rec.pbc_attribute11
 ,p_pbc_attribute12               =>p_rec.pbc_attribute12
 ,p_pbc_attribute13               =>p_rec.pbc_attribute13
 ,p_pbc_attribute14               =>p_rec.pbc_attribute14
 ,p_pbc_attribute15               =>p_rec.pbc_attribute15
 ,p_pbc_attribute16               =>p_rec.pbc_attribute16
 ,p_pbc_attribute17               =>p_rec.pbc_attribute17
 ,p_pbc_attribute18               =>p_rec.pbc_attribute18
 ,p_pbc_attribute19               =>p_rec.pbc_attribute19
 ,p_pbc_attribute20               =>p_rec.pbc_attribute20
 ,p_pbc_attribute21               =>p_rec.pbc_attribute21
 ,p_pbc_attribute22               =>p_rec.pbc_attribute22
 ,p_pbc_attribute23               =>p_rec.pbc_attribute23
 ,p_pbc_attribute24               =>p_rec.pbc_attribute24
 ,p_pbc_attribute25               =>p_rec.pbc_attribute25
 ,p_pbc_attribute26               =>p_rec.pbc_attribute26
 ,p_pbc_attribute27               =>p_rec.pbc_attribute27
 ,p_pbc_attribute28               =>p_rec.pbc_attribute28
 ,p_pbc_attribute29               =>p_rec.pbc_attribute29
 ,p_pbc_attribute30               =>p_rec.pbc_attribute30
 ,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_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: 463

End post_insert;
Line: 554

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

  ben_pbc_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);
Line: 655

  p_program_update_date          in date             default null,
  p_object_version_number        out nocopy number,
  p_effective_date		 in date
  ) is
--
  l_rec		ben_pbc_shd.g_rec_type;
Line: 715

  p_program_update_date,
  null
  );