DBA Data[Home] [Help]

APPS.BEN_PLAN_TYPE_API SQL Statements

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

Line: 331

procedure update_PLAN_TYPE
  (p_validate                       in  boolean   default false
  ,p_pl_typ_id                      in  number
  ,p_effective_start_date           out nocopy date
  ,p_effective_end_date             out nocopy date
  ,p_name                           in  varchar2  default hr_api.g_varchar2
  ,p_mx_enrl_alwd_num               in  number    default hr_api.g_number
  ,p_mn_enrl_rqd_num                in  number    default hr_api.g_number
  ,p_pl_typ_stat_cd                 in  varchar2  default 'A'
  ,p_opt_typ_cd                     in  varchar2  default hr_api.g_varchar2
  ,p_opt_dsply_fmt_cd               in  varchar2  default hr_api.g_varchar2
  ,p_comp_typ_cd                    in  varchar2  default hr_api.g_varchar2
  ,p_ivr_ident                      in  varchar2  default hr_api.g_varchar2
  ,p_no_mx_enrl_num_dfnd_flag       in  varchar2  default hr_api.g_varchar2
  ,p_no_mn_enrl_num_dfnd_flag       in  varchar2  default hr_api.g_varchar2
  ,p_business_group_id              in  number    default hr_api.g_number
  ,p_ptp_attribute_category         in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute1                 in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute2                 in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute3                 in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute4                 in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute5                 in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute6                 in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute7                 in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute8                 in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute9                 in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute10                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute11                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute12                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute13                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute14                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute15                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute16                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute17                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute18                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute19                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute20                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute21                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute22                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute23                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute24                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute25                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute26                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute27                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute28                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute29                in  varchar2  default hr_api.g_varchar2
  ,p_ptp_attribute30                in  varchar2  default hr_api.g_varchar2
  ,p_object_version_number          in out nocopy number
  ,p_effective_date                 in  date
  ,p_datetrack_mode                 in  varchar2
  ,p_short_name             in  varchar2  default hr_api.g_varchar2     --FHR
  ,p_short_code                 in  varchar2  default hr_api.g_varchar2         --FHR
    ,p_legislation_code                 in  varchar2  default hr_api.g_varchar2
    ,p_legislation_subgroup                 in  varchar2  default hr_api.g_varchar2
  ) is
  --
  -- Declare cursors and local variables
  --
  l_proc varchar2(72) := g_package||'update_PLAN_TYPE';
Line: 397

  select plt.opt_dsply_fmt_cd
  from   ben_pl_typ_f plt
  where  plt.pl_typ_id = p_pl_typ_id
  and    p_effective_date between plt.effective_start_date and plt.effective_end_date;
Line: 408

  savepoint update_PLAN_TYPE;
Line: 425

    ben_PLAN_TYPE_bk2.update_PLAN_TYPE_b
      (
       p_pl_typ_id                      =>  p_pl_typ_id
      ,p_name                           =>  p_name
      ,p_mx_enrl_alwd_num               =>  p_mx_enrl_alwd_num
      ,p_mn_enrl_rqd_num                =>  p_mn_enrl_rqd_num
      ,p_pl_typ_stat_cd                 =>  p_pl_typ_stat_cd
      ,p_opt_typ_cd                     =>  p_opt_typ_cd
      ,p_opt_dsply_fmt_cd               =>  p_opt_dsply_fmt_cd
      ,p_comp_typ_cd                    =>  p_comp_typ_cd
      ,p_ivr_ident                      =>  p_ivr_ident
      ,p_no_mx_enrl_num_dfnd_flag       =>  p_no_mx_enrl_num_dfnd_flag
      ,p_no_mn_enrl_num_dfnd_flag       =>  p_no_mn_enrl_num_dfnd_flag
      ,p_business_group_id              =>  p_business_group_id
      ,p_ptp_attribute_category         =>  p_ptp_attribute_category
      ,p_ptp_attribute1                 =>  p_ptp_attribute1
      ,p_ptp_attribute2                 =>  p_ptp_attribute2
      ,p_ptp_attribute3                 =>  p_ptp_attribute3
      ,p_ptp_attribute4                 =>  p_ptp_attribute4
      ,p_ptp_attribute5                 =>  p_ptp_attribute5
      ,p_ptp_attribute6                 =>  p_ptp_attribute6
      ,p_ptp_attribute7                 =>  p_ptp_attribute7
      ,p_ptp_attribute8                 =>  p_ptp_attribute8
      ,p_ptp_attribute9                 =>  p_ptp_attribute9
      ,p_ptp_attribute10                =>  p_ptp_attribute10
      ,p_ptp_attribute11                =>  p_ptp_attribute11
      ,p_ptp_attribute12                =>  p_ptp_attribute12
      ,p_ptp_attribute13                =>  p_ptp_attribute13
      ,p_ptp_attribute14                =>  p_ptp_attribute14
      ,p_ptp_attribute15                =>  p_ptp_attribute15
      ,p_ptp_attribute16                =>  p_ptp_attribute16
      ,p_ptp_attribute17                =>  p_ptp_attribute17
      ,p_ptp_attribute18                =>  p_ptp_attribute18
      ,p_ptp_attribute19                =>  p_ptp_attribute19
      ,p_ptp_attribute20                =>  p_ptp_attribute20
      ,p_ptp_attribute21                =>  p_ptp_attribute21
      ,p_ptp_attribute22                =>  p_ptp_attribute22
      ,p_ptp_attribute23                =>  p_ptp_attribute23
      ,p_ptp_attribute24                =>  p_ptp_attribute24
      ,p_ptp_attribute25                =>  p_ptp_attribute25
      ,p_ptp_attribute26                =>  p_ptp_attribute26
      ,p_ptp_attribute27                =>  p_ptp_attribute27
      ,p_ptp_attribute28                =>  p_ptp_attribute28
      ,p_ptp_attribute29                =>  p_ptp_attribute29
      ,p_ptp_attribute30                =>  p_ptp_attribute30
      ,p_object_version_number          =>  p_object_version_number
      ,p_effective_date                 => trunc(p_effective_date)
      ,p_datetrack_mode                 => p_datetrack_mode
      ,p_short_name         =>  p_short_name        --FHR
      ,p_short_code             =>  p_short_code        --FHR
            ,p_legislation_code             =>  p_legislation_code
            ,p_legislation_subgroup             =>  p_legislation_subgroup
      );
