DBA Data[Home] [Help]

APPS.BEN_PTP_SHD SQL Statements

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

Line: 77

    select
	pl_typ_id,
	effective_start_date,
	effective_end_date,
	name,
	mx_enrl_alwd_num,
	mn_enrl_rqd_num,
	pl_typ_stat_cd,
	opt_typ_cd,
        opt_dsply_fmt_cd,
        comp_typ_cd,
	ivr_ident,
	no_mx_enrl_num_dfnd_flag,
	no_mn_enrl_num_dfnd_flag,
	business_group_id,
	ptp_attribute_category,
	ptp_attribute1,
	ptp_attribute2,
	ptp_attribute3,
	ptp_attribute4,
	ptp_attribute5,
	ptp_attribute6,
	ptp_attribute7,
	ptp_attribute8,
	ptp_attribute9,
	ptp_attribute10,
	ptp_attribute11,
	ptp_attribute12,
	ptp_attribute13,
	ptp_attribute14,
	ptp_attribute15,
	ptp_attribute16,
	ptp_attribute17,
	ptp_attribute18,
	ptp_attribute19,
	ptp_attribute20,
	ptp_attribute21,
	ptp_attribute22,
	ptp_attribute23,
	ptp_attribute24,
	ptp_attribute25,
	ptp_attribute26,
	ptp_attribute27,
	ptp_attribute28,
	ptp_attribute29,
	ptp_attribute30,
	short_name,        /*FHR*/
	short_code,        /*FHR*/
		legislation_code,
		legislation_subgroup,
	object_version_number
    from	ben_pl_typ_f
    where	pl_typ_id = p_pl_typ_id
    and		p_effective_date
    between	effective_start_date and effective_end_date;
Line: 191

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

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

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

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

  update  ben_pl_typ_f t
  set	  t.effective_end_date	  = p_new_effective_end_date,
	  t.object_version_number = l_object_version_number
  where	  t.pl_typ_id	  = p_base_key_value
  and	  p_effective_date
  between t.effective_start_date and t.effective_end_date;
Line: 320

    select
	pl_typ_id,
	effective_start_date,
	effective_end_date,
	name,
	mx_enrl_alwd_num,
	mn_enrl_rqd_num,
	pl_typ_stat_cd,
	opt_typ_cd,
        opt_dsply_fmt_cd,
        comp_typ_cd,
	ivr_ident,
	no_mx_enrl_num_dfnd_flag,
	no_mn_enrl_num_dfnd_flag,
	business_group_id,
	ptp_attribute_category,
	ptp_attribute1,
	ptp_attribute2,
	ptp_attribute3,
	ptp_attribute4,
	ptp_attribute5,
	ptp_attribute6,
	ptp_attribute7,
	ptp_attribute8,
	ptp_attribute9,
	ptp_attribute10,
	ptp_attribute11,
	ptp_attribute12,
	ptp_attribute13,
	ptp_attribute14,
	ptp_attribute15,
	ptp_attribute16,
	ptp_attribute17,
	ptp_attribute18,
	ptp_attribute19,
	ptp_attribute20,
	ptp_attribute21,
	ptp_attribute22,
	ptp_attribute23,
	ptp_attribute24,
	ptp_attribute25,
	ptp_attribute26,
	ptp_attribute27,
	ptp_attribute28,
	ptp_attribute29,
	ptp_attribute30,
	short_name,		/*FHR*/
	short_code,             /*FHR*/
		legislation_code,
		legislation_subgroup,
	object_version_number
    from    ben_pl_typ_f
    where   pl_typ_id         = p_pl_typ_id
    and	    p_effective_date
    between effective_start_date and effective_end_date
    for update nowait;
Line: 402

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