DBA Data[Home] [Help]

APPS.IGS_HE_ST_PROG_ALL_PKG SQL Statements

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

Line: 42

    x_last_update_date                  IN     DATE        ,
    x_last_updated_by                   IN     NUMBER      ,
    x_last_update_login                 IN     NUMBER      ,
    x_implied_fund_rate                 IN     NUMBER      ,
    x_gov_initiatives_cd                IN     VARCHAR2    ,
    x_units_for_qual                    IN     NUMBER      ,
    x_disadv_uplift_elig_cd             IN     VARCHAR2    ,
    x_franch_partner_cd                 IN     VARCHAR2    ,
    x_franch_out_arr_cd                 IN     VARCHAR2    ,
    x_exclude_flag                      IN     VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 29-JAN-2002
  ||  Purpose : Initialises the Old and New references for the columns of the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  sbaliga       4-Apr-2002      Added 3 new parameters to the function i.e. x_fte_intensity,
  ||                                x_teach_period_start_dt and x_teach_period_end_dt
  ||  (reverse chronological order - newest change first)
  */

    CURSOR cur_old_ref_values IS
      SELECT   *
      FROM     IGS_HE_ST_PROG_ALL
      WHERE    rowid = x_rowid;
Line: 78

    IF ((cur_old_ref_values%NOTFOUND) AND (p_action NOT IN ('INSERT', 'VALIDATE_INSERT'))) THEN
      CLOSE cur_old_ref_values;
Line: 80

      fnd_message.set_name ('FND', 'FORM_RECORD_DELETED');
Line: 125

    IF (p_action = 'UPDATE') THEN
      new_references.creation_date                   := old_references.creation_date;
Line: 133

    new_references.last_update_date                  := x_last_update_date;
Line: 134

    new_references.last_updated_by                   := x_last_updated_by;
Line: 135

    new_references.last_update_login                 := x_last_update_login;
Line: 186

      fnd_message.set_name ('FND', 'FORM_RECORD_DELETED');
Line: 207

      SELECT   rowid
      FROM     igs_he_st_prog_all
      WHERE    hesa_st_prog_id = x_hesa_st_prog_id
      FOR UPDATE NOWAIT;
Line: 243

      SELECT   rowid
      FROM     igs_he_st_prog_all
      WHERE    course_cd = x_course_cd
      AND      version_number = x_version_number
      AND      ((l_rowid IS NULL) OR (rowid <> l_rowid));
Line: 280

      SELECT   rowid
      FROM     igs_he_st_prog_all
      WHERE   ((course_cd = x_course_cd) AND
               (version_number = x_version_number));
Line: 306

    SELECT 'X' FROM igs_en_stdnt_ps_att
    WHERE course_cd      =   cp_course_cd
      AND version_number = cp_version;
Line: 362

    x_last_update_date                  IN     DATE        ,
    x_last_updated_by                   IN     NUMBER      ,
    x_last_update_login                 IN     NUMBER      ,
    x_implied_fund_rate                 IN     NUMBER      DEFAULT NULL,
    x_gov_initiatives_cd                IN     VARCHAR2    DEFAULT NULL,
    x_units_for_qual                    IN     NUMBER      DEFAULT NULL,
    x_disadv_uplift_elig_cd             IN     VARCHAR2    DEFAULT NULL,
    x_franch_partner_cd                 IN     VARCHAR2    DEFAULT NULL,
    x_franch_out_arr_cd                 IN     VARCHAR2    DEFAULT NULL,
    x_exclude_flag                      IN     VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 29-JAN-2002
  ||  Purpose : Initialises the columns, Checks Constraints, Calls the
  ||            Trigger Handlers for the table, before any DML operation.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  || pmarada        20-may-2003    While deleting a record checking whether any students
  ||                               attempted this program as per the bug 2932025.
  || sbaliga        Apr-4-2002      Added 3 new parameters to the function
  ||                               i.e. x_fte_intensity,x_teach_period_start_dt
  ||                               and  x_teach_period_end_dt
  ||  (reverse chronological order - newest change first)
  */
  BEGIN

    set_column_values (
      p_action,
      x_rowid,
      x_hesa_st_prog_id,
      x_org_id,
      x_course_cd,
      x_version_number,
      x_teacher_train_prog_id,
      x_itt_phase,
      x_bilingual_itt_marker,
      x_teaching_qual_sought_sector,
      x_teaching_qual_sought_subj1,
      x_teaching_qual_sought_subj2,
      x_teaching_qual_sought_subj3,
      x_location_of_study,
      x_other_inst_prov_teaching1,
      x_other_inst_prov_teaching2,
      x_prop_teaching_in_welsh,
      x_prop_not_taught,
      x_credit_transfer_scheme,
      x_return_type,
      x_default_award,
      x_program_calc,
      x_level_applicable_to_funding,
      x_franchising_activity,
      x_nhs_funding_source,
      x_fe_program_marker,
      x_fee_band,
      x_fundability,
      x_fte_intensity,
      x_teach_period_start_dt,
      x_teach_period_end_dt,
      x_creation_date,
      x_created_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      x_implied_fund_rate       ,
      x_gov_initiatives_cd      ,
      x_units_for_qual          ,
      x_disadv_uplift_elig_cd   ,
      x_franch_partner_cd       ,
      x_franch_out_arr_cd       ,
      x_exclude_flag
    );