Line: 481

        (p_module_name => 'UPDATE_PLAN_TYPE'
        ,p_hook_type   => 'BP'
        );
Line: 558

  	update ben_acty_base_rt_f
  	set    ordr_num = l_ordr_num
  	where  pl_id in (select pln.pl_id
  			 from   ben_pl_f pln
  			 where  pln.pl_typ_id = p_pl_typ_id
  			 and    p_effective_date between pln.effective_start_date
  			 	and pln.effective_end_date)
  	and    p_effective_date <= effective_end_date
  	and    dsply_on_enrt_flag = 'Y';
Line: 570

    	update ben_acty_base_rt_f
    	set    ordr_num = l_ordr_num
    	where  plip_id in (select plip_id
    			   from   ben_plip_f plip,
    			   	  ben_pl_f pln
    			   where  pln.pl_id = plip.pl_id
    			   and    pln.pl_typ_id = p_pl_typ_id
  			   and    p_effective_date between pln.effective_start_date
  			 	  and pln.effective_end_date
  			   and    p_effective_date between plip.effective_start_date
  			 	  and plip.effective_end_date)
  	and    p_effective_date <= effective_end_date
  	and    dsply_on_enrt_flag = 'Y';
Line: 586

  	update ben_acty_base_rt_f
  	set    ordr_num = l_ordr_num
  	where  oipl_id in (select oipl_id
  			   from   ben_pl_f pln,
  			 	  ben_oipl_f oipl
  			   where  oipl.pl_id = pln.pl_id
  			   and	  pln.pl_typ_id = p_pl_typ_id
  			   and    p_effective_date between pln.effective_start_date
  			 	  and pln.effective_end_date
  			   and    p_effective_date between oipl.effective_start_date
  			 	  and oipl.effective_end_date)
  	and    p_effective_date <= effective_end_date
  	and    dsply_on_enrt_flag = 'Y';
Line: 602

  	update ben_acty_base_rt_f
  	set    ordr_num = l_ordr_num
  	where  oiplip_id in (select oiplip_id
  			     from   ben_oiplip_f oiplip,
  			     	    ben_oipl_f   oipl,
  			     	    ben_pl_f pln
  			     where  oipl.oipl_id = oiplip.oipl_id
  			     and    pln.pl_id = oipl.pl_id
  			     and    pln.pl_typ_id = p_pl_typ_id
  			     and    p_effective_date between pln.effective_start_date
  			 	    and pln.effective_end_date
  			     and    p_effective_date between oipl.effective_start_date
  			 	    and oipl.effective_end_date
  			     and    p_effective_date between oiplip.effective_start_date
  			 	    and oiplip.effective_end_date )
  	and    p_effective_date <= effective_end_date
  	and    dsply_on_enrt_flag = 'Y';
