DBA Data[Home] [Help]

APPS.OTA_LCI_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_category_usages ctu
	 , ota_lp_cat_inclusions lci
     where ctu.category_usage_id = p_category_usage_id
        and lci.category_usage_id = ctu.category_usage_id
	and lci.learning_path_id = p_learning_path_id
        and pbg.business_group_id = ctu.business_group_id;
Line: 114

    select pbg.legislation_code
      from per_business_groups_perf  pbg
          ,ota_category_usages ctu
	  ,ota_lp_cat_inclusions lci
        where ctu.category_usage_id = p_category_usage_id
	  and lci.category_usage_id = ctu.category_usage_id
	and lci.learning_path_id = p_learning_path_id
        and pbg.business_group_id = ctu.business_group_id;
Line: 352

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

End chk_non_updateable_args;
Line: 399

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

     SELECT start_date_active,
                      nvl(end_date_active, to_date ('31-12-4712', 'DD-MM-YYYY'))
    FROM ota_learning_paths
    WHERE learning_path_id = p_learning_path_id;
Line: 471

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

End insert_validate;
Line: 512

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

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

End update_validate;
Line: 583

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

End delete_validate;
Line: 614

  select 'Y'
  from OTA_LP_CAT_inclusions lci
  where lci.learning_path_id = p_learning_path_id
  and lci.primary_flag = 'Y';
Line: 668

  select 'Y'
  from OTA_LP_CAT_inclusions lci
  where lci.learning_path_id = p_learning_path_id
  and   lci.category_usage_id = p_category_usage_id
  and lci.primary_flag = 'Y';
Line: 764

    select 'Y'
      from OTA_LP_CAT_inclusions  lci
     where lci.learning_path_id = p_learning_path_id
       and lci.category_usage_id   = p_category_usage_id;
Line: 823

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