Line: 436

    IF (p_action = 'INSERT') THEN
      -- Call all the procedures related to Before Insert.
      IF ( get_pk_for_validation(
             new_references.hesa_st_prog_id
           )
         ) THEN
        fnd_message.set_name('IGS','IGS_GE_RECORD_ALREADY_EXISTS');
Line: 448

    ELSIF (p_action = 'UPDATE') THEN
      -- Call all the procedures related to Before Update.
      check_uniqueness;
Line: 452

    ELSIF (p_action = 'DELETE') THEN
      check_prog_attempt_exists;
Line: 455

    ELSIF (p_action = 'VALIDATE_INSERT') THEN
      -- Call all the procedures related to Before Insert.
      IF ( get_pk_for_validation (
             new_references.hesa_st_prog_id
           )
         ) THEN
        fnd_message.set_name('IGS','IGS_GE_RECORD_ALREADY_EXISTS');
Line: 466

    ELSIF (p_action = 'VALIDATE_UPDATE') THEN
       check_uniqueness;
Line: 468

    ELSIF (p_action = 'VALIDATE_DELETE') THEN
       check_prog_attempt_exists;
Line: 475

 PROCEDURE insert_row (
    x_rowid                             IN OUT NOCOPY VARCHAR2,
    x_hesa_st_prog_id                   IN OUT NOCOPY NUMBER,
    x_org_id                            IN     NUMBER,
    x_course_cd                         IN     VARCHAR2,
    x_version_number                    IN     NUMBER,
    x_teacher_train_prog_id             IN     VARCHAR2,
    x_itt_phase                         IN     VARCHAR2,
    x_bilingual_itt_marker              IN     VARCHAR2,
    x_teaching_qual_sought_sector       IN     VARCHAR2,
    x_teaching_qual_sought_subj1        IN     VARCHAR2,
    x_teaching_qual_sought_subj2        IN     VARCHAR2,
    x_teaching_qual_sought_subj3        IN     VARCHAR2,
    x_location_of_study                 IN     VARCHAR2,
    x_other_inst_prov_teaching1         IN     VARCHAR2,
    x_other_inst_prov_teaching2         IN     VARCHAR2,
    x_prop_teaching_in_welsh            IN     NUMBER,
    x_prop_not_taught                   IN     NUMBER,
    x_credit_transfer_scheme            IN     VARCHAR2,
    x_return_type                       IN     VARCHAR2,
    x_default_award                     IN     VARCHAR2,
    x_program_calc                      IN     VARCHAR2,
    x_level_applicable_to_funding       IN     VARCHAR2,
    x_franchising_activity              IN     VARCHAR2,
    x_nhs_funding_source                IN     VARCHAR2,
    x_fe_program_marker                 IN     VARCHAR2,
    x_fee_band                          IN     VARCHAR2,
    x_fundability                       IN     VARCHAR2,
    x_fte_intensity                     IN     NUMBER  ,
    x_teach_period_start_dt             IN     DATE    ,
    x_teach_period_end_dt               IN     DATE    ,
    x_mode                              IN     VARCHAR2 ,
    x_implied_fund_rate                 IN     NUMBER      DEFAULT NULL,
    x_gov_initiatives_cd                IN     VARCHAR2    DEFAULT NULL,
    x_units_for_qual                    IN     NUMBER      DEFAULT NULL,
    x_disadv_uplift_elig_cd             IN     VARCHAR2    DEFAULT NULL,
    x_franch_partner_cd                 IN     VARCHAR2    DEFAULT NULL,
    x_franch_out_arr_cd                 IN     VARCHAR2    DEFAULT NULL,
    x_exclude_flag                      IN     VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 29-JAN-2002
  ||  Purpose : Handles the INSERT DML logic for the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  || sbaliga        Apr-4-2002      Added 3 new parameters to the function
  ||                                i.e. x_fte_intensity,x_teach_period_start_dt
  ||                                and x_teach_period_end_dt
  ||  smvk            13-Feb-2002     call to igs_ge_gen_003.get_org_id
  ||                                  w.r.t. SWCR006
  ||  (reverse chronological order - newest change first)
  */
    CURSOR c IS
      SELECT   rowid
      FROM     igs_he_st_prog_all
      WHERE    hesa_st_prog_id                   = x_hesa_st_prog_id;
Line: 534

    x_last_update_date           DATE;
Line: 535

    x_last_updated_by            NUMBER;
Line: 536

    x_last_update_login          NUMBER;
Line: 542

    x_last_update_date := SYSDATE;
Line: 544

      x_last_updated_by := 1;
Line: 545

      x_last_update_login := 0;
Line: 547

      x_last_updated_by := fnd_global.user_id;
Line: 548

      IF (x_last_updated_by IS NULL) THEN
        x_last_updated_by := -1;
Line: 551

      x_last_update_login := fnd_global.login_id;
Line: 552

      IF (x_last_update_login IS NULL) THEN
        x_last_update_login := -1;
Line: 561

    SELECT    igs_he_st_prog_all_s.NEXTVAL
    INTO      x_hesa_st_prog_id
    FROM      dual;
Line: 566

      p_action                            => 'INSERT',
      x_rowid                             => x_rowid,
      x_hesa_st_prog_id                   => x_hesa_st_prog_id,
      x_org_id                            => igs_ge_gen_003.get_org_id,
      x_course_cd                         => x_course_cd,
      x_version_number                    => x_version_number,
      x_teacher_train_prog_id             => x_teacher_train_prog_id,
      x_itt_phase                         => x_itt_phase,
      x_bilingual_itt_marker              => x_bilingual_itt_marker,
      x_teaching_qual_sought_sector       => x_teaching_qual_sought_sector,
      x_teaching_qual_sought_subj1        => x_teaching_qual_sought_subj1,
      x_teaching_qual_sought_subj2        => x_teaching_qual_sought_subj2,
      x_teaching_qual_sought_subj3        => x_teaching_qual_sought_subj3,
      x_location_of_study                 => x_location_of_study,
      x_other_inst_prov_teaching1         => x_other_inst_prov_teaching1,
      x_other_inst_prov_teaching2         => x_other_inst_prov_teaching2,
      x_prop_teaching_in_welsh            => x_prop_teaching_in_welsh,
      x_prop_not_taught                   => x_prop_not_taught,
      x_credit_transfer_scheme            => x_credit_transfer_scheme,
      x_return_type                       => x_return_type,
      x_default_award                     => x_default_award,
      x_program_calc                      => x_program_calc,
      x_level_applicable_to_funding       => x_level_applicable_to_funding,
      x_franchising_activity              => x_franchising_activity,
      x_nhs_funding_source                => x_nhs_funding_source,
      x_fe_program_marker                 => x_fe_program_marker,
      x_fee_band                          => x_fee_band,
      x_fundability                       => x_fundability,
      x_fte_intensity                     => x_fte_intensity,
      x_teach_period_start_dt             => x_teach_period_start_dt,
      x_teach_period_end_dt               => x_teach_period_end_dt,
      x_creation_date                     => x_last_update_date,
      x_created_by                        => x_last_updated_by,
      x_last_update_date                  => x_last_update_date,
      x_last_updated_by                   => x_last_updated_by,
      x_last_update_login                 => x_last_update_login,
      x_implied_fund_rate                 => x_implied_fund_rate    ,
      x_gov_initiatives_cd                => x_gov_initiatives_cd   ,
      x_units_for_qual                    => x_units_for_qual       ,
      x_disadv_uplift_elig_cd             => x_disadv_uplift_elig_cd,
      x_franch_partner_cd                 => x_franch_partner_cd    ,
      x_franch_out_arr_cd                 => x_franch_out_arr_cd    ,
      x_exclude_flag                      => x_exclude_flag
    );