Line: 628

    ben_PLAN_TYPE_bk2.update_PLAN_TYPE_a
      (
       p_pl_typ_id                      =>  p_pl_typ_id
      ,p_effective_start_date           =>  l_effective_start_date
      ,p_effective_end_date             =>  l_effective_end_date
      ,p_name                           =>  p_name
      ,p_mx_enrl_alwd_num               =>  p_mx_enrl_alwd_num
      ,p_mn_enrl_rqd_num                =>  p_mn_enrl_rqd_num
      ,p_pl_typ_stat_cd                 =>  p_pl_typ_stat_cd
      ,p_opt_typ_cd                     =>  p_opt_typ_cd
      ,p_opt_dsply_fmt_cd               =>  p_opt_dsply_fmt_cd
      ,p_comp_typ_cd                    =>  p_comp_typ_cd
      ,p_ivr_ident                      =>  p_ivr_ident
      ,p_no_mx_enrl_num_dfnd_flag       =>  p_no_mx_enrl_num_dfnd_flag
      ,p_no_mn_enrl_num_dfnd_flag       =>  p_no_mn_enrl_num_dfnd_flag
      ,p_business_group_id              =>  p_business_group_id
      ,p_ptp_attribute_category         =>  p_ptp_attribute_category
      ,p_ptp_attribute1                 =>  p_ptp_attribute1
      ,p_ptp_attribute2                 =>  p_ptp_attribute2
      ,p_ptp_attribute3                 =>  p_ptp_attribute3
      ,p_ptp_attribute4                 =>  p_ptp_attribute4
      ,p_ptp_attribute5                 =>  p_ptp_attribute5
      ,p_ptp_attribute6                 =>  p_ptp_attribute6
      ,p_ptp_attribute7                 =>  p_ptp_attribute7
      ,p_ptp_attribute8                 =>  p_ptp_attribute8
      ,p_ptp_attribute9                 =>  p_ptp_attribute9
      ,p_ptp_attribute10                =>  p_ptp_attribute10
      ,p_ptp_attribute11                =>  p_ptp_attribute11
      ,p_ptp_attribute12                =>  p_ptp_attribute12
      ,p_ptp_attribute13                =>  p_ptp_attribute13
      ,p_ptp_attribute14                =>  p_ptp_attribute14
      ,p_ptp_attribute15                =>  p_ptp_attribute15
      ,p_ptp_attribute16                =>  p_ptp_attribute16
      ,p_ptp_attribute17                =>  p_ptp_attribute17
      ,p_ptp_attribute18                =>  p_ptp_attribute18
      ,p_ptp_attribute19                =>  p_ptp_attribute19
      ,p_ptp_attribute20                =>  p_ptp_attribute20
      ,p_ptp_attribute21                =>  p_ptp_attribute21
      ,p_ptp_attribute22                =>  p_ptp_attribute22
      ,p_ptp_attribute23                =>  p_ptp_attribute23
      ,p_ptp_attribute24                =>  p_ptp_attribute24
      ,p_ptp_attribute25                =>  p_ptp_attribute25
      ,p_ptp_attribute26                =>  p_ptp_attribute26
      ,p_ptp_attribute27                =>  p_ptp_attribute27
      ,p_ptp_attribute28                =>  p_ptp_attribute28
      ,p_ptp_attribute29                =>  p_ptp_attribute29
      ,p_ptp_attribute30                =>  p_ptp_attribute30
      ,p_object_version_number          =>  l_object_version_number
      ,p_effective_date                 =>  trunc(p_effective_date)
      ,p_datetrack_mode                 =>  p_datetrack_mode
      ,p_short_name         =>  p_short_name        --FHR
      ,p_short_code             =>  p_short_code        --FHR
            ,p_legislation_code             =>  p_legislation_code
            ,p_legislation_subgroup             =>  p_legislation_subgroup
      );
Line: 686

        (p_module_name => 'UPDATE_PLAN_TYPE'
        ,p_hook_type   => 'AP'
        );
Line: 717

    ROLLBACK TO update_PLAN_TYPE;
Line: 737

    ROLLBACK TO update_PLAN_TYPE;
Line: 740

end update_PLAN_TYPE;
Line: 745

procedure delete_PLAN_TYPE
  (p_validate                       in  boolean  default false
  ,p_pl_typ_id                      in  number
  ,p_effective_start_date           out nocopy date
  ,p_effective_end_date             out nocopy date
  ,p_object_version_number          in out nocopy number
  ,p_effective_date                 in  date
  ,p_datetrack_mode                 in  varchar2
  ) is
  --
  -- Declare cursors and local variables
  --
  l_proc varchar2(72) := g_package||'update_PLAN_TYPE';
Line: 768

  savepoint delete_PLAN_TYPE;
Line: 781

    ben_PLAN_TYPE_bk3.delete_PLAN_TYPE_b
      (
       p_pl_typ_id                      =>  p_pl_typ_id
      ,p_object_version_number          =>  p_object_version_number
    ,p_effective_date                      => trunc(p_effective_date)
    ,p_datetrack_mode                      => p_datetrack_mode
      );
Line: 791

        (p_module_name => 'DELETE_PLAN_TYPE'
        ,p_hook_type   => 'BP'
        );
Line: 813

    ben_PLAN_TYPE_bk3.delete_PLAN_TYPE_a
      (
       p_pl_typ_id                      =>  p_pl_typ_id
      ,p_effective_start_date           =>  l_effective_start_date
      ,p_effective_end_date             =>  l_effective_end_date
      ,p_object_version_number          =>  l_object_version_number
    ,p_effective_date                      => trunc(p_effective_date)
    ,p_datetrack_mode                      => p_datetrack_mode
      );
Line: 825

        (p_module_name => 'DELETE_PLAN_TYPE'
        ,p_hook_type   => 'AP'
        );
Line: 850

    ROLLBACK TO delete_PLAN_TYPE;
Line: 870

    ROLLBACK TO delete_PLAN_TYPE;
Line: 873

end delete_PLAN_TYPE;