DBA Data[Home] [Help]

APPS.HXC_HPH_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
         , hxc_pref_hierarchies hph
      --   , EDIT_HERE table_name(s) 333
     where hph.pref_hierarchy_id = p_pref_hierarchy_id;
Line: 105

    select pbg.legislation_code
      from per_business_groups     pbg
         , hxc_pref_hierarchies hph
      --   , EDIT_HERE table_name(s) 333
     where hph.pref_hierarchy_id = p_pref_hierarchy_id;
Line: 388

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

End chk_non_updateable_args;
Line: 465

SELECT 'error'
FROM    sys.dual
WHERE EXISTS (
       SELECT  'x'
       FROM    hxc_pref_hierarchies hph
       WHERE   upper(hph.name) = upper(p_name)
       AND     hph.object_version_number <> NVL(p_object_version_number, -1)
       AND     (business_group_id = p_business_group_id or business_group_id is null)
       AND     level = 1
       START WITH hph.parent_pref_hierarchy_id = p_parent_pref_hierarchy_id
       CONNECT BY PRIOR hph.pref_hierarchy_id = hph.parent_pref_hierarchy_id);
Line: 608

select parent_pref_hierarchy_id
from hxc_pref_hierarchies hph
where pref_hierarchy_id = p_preference_id;*/
Line: 613

select top_level_parent_id                 --Performance Fix
from hxc_pref_hierarchies hph
where pref_hierarchy_id = p_preference_id;
Line: 661

select parent_pref_hierarchy_id ,name
from hxc_pref_hierarchies hph
where pref_hierarchy_id = p_preference_id;*/
Line: 666

select hph.name
from hxc_pref_hierarchies hph
    ,hxc_pref_hierarchies hph1
where hph.pref_hierarchy_id = hph1.top_level_parent_id  --Performance Fix
  and hph1.pref_hierarchy_id = p_preference_id;
Line: 745

SELECT 'error'
FROM    sys.dual
WHERE EXISTS (
       SELECT  'x'
       FROM    hxc_pref_hierarchies hph
       WHERE   hph.attribute_category = p_pref_code
       and     hph.pref_hierarchy_id <> p_pref_hierarchy_id
       START WITH hph.parent_pref_hierarchy_id = hxc_hph_bus.get_top_level_id(p_parent_pref_hierarchy_id)
       CONNECT BY PRIOR hph.pref_hierarchy_id = hph.parent_pref_hierarchy_id);
Line: 756

SELECT 'error'
FROM    sys.dual
WHERE EXISTS (
       SELECT  'x'
       FROM    hxc_pref_hierarchies hph
       WHERE   hph.attribute_category is not null
       and     hph.pref_hierarchy_id = p_parent_pref_hierarchy_id);
Line: 855

SELECT 'error'
FROM    sys.dual
WHERE EXISTS (
       SELECT  'x'
       FROM    hxc_pref_hierarchies hph
       WHERE   hph.name = p_name
       AND     (business_group_id = p_business_group_id or business_group_id is null)
       AND     hph.object_version_number <> NVL(p_object_version_number, -1)
       AND     hph.parent_pref_hierarchy_id is null);
Line: 936

SELECT 'error'
FROM    sys.dual
WHERE EXISTS (
       SELECT  'x'
       FROM    hxc_pref_hierarchies hph
       WHERE   hph.pref_definition_id  = p_pref_definition_id
       AND     NVL(hph.business_group_id,-1) = NVL(p_bg_id,-1)
       AND     level = 2
       AND     hph.object_version_number <> NVL(p_object_version_number, -1)
       START WITH hph.pref_hierarchy_id = p_parent_pref_hierarchy_id
       CONNECT BY PRIOR hph.pref_hierarchy_id = hph.parent_pref_hierarchy_id);
Line: 1000

           select mapping_component_id
	     from hxc_alias_type_components hac
	    where hac.alias_type_id = p_alias_type_id;
Line: 1104

	       select alias_type_id
	         from hxc_alias_definitions had
		where had.alias_definition_id = p_alias_definition_id;
Line: 1379

     select name
       from hxc_alias_type_components hac,
            hxc_mapping_components hmc
      where hac.alias_type_id = p_alias_type_id
        and hac.mapping_component_id = hmc.mapping_component_id;
Line: 1604

    select territory_code
    from fnd_territories ft
    where ft.territory_code = p_legislation_code;
Line: 1610

    select legislation_code
    from per_business_groups pbg
    where pbg.business_group_id = p_business_group_id
    and   pbg.legislation_code = p_legislation_code;
Line: 1658

Procedure insert_validate
  (p_effective_date               in date
  ,p_rec                          in hxc_hph_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72);
Line: 1668

	l_proc := g_package||'insert_validate';
Line: 1774

End insert_validate;
Line: 1779

Procedure update_validate
  (p_effective_date               in date
  ,p_rec                          in hxc_hph_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72);
Line: 1789

	l_proc := g_package||'update_validate';
Line: 1803

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

End update_validate;
Line: 1901

Procedure delete_validate
  (p_rec                          in hxc_hph_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72);
Line: 1910

	l_proc := g_package||'delete_validate';
Line: 1919

End delete_validate;