DBA Data[Home] [Help]

APPS.BEN_LCC_SHD SQL Statements

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

Line: 69

    select
	ler_chg_dpnt_cvg_ctfn_id,
	effective_start_date,
	effective_end_date,
	dpnt_cvg_ctfn_typ_cd,
	rlshp_typ_cd,
	ctfn_rqd_when_rl,
	lack_ctfn_sspnd_enrt_flag,
	rqd_flag,
	ler_chg_dpnt_cvg_id,
	business_group_id,
	lcc_attribute_category,
	lcc_attribute1,
	lcc_attribute2,
	lcc_attribute3,
	lcc_attribute4,
	lcc_attribute5,
	lcc_attribute6,
	lcc_attribute7,
	lcc_attribute8,
	lcc_attribute9,
	lcc_attribute10,
	lcc_attribute11,
	lcc_attribute12,
	lcc_attribute13,
	lcc_attribute14,
	lcc_attribute15,
	lcc_attribute16,
	lcc_attribute17,
	lcc_attribute18,
	lcc_attribute19,
	lcc_attribute20,
	lcc_attribute21,
	lcc_attribute22,
	lcc_attribute23,
	lcc_attribute24,
	lcc_attribute25,
	lcc_attribute26,
	lcc_attribute27,
	lcc_attribute28,
	lcc_attribute29,
	lcc_attribute30,
	object_version_number
    from	ben_ler_chg_dpnt_cvg_ctfn_f
    where	ler_chg_dpnt_cvg_ctfn_id = p_ler_chg_dpnt_cvg_ctfn_id
    and		p_effective_date
    between	effective_start_date and effective_end_date;
Line: 175

	 p_delete	 out nocopy boolean,
	 p_future_change out nocopy boolean,
	 p_delete_next_change out nocopy boolean) is
--
  l_proc 		varchar2(72) 	:= g_package||'find_dt_del_modes';
Line: 184

    select  t.ler_chg_dpnt_cvg_id
    from    ben_ler_chg_dpnt_cvg_ctfn_f t
    where   t.ler_chg_dpnt_cvg_ctfn_id = p_base_key_value
    and     p_effective_date
    between t.effective_start_date and t.effective_end_date;
Line: 214

	 p_delete		=> p_delete,
	 p_future_change	=> p_future_change,
	 p_delete_next_change	=> p_delete_next_change);
Line: 228

	 p_update	 out nocopy boolean,
	 p_update_override out nocopy boolean,
	 p_update_change_insert out nocopy boolean) is
--
  l_proc 	varchar2(72) := g_package||'find_dt_upd_modes';
Line: 245

	 p_update		=> p_update,
	 p_update_override	=> p_update_override,
	 p_update_change_insert	=> p_update_change_insert);
Line: 284

  update  ben_ler_chg_dpnt_cvg_ctfn_f t
  set	  t.effective_end_date	  = p_new_effective_end_date,
	  t.object_version_number = l_object_version_number
  where	  t.ler_chg_dpnt_cvg_ctfn_id	  = p_base_key_value
  and	  p_effective_date
  between t.effective_start_date and t.effective_end_date;
Line: 322

    select
	ler_chg_dpnt_cvg_ctfn_id,
	effective_start_date,
	effective_end_date,
	dpnt_cvg_ctfn_typ_cd,
	rlshp_typ_cd,
	ctfn_rqd_when_rl,
	lack_ctfn_sspnd_enrt_flag,
	rqd_flag,
	ler_chg_dpnt_cvg_id,
	business_group_id,
	lcc_attribute_category,
	lcc_attribute1,
	lcc_attribute2,
	lcc_attribute3,
	lcc_attribute4,
	lcc_attribute5,
	lcc_attribute6,
	lcc_attribute7,
	lcc_attribute8,
	lcc_attribute9,
	lcc_attribute10,
	lcc_attribute11,
	lcc_attribute12,
	lcc_attribute13,
	lcc_attribute14,
	lcc_attribute15,
	lcc_attribute16,
	lcc_attribute17,
	lcc_attribute18,
	lcc_attribute19,
	lcc_attribute20,
	lcc_attribute21,
	lcc_attribute22,
	lcc_attribute23,
	lcc_attribute24,
	lcc_attribute25,
	lcc_attribute26,
	lcc_attribute27,
	lcc_attribute28,
	lcc_attribute29,
	lcc_attribute30,
	object_version_number
    from    ben_ler_chg_dpnt_cvg_ctfn_f
    where   ler_chg_dpnt_cvg_ctfn_id         = p_ler_chg_dpnt_cvg_ctfn_id
    and	    p_effective_date
    between effective_start_date and effective_end_date
    for update nowait;
Line: 396

  If (p_datetrack_mode <> 'INSERT') then
    --
    -- We must select and lock the current row.
    --
    Open  C_Sel1;