DBA Data[Home] [Help]

APPS.HXC_HAD_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_alias_definitions had
      --   , EDIT_HERE table_name(s) 333
     where had.alias_definition_id = p_alias_definition_id;
Line: 105

    select pbg.legislation_code
      from per_business_groups     pbg
         , hxc_alias_definitions had
      --   , EDIT_HERE table_name(s) 333
     where had.alias_definition_id = p_alias_definition_id;
Line: 204

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

End chk_non_updateable_args;
Line: 277

SELECT 'error'
FROM    hxc_alias_definitions had,
        hxc_alias_definitions_tl hadtl
WHERE   hadtl.alias_definition_name = p_name
AND	hadtl.alias_definition_id   = had.alias_definition_id
and     hadtl.language = USERENV('LANG')
AND     had.alias_definition_id   <> NVL(p_alias_definition_id,9.99E125)
AND     had.object_version_number <> NVL(p_ovn, -1)
AND     had.business_group_id 	  =  p_business_group_id;
Line: 362

Procedure chk_delete
  (
   p_alias_definition_id in hxc_alias_definitions.alias_definition_id%TYPE
  ) IS
--
  l_proc  varchar2(72);
Line: 375

SELECT count(*)
FROM   hxc_pref_hierarchies hph,
       hxc_pref_definitions hpd,
       hxc_pref_hierarchies hph1
WHERE  hph.pref_definition_id = hpd.pref_definition_id
AND    hpd.code = 'TC_W_TCRD_ALIASES'
AND    (hph.attribute1 = TO_CHAR(p_alias_definition_id)
				OR  hph.attribute2 = TO_CHAR(p_alias_definition_id)
        OR  hph.attribute3 = TO_CHAR(p_alias_definition_id)
        OR  hph.attribute4 = TO_CHAR(p_alias_definition_id)
        OR  hph.attribute5 = TO_CHAR(p_alias_definition_id)
        OR  hph.attribute6 = TO_CHAR(p_alias_definition_id)
        OR  hph.attribute7 = TO_CHAR(p_alias_definition_id)
        OR  hph.attribute8 = TO_CHAR(p_alias_definition_id)
        OR  hph.attribute9 = TO_CHAR(p_alias_definition_id)
        OR  hph.attribute10 = TO_CHAR(p_alias_definition_id) )
AND    hph1.pref_hierarchy_id = hph.top_level_parent_id;
Line: 396

	l_proc := g_package||'chk_delete';
Line: 446

END chk_delete;
Line: 483

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

    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: 568

SELECT 'success'
FROM   fnd_descr_flex_contexts_vl c,
      fnd_application a
where c.descriptive_flexfield_name = 'OTC Aliases'
and   a.application_short_name = 'HXC'
and   a.application_id = c.application_id
and   c.descriptive_flex_context_code = p_context_name ;
Line: 622

Procedure insert_validate
  (p_rec                          in hxc_had_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72);
Line: 631

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

End insert_validate;
Line: 674

Procedure update_validate
  (p_rec                          in hxc_had_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72);
Line: 683

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

  chk_non_updateable_args
    (p_rec              => p_rec
    );
Line: 724

End update_validate;
Line: 729

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

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

  chk_delete
  ( p_alias_definition_id => p_rec.alias_definition_id);
Line: 750

End delete_validate;