DBA Data[Home] [Help]

APPS.HR_ORD_BUS SQL Statements

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

Line: 24

  select org.organization_id
  from   hr_organization_units org
  where  org.organization_id   = p_organization_id
    and  org.business_group_id = p_business_group_id
    and  p_effective_date between org.date_from and nvl(org.date_to, to_date('31/12/4712', 'DD/MM/YYYY'));
Line: 41

    select pbg.security_group_id
      from per_business_groups pbg
         , hr_de_organization_links ord
     where ord.organization_link_id = p_organization_link_id
       and pbg.business_group_id = ord.business_group_id;
Line: 101

    select pbg.legislation_code
      from per_business_groups pbg
         , hr_de_organization_links ord
     where ord.organization_link_id = p_organization_link_id
       and pbg.business_group_id = ord.business_group_id;
Line: 201

    select organization_id
    from   hr_organization_information
    where  organization_id         = p_organization_id
      and  org_information_context = 'CLASS'
      and  org_information1        = 'HR_ORG'
      and  org_information2        = 'Y';
Line: 306

    select organization_id
    from   hr_organization_information  inf
          ,hr_de_org_link_types_mapping map
    where  inf.organization_id         = p_organization_id
      and  inf.org_information_context = 'CLASS'
      and  inf.org_information2        = 'Y'
      and  inf.org_information1        = map.org_class
      and  map.org_link_type           = p_org_link_type;
Line: 513

    select null
    from   per_business_groups
    where  business_group_id = p_business_group_id
      and  legislation_code  = 'DE';
Line: 642

procedure chk_organization_link_delete
(p_org_link_type in varchar2) is
  --
  --
  -- Local variables.
  --
  l_proc varchar2(72) := g_package || 'chk_organization_link_delete';
Line: 661

end chk_organization_link_delete;
Line: 1044

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

End chk_non_updateable_args;
Line: 1110

Procedure insert_validate
(p_effective_date in date
,p_rec            in hr_ord_shd.g_rec_type) is
  --
  --
  -- Local Variables.
  --
  l_proc varchar2(72) := g_package || 'insert_validate';
Line: 1162

End insert_validate;
Line: 1167

Procedure update_validate
(p_effective_date in date
,p_rec            in hr_ord_shd.g_rec_type) is
  --
  --
  -- Local Variables.
  --
  l_proc varchar2(72) := g_package || 'update_validate';
Line: 1189

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

End update_validate;
Line: 1205

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

  chk_organization_link_delete
    (p_org_link_type => p_rec.org_link_type);
Line: 1218

End delete_validate;