DBA Data[Home] [Help]

APPS.PAY_PRT_BUS SQL Statements

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

Line: 27

    select pbg.security_group_id
      from per_business_groups pbg
         , pay_run_types_f prt
     where prt.run_type_id = p_run_type_id
       and pbg.business_group_id = prt.business_group_id;
Line: 86

    select pbg.legislation_code
      from per_business_groups pbg
         , pay_run_types_f prt
     where prt.run_type_id = p_run_type_id
       and pbg.business_group_id (+) = prt.business_group_id;
Line: 148

RET 20th April think this is now obsolete, but won't delete until this is
confirmed.
--  ---------------------------------------------------------------------------
--  |------------------< return_legislation_code_child >----------------------|
--  ---------------------------------------------------------------------------
--
Function return_legislation_code_child
  (p_run_type_id  in number
  )
  Return Varchar2 Is
  --
  -- declare cursor
  --
  cursor csr_get_bg_id
  is
  select prt.business_group_id
  from   pay_run_types_f prt
  where  prt.run_type_id = p_run_type_id;
Line: 332

  select prt.run_type_name
  from   pay_run_types_f prt
  where  prt.run_type_name = p_run_type_name
  and    nvl(prt.business_group_id, -1) = nvl(p_business_group_id
                                              , nvl(prt.business_group_id, -1))
  and    nvl(prt.legislation_code, 'CORE') = nvl(p_legislation_code, 'CORE')
  and    p_effective_date between prt.effective_start_date
                              and prt.effective_end_date;
Line: 342

  select prt.run_type_name
  from   pay_run_types_f prt
  where  prt.business_group_id = p_business_group_id
  and    prt.legislation_code is null
  and    prt.run_type_name = p_run_type_name
  and    p_effective_date between prt.effective_start_date
                              and prt.effective_end_date;
Line: 351

  select prt.run_type_name
  from   pay_run_types_f prt
  where  prt.legislation_code = p_legislation_code
  and    prt.business_group_id is null
  and    prt.run_type_name = p_run_type_name
  and    p_effective_date between prt.effective_start_date
                              and prt.effective_end_date;
Line: 360

  select prt.run_type_name
  from   pay_run_types_f prt
  where  prt.run_type_name = p_run_type_name
  and    prt.business_group_id is null
  and    prt.legislation_code is null
  and    p_effective_date between prt.effective_start_date
                              and prt.effective_end_date;
Line: 708

select 1
from   pay_payroll_actions ppa
where  ppa.run_type_id = p_rt_id
and    ppa.business_group_id = p_bg_id;
Line: 715

select 1
from   pay_payroll_actions ppa
where  ppa.run_type_id = p_rt_id;
Line: 722

select 1
from   pay_assignment_actions paa
,      pay_payroll_actions ppa
where  paa.run_type_id = p_rt_id
and    ppa.payroll_action_id = paa.payroll_action_id
and    ppa.business_group_id = p_bg_id;
Line: 731

select 1
from   pay_assignment_actions paa
where  paa.run_type_id = p_rt_id;
Line: 737

select business_group_id
from   per_business_groups
where  legislation_code = p_legislation_code;
Line: 852

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

End chk_non_updateable_args;
Line: 955

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

End dt_update_validate;
Line: 1048

Procedure dt_delete_validate
  (p_run_type_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: 1072

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

End dt_delete_validate;
Line: 1170

  (p_insert               IN boolean
  ,p_business_group_id    IN number
  ,p_legislation_code     IN varchar2
  ,p_legislation_subgroup IN varchar2 DEFAULT NULL) IS
--
BEGIN
  --
  -- Call the supporting procedure to check startup mode
  -- EDIT_HERE: The following call should be edited if certain types of rows
  -- are not permitted.
  IF (p_insert) THEN
  --
  -- Call procedure to check startup_action for inserts
  --
    hr_startup_data_api_support.chk_startup_action
      (p_generic_allowed   => TRUE
      ,p_startup_allowed   => TRUE
      ,p_user_allowed      => TRUE
      ,p_business_group_id => p_business_group_id
      ,p_legislation_code  => p_legislation_code
      ,p_legislation_subgroup => p_legislation_subgroup
      );
Line: 1211

Procedure insert_validate
  (p_rec                   in pay_prt_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: 1263

End insert_validate;
Line: 1268

Procedure update_validate
  (p_rec                     in pay_prt_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: 1327

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

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

End update_validate;
Line: 1346

Procedure delete_validate
  (p_rec                    in pay_prt_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: 1375

  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_run_type_id                      => p_rec.run_type_id
    );
Line: 1383

End delete_validate;