DBA Data[Home] [Help]

APPS.PAY_PSD_BUS SQL Statements

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

Line: 28

    select pbg.security_group_id,
           pbg.legislation_code
      from per_business_groups_perf pbg
         , pay_pl_sii_details_f psd
     where psd.sii_details_id = p_sii_details_id
       and pbg.business_group_id = psd.business_group_id;
Line: 99

    select pbg.legislation_code
      from per_business_groups_perf pbg
         , pay_pl_sii_details_f psd
     where psd.sii_details_id = p_sii_details_id
       and pbg.business_group_id = psd.business_group_id;
Line: 383

  select null
    from per_all_people_f  papf
   where papf.person_id          =  p_per_or_asg_id      and
         papf.business_group_id  =  p_business_group_id  and
         p_effective_date between papf.effective_start_date and
                                  papf.effective_end_date and
         papf.person_type_id in (select person_type_id from per_person_types
                                 where business_group_id = p_business_group_id
                                 and system_person_type in ('EMP','EMP_APL'));
Line: 394

  select null
    from per_all_assignments_f paaf, hr_soft_coding_keyflex hrsoft
   where paaf.assignment_id      =  p_per_or_asg_id      and
         paaf.business_group_id  =  p_business_group_id  and
         p_effective_date between paaf.effective_start_date and
                                  paaf.effective_end_date and
         paaf.assignment_status_type_id in (select assignment_status_type_id from
                                                   per_assignment_status_types where
                                            per_system_status in ('ACTIVE_ASSIGN','SUSP_ASSIGN'))
	and paaf.soft_coding_keyflex_id = hrsoft.soft_coding_keyflex_id and
        hrsoft.segment3 in (l_civil_catg,l_lump_catg,l_f_lump_catg);
Line: 408

  select null
    from per_all_assignments_f paaf, hr_soft_coding_keyflex hrsoft
   where paaf.assignment_id      =  p_per_or_asg_id      and
         paaf.business_group_id  =  p_business_group_id  and
         p_effective_date between paaf.effective_start_date and
                                  paaf.effective_end_date and
         paaf.assignment_status_type_id in (select assignment_status_type_id from
                                                   per_assignment_status_types where
                                            per_system_status = 'TERM_ASSIGN')
        and paaf.soft_coding_keyflex_id = hrsoft.soft_coding_keyflex_id and
        hrsoft.segment3 = l_term_catg;
Line: 550

select null
  from pay_user_columns puc, pay_user_tables put
 where puc.user_table_id = put.user_table_id
   and put.user_table_name = l_user_table_name
   and put.legislation_code = l_legislation_code
   and puc.user_column_name = p_emp_social_security_info;
Line: 2592

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

End chk_non_updateable_args;
Line: 2681