Line: 611

    INSERT INTO igs_he_st_prog_all (
      hesa_st_prog_id,
      org_id,
      course_cd,
      version_number,
      teacher_train_prog_id,
      itt_phase,
      bilingual_itt_marker,
      teaching_qual_sought_sector,
      teaching_qual_sought_subj1,
      teaching_qual_sought_subj2,
      teaching_qual_sought_subj3,
      location_of_study,
      other_inst_prov_teaching1,
      other_inst_prov_teaching2,
      prop_teaching_in_welsh,
      prop_not_taught,
      credit_transfer_scheme,
      return_type,
      default_award,
      program_calc,
      level_applicable_to_funding,
      franchising_activity,
      nhs_funding_source,
      fe_program_marker,
      fee_band,
      fundability,
      fte_intensity,
      teach_period_start_dt,
      teach_period_end_dt,
      creation_date,
      created_by,
      last_update_date,
      last_updated_by,
      last_update_login,
      implied_fund_rate      ,
      gov_initiatives_cd     ,
      units_for_qual         ,
      disadv_uplift_elig_cd  ,
      franch_partner_cd      ,
      franch_out_arr_cd      ,
      exclude_flag
    ) VALUES (
      new_references.hesa_st_prog_id,
      new_references.org_id,
      new_references.course_cd,
      new_references.version_number,
      new_references.teacher_train_prog_id,
      new_references.itt_phase,
      new_references.bilingual_itt_marker,
      new_references.teaching_qual_sought_sector,
      new_references.teaching_qual_sought_subj1,
      new_references.teaching_qual_sought_subj2,
      new_references.teaching_qual_sought_subj3,
      new_references.location_of_study,
      new_references.other_inst_prov_teaching1,
      new_references.other_inst_prov_teaching2,
      new_references.prop_teaching_in_welsh,
      new_references.prop_not_taught,
      new_references.credit_transfer_scheme,
      new_references.return_type,
      new_references.default_award,
      new_references.program_calc,
      new_references.level_applicable_to_funding,
      new_references.franchising_activity,
      new_references.nhs_funding_source,
      new_references.fe_program_marker,
      new_references.fee_band,
      new_references.fundability,
      new_references.fte_intensity,
      new_references.teach_period_start_dt,
      new_references.teach_period_end_dt,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      new_references.implied_fund_rate      ,
      new_references.gov_initiatives_cd     ,
      new_references.units_for_qual         ,
      new_references.disadv_uplift_elig_cd  ,
      new_references.franch_partner_cd      ,
      new_references.franch_out_arr_cd      ,
      new_references.exclude_flag
    );
