DBA Data[Home] [Help]

APPS.OTA_CPR_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_course_prerequisites cpr
     where cpr.activity_version_id = p_activity_version_id
       and cpr.prerequisite_course_id = p_prerequisite_course_id
       and pbg.business_group_id = cpr.business_group_id;
Line: 111

    select pbg.legislation_code
      from per_business_groups_perf pbg
         , ota_course_prerequisites cpr
     where cpr.activity_version_id = p_activity_version_id
       and cpr.prerequisite_course_id = p_prerequisite_course_id
       and pbg.business_group_id = cpr.business_group_id;
Line: 208

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

End chk_non_updateable_args;
Line: 256

    select 'Y'
      from OTA_COURSE_PREREQUISITES cpr
     where cpr.activity_version_id = p_activity_version_id
       and cpr.prerequisite_course_id = p_prerequisite_course_id;
Line: 303

    select nvl(end_date, trunc(sysdate))
    from OTA_ACTIVITY_VERSIONS oav
    where oav.activity_version_id = p_prerequisite_course_id;
Line: 355

    select nvl(start_date, trunc(sysdate))
      from OTA_ACTIVITY_VERSIONS oav
     where oav.activity_version_id = p_crs_id;
Line: 412

    select 'Y'
      from OTA_EVENTS oev
     where oev.ACTIVITY_VERSION_ID = p_prerequisite_course_id
           and (oev.EVENT_TYPE = 'SCHEDULED' or oev.EVENT_TYPE = 'SELFPACED')
	   and oev.EVENT_STATUS <> 'A'
	   and nvl(trunc(oev.course_end_date), trunc(sysdate)) >= trunc(sysdate);
Line: 470

    select 'Y'
    from OTA_COURSE_PREREQUISITES cpr
    where cpr.PREREQUISITE_COURSE_ID = p_activity_version_id
	  and cpr.PREREQUISITE_COURSE_ID in
	      (select PREREQUISITE_COURSE_ID
	       from ota_course_prerequisites
	       start with ACTIVITY_VERSION_ID = p_prerequisite_course_id
	       connect by prior PREREQUISITE_COURSE_ID = ACTIVITY_VERSION_ID);
Line: 524

Procedure insert_validate
  (p_effective_date               in date
  ,p_rec                          in ota_cpr_shd.g_rec_type
  ) is
--
  l_proc  varchar2(72) := g_package||'insert_validate';
Line: 565

End insert_validate;
Line: 570

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

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

End update_validate;
Line: 608

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

End delete_validate;