DBA Data[Home] [Help]

APPS.PER_PCL_BUS SQL Statements

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

Line: 115

    SELECT currency_code
	  FROM per_business_groups
	 WHERE business_group_id = p_business_group_id;
Line: 120

    SELECT cap.column_size
	FROM   per_cagr_api_parameters cap,
	       per_cagr_entitlement_items cei
    WHERE  cap.cagr_api_param_id = cei.cagr_api_param_id
	AND    cei.cagr_entitlement_item_id = p_cagr_entitlement_item_id;
Line: 248

    select pbg.security_group_id
      from per_business_groups pbg
         , per_cagr_entitlement_lines_f pcl
     	 , per_cagr_entitlements pce
    	 , per_cagr_entitlement_items pci

     where pcl.cagr_entitlement_line_id    =  p_cagr_entitlement_line_id
	and   pcl.cagr_entitlement_id 	   =  pce.cagr_entitlement_id
	and   pce.cagr_entitlement_item_id =  pci.cagr_entitlement_item_id
	and   pbg.business_group_id	   =  pci.business_group_id   ;
Line: 316

    select pbg.legislation_code
      from per_business_groups pbg
         , per_cagr_entitlement_lines_f pcl
     	 , per_cagr_entitlements pce
	 , per_cagr_entitlement_items pci

     where pcl.cagr_entitlement_line_id    =  p_cagr_entitlement_line_id
	and   pcl.cagr_entitlement_id 	   =  pce.cagr_entitlement_id
	and   pce.cagr_entitlement_item_id =  pci.cagr_entitlement_item_id
	and   pbg.business_group_id	   =  pci.business_group_id   ;
Line: 411

Procedure chk_non_updateable_args
  (p_effective_date  in date
  ,p_rec             in per_pcl_shd.g_rec_type
  ) IS
--
  l_proc     varchar2(72) := g_package || 'chk_non_updateable_args';
Line: 452

End chk_non_updateable_args;
Line: 1096

   SELECT  category_name
     FROM  per_cagr_entitlement_items pci
          ,per_cagr_entitlements      pce
    WHERE  pci.CAGR_ENTITLEMENT_ITEM_ID = pce.CAGR_ENTITLEMENT_ITEM_ID
      AND  pce.CAGR_ENTITLEMENT_ID      = p_CAGR_ENTITLEMENT_ID;
Line: 1104

    SELECT  'Y'
      FROM  per_grade_spines_f  pgs
     WHERE  pgs.grade_spine_id = p_grade_spine_id
       AND  p_validation_start_date between pgs.effective_start_date and pgs.effective_end_date ;
Line: 1111

    SELECT  'Y'
      FROM  per_grade_spines_f  pgs
     WHERE  pgs.grade_spine_id = p_grade_spine_id
       AND  p_validation_end_date between pgs.effective_start_date and pgs.effective_end_date ;
Line: 1234

    SELECT  category_name
      FROM  per_cagr_entitlement_items pci
           ,per_cagr_entitlements      pce
     WHERE  pci.CAGR_ENTITLEMENT_ITEM_ID = pce.CAGR_ENTITLEMENT_ITEM_ID
       AND  pce.CAGR_ENTITLEMENT_ID      = p_CAGR_ENTITLEMENT_ID;
Line: 1242

    SELECT 'Y'
      FROM per_parent_spines  pps
     WHERE pps.parent_spine_id = p_parent_spine_id;
Line: 1441

    SELECT  'Y'
      FROM  ben_oipl_f  bof
     WHERE  bof.oipl_id = p_oipl_id
       AND  p_validation_start_date
       BETWEEN bof.effective_start_date AND bof.effective_end_date ;
Line: 1448

    SELECT  'Y'
      FROM  ben_oipl_f  bof
     WHERE  bof.oipl_id = p_oipl_id
       AND  p_validation_end_date
       BETWEEN bof.effective_start_date  AND  bof.effective_end_date;
Line: 1567

    SELECT  bep.eligy_prfl_id
      FROM  ben_eligy_prfl_f bep
     WHERE  business_group_id = p_business_group_id
       AND  bep.eligy_prfl_id = p_eligy_prfl_id
       AND  p_effective_date BETWEEN bep.effective_start_date AND bep.effective_end_date
       AND  bep.bnft_cagr_prtn_cd IN ('GLOBAL','CAGR')
       --
       -- Fix for bug 2491566
       --
       --AND  NOT EXISTS (SELECT 'X'
       --           FROM   per_cagr_entitlement_lines_f pcl
       --           WHERE  pcl.eligy_prfl_id       = bep.eligy_prfl_id
       --           AND    pcl.cagr_entitlement_id = p_cagr_entitlement_id
       --           AND    p_effective_date BETWEEN pcl.effective_start_date AND
       --                                           pcl.effective_end_date)
     UNION
	   SELECT 0
	     FROM   DUAL;
Line: 1588

	 --WHERE  NOT EXISTS (SELECT 'X'
  --                FROM   per_cagr_entitlement_lines_f pcl
  --                WHERE  pcl.eligy_prfl_id       = 0
  --                AND    pcl.cagr_entitlement_id = p_cagr_entitlement_id
  --                AND    p_effective_date BETWEEN pcl.effective_start_date AND
  --                                                pcl.effective_end_date);