Line: 705

  END insert_row;
Line: 762

      SELECT
        course_cd,
        version_number,
        teacher_train_prog_id,
        itt_phase,
        bilingual_itt_marker,
        teaching_qual_sought_sector,
        teaching_qual_sought_subj1,
        teaching_qual_sought_subj2,
        teaching_qual_sought_subj3,
        location_of_study,
        other_inst_prov_teaching1,
        other_inst_prov_teaching2,
        prop_teaching_in_welsh,
        prop_not_taught,
        credit_transfer_scheme,
        return_type,
        default_award,
        program_calc,
        level_applicable_to_funding,
        franchising_activity,
        nhs_funding_source,
        fe_program_marker,
        fee_band,
        fundability,
        fte_intensity,
        teach_period_start_dt,
        teach_period_end_dt,
        implied_fund_rate   ,
        gov_initiatives_cd   ,
        units_for_qual       ,
        disadv_uplift_elig_cd,
        franch_partner_cd    ,
        franch_out_arr_cd    ,
        exclude_flag
      FROM  igs_he_st_prog_all
      WHERE rowid = x_rowid
      FOR UPDATE NOWAIT;
Line: 808

      fnd_message.set_name('FND', 'FORM_RECORD_DELETED');
Line: 864

  PROCEDURE update_row (
    x_rowid                             IN     VARCHAR2,
    x_hesa_st_prog_id                   IN     NUMBER,
    x_org_id                            IN     NUMBER,
    x_course_cd                         IN     VARCHAR2,
    x_version_number                    IN     NUMBER,
    x_teacher_train_prog_id             IN     VARCHAR2,
    x_itt_phase                         IN     VARCHAR2,
    x_bilingual_itt_marker              IN     VARCHAR2,
    x_teaching_qual_sought_sector       IN     VARCHAR2,
    x_teaching_qual_sought_subj1        IN     VARCHAR2,
    x_teaching_qual_sought_subj2        IN     VARCHAR2,
    x_teaching_qual_sought_subj3        IN     VARCHAR2,
    x_location_of_study                 IN     VARCHAR2,
    x_other_inst_prov_teaching1         IN     VARCHAR2,
    x_other_inst_prov_teaching2         IN     VARCHAR2,
    x_prop_teaching_in_welsh            IN     NUMBER,
    x_prop_not_taught                   IN     NUMBER,
    x_credit_transfer_scheme            IN     VARCHAR2,
    x_return_type                       IN     VARCHAR2,
    x_default_award                     IN     VARCHAR2,
    x_program_calc                      IN     VARCHAR2,
    x_level_applicable_to_funding       IN     VARCHAR2,
    x_franchising_activity              IN     VARCHAR2,
    x_nhs_funding_source                IN     VARCHAR2,
    x_fe_program_marker                 IN     VARCHAR2,
    x_fee_band                          IN     VARCHAR2,
    x_fundability                       IN     VARCHAR2,
    x_fte_intensity                     IN     NUMBER  ,
    x_teach_period_start_dt             IN     DATE    ,
    x_teach_period_end_dt               IN     DATE    ,
    x_mode                              IN     VARCHAR2 ,
    x_implied_fund_rate                 IN     NUMBER    DEFAULT NULL,
    x_gov_initiatives_cd                IN     VARCHAR2  DEFAULT NULL,
    x_units_for_qual                    IN     NUMBER    DEFAULT NULL,
    x_disadv_uplift_elig_cd             IN     VARCHAR2  DEFAULT NULL,
    x_franch_partner_cd                 IN     VARCHAR2  DEFAULT NULL,
    x_franch_out_arr_cd                 IN     VARCHAR2  DEFAULT NULL,
    x_exclude_flag                      IN     VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 29-JAN-2002
  ||  Purpose : Handles the UPDATE DML logic for the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  || sbaliga        Apr-4-2002      Added 3 new parameters to the function
  ||                              i.e. x_fte_intensity,x_teach_period_start_dt
  ||                               and  x_teach_period_end_dt
  ||  smvk            13-Feb-2002     Call to igs_ge_gen_003.get_org_id
  ||                                  w.r.t. SWCR006
  ||  (reverse chronological order - newest change first)
   */
    x_last_update_date           DATE ;
Line: 919

    x_last_updated_by            NUMBER;
Line: 920

    x_last_update_login          NUMBER;
Line: 926

    x_last_update_date := SYSDATE;
Line: 928

      x_last_updated_by := 1;
Line: 929

      x_last_update_login := 0;
Line: 931

      x_last_updated_by := fnd_global.user_id;
Line: 932

      IF x_last_updated_by IS NULL THEN
        x_last_updated_by := -1;
Line: 935

      x_last_update_login := fnd_global.login_id;
Line: 936

      IF (x_last_update_login IS NULL) THEN
        x_last_update_login := -1;
Line: 946

      p_action                            => 'UPDATE',
      x_rowid                             => x_rowid,
      x_hesa_st_prog_id                   => x_hesa_st_prog_id,
      x_org_id                            => igs_ge_gen_003.get_org_id,
      x_course_cd                         => x_course_cd,
      x_version_number                    => x_version_number,
      x_teacher_train_prog_id             => x_teacher_train_prog_id,
      x_itt_phase                         => x_itt_phase,
      x_bilingual_itt_marker              => x_bilingual_itt_marker,
      x_teaching_qual_sought_sector       => x_teaching_qual_sought_sector,
      x_teaching_qual_sought_subj1        => x_teaching_qual_sought_subj1,
      x_teaching_qual_sought_subj2        => x_teaching_qual_sought_subj2,
      x_teaching_qual_sought_subj3        => x_teaching_qual_sought_subj3,
      x_location_of_study                 => x_location_of_study,
      x_other_inst_prov_teaching1         => x_other_inst_prov_teaching1,
      x_other_inst_prov_teaching2         => x_other_inst_prov_teaching2,
      x_prop_teaching_in_welsh            => x_prop_teaching_in_welsh,
      x_prop_not_taught                   => x_prop_not_taught,
      x_credit_transfer_scheme            => x_credit_transfer_scheme,
      x_return_type                       => x_return_type,
      x_default_award                     => x_default_award,
      x_program_calc                      => x_program_calc,
      x_level_applicable_to_funding       => x_level_applicable_to_funding,
      x_franchising_activity              => x_franchising_activity,
      x_nhs_funding_source                => x_nhs_funding_source,
      x_fe_program_marker                 => x_fe_program_marker,
      x_fee_band                          => x_fee_band,
      x_fundability                       => x_fundability,
      x_fte_intensity                     => x_fte_intensity,
      x_teach_period_start_dt             => x_teach_period_start_dt,
      x_teach_period_end_dt               => x_teach_period_end_dt,
      x_creation_date                     => x_last_update_date,
      x_created_by                        => x_last_updated_by,
      x_last_update_date                  => x_last_update_date,
      x_last_updated_by                   => x_last_updated_by,
      x_last_update_login                 => x_last_update_login,
      x_implied_fund_rate                 => x_implied_fund_rate    ,
      x_gov_initiatives_cd                => x_gov_initiatives_cd   ,
      x_units_for_qual                    => x_units_for_qual       ,
      x_disadv_uplift_elig_cd             => x_disadv_uplift_elig_cd,
      x_franch_partner_cd                 => x_franch_partner_cd    ,
      x_franch_out_arr_cd                 => x_franch_out_arr_cd    ,
      x_exclude_flag                      => x_exclude_flag
    );
