DBA Data[Home] [Help]

APPS.HR_HRC_BUS SQL Statements

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

Line: 42

Procedure chk_non_updateable_args
  (p_rec in hr_hrc_shd.g_rec_type
  ) IS
--
  l_proc     varchar2(72) := g_package || 'chk_non_updateable_args';
Line: 74

End chk_non_updateable_args;
Line: 108

    select
      distinct 'found'
    From
      hr_ki_hierarchies  hrc
    where
      hrc.hierarchy_key = p_hierarchy_key;
Line: 191

    select
     'found'
    From
      hr_ki_hierarchies  hrc
    where
      hrc.hierarchy_id = p_parent_hierarchy_id;
Line: 199

    select
     'found'
    From
      hr_ki_hierarchies hrc
    Where
      hrc.parent_hierarchy_id is null;
Line: 295

procedure chk_parent_hierarchy_id_update
(p_parent_hierarchy_id  in number
)
is
  -- Variables for API Boolean parameters
  l_proc              varchar2(72) := g_package ||'chk_parent_hierarchy_id_update';
Line: 312

         hr_utility.set_location(' Parent hierarchy id of global node updated:'
                                    || l_proc,20);
Line: 330

End chk_parent_hierarchy_id_update;
Line: 365

  select
   'found'
  from
   dual
  where
  p_hierarchy_id in
  (
     select
     hrc.hierarchy_id
     from hr_ki_hierarchies hrc
     connect by prior hrc.parent_hierarchy_id = hrc.hierarchy_id
     start with hrc.hierarchy_id = p_parent_hierarchy_id
  );
Line: 379

  l_proc              varchar2(72) := g_package ||'chk_parent_hierarchy_id_update';
Line: 391

       hr_utility.set_location(' Update will result in a cyclic hierarchy, aborting'
                                 || l_proc,20);
Line: 440

procedure chk_delete(p_hierarchy_id in varchar2)
is

CURSOR csr_hrc_id is
    select
      distinct 'found'
    From
      hr_ki_hierarchies  hrc
    where
      hrc.parent_hierarchy_id = p_hierarchy_id;
Line: 452

    select
      distinct 'found'
    From
      hr_ki_hierarchy_node_maps  hnm
    where
      hnm.hierarchy_id = p_hierarchy_id;
Line: 460

    select
      distinct 'found'
    From
      hr_ki_hierarchies_tl  htl
    where
      htl.hierarchy_id = p_hierarchy_id;
Line: 468

l_proc    varchar2(72) := g_package ||'chk_delete';
Line: 518

 End chk_delete;
Line: 523

Procedure insert_validate
  (p_rec                          in hr_hrc_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72) := g_package||'insert_validate';
Line: 540

End insert_validate;
Line: 545

Procedure update_validate
  (p_rec                          in hr_hrc_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72) := g_package||'update_validate';
Line: 562

  chk_non_updateable_args
    (p_rec              => p_rec
    );
Line: 566

  chk_parent_hierarchy_id_update(p_parent_hierarchy_id => p_rec.parent_hierarchy_id);
Line: 574

End update_validate;
Line: 579

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

  chk_delete(p_hierarchy_id => p_rec.hierarchy_id);
Line: 593

End delete_validate;