DBA Data[Home] [Help]

APPS.BEN_VGS_SHD SQL Statements

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

Line: 74

    select
	pl_gd_or_svc_id,
	effective_start_date,
	effective_end_date,
	business_group_id,
	pl_id,
	gd_or_svc_typ_id,
	alw_rcrrg_clms_flag,
        gd_or_svc_usg_cd,
	vgs_attribute_category,
	vgs_attribute1,
	vgs_attribute2,
	vgs_attribute3,
	vgs_attribute4,
	vgs_attribute5,
	vgs_attribute6,
	vgs_attribute7,
	vgs_attribute8,
	vgs_attribute9,
	vgs_attribute10,
	vgs_attribute11,
	vgs_attribute12,
	vgs_attribute13,
	vgs_attribute14,
	vgs_attribute15,
	vgs_attribute16,
	vgs_attribute17,
	vgs_attribute18,
	vgs_attribute19,
	vgs_attribute20,
	vgs_attribute21,
	vgs_attribute22,
	vgs_attribute23,
	vgs_attribute24,
	vgs_attribute25,
	vgs_attribute26,
	vgs_attribute27,
	vgs_attribute28,
	vgs_attribute29,
	vgs_attribute30,
	object_version_number,
	gd_svc_recd_basis_cd ,
	gd_svc_recd_basis_dt ,
	gd_svc_recd_basis_mo
    from	ben_pl_gd_or_svc_f
    where	pl_gd_or_svc_id = p_pl_gd_or_svc_id
    and		p_effective_date
    between	effective_start_date and effective_end_date;
Line: 181

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

    select  t.pl_id
    from    ben_pl_gd_or_svc_f t
    where   t.pl_gd_or_svc_id = p_base_key_value
    and     p_effective_date
    between t.effective_start_date and t.effective_end_date;
Line: 220

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

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

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

  update  ben_pl_gd_or_svc_f t
  set	  t.effective_end_date	  = p_new_effective_end_date,
	  t.object_version_number = l_object_version_number
  where	  t.pl_gd_or_svc_id	  = p_base_key_value
  and	  p_effective_date
  between t.effective_start_date and t.effective_end_date;
Line: 328

    select
	pl_gd_or_svc_id,
	effective_start_date,
	effective_end_date,
	business_group_id,
	pl_id,
	gd_or_svc_typ_id,
	alw_rcrrg_clms_flag,
        gd_or_svc_usg_cd,
	vgs_attribute_category,
	vgs_attribute1,
	vgs_attribute2,
	vgs_attribute3,
	vgs_attribute4,
	vgs_attribute5,
	vgs_attribute6,
	vgs_attribute7,
	vgs_attribute8,
	vgs_attribute9,
	vgs_attribute10,
	vgs_attribute11,
	vgs_attribute12,
	vgs_attribute13,
	vgs_attribute14,
	vgs_attribute15,
	vgs_attribute16,
	vgs_attribute17,
	vgs_attribute18,
	vgs_attribute19,
	vgs_attribute20,
	vgs_attribute21,
	vgs_attribute22,
	vgs_attribute23,
	vgs_attribute24,
	vgs_attribute25,
	vgs_attribute26,
	vgs_attribute27,
	vgs_attribute28,
	vgs_attribute29,
	vgs_attribute30,
	object_version_number ,
	gd_svc_recd_basis_cd ,
	gd_svc_recd_basis_dt ,
	gd_svc_recd_basis_mo
    from    ben_pl_gd_or_svc_f
    where   pl_gd_or_svc_id         = p_pl_gd_or_svc_id
    and	    p_effective_date
    between effective_start_date and effective_end_date
    for update nowait;
Line: 403

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