Line: 991

    UPDATE igs_he_st_prog_all
      SET
        course_cd                         = new_references.course_cd,
        version_number                    = new_references.version_number,
        teacher_train_prog_id             = new_references.teacher_train_prog_id,
        itt_phase                         = new_references.itt_phase,
        bilingual_itt_marker              = new_references.bilingual_itt_marker,
        teaching_qual_sought_sector       = new_references.teaching_qual_sought_sector,
        teaching_qual_sought_subj1        = new_references.teaching_qual_sought_subj1,
        teaching_qual_sought_subj2        = new_references.teaching_qual_sought_subj2,
        teaching_qual_sought_subj3        = new_references.teaching_qual_sought_subj3,
        location_of_study                 = new_references.location_of_study,
        other_inst_prov_teaching1         = new_references.other_inst_prov_teaching1,
        other_inst_prov_teaching2         = new_references.other_inst_prov_teaching2,
        prop_teaching_in_welsh            = new_references.prop_teaching_in_welsh,
        prop_not_taught                   = new_references.prop_not_taught,
        credit_transfer_scheme            = new_references.credit_transfer_scheme,
        return_type                       = new_references.return_type,
        default_award                     = new_references.default_award,
        program_calc                      = new_references.program_calc,
        level_applicable_to_funding       = new_references.level_applicable_to_funding,
        franchising_activity              = new_references.franchising_activity,
        nhs_funding_source                = new_references.nhs_funding_source,
        fe_program_marker                 = new_references.fe_program_marker,
        fee_band                          = new_references.fee_band,
        fundability                       = new_references.fundability,
        fte_intensity                     = new_references.fte_intensity,
        teach_period_start_dt             = new_references.teach_period_start_dt,
        teach_period_end_dt               = new_references.teach_period_end_dt,
        last_update_date                  = x_last_update_date,
        last_updated_by                   = x_last_updated_by,
        last_update_login                 = x_last_update_login ,
        implied_fund_rate                 = new_references.implied_fund_rate    ,
        gov_initiatives_cd                = new_references.gov_initiatives_cd   ,
        units_for_qual                    = new_references.units_for_qual       ,
        disadv_uplift_elig_cd             = new_references.disadv_uplift_elig_cd,
        franch_partner_cd                 = new_references.franch_partner_cd    ,
        franch_out_arr_cd                 = new_references.franch_out_arr_cd    ,
        exclude_flag                      = new_references.exclude_flag
        WHERE rowid = x_rowid;
