DBA Data[Home] [Help]

APPS.OTA_AVT_BUS SQL Statements

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

Line: 35

    select pbg.security_group_id,
           pbg.legislation_code
      from per_business_groups_perf pbg
         , ota_activity_versions avt
         -- , ota_activity_definitions tad
     where avt.activity_version_id = p_activity_version_id
       -- and tad.activity_id = avt.activity_id
       and pbg.business_group_id = avt.business_group_id;
Line: 111

    select pbg.legislation_code
      from per_business_groups_perf pbg
         , ota_activity_versions tav
        -- , ota_activity_definitions tad
     where tav.activity_version_id = p_activity_version_id
       -- and pbg.business_group_id =  tad.business_group_id
       and pbg.business_group_id = tav.business_group_id ;
Line: 206

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

End chk_non_updateable_args;
Line: 234

Procedure insert_validate
  (p_effective_date               in date
  ,p_rec                          in ota_avt_shd.g_rec_type
  ,p_activity_version_id          in number
  ) is
--
  l_proc  varchar2(72) := g_package||'insert_validate';
Line: 259

End insert_validate;
Line: 264

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

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

End update_validate;
Line: 298

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

End delete_validate;
Line: 419

  select tad.business_group_id, tad.activity_id
  from   ota_activity_definitions tad
        ,ota_activity_versions tav
  where  tav.activity_version_id = p_activity_version_id
  and    tav.activity_id = tad.activity_id ;
Line: 426

select 'Y'
from ota_activity_versions  tav
,    ota_activity_versions_tl avt
where avt.version_name = p_version_name
and   avt.activity_version_id = tav.activity_version_id
and   avt.language = p_language
and   tav.activity_id = v_activity_id
and (p_activity_version_id is null or
    (p_activity_version_id is not null and
     avt.activity_version_id <> p_activity_version_id)) ;