Line: 1596

    SELECT  bep.eligy_prfl_id
      FROM  ben_eligy_prfl_f bep
     WHERE  business_group_id = p_business_group_id
	      AND  bep.eligy_prfl_id = p_eligy_prfl_id
       AND  p_effective_date BETWEEN bep.effective_start_date
                                 AND bep.effective_end_date
       --
       -- Fix for bug 2491566
       --
       --AND  NOT EXISTS (SELECT 'X'
       --                   FROM per_cagr_entitlement_lines_f pcl
       --                  WHERE pcl.eligy_prfl_id       = bep.eligy_prfl_id
				   --                    AND pcl.grade_spine_id      = p_grade_spine_id
       --                    AND pcl.cagr_entitlement_id = p_cagr_entitlement_id
       --                    AND p_effective_date BETWEEN pcl.effective_start_date
       --                                             AND pcl.effective_end_date)
     UNION
   	SELECT 0
	     FROM   DUAL;
Line: 1618

	 --WHERE  NOT EXISTS (SELECT 'X'
  --                     FROM per_cagr_entitlement_lines_f pcl
  --                    WHERE pcl.eligy_prfl_id       = 0
		--		                    AND pcl.grade_spine_id      = p_grade_spine_id
  --                      AND pcl.cagr_entitlement_id = p_cagr_entitlement_id
  --                      AND p_effective_date BETWEEN pcl.effective_start_date
  --                                               AND pcl.effective_end_date);
Line: 1773

      SELECT  category_name
        FROM  per_cagr_entitlement_items pci
             ,per_cagr_entitlements      pce
       WHERE  pci.CAGR_ENTITLEMENT_ITEM_ID = pce.CAGR_ENTITLEMENT_ITEM_ID
       AND  pce.CAGR_ENTITLEMENT_ID      = p_CAGR_ENTITLEMENT_ID;
Line: 1780

    SELECT  'Y'
      FROM  per_spinal_point_steps_f  pspf
     WHERE  pspf.step_id = p_step_id
       AND  p_validation_start_date
       BETWEEN pspf.effective_start_date AND pspf.effective_end_date ;
Line: 1787

    SELECT  'Y'
      FROM  per_spinal_point_steps_f  pspf
     WHERE  pspf.step_id = p_step_id
       AND  p_validation_end_date
       BETWEEN pspf.effective_start_date   AND pspf.effective_end_date ;
Line: 1953

Procedure dt_update_validate
  (p_grade_spine_id                in number default hr_api.g_number
  ,p_step_id                       in number default hr_api.g_number
  ,p_from_step_id                  in number default hr_api.g_number
  ,p_to_step_id                    in number default hr_api.g_number
  ,p_datetrack_mode                in varchar2
  ,p_validation_start_date         in date
  ,p_validation_end_date           in date
  ) Is
--
  l_proc  varchar2(72) := g_package||'dt_update_validate';
Line: 2052

End dt_update_validate;
Line: 2089

Procedure dt_delete_validate
  (p_cagr_entitlement_line_id         in number
  ,p_datetrack_mode                   in varchar2
  ,p_validation_start_date            in date
  ,p_validation_end_date              in date
  ) Is
--
  l_proc        varchar2(72)    := g_package||'dt_delete_validate';
Line: 2113

  If (p_datetrack_mode = hr_api.g_delete or
      p_datetrack_mode = hr_api.g_zap) then
    --
    --
    -- Ensure the arguments are not null
    --
    hr_api.mandatory_arg_error
      (p_api_name       => l_proc
      ,p_argument       => 'validation_start_date'
      ,p_argument_value => p_validation_start_date
      );
Line: 2160

End dt_delete_validate;
Line: 2165

PROCEDURE insert_validate
  (p_rec                   in per_pcl_shd.g_rec_type
  ,p_effective_date        in date
  ,p_datetrack_mode        in varchar2
  ,p_validation_start_date in date
  ,p_validation_end_date   in date
  ) is
  --
  l_collective_agreement_id  NUMBER;
Line: 2174

  l_proc                     VARCHAR2(72) := g_package||'insert_validate';
Line: 2336

End insert_validate;
Line: 2341

Procedure update_validate
  (p_rec                     in per_pcl_shd.g_rec_type
  ,p_effective_date          in date
  ,p_datetrack_mode          in varchar2
  ,p_validation_start_date   in date
  ,p_validation_end_date     in date
  ) is
  --
  l_proc                     varchar2(72) := g_package||'update_validate';
Line: 2376

  chk_non_updateable_args
    (p_effective_date => p_effective_date
    ,p_rec            => p_rec);
Line: 2524

  dt_update_validate
    (p_grade_spine_id                 => p_rec.grade_spine_id
    ,p_step_id                        => p_rec.step_id
    ,p_from_step_id                   => p_rec.from_step_id
    ,p_to_step_id                     => p_rec.to_step_id
    ,p_datetrack_mode                 => p_datetrack_mode
    ,p_validation_start_date          => p_validation_start_date
    ,p_validation_end_date            => p_validation_end_date
    );
Line: 2538

End update_validate;
Line: 2543

Procedure delete_validate
  (p_rec                    in per_pcl_shd.g_rec_type
  ,p_effective_date         in date
  ,p_datetrack_mode         in varchar2
  ,p_validation_start_date  in date
  ,p_validation_end_date    in date
  ) is
--
  l_proc        varchar2(72) := g_package||'delete_validate';
Line: 2563

  dt_delete_validate
    (p_datetrack_mode                   => p_datetrack_mode
    ,p_validation_start_date            => p_validation_start_date
    ,p_validation_end_date              => p_validation_end_date
    ,p_cagr_entitlement_line_id         => p_rec.cagr_entitlement_line_id
    );
Line: 2571

End delete_validate;