DBA Data[Home] [Help]

APPS.BEN_PCS_SHD SQL Statements

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

Line: 69

    select
	prtt_enrt_ctfn_prvdd_id,
	effective_start_date,
	effective_end_date,
	enrt_ctfn_rqd_flag,
	enrt_ctfn_typ_cd,
	enrt_ctfn_recd_dt,
      enrt_ctfn_dnd_dt,
      enrt_r_bnft_ctfn_cd,
	prtt_enrt_rslt_id,
	prtt_enrt_actn_id,
	business_group_id,
	pcs_attribute_category,
	pcs_attribute1,
	pcs_attribute2,
	pcs_attribute3,
	pcs_attribute4,
	pcs_attribute5,
	pcs_attribute6,
	pcs_attribute7,
	pcs_attribute8,
	pcs_attribute9,
	pcs_attribute10,
	pcs_attribute11,
	pcs_attribute12,
	pcs_attribute13,
	pcs_attribute14,
	pcs_attribute15,
	pcs_attribute16,
	pcs_attribute17,
	pcs_attribute18,
	pcs_attribute19,
	pcs_attribute20,
	pcs_attribute21,
	pcs_attribute22,
	pcs_attribute23,
	pcs_attribute24,
	pcs_attribute25,
	pcs_attribute26,
	pcs_attribute27,
	pcs_attribute28,
	pcs_attribute29,
	pcs_attribute30,
	object_version_number
    from	ben_prtt_enrt_ctfn_prvdd_f
    where	prtt_enrt_ctfn_prvdd_id = p_prtt_enrt_ctfn_prvdd_id
    and		p_effective_date
    between	effective_start_date and effective_end_date;
Line: 176

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

    select  t.prtt_enrt_actn_id,
	    t.prtt_enrt_rslt_id
    from    ben_prtt_enrt_ctfn_prvdd_f t
    where   t.prtt_enrt_ctfn_prvdd_id = p_base_key_value
    and     p_effective_date
    between t.effective_start_date and t.effective_end_date;
Line: 221

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

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

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

  update  ben_prtt_enrt_ctfn_prvdd_f t
  set	  t.effective_end_date	  = p_new_effective_end_date,
	  t.object_version_number = l_object_version_number
  where	  t.prtt_enrt_ctfn_prvdd_id	  = p_base_key_value
  and	  p_effective_date
  between t.effective_start_date and t.effective_end_date;
Line: 329

    select
	prtt_enrt_ctfn_prvdd_id,
	effective_start_date,
	effective_end_date,
	enrt_ctfn_rqd_flag,
	enrt_ctfn_typ_cd,
	enrt_ctfn_recd_dt,
      enrt_ctfn_dnd_dt,
      enrt_r_bnft_ctfn_cd,
	prtt_enrt_rslt_id,
	prtt_enrt_actn_id,
	business_group_id,
	pcs_attribute_category,
	pcs_attribute1,
	pcs_attribute2,
	pcs_attribute3,
	pcs_attribute4,
	pcs_attribute5,
	pcs_attribute6,
	pcs_attribute7,
	pcs_attribute8,
	pcs_attribute9,
	pcs_attribute10,
	pcs_attribute11,
	pcs_attribute12,
	pcs_attribute13,
	pcs_attribute14,
	pcs_attribute15,
	pcs_attribute16,
	pcs_attribute17,
	pcs_attribute18,
	pcs_attribute19,
	pcs_attribute20,
	pcs_attribute21,
	pcs_attribute22,
	pcs_attribute23,
	pcs_attribute24,
	pcs_attribute25,
	pcs_attribute26,
	pcs_attribute27,
	pcs_attribute28,
	pcs_attribute29,
	pcs_attribute30,
	object_version_number
    from    ben_prtt_enrt_ctfn_prvdd_f
    where   prtt_enrt_ctfn_prvdd_id         = p_prtt_enrt_ctfn_prvdd_id
    and	    p_effective_date
    between effective_start_date and effective_end_date
    for update nowait;
Line: 404

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