DBA Data[Home] [Help]

APPS.OTA_CCI_BUS SQL Statements

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

Line: 31

    select pbg.security_group_id,
           pbg.legislation_code
      from per_business_groups_perf pbg
         , ota_cert_cat_inclusions cci
         , ota_category_usages ctu
     where ctu.category_usage_id = p_category_usage_id
       and cci.category_usage_id = ctu.category_usage_id
       and cci.certification_id = p_certification_id
       and pbg.business_group_id = ctu.business_group_id;
Line: 113

    select pbg.legislation_code
      from per_business_groups_perf     pbg
         , ota_cert_cat_inclusions cci
         , ota_category_usages ctu
     where ctu.category_usage_id = p_category_usage_id
       and cci.category_usage_id = ctu.category_usage_id
       and cci.certification_id = p_certification_id
       and pbg.business_group_id = ctu.business_group_id;
Line: 351

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

End chk_non_updateable_args;
Line: 398

    SELECT
      start_date_active,
      nvl(end_date_active, to_date ('31-12-4712', 'DD-MM-YYYY'))
    FROM  ota_category_usages
    WHERE category_usage_id =p_category_usage_id;
Line: 405

     SELECT start_date_active,
                      nvl(end_date_active, to_date ('31-12-4712', 'DD-MM-YYYY'))
    FROM ota_certifications_b
    WHERE certification_id = p_certification_id;
Line: 470

Procedure insert_validate
  (p_effective_date               in date
  ,p_rec                          in ota_cci_shd.g_rec_type
  ,p_certification_id in number
  ,p_category_usage_id in number
  ) is
--
  l_proc  varchar2(72) := g_package||'insert_validate';
Line: 506

End insert_validate;
Line: 511

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

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

End update_validate;
Line: 576

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

End delete_validate;
Line: 607

  select 'Y'
  from OTA_CERT_CAT_inclusions cci
  where cci.certification_id = p_certification_id
  and cci.primary_flag = 'Y';
Line: 660

  select 'Y'
  from OTA_CERT_CAT_inclusions cci
  where cci.certification_id = p_certification_id
  and   cci.category_usage_id = p_category_usage_id
  and cci.primary_flag = 'Y';
Line: 758

    select 'Y'
      from OTA_CERT_CAT_inclusions  cci
     where cci.certification_id = p_certification_id
       and cci.category_usage_id   = p_category_usage_id;
Line: 817

    select start_date_active
         , end_date_active
      from ota_category_usages       ctu
     where ctu.category_usage_id   = p_category_usage_id;