Line: 1036

  END update_row;
Line: 1082

  ||  Purpose : Adds a row if there is no existing row, otherwise updates existing row in the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  || sbaliga        Apr-4-2002      Added 3 new parameters to the function
  ||                              i.e. x_fte_intensity,x_teach_period_start_dt
  ||                               and  x_teach_period_end_dt
  ||  (reverse chronological order - newest change first)
   */
    CURSOR c1 IS
      SELECT   rowid
      FROM     igs_he_st_prog_all
      WHERE    hesa_st_prog_id                   = x_hesa_st_prog_id;
Line: 1107

      insert_row (
        x_rowid,
        x_hesa_st_prog_id,
        x_org_id,
        x_course_cd,
        x_version_number,
        x_teacher_train_prog_id,
        x_itt_phase,
        x_bilingual_itt_marker,
        x_teaching_qual_sought_sector,
        x_teaching_qual_sought_subj1,
        x_teaching_qual_sought_subj2,
        x_teaching_qual_sought_subj3,
        x_location_of_study,
        x_other_inst_prov_teaching1,
        x_other_inst_prov_teaching2,
        x_prop_teaching_in_welsh,
        x_prop_not_taught,
        x_credit_transfer_scheme,
        x_return_type,
        x_default_award,
        x_program_calc,
        x_level_applicable_to_funding,
        x_franchising_activity,
        x_nhs_funding_source,
        x_fe_program_marker,
        x_fee_band,
        x_fundability,
        x_fte_intensity,
        x_teach_period_start_dt,
        x_teach_period_end_dt,
        l_mode,
        x_implied_fund_rate    ,
        x_gov_initiatives_cd   ,
        x_units_for_qual       ,
        x_disadv_uplift_elig_cd,
        x_franch_partner_cd    ,
        x_franch_out_arr_cd    ,
        x_exclude_flag
      );
