DBA Data[Home] [Help]

APPS.PER_SLT_BUS SQL Statements

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

Line: 33

    select pbg.security_group_id
      from per_business_groups pbg
         , per_solution_types slt
      --   , EDIT_HERE table_name(s) 333
     where slt.solution_type_name = p_solution_type_name;
Line: 103

    select pbg.legislation_code
      from per_business_groups     pbg
         , per_solution_types slt
      --   , EDIT_HERE table_name(s) 333
     where slt.solution_type_name = p_solution_type_name;
Line: 303

procedure chk_updateable
  (p_solution_type_name    in   per_solution_types.solution_type_name%TYPE
  ,p_updateable            in   per_solution_types.updateable%TYPE
  ,p_effective_date        in   date
  ,p_object_version_number in   per_solution_types.object_version_number%TYPE
  )
is
  --
  l_exists         varchar2(1);
Line: 312

  l_proc           varchar2(72)  :=  g_package||'chk_updateable';
Line: 328

    ,p_argument       =>  'updateable'
    ,p_argument_value =>  p_updateable
    );
Line: 341

      and nvl(per_slt_shd.g_old_rec.updateable, hr_api.g_varchar2)
      <> nvl(p_updateable,hr_api.g_varchar2))
    or
      (NOT l_api_updating))
  then
    hr_utility.set_location(l_proc, 40);
Line: 350

    if p_updateable is not null then
      --
      -- Check that the updateable flag exists in HR_STANDARD_LOOKUPS for the
      -- lookup type 'YES_NO' with an enabled flag set to 'Y'
      -- and that the effective date is between start date
      -- active and end date active in HR_STANDARD_LOOKUPS.
      --
      if hr_api.not_exists_in_hrstanlookups
        (p_effective_date        => p_effective_date
        ,p_lookup_type           => 'YES_NO'
        ,p_lookup_code           => p_updateable
        )
      then
        --
        hr_utility.set_message(801, 'HR_EDIT');
Line: 373

end chk_updateable;
Line: 402

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

End chk_non_updateable_args;
Line: 432

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

  chk_updateable
    (p_solution_type_name       =>  p_rec.solution_type_name
    ,p_updateable               =>  p_rec.updateable
    ,p_effective_date           =>  p_effective_date
    ,p_object_version_number    =>  p_rec.object_version_number
    );
Line: 464

End insert_validate;
Line: 469

Procedure update_validate
  (p_effective_date               in date
  ,p_rec                          in per_slt_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72) := g_package||'update_validate';
Line: 485

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

  chk_updateable
    (p_solution_type_name       =>  p_rec.solution_type_name
    ,p_updateable               =>  p_rec.updateable
    ,p_effective_date           =>  p_effective_date
    ,p_object_version_number    =>  p_rec.object_version_number
    );
Line: 506

End update_validate;
Line: 511

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

End delete_validate;