DBA Data[Home] [Help]

APPS.BEN_WCT_SHD SQL Statements

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

Line: 64

    select
	wv_prtn_rsn_ctfn_ptip_id,
	effective_start_date,
	effective_end_date,
	wv_prtn_ctfn_cd,
	wv_prtn_rsn_ptip_id,
	lack_ctfn_sspnd_wvr_flag,
        rqd_flag,
	ctfn_rqd_when_rl,
	pfd_flag,
	wv_prtn_ctfn_typ_cd,
	business_group_id,
	wct_attribute_category,
	wct_attribute1,
	wct_attribute2,
	wct_attribute3,
	wct_attribute4,
	wct_attribute5,
	wct_attribute6,
	wct_attribute7,
	wct_attribute8,
	wct_attribute9,
	wct_attribute10,
	wct_attribute11,
	wct_attribute12,
	wct_attribute13,
	wct_attribute14,
	wct_attribute15,
	wct_attribute16,
	wct_attribute17,
	wct_attribute18,
	wct_attribute19,
	wct_attribute20,
	wct_attribute21,
	wct_attribute22,
	wct_attribute23,
	wct_attribute24,
	wct_attribute25,
	wct_attribute26,
	wct_attribute27,
	wct_attribute28,
	wct_attribute29,
	wct_attribute30,
	object_version_number
    from	ben_wv_prtn_rsn_ctfn_ptip_f
    where	wv_prtn_rsn_ctfn_ptip_id = p_wv_prtn_rsn_ctfn_ptip_id
    and		p_effective_date
    between	effective_start_date and effective_end_date;
Line: 171

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

    select  t.ctfn_rqd_when_rl,
	    t.wv_prtn_rsn_ptip_id
    from    ben_wv_prtn_rsn_ctfn_ptip_f t
    where   t.wv_prtn_rsn_ctfn_ptip_id = p_base_key_value
    and     p_effective_date
    between t.effective_start_date and t.effective_end_date;
Line: 216

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

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

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

  update  ben_wv_prtn_rsn_ctfn_ptip_f t
  set	  t.effective_end_date	  = p_new_effective_end_date,
	  t.object_version_number = l_object_version_number
  where	  t.wv_prtn_rsn_ctfn_ptip_id	  = p_base_key_value
  and	  p_effective_date
  between t.effective_start_date and t.effective_end_date;
Line: 324

    select
	wv_prtn_rsn_ctfn_ptip_id,
	effective_start_date,
	effective_end_date,
	wv_prtn_ctfn_cd,
	wv_prtn_rsn_ptip_id,
	lack_ctfn_sspnd_wvr_flag,
        rqd_flag,
	ctfn_rqd_when_rl,
	pfd_flag,
	wv_prtn_ctfn_typ_cd,
	business_group_id,
	wct_attribute_category,
	wct_attribute1,
	wct_attribute2,
	wct_attribute3,
	wct_attribute4,
	wct_attribute5,
	wct_attribute6,
	wct_attribute7,
	wct_attribute8,
	wct_attribute9,
	wct_attribute10,
	wct_attribute11,
	wct_attribute12,
	wct_attribute13,
	wct_attribute14,
	wct_attribute15,
	wct_attribute16,
	wct_attribute17,
	wct_attribute18,
	wct_attribute19,
	wct_attribute20,
	wct_attribute21,
	wct_attribute22,
	wct_attribute23,
	wct_attribute24,
	wct_attribute25,
	wct_attribute26,
	wct_attribute27,
	wct_attribute28,
	wct_attribute29,
	wct_attribute30,
	object_version_number
    from    ben_wv_prtn_rsn_ctfn_ptip_f
    where   wv_prtn_rsn_ctfn_ptip_id         = p_wv_prtn_rsn_ctfn_ptip_id
    and	    p_effective_date
    between effective_start_date and effective_end_date
    for update nowait;
Line: 399

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