DBA Data[Home] [Help]

APPS.OTA_CMB_BUS SQL Statements

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

Line: 28

    select pbg.security_group_id,
           pbg.legislation_code
      from per_business_groups_perf pbg
         , ota_certification_members cmb
     where cmb.certification_member_id = p_certification_member_id
       and pbg.business_group_id = cmb.business_group_id;
Line: 99

    select pbg.legislation_code
      from per_business_groups_perf pbg
         , ota_certification_members cmb
     where cmb.certification_member_id = p_certification_member_id
       and pbg.business_group_id = cmb.business_group_id;
Line: 324

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

End chk_non_updateable_args;
Line: 368

      SELECT
         start_date,
         nvl(end_date, to_date('31-12-4712', 'DD-MM-YYYY'))
      FROM ota_activity_versions
      WHERE activity_version_id = p_activity_version_id;
Line: 460

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

      SELECT
         start_date_active,
         end_date_active
      FROM ota_certification_members
      WHERE certification_id = p_certification_id
	  and object_id = p_activity_version_id
	  and object_type = 'H'
	  and (p_certification_member_id is null OR not certification_member_id = p_certification_member_id);
Line: 636

      SELECT
         start_date_active,
         end_date_active
      FROM ota_certification_members
      WHERE certification_id = p_certification_id
	  and object_id = p_activity_version_id
	  and object_type = 'H'
	  and (p_certification_member_id is null OR not certification_member_id = p_certification_member_id);
Line: 698

    select 'Y'
      from ota_certification_members cmb
     where cmb.object_id = p_object_id
	 and cmb.certification_id = p_certification_id;
Line: 729

PROCEDURE chk_should_warn_delete
  (p_cert_mbr_id    IN     ota_certification_members.certification_member_id%TYPE
   , p_return_status OUT  NOCOPY VARCHAR2)
  IS
--
  v_proc                  varchar2(72) := g_package||'chk_should_warn_delete';
Line: 737

    select certification_id
    from   ota_certification_members
    where  certification_member_id = p_cert_mbr_id and
           (end_date_active is null or
            end_date_active > sysdate);
Line: 746

    select 'Y'
      from ota_certification_members cmb
    where cmb.certification_id = p_certification_id
          and cmb.certification_member_id <> p_cert_mbr_id
          and (cmb.end_date_active is null or
               cmb.end_date_active > sysdate);
Line: 776

END chk_should_warn_delete;
Line: 780

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

End insert_validate;
Line: 831

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

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

End update_validate;
Line: 879

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

End delete_validate;