Procedure dt_update_validate
  (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: 2727

End dt_update_validate;
Line: 2764

Procedure dt_delete_validate
  (p_sii_details_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: 2786

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

End dt_delete_validate;
Line: 2830

Procedure insert_validate
  (p_rec                   in pay_psd_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||'insert_validate';
Line: 3040

End insert_validate;
Line: 3045

Procedure update_validate
  (p_rec                     in pay_psd_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: 3075

  dt_update_validate
    (p_datetrack_mode                 => p_datetrack_mode
    ,p_validation_start_date          => p_validation_start_date
    ,p_validation_end_date            => p_validation_end_date
    );
Line: 3081

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

End update_validate;
Line: 3250

Procedure delete_validate
  (p_rec                    in pay_psd_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: 3265

  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_sii_details_id                   => p_rec.sii_details_id
    );
Line: 3273

End delete_validate;
Line: 3331

        select pucif.value
          into p_old_age_contribution
          from
            pay_user_column_instances_f  pucif,
            pay_user_columns             puc,
            pay_user_rows_f              purf,
            pay_user_tables              put
      where put.user_table_name   ='PL_EMPLOYEE_SOCIAL_SECURITY_INFORMATION'
        and put.legislation_code = 'PL'
        and purf.legislation_code = 'PL'
        and purf.user_table_id = put.user_table_id
        and p_effective_date between purf.effective_start_date and purf.effective_end_date
        and purf.row_low_range_or_name = 'Old Age'
        and puc.user_column_name  = p_emp_social_security_info
        and puc.user_table_id = put.user_table_id
        and pucif.user_row_id = purf.user_row_id
        and pucif.user_column_id = puc.user_column_id
        and p_effective_date between pucif.effective_start_date and pucif.effective_end_date;
Line: 3354

       select pucif.value
         into p_pension_contribution
         from
            pay_user_column_instances_f  pucif,
            pay_user_columns             puc,
            pay_user_rows_f              purf,
            pay_user_tables              put
      where put.user_table_name   ='PL_EMPLOYEE_SOCIAL_SECURITY_INFORMATION'
        and put.legislation_code = 'PL'
        and purf.legislation_code = 'PL'
        and purf.user_table_id = put.user_table_id
        and p_effective_date between purf.effective_start_date and purf.effective_end_date
        and purf.row_low_range_or_name = 'Pension'
        and puc.user_column_name  = p_emp_social_security_info
        and puc.user_table_id = put.user_table_id
        and pucif.user_row_id = purf.user_row_id
        and pucif.user_column_id = puc.user_column_id
        and p_effective_date between pucif.effective_start_date and pucif.effective_end_date;
Line: 3376

          select pucif.value
            into p_sickness_contribution
            from
               pay_user_column_instances_f  pucif,
               pay_user_columns             puc,
               pay_user_rows_f              purf,
               pay_user_tables              put
         where put.user_table_name   ='PL_EMPLOYEE_SOCIAL_SECURITY_INFORMATION'
           and put.legislation_code = 'PL'
           and purf.legislation_code = 'PL'
           and purf.user_table_id = put.user_table_id
           and p_effective_date between purf.effective_start_date and purf.effective_end_date
           and purf.row_low_range_or_name = 'Sickness'
           and puc.user_column_name  = p_emp_social_security_info
           and puc.user_table_id = put.user_table_id
           and pucif.user_row_id = purf.user_row_id
           and pucif.user_column_id = puc.user_column_id
           and p_effective_date between pucif.effective_start_date and pucif.effective_end_date;
Line: 3397

          select pucif.value
            into p_work_injury_contribution
            from
               pay_user_column_instances_f  pucif,
               pay_user_columns             puc,
               pay_user_rows_f              purf,
               pay_user_tables              put
         where put.user_table_name   ='PL_EMPLOYEE_SOCIAL_SECURITY_INFORMATION'
           and put.legislation_code = 'PL'
           and purf.legislation_code = 'PL'
           and purf.user_table_id = put.user_table_id
           and p_effective_date between purf.effective_start_date and purf.effective_end_date
           and purf.row_low_range_or_name = 'Work Injury'
           and puc.user_column_name  = p_emp_social_security_info
           and puc.user_table_id = put.user_table_id
           and pucif.user_row_id = purf.user_row_id
           and pucif.user_column_id = puc.user_column_id
           and p_effective_date between pucif.effective_start_date and pucif.effective_end_date;
Line: 3418

          select pucif.value
            into p_labor_contribution
            from
               pay_user_column_instances_f  pucif,
               pay_user_columns             puc,
               pay_user_rows_f              purf,
               pay_user_tables              put
         where put.user_table_name   ='PL_EMPLOYEE_SOCIAL_SECURITY_INFORMATION'
           and put.legislation_code = 'PL'
           and purf.legislation_code = 'PL'
           and purf.user_table_id = put.user_table_id
           and p_effective_date between purf.effective_start_date and purf.effective_end_date
           and purf.row_low_range_or_name = 'Labor'
           and puc.user_column_name  = p_emp_social_security_info
           and puc.user_table_id = put.user_table_id
           and pucif.user_row_id = purf.user_row_id
           and pucif.user_column_id = puc.user_column_id
           and p_effective_date between pucif.effective_start_date and pucif.effective_end_date;
Line: 3440

            select pucif.value
              into p_health_contribution
              from
                pay_user_column_instances_f  pucif,
                pay_user_columns             puc,
                pay_user_rows_f              purf,
                pay_user_tables              put
          where put.user_table_name   ='PL_EMPLOYEE_SOCIAL_SECURITY_INFORMATION'
            and put.legislation_code = 'PL'
            and purf.legislation_code = 'PL'
            and purf.user_table_id = put.user_table_id
            and p_effective_date between purf.effective_start_date and purf.effective_end_date
            and purf.row_low_range_or_name = 'Health'
            and puc.user_column_name  = p_emp_social_security_info
            and puc.user_table_id = put.user_table_id
            and pucif.user_row_id = purf.user_row_id
            and pucif.user_column_id = puc.user_column_id
            and p_effective_date between pucif.effective_start_date and pucif.effective_end_date;
Line: 3462

             select pucif.value
               into p_unemployment_contribution
               from
                 pay_user_column_instances_f  pucif,
                 pay_user_columns             puc,
                 pay_user_rows_f              purf,
                 pay_user_tables              put
           where put.user_table_name   ='PL_EMPLOYEE_SOCIAL_SECURITY_INFORMATION'
             and put.legislation_code = 'PL'
             and purf.legislation_code = 'PL'
             and purf.user_table_id = put.user_table_id
             and p_effective_date between purf.effective_start_date and purf.effective_end_date
             and purf.row_low_range_or_name = 'Unemployment'
             and puc.user_column_name  = p_emp_social_security_info
             and puc.user_table_id = put.user_table_id
             and pucif.user_row_id = purf.user_row_id
             and pucif.user_column_id = puc.user_column_id
             and p_effective_date between pucif.effective_start_date and pucif.effective_end_date;