DBA Data[Home] [Help]

APPS.PAY_TDF_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_time_definitions tdf
     where tdf.time_definition_id = p_time_definition_id
       and pbg.business_group_id (+) = tdf.business_group_id;
Line: 99

    select pbg.legislation_code
      from per_business_groups_perf pbg
         , pay_time_definitions tdf
     where tdf.time_definition_id = p_time_definition_id
       and pbg.business_group_id (+) = tdf.business_group_id;
Line: 187

Procedure chk_non_updateable_args
  (p_effective_date               in  date
  ,p_rec in pay_tdf_shd.g_rec_type
  ,p_time_def_used                in  boolean
  ,p_regenerate_periods           out nocopy boolean
  ,p_delete_periods               out nocopy boolean
  ) IS
--
  l_proc     varchar2(72) := g_package || 'chk_non_updateable_args';
Line: 264

        p_delete_periods := false;
Line: 272

        p_delete_periods := true;
Line: 280

        p_delete_periods := false;
Line: 284

End chk_non_updateable_args;
Line: 296

  (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

  IF (p_insert) THEN

    if p_business_group_id is not null and p_legislation_code is not null then

         fnd_message.set_name('PAY', 'PAY_34057_FLSA_CROSS_VAL1');
Line: 389

  select null
  from   pay_time_definitions
  where  period_time_definition_id = p_time_definition_id;
Line: 394

  select null
  from   pay_element_types_f
  where  time_definition_id = p_time_definition_id
  and    time_definition_type = 'S';
Line: 400

  select null
  from   pay_run_results
  where  time_definition_id = p_time_definition_id;
Line: 405

  select null
  from   pay_entry_process_details
  where  time_definition_id = p_time_definition_id;
Line: 647

    select null
    from   hr_lookups
    where lookup_type like 'PAY_PIT_OFFSET_PERIOD_TYPE'
      and enabled_flag='Y'
      and lookup_code = p_period_type;
Line: 768

    select null
    from   per_time_period_types
    where  period_type = p_period_type;
Line: 773

    select null
    from   hr_lookups
    where lookup_type like 'PAY_PIT_PERIOD_TYPE'
      and enabled_flag='Y'
      and lookup_code = p_period_type;
Line: 1140

  select null
  from   pay_time_definitions ptd
  where  ptd.time_definition_id = p_period_time_definition_id
  and    nvl(ptd.definition_type, 'P') = 'P'
  and  (
         ( p_business_group_id is null and
           p_legislation_code is null and
           ptd.business_group_id is null and
           ptd.legislation_code is null
         ) OR
         ( p_business_group_id is null and
           p_legislation_code is not null and
           ( (ptd.business_group_id is null and ptd.legislation_code is null)
             OR ( ptd.business_group_id is null and ptd.legislation_code = p_legislation_code) )
         ) OR
         (
           p_business_group_id is not null and
           p_legislation_code is null and
           ( ( ptd.business_group_id is null and ptd.legislation_code is null)
             OR (ptd.business_group_id is null and ptd.legislation_code = hr_api.return_legislation_code(p_business_group_id))
             OR (ptd.business_group_id = p_business_group_id and ptd.legislation_code is null) )
         )
       );
Line: 1270

  select null
  from   pay_time_definitions ptd
  where  ptd.definition_name = p_definition_name
  and  (
         ( p_business_group_id is null and
           p_legislation_code is null and
           ptd.business_group_id is null and
           ptd.legislation_code is null
         ) OR
         ( p_business_group_id is null and
           p_legislation_code is not null and
           ( (ptd.business_group_id is null and ptd.legislation_code is null)
             OR ( ptd.business_group_id is null and ptd.legislation_code = p_legislation_code) )
         ) OR
         (
           p_business_group_id is not null and
           p_legislation_code is null and
           ( ( ptd.business_group_id is null and ptd.legislation_code is null)
             OR (ptd.business_group_id is null and ptd.legislation_code = hr_api.return_legislation_code(p_business_group_id))
             OR (ptd.business_group_id = p_business_group_id and ptd.legislation_code is null) )
         )
       );
Line: 1385

  select null
  from   pay_time_definitions ptd
  where  ptd.short_name = p_short_name;
Line: 1470

  select null
  from   hr_standard_lookups hrl
  where  hrl.lookup_type = 'PAY_TIME_DEFINITION_TYPE'
  and    hrl.lookup_code = p_definition_type
  and    hrl.enabled_flag = 'Y';
Line: 1550

select null
from fnd_territories
where territory_code = p_legislation_code ;
Line: 1590

Procedure insert_validate
  (p_effective_date               in date
  ,p_rec                          in pay_tdf_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72) := g_package||'insert_validate';
Line: 1715

End insert_validate;
Line: 1720

Procedure update_validate
  (p_effective_date               in date
  ,p_rec                          in pay_tdf_shd.g_rec_type
  ,p_regenerate_periods           out nocopy boolean
  ,p_delete_periods               out nocopy boolean
  ) is
--
  l_proc  varchar2(72) := g_package||'update_validate';
Line: 1766

  chk_non_updateable_args
    (p_effective_date     => p_effective_date
    ,p_rec                => p_rec
    ,p_time_def_used      => l_time_def_usage
    ,p_regenerate_periods => p_regenerate_periods
    ,p_delete_periods     => p_delete_periods
    );
Line: 1837

End update_validate;
Line: 1842

Procedure delete_validate
  (p_rec                          in pay_tdf_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72) := g_package||'delete_validate';
Line: 1879

    fnd_message.set_name('PAY', 'PAY_34064_FLSA_INV_DELETE');
Line: 1885

End delete_validate;