DBA Data[Home] [Help]

APPS.BEN_PRM_UPD SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 57

Procedure dt_update_dml
	(p_rec 			 in out nocopy ben_prm_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||'dt_update_dml';
Line: 85

    update  ben_prtt_prem_by_mo_f
    set
        prtt_prem_by_mo_id              = p_rec.prtt_prem_by_mo_id,
    mnl_adj_flag                    = p_rec.mnl_adj_flag,
    mo_num                          = p_rec.mo_num,
    yr_num                          = p_rec.yr_num,
    antcpd_prtt_cntr_uom            = p_rec.antcpd_prtt_cntr_uom,
    antcpd_prtt_cntr_val            = p_rec.antcpd_prtt_cntr_val,
    val                             = p_rec.val,
    cr_val                          = p_rec.cr_val,
    cr_mnl_adj_flag                 = p_rec.cr_mnl_adj_flag,
    alctd_val_flag                  = p_rec.alctd_val_flag,
    uom                             = p_rec.uom,
    prtt_prem_id                    = p_rec.prtt_prem_id,
    cost_allocation_keyflex_id      = p_rec.cost_allocation_keyflex_id,
    business_group_id               = p_rec.business_group_id,
    prm_attribute_category          = p_rec.prm_attribute_category,
    prm_attribute1                  = p_rec.prm_attribute1,
    prm_attribute2                  = p_rec.prm_attribute2,
    prm_attribute3                  = p_rec.prm_attribute3,
    prm_attribute4                  = p_rec.prm_attribute4,
    prm_attribute5                  = p_rec.prm_attribute5,
    prm_attribute6                  = p_rec.prm_attribute6,
    prm_attribute7                  = p_rec.prm_attribute7,
    prm_attribute8                  = p_rec.prm_attribute8,
    prm_attribute9                  = p_rec.prm_attribute9,
    prm_attribute10                 = p_rec.prm_attribute10,
    prm_attribute11                 = p_rec.prm_attribute11,
    prm_attribute12                 = p_rec.prm_attribute12,
    prm_attribute13                 = p_rec.prm_attribute13,
    prm_attribute14                 = p_rec.prm_attribute14,
    prm_attribute15                 = p_rec.prm_attribute15,
    prm_attribute16                 = p_rec.prm_attribute16,
    prm_attribute17                 = p_rec.prm_attribute17,
    prm_attribute18                 = p_rec.prm_attribute18,
    prm_attribute19                 = p_rec.prm_attribute19,
    prm_attribute20                 = p_rec.prm_attribute20,
    prm_attribute21                 = p_rec.prm_attribute21,
    prm_attribute22                 = p_rec.prm_attribute22,
    prm_attribute23                 = p_rec.prm_attribute23,
    prm_attribute24                 = p_rec.prm_attribute24,
    prm_attribute25                 = p_rec.prm_attribute25,
    prm_attribute26                 = p_rec.prm_attribute26,
    prm_attribute27                 = p_rec.prm_attribute27,
    prm_attribute28                 = p_rec.prm_attribute28,
    prm_attribute29                 = p_rec.prm_attribute29,
    prm_attribute30                 = p_rec.prm_attribute30,
    object_version_number           = p_rec.object_version_number,
    request_id                      = p_rec.request_id,
    program_application_id          = p_rec.program_application_id,
    program_id                      = p_rec.program_id,
    program_update_date             = p_rec.program_update_date
    where   prtt_prem_by_mo_id = p_rec.prtt_prem_by_mo_id
    and     effective_start_date = p_validation_start_date
    and     effective_end_date   = p_validation_end_date;
Line: 164

End dt_update_dml;
Line: 197

Procedure update_dml
	(p_rec 			 in out nocopy ben_prm_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||'update_dml';
Line: 209

  dt_update_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: 216

End update_dml;
Line: 261

Procedure dt_pre_update
	(p_rec 			 in out nocopy ben_prm_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||'dt_pre_update';
Line: 286

    If (p_datetrack_mode = 'UPDATE_OVERRIDE') then
      hr_utility.set_location(l_proc, 15);
Line: 292

      ben_prm_del.delete_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: 303

    ben_prm_ins.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: 311

End dt_pre_update;
Line: 346

Procedure pre_update
	(p_rec 			 in out nocopy ben_prm_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_update';
Line: 360

  dt_pre_update
    (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: 368

End pre_update;
Line: 402

Procedure post_update
	(p_rec 			 in ben_prm_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_update';
Line: 422

    ben_prm_rku.after_update
      (
  p_prtt_prem_by_mo_id            =>p_rec.prtt_prem_by_mo_id
 ,p_effective_start_date          =>p_rec.effective_start_date
 ,p_effective_end_date            =>p_rec.effective_end_date
 ,p_mnl_adj_flag                  =>p_rec.mnl_adj_flag
 ,p_mo_num                        =>p_rec.mo_num
 ,p_yr_num                        =>p_rec.yr_num
 ,p_antcpd_prtt_cntr_uom          =>p_rec.antcpd_prtt_cntr_uom
 ,p_antcpd_prtt_cntr_val          =>p_rec.antcpd_prtt_cntr_val
 ,p_val                           =>p_rec.val
 ,p_cr_val                        =>p_rec.cr_val
 ,p_cr_mnl_adj_flag               =>p_rec.cr_mnl_adj_flag
 ,p_alctd_val_flag                =>p_rec.alctd_val_flag
 ,p_uom                           =>p_rec.uom
 ,p_prtt_prem_id                  =>p_rec.prtt_prem_id
 ,p_cost_allocation_keyflex_id    =>p_rec.cost_allocation_keyflex_id
 ,p_business_group_id             =>p_rec.business_group_id
 ,p_prm_attribute_category        =>p_rec.prm_attribute_category
 ,p_prm_attribute1                =>p_rec.prm_attribute1
 ,p_prm_attribute2                =>p_rec.prm_attribute2
 ,p_prm_attribute3                =>p_rec.prm_attribute3
 ,p_prm_attribute4                =>p_rec.prm_attribute4
 ,p_prm_attribute5                =>p_rec.prm_attribute5
 ,p_prm_attribute6                =>p_rec.prm_attribute6
 ,p_prm_attribute7                =>p_rec.prm_attribute7
 ,p_prm_attribute8                =>p_rec.prm_attribute8
 ,p_prm_attribute9                =>p_rec.prm_attribute9
 ,p_prm_attribute10               =>p_rec.prm_attribute10
 ,p_prm_attribute11               =>p_rec.prm_attribute11
 ,p_prm_attribute12               =>p_rec.prm_attribute12
 ,p_prm_attribute13               =>p_rec.prm_attribute13
 ,p_prm_attribute14               =>p_rec.prm_attribute14
 ,p_prm_attribute15               =>p_rec.prm_attribute15
 ,p_prm_attribute16               =>p_rec.prm_attribute16
 ,p_prm_attribute17               =>p_rec.prm_attribute17
 ,p_prm_attribute18               =>p_rec.prm_attribute18
 ,p_prm_attribute19               =>p_rec.prm_attribute19
 ,p_prm_attribute20               =>p_rec.prm_attribute20
 ,p_prm_attribute21               =>p_rec.prm_attribute21
 ,p_prm_attribute22               =>p_rec.prm_attribute22
 ,p_prm_attribute23               =>p_rec.prm_attribute23
 ,p_prm_attribute24               =>p_rec.prm_attribute24
 ,p_prm_attribute25               =>p_rec.prm_attribute25
 ,p_prm_attribute26               =>p_rec.prm_attribute26
 ,p_prm_attribute27               =>p_rec.prm_attribute27
 ,p_prm_attribute28               =>p_rec.prm_attribute28
 ,p_prm_attribute29               =>p_rec.prm_attribute29
 ,p_prm_attribute30               =>p_rec.prm_attribute30
 ,p_object_version_number         =>p_rec.object_version_number
 ,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_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
 ,p_effective_start_date_o        =>ben_prm_shd.g_old_rec.effective_start_date
 ,p_effective_end_date_o          =>ben_prm_shd.g_old_rec.effective_end_date
 ,p_mnl_adj_flag_o                =>ben_prm_shd.g_old_rec.mnl_adj_flag
 ,p_mo_num_o                      =>ben_prm_shd.g_old_rec.mo_num
 ,p_yr_num_o                      =>ben_prm_shd.g_old_rec.yr_num
 ,p_antcpd_prtt_cntr_uom_o        =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_uom
 ,p_antcpd_prtt_cntr_val_o        =>ben_prm_shd.g_old_rec.antcpd_prtt_cntr_val
 ,p_val_o                         =>ben_prm_shd.g_old_rec.val
 ,p_cr_val_o                      =>ben_prm_shd.g_old_rec.cr_val
 ,p_cr_mnl_adj_flag_o             =>ben_prm_shd.g_old_rec.cr_mnl_adj_flag
 ,p_alctd_val_flag_o              =>ben_prm_shd.g_old_rec.alctd_val_flag
 ,p_uom_o                         =>ben_prm_shd.g_old_rec.uom
 ,p_prtt_prem_id_o                =>ben_prm_shd.g_old_rec.prtt_prem_id
 ,p_cost_allocation_keyflex_id_o  =>ben_prm_shd.g_old_rec.cost_allocation_keyflex_id
 ,p_business_group_id_o           =>ben_prm_shd.g_old_rec.business_group_id
 ,p_prm_attribute_category_o      =>ben_prm_shd.g_old_rec.prm_attribute_category
 ,p_prm_attribute1_o              =>ben_prm_shd.g_old_rec.prm_attribute1
 ,p_prm_attribute2_o              =>ben_prm_shd.g_old_rec.prm_attribute2
 ,p_prm_attribute3_o              =>ben_prm_shd.g_old_rec.prm_attribute3
 ,p_prm_attribute4_o              =>ben_prm_shd.g_old_rec.prm_attribute4
 ,p_prm_attribute5_o              =>ben_prm_shd.g_old_rec.prm_attribute5
 ,p_prm_attribute6_o              =>ben_prm_shd.g_old_rec.prm_attribute6
 ,p_prm_attribute7_o              =>ben_prm_shd.g_old_rec.prm_attribute7
 ,p_prm_attribute8_o              =>ben_prm_shd.g_old_rec.prm_attribute8
 ,p_prm_attribute9_o              =>ben_prm_shd.g_old_rec.prm_attribute9
 ,p_prm_attribute10_o             =>ben_prm_shd.g_old_rec.prm_attribute10
 ,p_prm_attribute11_o             =>ben_prm_shd.g_old_rec.prm_attribute11
 ,p_prm_attribute12_o             =>ben_prm_shd.g_old_rec.prm_attribute12
 ,p_prm_attribute13_o             =>ben_prm_shd.g_old_rec.prm_attribute13
 ,p_prm_attribute14_o             =>ben_prm_shd.g_old_rec.prm_attribute14
 ,p_prm_attribute15_o             =>ben_prm_shd.g_old_rec.prm_attribute15
 ,p_prm_attribute16_o             =>ben_prm_shd.g_old_rec.prm_attribute16
 ,p_prm_attribute17_o             =>ben_prm_shd.g_old_rec.prm_attribute17
 ,p_prm_attribute18_o             =>ben_prm_shd.g_old_rec.prm_attribute18
 ,p_prm_attribute19_o             =>ben_prm_shd.g_old_rec.prm_attribute19
 ,p_prm_attribute20_o             =>ben_prm_shd.g_old_rec.prm_attribute20
 ,p_prm_attribute21_o             =>ben_prm_shd.g_old_rec.prm_attribute21
 ,p_prm_attribute22_o             =>ben_prm_shd.g_old_rec.prm_attribute22
 ,p_prm_attribute23_o             =>ben_prm_shd.g_old_rec.prm_attribute23
 ,p_prm_attribute24_o             =>ben_prm_shd.g_old_rec.prm_attribute24
 ,p_prm_attribute25_o             =>ben_prm_shd.g_old_rec.prm_attribute25
 ,p_prm_attribute26_o             =>ben_prm_shd.g_old_rec.prm_attribute26
 ,p_prm_attribute27_o             =>ben_prm_shd.g_old_rec.prm_attribute27
 ,p_prm_attribute28_o             =>ben_prm_shd.g_old_rec.prm_attribute28
 ,p_prm_attribute29_o             =>ben_prm_shd.g_old_rec.prm_attribute29
 ,p_prm_attribute30_o             =>ben_prm_shd.g_old_rec.prm_attribute30
 ,p_object_version_number_o       =>ben_prm_shd.g_old_rec.object_version_number
 ,p_request_id_o                  =>ben_prm_shd.g_old_rec.request_id
 ,p_program_application_id_o      =>ben_prm_shd.g_old_rec.program_application_id
 ,p_program_id_o                  =>ben_prm_shd.g_old_rec.program_id
 ,p_program_update_date_o         =>ben_prm_shd.g_old_rec.program_update_date
    );
Line: 545

  l_new_rec.update_mode             := 'UPDATE'     ;
Line: 560

      (p_event     =>  'UPDATE'
      ,p_old_rec   =>  l_old_rec
      ,p_new_rec   =>  l_new_rec
      ) ;
Line: 580

End post_update;
Line: 826

  If (p_rec.program_update_date = hr_api.g_date) then
    p_rec.program_update_date :=
    ben_prm_shd.g_old_rec.program_update_date;
Line: 873

  ben_prm_bus.update_validate
	(p_rec			 => p_rec,
	 p_effective_date	 => p_effective_date,
	 p_datetrack_mode  	 => p_datetrack_mode,
	 p_validation_start_date => l_validation_start_date,
	 p_validation_end_date	 => l_validation_end_date);
Line: 882

  pre_update
	(p_rec			 => p_rec,
	 p_effective_date	 => p_effective_date,
	 p_datetrack_mode	 => p_datetrack_mode,
	 p_validation_start_date => l_validation_start_date,
	 p_validation_end_date	 => l_validation_end_date);
Line: 891

  update_dml
	(p_rec			 => p_rec,
	 p_effective_date	 => p_effective_date,
	 p_datetrack_mode	 => p_datetrack_mode,
	 p_validation_start_date => l_validation_start_date,
	 p_validation_end_date	 => l_validation_end_date);
Line: 900

  post_update
	(p_rec			 => p_rec,
	 p_effective_date	 => p_effective_date,
	 p_datetrack_mode	 => p_datetrack_mode,
	 p_validation_start_date => l_validation_start_date,
	 p_validation_end_date	 => l_validation_end_date);
Line: 964

  p_program_update_date          in date             default hr_api.g_date,
  p_effective_date		 in date,
  p_datetrack_mode		 in varchar2
  ) is
--
  l_rec		ben_prm_shd.g_rec_type;
Line: 1032

  p_program_update_date
  );