DBA Data[Home] [Help]

APPS.BEN_PBN_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_pbn_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_f t
    where  t.pl_bnf_id       = p_rec.pl_bnf_id
    and    t.effective_start_date =
             ben_pbn_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_f.last_update_date%TYPE;
Line: 79

  l_last_updated_by     ben_pl_bnf_f.last_updated_by%TYPE;
Line: 80

  l_last_update_login   ben_pl_bnf_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_f
  (	pl_bnf_id,
	effective_start_date,
	effective_end_date,
	business_group_id,
	prtt_enrt_rslt_id,
	bnf_person_id,
	organization_id,
	ttee_person_id,
	prmry_cntngnt_cd,
	pct_dsgd_num,
	amt_dsgd_val,
	amt_dsgd_uom,
        dsgn_strt_dt,
        dsgn_thru_dt,
	addl_instrn_txt,
	pbn_attribute_category,
	pbn_attribute1,
	pbn_attribute2,
	pbn_attribute3,
	pbn_attribute4,
	pbn_attribute5,
	pbn_attribute6,
	pbn_attribute7,
	pbn_attribute8,
	pbn_attribute9,
	pbn_attribute10,
	pbn_attribute11,
	pbn_attribute12,
	pbn_attribute13,
	pbn_attribute14,
	pbn_attribute15,
	pbn_attribute16,
	pbn_attribute17,
	pbn_attribute18,
	pbn_attribute19,
	pbn_attribute20,
	pbn_attribute21,
	pbn_attribute22,
	pbn_attribute23,
	pbn_attribute24,
	pbn_attribute25,
	pbn_attribute26,
	pbn_attribute27,
	pbn_attribute28,
	pbn_attribute29,
	pbn_attribute30,
      request_id,
      program_application_id,
      program_id,
      program_update_date,
 	object_version_number,
      per_in_ler_id,
      created_by,
   	creation_date,
   	last_update_date,
   	last_updated_by,
   	last_update_login
  )
  Values
  (	p_rec.pl_bnf_id,
	p_rec.effective_start_date,
	p_rec.effective_end_date,
	p_rec.business_group_id,
	p_rec.prtt_enrt_rslt_id,
	p_rec.bnf_person_id,
	p_rec.organization_id,
	p_rec.ttee_person_id,
	p_rec.prmry_cntngnt_cd,
	p_rec.pct_dsgd_num,
	p_rec.amt_dsgd_val,
	p_rec.amt_dsgd_uom,
        p_rec.dsgn_strt_dt,
        p_rec.dsgn_thru_dt,
	p_rec.addl_instrn_txt,
	p_rec.pbn_attribute_category,
	p_rec.pbn_attribute1,
	p_rec.pbn_attribute2,
	p_rec.pbn_attribute3,
	p_rec.pbn_attribute4,
	p_rec.pbn_attribute5,
	p_rec.pbn_attribute6,
	p_rec.pbn_attribute7,
	p_rec.pbn_attribute8,
	p_rec.pbn_attribute9,
	p_rec.pbn_attribute10,
	p_rec.pbn_attribute11,
	p_rec.pbn_attribute12,
	p_rec.pbn_attribute13,
	p_rec.pbn_attribute14,
	p_rec.pbn_attribute15,
	p_rec.pbn_attribute16,
	p_rec.pbn_attribute17,
	p_rec.pbn_attribute18,
	p_rec.pbn_attribute19,
	p_rec.pbn_attribute20,
	p_rec.pbn_attribute21,
	p_rec.pbn_attribute22,
	p_rec.pbn_attribute23,
	p_rec.pbn_attribute24,
	p_rec.pbn_attribute25,
	p_rec.pbn_attribute26,
	p_rec.pbn_attribute27,
	p_rec.pbn_attribute28,
	p_rec.pbn_attribute29,
	p_rec.pbn_attribute30,
      p_rec.request_id,
      p_rec.program_application_id,
      p_rec.program_id,
      p_rec.program_update_date,
	p_rec.object_version_number,
        p_rec.per_in_ler_id,
	l_created_by,
   	l_creation_date,
   	l_last_update_date,
   	l_last_updated_by,
   	l_last_update_login
  );