Line: 1151

    update_row (
      x_rowid,
      x_hesa_st_prog_id,
      x_org_id,
      x_course_cd,
      x_version_number,
      x_teacher_train_prog_id,
      x_itt_phase,
      x_bilingual_itt_marker,
      x_teaching_qual_sought_sector,
      x_teaching_qual_sought_subj1,
      x_teaching_qual_sought_subj2,
      x_teaching_qual_sought_subj3,
      x_location_of_study,
      x_other_inst_prov_teaching1,
      x_other_inst_prov_teaching2,
      x_prop_teaching_in_welsh,
      x_prop_not_taught,
      x_credit_transfer_scheme,
      x_return_type,
      x_default_award,
      x_program_calc,
      x_level_applicable_to_funding,
      x_franchising_activity,
      x_nhs_funding_source,
      x_fe_program_marker,
      x_fee_band,
      x_fundability,
      x_fte_intensity,
      x_teach_period_start_dt,
      x_teach_period_end_dt,
      l_mode ,
      x_implied_fund_rate    ,
      x_gov_initiatives_cd   ,
      x_units_for_qual       ,
      x_disadv_uplift_elig_cd,
      x_franch_partner_cd    ,
      x_franch_out_arr_cd    ,
      x_exclude_flag
    );
Line: 1195

  PROCEDURE delete_row (
    x_rowid IN VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 29-JAN-2002
  ||  Purpose : Handles the DELETE DML logic for the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  (reverse chronological order - newest change first)
  */
  BEGIN

    before_dml (
      p_action => 'DELETE',
      x_rowid => x_rowid
    );
Line: 1214

    DELETE FROM igs_he_st_prog_all
    WHERE rowid = x_rowid;
Line: 1221

  END delete_row;