Line: 269

End dt_insert_dml;
Line: 274

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

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

End insert_dml;
Line: 334

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

    select ben_pl_bnf_f_s.nextval from sys.dual;
Line: 356

End pre_insert;
Line: 390

Procedure post_insert
	(p_rec 			 in ben_pbn_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: 407

    ben_pbn_rki.after_insert
      (
  p_pl_bnf_id                     =>p_rec.pl_bnf_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_prtt_enrt_rslt_id             =>p_rec.prtt_enrt_rslt_id
 ,p_bnf_person_id                 =>p_rec.bnf_person_id
 ,p_organization_id               =>p_rec.organization_id
 ,p_ttee_person_id                =>p_rec.ttee_person_id
 ,p_prmry_cntngnt_cd              =>p_rec.prmry_cntngnt_cd
 ,p_pct_dsgd_num                  =>p_rec.pct_dsgd_num
 ,p_amt_dsgd_val                  =>p_rec.amt_dsgd_val
 ,p_amt_dsgd_uom                  =>p_rec.amt_dsgd_uom
 ,p_dsgn_strt_dt                  =>p_rec.dsgn_strt_dt
 ,p_dsgn_thru_dt                  =>p_rec.dsgn_thru_dt
 ,p_addl_instrn_txt               =>p_rec.addl_instrn_txt
 ,p_pbn_attribute_category        =>p_rec.pbn_attribute_category
 ,p_pbn_attribute1                =>p_rec.pbn_attribute1
 ,p_pbn_attribute2                =>p_rec.pbn_attribute2
 ,p_pbn_attribute3                =>p_rec.pbn_attribute3
 ,p_pbn_attribute4                =>p_rec.pbn_attribute4
 ,p_pbn_attribute5                =>p_rec.pbn_attribute5
 ,p_pbn_attribute6                =>p_rec.pbn_attribute6
 ,p_pbn_attribute7                =>p_rec.pbn_attribute7
 ,p_pbn_attribute8                =>p_rec.pbn_attribute8
 ,p_pbn_attribute9                =>p_rec.pbn_attribute9
 ,p_pbn_attribute10               =>p_rec.pbn_attribute10
 ,p_pbn_attribute11               =>p_rec.pbn_attribute11
 ,p_pbn_attribute12               =>p_rec.pbn_attribute12
 ,p_pbn_attribute13               =>p_rec.pbn_attribute13
 ,p_pbn_attribute14               =>p_rec.pbn_attribute14
 ,p_pbn_attribute15               =>p_rec.pbn_attribute15
 ,p_pbn_attribute16               =>p_rec.pbn_attribute16
 ,p_pbn_attribute17               =>p_rec.pbn_attribute17
 ,p_pbn_attribute18               =>p_rec.pbn_attribute18
 ,p_pbn_attribute19               =>p_rec.pbn_attribute19
 ,p_pbn_attribute20               =>p_rec.pbn_attribute20
 ,p_pbn_attribute21               =>p_rec.pbn_attribute21
 ,p_pbn_attribute22               =>p_rec.pbn_attribute22
 ,p_pbn_attribute23               =>p_rec.pbn_attribute23
 ,p_pbn_attribute24               =>p_rec.pbn_attribute24
 ,p_pbn_attribute25               =>p_rec.pbn_attribute25
 ,p_pbn_attribute26               =>p_rec.pbn_attribute26
 ,p_pbn_attribute27               =>p_rec.pbn_attribute27
 ,p_pbn_attribute28               =>p_rec.pbn_attribute28
 ,p_pbn_attribute29               =>p_rec.pbn_attribute29
 ,p_pbn_attribute30               =>p_rec.pbn_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_per_in_ler_id                 =>p_rec.per_in_ler_id
 ,p_effective_date                =>p_effective_date
 ,p_validation_start_date         =>p_validation_start_date
 ,p_validation_end_date           =>p_validation_end_date
      );
Line: 480

End post_insert;
Line: 568

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

   ben_pbn_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: 596

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

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

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

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

  p_program_update_date,
  null,
  p_per_in_ler_id
  );