DBA Data[Home] [Help]

APPS.IGS_UC_APPLICANTS_PKG SQL Statements

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

Line: 75

    x_last_update_date                  IN     DATE        ,
    x_last_updated_by                   IN     NUMBER      ,
    x_last_update_login                 IN     NUMBER      ,
    -- Added following 8 Columns as part of UCCR002 Build. Bug NO: 2278817 by rbezawad
    x_gce                               IN     NUMBER      ,
    x_vce                               IN     NUMBER      ,
    x_sqa                               IN     VARCHAR2    ,
    x_previousas                        IN     NUMBER      ,
    x_keyskills                         IN     VARCHAR2    ,
    x_vocational                        IN     VARCHAR2    ,
    x_scn                               IN     VARCHAR2    ,
    x_prevoeq                           IN     VARCHAR2    ,
    -- Added the following 5 columns as part of UCFD06 Build: Bug#2574566
    x_choices_transparent_ind           IN     VARCHAR2,
    x_extra_status                      IN     NUMBER  ,
    x_extra_passport_no                 IN     VARCHAR2,
    x_request_app_dets_ind              IN     VARCHAR2,
    x_request_copy_app_frm_ind          IN     VARCHAR2,
    x_cef_no                            IN     NUMBER,
      -- Added the following columns as part of UCFD102 Build: Bug#2643048
    x_system_code                 IN            VARCHAR2        ,
        x_gcse_eng                      IN              VARCHAR2        ,
        x_gcse_math                     IN              VARCHAR2        ,
        x_degree_subject                  IN            VARCHAR2        ,
        x_degree_status         IN              VARCHAR2        ,
        x_degree_class              IN          VARCHAR2        ,
        x_gcse_sci                      IN              VARCHAR2        ,
        x_welshspeaker              IN          VARCHAR2  ,
        x_ni_number                     IN              VARCHAR2,
        x_earliest_start            IN          VARCHAR2,
        x_near_inst                     IN              VARCHAR2,
        x_pref_reg                      IN              NUMBER  ,
        x_qual_eng                      IN              VARCHAR2,
        x_qual_math                     IN              VARCHAR2,
        x_qual_sci                      IN              VARCHAR2,
        x_main_qual                     IN              VARCHAR2,
        x_qual_5                          IN            VARCHAR2,
        x_future_serv                 IN                VARCHAR2,
        x_future_set                  IN                VARCHAR2,
        x_present_serv                  IN              VARCHAR2,
        x_present_set                 IN                VARCHAR2,
        x_curr_employment               IN              VARCHAR2,
        x_edu_qualification             IN              VARCHAR2,
	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	x_ad_batch_id			IN		NUMBER,
	x_ad_interface_id		IN		NUMBER,
	x_nationality			IN		NUMBER,
	x_dual_nationality		IN		NUMBER,
	x_special_needs			IN		VARCHAR2,
	x_country_birth			IN		NUMBER,
	x_personal_id                   IN              VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 21-FEB-2002
  ||  Purpose : Initialises the Old and New references for the columns of the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  smaddali added columns for ucfd203 - multiple cycles bug#2669208
  ||  jchin         10-Mar-05        Modified for bug 4083559/4124006 convert null to 'n' for routeb
  ||  (reverse chronological order - newest change first)
  */

    CURSOR cur_old_ref_values IS
      SELECT   *
      FROM     IGS_UC_APPLICANTS
      WHERE    rowid = x_rowid;
Line: 152

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

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

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

    new_references.last_update_date                  := x_last_update_date;
Line: 284

    new_references.last_updated_by                   := x_last_updated_by;
Line: 285

    new_references.last_update_login                 := x_last_update_login;
Line: 361

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

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

      SELECT   rowid
      FROM     igs_uc_applicants
      WHERE   ((system_code = x_system_code));
Line: 452

      SELECT   rowid
      FROM     igs_uc_applicants
      WHERE   ((oss_person_id = x_oss_person_id));
Line: 486

      SELECT   rowid
      FROM     igs_uc_applicants
      WHERE    app_id = x_app_id      ;
Line: 521

      SELECT   rowid
      FROM     igs_uc_applicants
      WHERE    app_no = x_app_no
      AND  ((l_rowid IS NULL) OR (rowid <> l_rowid))      ;
Line: 610

    x_last_update_date                  IN     DATE        ,
    x_last_updated_by                   IN     NUMBER      ,
    x_last_update_login                 IN     NUMBER      ,
    -- Added following 8 Columns as part of UCCR002 Build. Bug NO: 2278817 by rbezawad
    x_gce                               IN     NUMBER      ,
    x_vce                               IN     NUMBER      ,
    x_sqa                               IN     VARCHAR2    ,
    x_previousas                        IN     NUMBER      ,
    x_keyskills                         IN     VARCHAR2    ,
    x_vocational                        IN     VARCHAR2    ,
    x_scn                               IN     VARCHAR2    ,
    x_prevoeq                           IN     VARCHAR2    ,
    x_choices_transparent_ind           IN     VARCHAR2,
    x_extra_status                      IN     NUMBER,
    x_extra_passport_no                 IN     VARCHAR2,
    x_request_app_dets_ind              IN     VARCHAR2,
    x_request_copy_app_frm_ind          IN     VARCHAR2,
    x_cef_no                            IN     NUMBER,
    -- Added the following columns as part of UCFD102 Build: Bug#2643048
    x_system_code                 IN            VARCHAR2        ,
        x_gcse_eng                      IN              VARCHAR2        ,
        x_gcse_math                     IN              VARCHAR2        ,
        x_degree_subject                  IN            VARCHAR2        ,
        x_degree_status         IN              VARCHAR2        ,
        x_degree_class              IN          VARCHAR2        ,
        x_gcse_sci                      IN              VARCHAR2        ,
        x_welshspeaker              IN          VARCHAR2  ,
        x_ni_number                     IN              VARCHAR2,
        x_earliest_start            IN          VARCHAR2,
        x_near_inst                     IN              VARCHAR2,
        x_pref_reg                      IN              NUMBER  ,
        x_qual_eng                      IN              VARCHAR2,
        x_qual_math                     IN              VARCHAR2,
        x_qual_sci                      IN              VARCHAR2,
        x_main_qual                     IN              VARCHAR2,
        x_qual_5                          IN            VARCHAR2,
        x_future_serv                 IN                VARCHAR2,
        x_future_set                  IN                VARCHAR2,
        x_present_serv                  IN              VARCHAR2,
        x_present_set                 IN                VARCHAR2,
        x_curr_employment               IN              VARCHAR2,
        x_edu_qualification             IN              VARCHAR2,
	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	x_ad_batch_id			IN		NUMBER,
	x_ad_interface_id		IN		NUMBER,
	x_nationality			IN		NUMBER,
	x_dual_nationality		IN		NUMBER,
	x_special_needs			IN		VARCHAR2,
	x_country_birth			IN		NUMBER,
	x_personal_id                   IN              VARCHAR2

  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 21-FEB-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
  ||  smaddali added columns for ucfd203 - multiple cycles bug#2669208
  ||  (reverse chronological order - newest change first)
  ||  dsridhar        27-AUG-2003      Bug No: 3087784. Resetting the value of l_rowid to NULL.
  */
  BEGIN

    set_column_values (
      p_action,
      x_rowid,
      x_app_id,
      x_app_no,
      x_check_digit,
      x_enquiry_no,
      x_oss_person_id,
      x_application_source,
      x_name_change_date,
      x_student_support,
      x_address_area,
      x_application_date,
      x_application_sent_date,
      x_application_sent_run,
      x_lea_code,
      x_fee_payer_code,
      x_fee_text,
      x_domicile_apr,
      x_code_changed_date,
      x_school,
      x_withdrawn,
      x_withdrawn_date,
      x_rel_to_clear_reason,
      x_route_b,
      x_exam_change_date,
      x_a_levels,
      x_as_levels,
      x_highers,
      x_csys,
      x_winter,
      x_previous,
      x_gnvq,
      x_btec,
      x_ilc,
      x_ailc,
      x_ib,
      x_manual,
      x_reg_num,
      x_oeq,
      x_eas,
      x_roa,
      x_status,
      x_firm_now,
      x_firm_reply,
      x_insurance_reply,
      x_conf_hist_firm_reply,
      x_conf_hist_ins_reply,
      x_residential_category,
      x_personal_statement,
      x_match_prev,
      x_match_prev_date,
      x_match_winter,
      x_match_summer,
      x_gnvq_date,
      x_ib_date,
      x_ilc_date,
      x_ailc_date,
      x_gcseqa_date,
      x_uk_entry_date,
      x_prev_surname,
      x_criminal_convictions,
      x_sent_to_hesa,
      x_sent_to_oss,
      x_batch_identifier,
      x_creation_date,
      x_created_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      x_gce,
      x_vce,
      x_sqa,
      x_previousas,
      x_keyskills,
      x_vocational,
      x_scn,
      x_prevoeq,
      x_choices_transparent_ind,
      x_extra_status           ,
      x_extra_passport_no       ,
      x_request_app_dets_ind   ,
      x_request_copy_app_frm_ind,
      x_cef_no,
       x_system_code            ,
        x_gcse_eng                    ,
        x_gcse_math                   ,
        x_degree_subject                ,
        x_degree_status     ,
        x_degree_class            ,
        x_gcse_sci                    ,
        x_welshspeaker            ,
        x_ni_number                   ,
        x_earliest_start          ,
        x_near_inst             ,
        x_pref_reg              ,
        x_qual_eng              ,
        x_qual_math                   ,
        x_qual_sci                    ,
        x_main_qual             ,
        x_qual_5                        ,
        x_future_serv               ,
        x_future_set                ,
        x_present_serv          ,
        x_present_set               ,
        x_curr_employment         ,
        x_edu_qualification	,
	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	x_ad_batch_id		,
	x_ad_interface_id	,
	x_nationality		,
	x_dual_nationality	,
	x_special_needs		,
	x_country_birth		,
	x_personal_id
    );
Line: 793

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

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

    ELSIF (p_action = 'DELETE') THEN
      -- Call all the procedures related to Before Delete.
      check_child_existance;
Line: 812

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

    ELSIF (p_action = 'VALIDATE_DELETE') THEN
      check_child_existance;
Line: 827

    IF (p_action IN ('VALIDATE_INSERT', 'VALIDATE_UPDATE', 'VALIDATE_DELETE')) THEN
      l_rowid := NULL;
Line: 833

  PROCEDURE insert_row (
    x_rowid                             IN OUT NOCOPY VARCHAR2,
    x_app_id                            IN OUT NOCOPY NUMBER,
    x_app_no                            IN     NUMBER,
    x_check_digit                       IN     NUMBER,
    x_enquiry_no                        IN OUT NOCOPY NUMBER,
    x_oss_person_id                     IN     NUMBER,
    x_application_source                IN     VARCHAR2,
    x_name_change_date                  IN     DATE,
    x_student_support                   IN     VARCHAR2,
    x_address_area                      IN     VARCHAR2,
    x_application_date                  IN     DATE,
    x_application_sent_date             IN     DATE,
    x_application_sent_run              IN     NUMBER,
    x_lea_code                          IN     NUMBER,
    x_fee_payer_code                    IN     NUMBER,
    x_fee_text                          IN     VARCHAR2,
    x_domicile_apr                      IN     NUMBER,
    x_code_changed_date                 IN     DATE,
    x_school                            IN     NUMBER,
    x_withdrawn                         IN     VARCHAR2,
    x_withdrawn_date                    IN     DATE,
    x_rel_to_clear_reason               IN     VARCHAR2,
    x_route_b                           IN     VARCHAR2,
    x_exam_change_date                  IN     DATE,
    x_a_levels                          IN     NUMBER,
    x_as_levels                         IN     NUMBER,
    x_highers                           IN     NUMBER,
    x_csys                              IN     NUMBER,
    x_winter                            IN     NUMBER,
    x_previous                          IN     NUMBER,
    x_gnvq                              IN     VARCHAR2,
    x_btec                              IN     VARCHAR2,
    x_ilc                               IN     VARCHAR2,
    x_ailc                              IN     VARCHAR2,
    x_ib                                IN     VARCHAR2,
    x_manual                            IN     VARCHAR2,
    x_reg_num                           IN     VARCHAR2,
    x_oeq                               IN     VARCHAR2,
    x_eas                               IN     VARCHAR2,
    x_roa                               IN     VARCHAR2,
    x_status                            IN     VARCHAR2,
    x_firm_now                          IN     NUMBER,
    x_firm_reply                        IN     NUMBER,
    x_insurance_reply                   IN     NUMBER,
    x_conf_hist_firm_reply              IN     NUMBER,
    x_conf_hist_ins_reply               IN     NUMBER,
    x_residential_category              IN     VARCHAR2,
    x_personal_statement                IN     LONG,
    x_match_prev                        IN     VARCHAR2,
    x_match_prev_date                   IN     DATE,
    x_match_winter                      IN     VARCHAR2,
    x_match_summer                      IN     VARCHAR2,
    x_gnvq_date                         IN     DATE,
    x_ib_date                           IN     DATE,
    x_ilc_date                          IN     DATE,
    x_ailc_date                         IN     DATE,
    x_gcseqa_date                       IN     DATE,
    x_uk_entry_date                     IN     DATE,
    x_prev_surname                      IN     VARCHAR2,
    x_criminal_convictions              IN     VARCHAR2,
    x_sent_to_hesa                      IN     VARCHAR2,
    x_sent_to_oss                       IN     VARCHAR2,
    x_batch_identifier                  IN     NUMBER,
    x_mode                              IN     VARCHAR2 ,
    -- Added following 8 Columns as part of UCCR002 Build. Bug NO: 2278817 by rbezawad
    x_gce                               IN     NUMBER      ,
    x_vce                               IN     NUMBER      ,
    x_sqa                               IN     VARCHAR2    ,
    x_previousas                        IN     NUMBER      ,
    x_keyskills                         IN     VARCHAR2    ,
    x_vocational                        IN     VARCHAR2    ,
    x_scn                               IN     VARCHAR2    ,
    x_prevoeq                           IN     VARCHAR2    ,
    x_choices_transparent_ind           IN     VARCHAR2,
    x_extra_status                      IN     NUMBER,
    x_extra_passport_no                 IN     VARCHAR2,
    x_request_app_dets_ind              IN     VARCHAR2,
    x_request_copy_app_frm_ind          IN     VARCHAR2,
    x_cef_no                            IN     NUMBER,
      -- Added the following columns as part of UCFD102 Build: Bug#2643048
    x_system_code                 IN            VARCHAR2        ,
        x_gcse_eng                      IN              VARCHAR2        ,
        x_gcse_math                     IN              VARCHAR2        ,
        x_degree_subject                  IN            VARCHAR2        ,
        x_degree_status         IN              VARCHAR2        ,
        x_degree_class              IN          VARCHAR2        ,
        x_gcse_sci                      IN              VARCHAR2        ,
        x_welshspeaker              IN          VARCHAR2  ,
        x_ni_number                     IN              VARCHAR2,
        x_earliest_start            IN          VARCHAR2,
        x_near_inst                     IN              VARCHAR2,
        x_pref_reg                      IN              NUMBER  ,
        x_qual_eng                      IN              VARCHAR2,
        x_qual_math                     IN              VARCHAR2,
        x_qual_sci                      IN              VARCHAR2,
        x_main_qual                     IN              VARCHAR2,
        x_qual_5                          IN            VARCHAR2,
        x_future_serv                 IN                VARCHAR2,
        x_future_set                  IN                VARCHAR2,
        x_present_serv                  IN              VARCHAR2,
        x_present_set                 IN                VARCHAR2,
        x_curr_employment               IN              VARCHAR2,
        x_edu_qualification             IN              VARCHAR2,
	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	x_ad_batch_id			IN		NUMBER,
	x_ad_interface_id		IN		NUMBER,
	x_nationality			IN		NUMBER,
	x_dual_nationality		IN		NUMBER,
	x_special_needs			IN		VARCHAR2,
	x_country_birth			IN		NUMBER,
	x_personal_id                   IN              VARCHAR2
) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 21-FEB-2002
  ||  Purpose : Handles the INSERT DML logic for the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  Nishikant       24SEP2002       The value for the column enquiry_no was being populated from a sequence
  ||                                  igs_uc_applicants_s2 which is removed now. UCFD06-Bug#2574566.
  ||  smaddali added columns for ucfd203 - multiple cycles bug#2669208
  ||  (reverse chronological order - newest change first)
  ||  dsridhar        27-AUG-2003      Bug No: 3087784. Resetting the value of l_rowid to NULL.
  */
    CURSOR c IS
      SELECT   rowid
      FROM     igs_uc_applicants
      WHERE    app_id                            = x_app_id;
Line: 964

    x_last_update_date           DATE;
Line: 965

    x_last_updated_by            NUMBER;
Line: 966

    x_last_update_login          NUMBER;
Line: 970

    x_last_update_date := SYSDATE;
Line: 972

      x_last_updated_by := 1;
Line: 973

      x_last_update_login := 0;
Line: 975

      x_last_updated_by := fnd_global.user_id;
Line: 976

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

      x_last_update_login := fnd_global.login_id;
Line: 980

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

    SELECT    igs_uc_applicants_s1.NEXTVAL
    INTO      x_app_id
    FROM      dual;
Line: 994

      p_action                            => 'INSERT',
      x_rowid                             => x_rowid,
      x_app_id                            => x_app_id,
      x_app_no                            => x_app_no,
      x_check_digit                       => x_check_digit,
      x_enquiry_no                        => x_enquiry_no,
      x_oss_person_id                     => x_oss_person_id,
      x_application_source                => x_application_source,
      x_name_change_date                  => x_name_change_date,
      x_student_support                   => x_student_support,
      x_address_area                      => x_address_area,
      x_application_date                  => x_application_date,
      x_application_sent_date             => x_application_sent_date,
      x_application_sent_run              => x_application_sent_run,
      x_lea_code                          => x_lea_code,
      x_fee_payer_code                    => x_fee_payer_code,
      x_fee_text                          => x_fee_text,
      x_domicile_apr                      => x_domicile_apr,
      x_code_changed_date                 => x_code_changed_date,
      x_school                            => x_school,
      x_withdrawn                         => x_withdrawn,
      x_withdrawn_date                    => x_withdrawn_date,
      x_rel_to_clear_reason               => x_rel_to_clear_reason,
      x_route_b                           => x_route_b,
      x_exam_change_date                  => x_exam_change_date,
      x_a_levels                          => x_a_levels,
      x_as_levels                         => x_as_levels,
      x_highers                           => x_highers,
      x_csys                              => x_csys,
      x_winter                            => x_winter,
      x_previous                          => x_previous,
      x_gnvq                              => x_gnvq,
      x_btec                              => x_btec,
      x_ilc                               => x_ilc,
      x_ailc                              => x_ailc,
      x_ib                                => x_ib,
      x_manual                            => x_manual,
      x_reg_num                           => x_reg_num,
      x_oeq                               => x_oeq,
      x_eas                               => x_eas,
      x_roa                               => x_roa,
      x_status                            => x_status,
      x_firm_now                          => x_firm_now,
      x_firm_reply                        => x_firm_reply,
      x_insurance_reply                   => x_insurance_reply,
      x_conf_hist_firm_reply              => x_conf_hist_firm_reply,
      x_conf_hist_ins_reply               => x_conf_hist_ins_reply,
      x_residential_category              => x_residential_category,
      x_personal_statement                => x_personal_statement,
      x_match_prev                        => x_match_prev,
      x_match_prev_date                   => x_match_prev_date,
      x_match_winter                      => x_match_winter,
      x_match_summer                      => x_match_summer,
      x_gnvq_date                         => x_gnvq_date,
      x_ib_date                           => x_ib_date,
      x_ilc_date                          => x_ilc_date,
      x_ailc_date                         => x_ailc_date,
      x_gcseqa_date                       => x_gcseqa_date,
      x_uk_entry_date                     => x_uk_entry_date,
      x_prev_surname                      => x_prev_surname,
      x_criminal_convictions              => x_criminal_convictions,
      x_sent_to_hesa                      => x_sent_to_hesa,
      x_sent_to_oss                       => x_sent_to_oss,
      x_batch_identifier                  => x_batch_identifier,
      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_gce                               => x_gce,
      x_vce                               => x_vce,
      x_sqa                               => x_sqa,
      x_previousas                        => x_previousas,
      x_keyskills                         => x_keyskills,
      x_vocational                        => x_vocational,
      x_scn                               => x_scn,
      x_prevoeq                           => x_prevoeq ,
      x_choices_transparent_ind           => x_choices_transparent_ind ,
      x_extra_status                      => x_extra_status             ,
      x_extra_passport_no                 => x_extra_passport_no        ,
      x_request_app_dets_ind              => x_request_app_dets_ind    ,
      x_request_copy_app_frm_ind          => x_request_copy_app_frm_ind,
      x_cef_no                            => x_cef_no,
      x_system_code         =>  x_system_code   ,
      x_gcse_eng            =>  x_gcse_eng      ,
      x_gcse_math           =>  x_gcse_math     ,
      x_degree_subject      =>  x_degree_subject        ,
      x_degree_status       =>  x_degree_status ,
      x_degree_class        =>  x_degree_class  ,
      x_gcse_sci            =>  x_gcse_sci      ,
      x_welshspeaker        =>  x_welshspeaker  ,
      x_ni_number           =>  x_ni_number     ,
      x_earliest_start      =>  x_earliest_start        ,
      x_near_inst           =>  x_near_inst     ,
     x_pref_reg     =>  x_pref_reg      ,
x_qual_eng          =>  x_qual_eng      ,
x_qual_math         =>  x_qual_math     ,
x_qual_sci          =>  x_qual_sci      ,
x_main_qual         =>  x_main_qual     ,
x_qual_5            =>  x_qual_5        ,
x_future_serv       =>  x_future_serv   ,
x_future_set        =>  x_future_set    ,
x_present_serv      =>  x_present_serv  ,
x_present_set       =>  x_present_set   ,
x_curr_employment           =>  x_curr_employment       ,
x_edu_qualification         =>  x_edu_qualification	,
-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	x_ad_batch_id		=> x_ad_batch_id	,
	x_ad_interface_id	=> x_ad_interface_id	,
	x_nationality		=> x_nationality	,
	x_dual_nationality	=> x_dual_nationality	,
	x_special_needs		=> x_special_needs	,
	x_country_birth		=> x_country_birth      ,
	x_personal_id           => x_personal_id
    );
Line: 1113

 INSERT INTO igs_uc_applicants (
      app_id,
      app_no,
      check_digit,
      enquiry_no,
      oss_person_id,
      application_source,
      name_change_date,
      student_support,
      address_area,
      application_date,
      application_sent_date,
      application_sent_run,
      lea_code,
      fee_payer_code,
      fee_text,
      domicile_apr,
      code_changed_date,
      school,
      withdrawn,
      withdrawn_date,
      rel_to_clear_reason,
      route_b,
      exam_change_date,
      a_levels,
      as_levels,
      highers,
      csys,
      winter,
      previous,
      gnvq,
      btec,
      ilc,
      ailc,
      ib,
      manual,
      reg_num,
      oeq,
      eas,
      roa,
      status,
      firm_now,
      firm_reply,
      insurance_reply,
      conf_hist_firm_reply,
      conf_hist_ins_reply,
      residential_category,
      personal_statement,
      match_prev,
      match_prev_date,
      match_winter,
      match_summer,
      gnvq_date,
      ib_date,
      ilc_date,
      ailc_date,
      gcseqa_date,
      uk_entry_date,
      prev_surname,
      criminal_convictions,
      sent_to_hesa,
      sent_to_oss,
      batch_identifier,
      creation_date,
      created_by,
      last_update_date,
      last_updated_by,
      last_update_login,
      gce,
      vce,
      sqa,
      previousas,
      keyskills,
      vocational,
      scn,
      prevoeq   ,
      choices_transparent_ind,
      extra_status,
      extra_passport_no,
      request_app_dets_ind,
      request_copy_app_frm_ind,
      cef_no,
        system_code             ,
        gcse_eng                      ,
        gcse_math                     ,
        degree_subject          ,
        degree_status       ,
        degree_class              ,
        gcse_sci                      ,
        welshspeaker              ,
        ni_number                     ,
        earliest_start    ,
        near_inst               ,
        pref_reg                ,
        qual_eng                ,
        qual_math                     ,
        qual_sci                      ,
        main_qual               ,
        qual_5                  ,
        future_serv                 ,
        future_set                  ,
        present_serv            ,
        present_set                 ,
        curr_employment   ,
        edu_qualification ,
      	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	ad_batch_id		,
	ad_interface_id		,
	nationality		,
	dual_nationality	,
	special_needs		,
	country_birth	        ,
	personal_id
    ) VALUES (
      new_references.app_id,
      new_references.app_no,
      new_references.check_digit,
      new_references.enquiry_no,
      new_references.oss_person_id,
      new_references.application_source,
      new_references.name_change_date,
      new_references.student_support,
      new_references.address_area,
      new_references.application_date,
      new_references.application_sent_date,
      new_references.application_sent_run,
      new_references.lea_code,
      new_references.fee_payer_code,
      new_references.fee_text,
      new_references.domicile_apr,
      new_references.code_changed_date,
      new_references.school,
      new_references.withdrawn,
      new_references.withdrawn_date,
      new_references.rel_to_clear_reason,
      new_references.route_b,
      new_references.exam_change_date,
      new_references.a_levels,
      new_references.as_levels,
      new_references.highers,
      new_references.csys,
      new_references.winter,
      new_references.previous,
      new_references.gnvq,
      new_references.btec,
      new_references.ilc,
      new_references.ailc,
      new_references.ib,
      new_references.manual,
      new_references.reg_num,
      new_references.oeq,
      new_references.eas,
      new_references.roa,
      new_references.status,
      new_references.firm_now,
      new_references.firm_reply,
      new_references.insurance_reply,
      new_references.conf_hist_firm_reply,
      new_references.conf_hist_ins_reply,
      new_references.residential_category,
      new_references.personal_statement,
      new_references.match_prev,
      new_references.match_prev_date,
      new_references.match_winter,
      new_references.match_summer,
      new_references.gnvq_date,
      new_references.ib_date,
      new_references.ilc_date,
      new_references.ailc_date,
      new_references.gcseqa_date,
      new_references.uk_entry_date,
      new_references.prev_surname,
      new_references.criminal_convictions,
      new_references.sent_to_hesa,
      new_references.sent_to_oss,
      new_references.batch_identifier,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      new_references.gce,
      new_references.vce,
      new_references.sqa,
      new_references.previousas,
      new_references.keyskills,
      new_references.vocational,
      new_references.scn,
      new_references.prevoeq,
      new_references.choices_transparent_ind,
      new_references.extra_status,
      new_references.extra_passport_no,
      new_references.request_app_dets_ind,
      new_references.request_copy_app_frm_ind,
      new_references.cef_no,
      new_references.system_code                ,
      new_references.gcse_eng                 ,
      new_references.gcse_math                ,
      new_references.degree_subject             ,
      new_references.degree_status          ,
      new_references.degree_class                 ,
      new_references.gcse_sci                 ,
      new_references.welshspeaker                 ,
      new_references.ni_number                ,
      new_references.earliest_start       ,
      new_references.near_inst          ,
      new_references.pref_reg           ,
      new_references.qual_eng           ,
      new_references.qual_math                ,
      new_references.qual_sci                 ,
      new_references.main_qual          ,
      new_references.qual_5                     ,
      new_references.future_serv                    ,
      new_references.future_set             ,
      new_references.present_serv       ,
      new_references.present_set                    ,
      new_references.curr_employment      ,
      new_references.edu_qualification	,
      	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	new_references.ad_batch_id	,
	new_references.ad_interface_id		,
	new_references.nationality			,
	new_references.dual_nationality		,
	new_references.special_needs			,
	new_references.country_birth			,
	new_references.personal_id
    );
Line: 1369

 END insert_row;
Line: 1495

      SELECT
        app_no,
        check_digit,
        enquiry_no,
        oss_person_id,
        application_source,
        name_change_date,
        student_support,
        address_area,
        application_date,
        application_sent_date,
        application_sent_run,
        lea_code,
        fee_payer_code,
        fee_text,
        domicile_apr,
        code_changed_date,
        school,
        withdrawn,
        withdrawn_date,
        rel_to_clear_reason,
        route_b,
        exam_change_date,
        a_levels,
        as_levels,
        highers,
        csys,
        winter,
        previous,
        gnvq,
        btec,
        ilc,
        ailc,
        ib,
        manual,
        reg_num,
        oeq,
        eas,
        roa,
        status,
        firm_now,
        firm_reply,
        insurance_reply,
        conf_hist_firm_reply,
        conf_hist_ins_reply,
        residential_category,
        personal_statement,
        match_prev,
        match_prev_date,
        match_winter,
        match_summer,
        gnvq_date,
        ib_date,
        ilc_date,
        ailc_date,
        gcseqa_date,
        uk_entry_date,
        prev_surname,
        criminal_convictions,
        sent_to_hesa,
        sent_to_oss,
        batch_identifier,
        gce,
        vce,
        sqa,
        previousas,
        keyskills,
        vocational,
        scn,
        prevoeq   ,
        choices_transparent_ind,
        extra_status,
        extra_passport_no,
        request_app_dets_ind,
        request_copy_app_frm_ind,
        cef_no,
        system_code             ,
        gcse_eng                      ,
        gcse_math                     ,
        degree_subject          ,
        degree_status       ,
        degree_class              ,
        gcse_sci                      ,
        welshspeaker              ,
        ni_number                     ,
        earliest_start    ,
        near_inst               ,
        pref_reg                ,
        qual_eng                ,
        qual_math                     ,
        qual_sci                      ,
        main_qual               ,
        qual_5                  ,
        future_serv                 ,
        future_set                  ,
        present_serv            ,
        present_set                 ,
        curr_employment   ,
        edu_qualification,
	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	ad_batch_id		,
	ad_interface_id		,
	nationality		,
	dual_nationality	,
	special_needs		,
	country_birth	        ,
	personal_id
      FROM  igs_uc_applicants
      WHERE rowid = x_rowid
      FOR UPDATE NOWAIT;
Line: 1613

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

  PROCEDURE update_row (
    x_rowid                             IN     VARCHAR2,
    x_app_id                            IN     NUMBER,
    x_app_no                            IN     NUMBER,
    x_check_digit                       IN     NUMBER,
    x_enquiry_no                        IN     NUMBER,
    x_oss_person_id                     IN     NUMBER,
    x_application_source                IN     VARCHAR2,
    x_name_change_date                  IN     DATE,
    x_student_support                   IN     VARCHAR2,
    x_address_area                      IN     VARCHAR2,
    x_application_date                  IN     DATE,
    x_application_sent_date             IN     DATE,
    x_application_sent_run              IN     NUMBER,
    x_lea_code                          IN     NUMBER,
    x_fee_payer_code                    IN     NUMBER,
    x_fee_text                          IN     VARCHAR2,
    x_domicile_apr                      IN     NUMBER,
    x_code_changed_date                 IN     DATE,
    x_school                            IN     NUMBER,
    x_withdrawn                         IN     VARCHAR2,
    x_withdrawn_date                    IN     DATE,
    x_rel_to_clear_reason               IN     VARCHAR2,
    x_route_b                           IN     VARCHAR2,
    x_exam_change_date                  IN     DATE,
    x_a_levels                          IN     NUMBER,
    x_as_levels                         IN     NUMBER,
    x_highers                           IN     NUMBER,
    x_csys                              IN     NUMBER,
    x_winter                            IN     NUMBER,
    x_previous                          IN     NUMBER,
    x_gnvq                              IN     VARCHAR2,
    x_btec                              IN     VARCHAR2,
    x_ilc                               IN     VARCHAR2,
    x_ailc                              IN     VARCHAR2,
    x_ib                                IN     VARCHAR2,
    x_manual                            IN     VARCHAR2,
    x_reg_num                           IN     VARCHAR2,
    x_oeq                               IN     VARCHAR2,
    x_eas                               IN     VARCHAR2,
    x_roa                               IN     VARCHAR2,
    x_status                            IN     VARCHAR2,
    x_firm_now                          IN     NUMBER,
    x_firm_reply                        IN     NUMBER,
    x_insurance_reply                   IN     NUMBER,
    x_conf_hist_firm_reply              IN     NUMBER,
    x_conf_hist_ins_reply               IN     NUMBER,
    x_residential_category              IN     VARCHAR2,
    x_personal_statement                IN     LONG,
    x_match_prev                        IN     VARCHAR2,
    x_match_prev_date                   IN     DATE,
    x_match_winter                      IN     VARCHAR2,
    x_match_summer                      IN     VARCHAR2,
    x_gnvq_date                         IN     DATE,
    x_ib_date                           IN     DATE,
    x_ilc_date                          IN     DATE,
    x_ailc_date                         IN     DATE,
    x_gcseqa_date                       IN     DATE,
    x_uk_entry_date                     IN     DATE,
    x_prev_surname                      IN     VARCHAR2,
    x_criminal_convictions              IN     VARCHAR2,
    x_sent_to_hesa                      IN     VARCHAR2,
    x_sent_to_oss                       IN     VARCHAR2,
    x_batch_identifier                  IN     NUMBER,
    x_mode                              IN     VARCHAR2 ,
    -- Added following 8 Columns as part of UCCR002 Build. Bug NO: 2278817 by rbezawad
    x_gce                               IN     NUMBER      ,
    x_vce                               IN     NUMBER      ,
    x_sqa                               IN     VARCHAR2    ,
    x_previousas                        IN     NUMBER      ,
    x_keyskills                         IN     VARCHAR2    ,
    x_vocational                        IN     VARCHAR2    ,
    x_scn                               IN     VARCHAR2    ,
    x_prevoeq                           IN     VARCHAR2   ,
    x_choices_transparent_ind           IN     VARCHAR2,
    x_extra_status                      IN     NUMBER,
    x_extra_passport_no                 IN     VARCHAR2,
    x_request_app_dets_ind              IN     VARCHAR2,
    x_request_copy_app_frm_ind          IN     VARCHAR2,
    x_cef_no                            IN     NUMBER,
       -- Added the following columns as part of UCFD102 Build: Bug#2643048
    x_system_code                 IN            VARCHAR2        ,
        x_gcse_eng                      IN              VARCHAR2        ,
        x_gcse_math                     IN              VARCHAR2        ,
        x_degree_subject                  IN            VARCHAR2        ,
        x_degree_status         IN              VARCHAR2        ,
        x_degree_class              IN          VARCHAR2        ,
        x_gcse_sci                      IN              VARCHAR2        ,
        x_welshspeaker              IN          VARCHAR2  ,
        x_ni_number                     IN              VARCHAR2,
        x_earliest_start            IN          VARCHAR2,
        x_near_inst                     IN              VARCHAR2,
        x_pref_reg                      IN              NUMBER  ,
        x_qual_eng                      IN              VARCHAR2,
        x_qual_math                     IN              VARCHAR2,
        x_qual_sci                      IN              VARCHAR2,
        x_main_qual                     IN              VARCHAR2,
        x_qual_5                          IN            VARCHAR2,
        x_future_serv                 IN                VARCHAR2,
        x_future_set                  IN                VARCHAR2,
        x_present_serv                  IN              VARCHAR2,
        x_present_set                 IN                VARCHAR2,
        x_curr_employment               IN              VARCHAR2,
        x_edu_qualification             IN              VARCHAR2,
	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	x_ad_batch_id			IN		NUMBER,
	x_ad_interface_id		IN		NUMBER,
	x_nationality			IN		NUMBER,
	x_dual_nationality		IN		NUMBER,
	x_special_needs			IN		VARCHAR2,
	x_country_birth			IN		NUMBER,
	x_personal_id                   IN              VARCHAR2
) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 21-FEB-2002
  ||  Purpose : Handles the UPDATE DML logic for the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  smaddali added columns for ucfd203 - multiple cycles bug#2669208
  ||  (reverse chronological order - newest change first)
  ||  dsridhar        27-AUG-2003      Bug No: 3087784. Resetting the value of l_rowid to NULL.
  */
    x_last_update_date           DATE ;
Line: 1866

    x_last_updated_by            NUMBER;
Line: 1867

    x_last_update_login          NUMBER;
Line: 1871

    x_last_update_date := SYSDATE;
Line: 1873

      x_last_updated_by := 1;
Line: 1874

      x_last_update_login := 0;
Line: 1876

      x_last_updated_by := fnd_global.user_id;
Line: 1877

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

      x_last_update_login := fnd_global.login_id;
Line: 1881

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

      p_action                            => 'UPDATE',
      x_rowid                             => x_rowid,
      x_app_id                            => x_app_id,
      x_app_no                            => x_app_no,
      x_check_digit                       => x_check_digit,
      x_enquiry_no                        => x_enquiry_no,
      x_oss_person_id                     => x_oss_person_id,
      x_application_source                => x_application_source,
      x_name_change_date                  => x_name_change_date,
      x_student_support                   => x_student_support,
      x_address_area                      => x_address_area,
      x_application_date                  => x_application_date,
      x_application_sent_date             => x_application_sent_date,
      x_application_sent_run              => x_application_sent_run,
      x_lea_code                          => x_lea_code,
      x_fee_payer_code                    => x_fee_payer_code,
      x_fee_text                          => x_fee_text,
      x_domicile_apr                      => x_domicile_apr,
      x_code_changed_date                 => x_code_changed_date,
      x_school                            => x_school,
      x_withdrawn                         => x_withdrawn,
      x_withdrawn_date                    => x_withdrawn_date,
      x_rel_to_clear_reason               => x_rel_to_clear_reason,
      x_route_b                           => x_route_b,
      x_exam_change_date                  => x_exam_change_date,
      x_a_levels                          => x_a_levels,
      x_as_levels                         => x_as_levels,
      x_highers                           => x_highers,
      x_csys                              => x_csys,
      x_winter                            => x_winter,
      x_previous                          => x_previous,
      x_gnvq                              => x_gnvq,
      x_btec                              => x_btec,
      x_ilc                               => x_ilc,
      x_ailc                              => x_ailc,
      x_ib                                => x_ib,
      x_manual                            => x_manual,
      x_reg_num                           => x_reg_num,
      x_oeq                               => x_oeq,
      x_eas                               => x_eas,
      x_roa                               => x_roa,
      x_status                            => x_status,
      x_firm_now                          => x_firm_now,
      x_firm_reply                        => x_firm_reply,
      x_insurance_reply                   => x_insurance_reply,
      x_conf_hist_firm_reply              => x_conf_hist_firm_reply,
      x_conf_hist_ins_reply               => x_conf_hist_ins_reply,
      x_residential_category              => x_residential_category,
      x_personal_statement                => x_personal_statement,
      x_match_prev                        => x_match_prev,
      x_match_prev_date                   => x_match_prev_date,
      x_match_winter                      => x_match_winter,
      x_match_summer                      => x_match_summer,
      x_gnvq_date                         => x_gnvq_date,
      x_ib_date                           => x_ib_date,
      x_ilc_date                          => x_ilc_date,
      x_ailc_date                         => x_ailc_date,
      x_gcseqa_date                       => x_gcseqa_date,
      x_uk_entry_date                     => x_uk_entry_date,
      x_prev_surname                      => x_prev_surname,
      x_criminal_convictions              => x_criminal_convictions,
      x_sent_to_hesa                      => x_sent_to_hesa,
      x_sent_to_oss                       => x_sent_to_oss,
      x_batch_identifier                  => x_batch_identifier,
      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_gce                               => x_gce,
      x_vce                               => x_vce,
      x_sqa                               => x_sqa,
      x_previousas                        => x_previousas,
      x_keyskills                         => x_keyskills,
      x_vocational                        => x_vocational,
      x_scn                               => x_scn,
      x_prevoeq                           => x_prevoeq ,
      x_choices_transparent_ind           => x_choices_transparent_ind ,
      x_extra_status                      => x_extra_status             ,
      x_extra_passport_no                 => x_extra_passport_no        ,
      x_request_app_dets_ind              => x_request_app_dets_ind    ,
      x_request_copy_app_frm_ind          => x_request_copy_app_frm_ind,
      x_cef_no                            => x_cef_no,
        x_system_code       =>  x_system_code   ,
      x_gcse_eng            =>  x_gcse_eng      ,
      x_gcse_math           =>  x_gcse_math     ,
      x_degree_subject      =>  x_degree_subject        ,
      x_degree_status       =>  x_degree_status ,
      x_degree_class        =>  x_degree_class  ,
      x_gcse_sci            =>  x_gcse_sci      ,
      x_welshspeaker        =>  x_welshspeaker  ,
      x_ni_number           =>  x_ni_number     ,
      x_earliest_start      =>  x_earliest_start        ,
      x_near_inst           =>  x_near_inst     ,
     x_pref_reg     =>  x_pref_reg      ,
x_qual_eng          =>  x_qual_eng      ,
x_qual_math         =>  x_qual_math     ,
x_qual_sci          =>  x_qual_sci      ,
x_main_qual         =>  x_main_qual     ,
x_qual_5            =>  x_qual_5        ,
x_future_serv       =>  x_future_serv   ,
x_future_set        =>  x_future_set    ,
x_present_serv      =>  x_present_serv  ,
x_present_set       =>  x_present_set   ,
x_curr_employment           =>  x_curr_employment       ,
x_edu_qualification         =>  x_edu_qualification	,
-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	x_ad_batch_id		=> x_ad_batch_id	,
	x_ad_interface_id	=> x_ad_interface_id	,
	x_nationality		=> x_nationality	,
	x_dual_nationality	=> x_dual_nationality	,
	x_special_needs		=> x_special_needs	,
	x_country_birth		=> x_country_birth      ,
	x_personal_id           => x_personal_id
    );
Line: 2010

 UPDATE igs_uc_applicants
      SET
        app_no                            = new_references.app_no,
        check_digit                       = new_references.check_digit,
        enquiry_no                        = new_references.enquiry_no,
        oss_person_id                     = new_references.oss_person_id,
        application_source                = new_references.application_source,
        name_change_date                  = new_references.name_change_date,
        student_support                   = new_references.student_support,
        address_area                      = new_references.address_area,
        application_date                  = new_references.application_date,
        application_sent_date             = new_references.application_sent_date,
        application_sent_run              = new_references.application_sent_run,
        lea_code                          = new_references.lea_code,
        fee_payer_code                    = new_references.fee_payer_code,
        fee_text                          = new_references.fee_text,
        domicile_apr                      = new_references.domicile_apr,
        code_changed_date                 = new_references.code_changed_date,
        school                            = new_references.school,
        withdrawn                         = new_references.withdrawn,
        withdrawn_date                    = new_references.withdrawn_date,
        rel_to_clear_reason               = new_references.rel_to_clear_reason,
        route_b                           = new_references.route_b,
        exam_change_date                  = new_references.exam_change_date,
        a_levels                          = new_references.a_levels,
        as_levels                         = new_references.as_levels,
        highers                           = new_references.highers,
        csys                              = new_references.csys,
        winter                            = new_references.winter,
        previous                          = new_references.previous,
        gnvq                              = new_references.gnvq,
        btec                              = new_references.btec,
        ilc                               = new_references.ilc,
        ailc                              = new_references.ailc,
        ib                                = new_references.ib,
        manual                            = new_references.manual,
        reg_num                           = new_references.reg_num,
        oeq                               = new_references.oeq,
        eas                               = new_references.eas,
        roa                               = new_references.roa,
        status                            = new_references.status,
        firm_now                          = new_references.firm_now,
        firm_reply                        = new_references.firm_reply,
        insurance_reply                   = new_references.insurance_reply,
        conf_hist_firm_reply              = new_references.conf_hist_firm_reply,
        conf_hist_ins_reply               = new_references.conf_hist_ins_reply,
        residential_category              = new_references.residential_category,
        personal_statement                = new_references.personal_statement,
        match_prev                        = new_references.match_prev,
        match_prev_date                   = new_references.match_prev_date,
        match_winter                      = new_references.match_winter,
        match_summer                      = new_references.match_summer,
        gnvq_date                         = new_references.gnvq_date,
        ib_date                           = new_references.ib_date,
        ilc_date                          = new_references.ilc_date,
        ailc_date                         = new_references.ailc_date,
        gcseqa_date                       = new_references.gcseqa_date,
        uk_entry_date                     = new_references.uk_entry_date,
        prev_surname                      = new_references.prev_surname,
        criminal_convictions              = new_references.criminal_convictions,
        sent_to_hesa                      = new_references.sent_to_hesa,
        sent_to_oss                       = new_references.sent_to_oss,
        batch_identifier                  = new_references.batch_identifier,
        last_update_date                  = x_last_update_date,
        last_updated_by                   = x_last_updated_by,
        last_update_login                 = x_last_update_login,
        gce                               = new_references.gce,
        vce                               = new_references.vce,
        sqa                               = new_references.sqa,
        previousas                        = new_references.previousas,
        keyskills                         = new_references.keyskills,
        vocational                        = new_references.vocational,
        scn                               = new_references.scn,
        prevoeq                           = new_references.prevoeq   ,
        choices_transparent_ind           = new_references.choices_transparent_ind,
        extra_status                      = new_references.extra_status         ,
        extra_passport_no                 = new_references.extra_passport_no    ,
        request_app_dets_ind              = new_references.request_app_dets_ind  ,
        request_copy_app_frm_ind          = new_references.request_copy_app_frm_ind,
        cef_no                            = new_references.cef_no,
        system_code     =       new_references.system_code      ,
        gcse_eng        =       new_references.gcse_eng ,
        gcse_math       =       new_references.gcse_math        ,
        degree_subject  =       new_references.degree_subject   ,
        degree_status   =       new_references.degree_status    ,
        degree_class    =       new_references.degree_class     ,
        gcse_sci        =       new_references.gcse_sci ,
        welshspeaker    =       new_references.welshspeaker     ,
        ni_number       =       new_references.ni_number        ,
        earliest_start  =       new_references.earliest_start   ,
        near_inst               =       new_references.near_inst        ,
        pref_reg        =       new_references.pref_reg ,
        qual_eng        =       new_references.qual_eng ,
        qual_math       =       new_references.qual_math        ,
        qual_sci        =       new_references.qual_sci ,
        main_qual               =       new_references.main_qual                ,
        qual_5  =       new_references.qual_5   ,
        future_serv     =       new_references.future_serv      ,
        future_set      =       new_references.future_set       ,
        present_serv            =       new_references.present_serv     ,
        present_set     =       new_references.present_set      ,
        curr_employment =       new_references.curr_employment  ,
        edu_qualification       =       new_references.edu_qualification	,
	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	ad_batch_id		= new_references.ad_batch_id	,
	ad_interface_id		= new_references.ad_interface_id	,
	nationality		= new_references.nationality	,
	dual_nationality	= new_references.dual_nationality	,
	special_needs		= new_references.special_needs	,
	country_birth		= new_references.country_birth  ,
	personal_id             = new_references.personal_id
      WHERE rowid = x_rowid;
Line: 2150

  END update_row;
Line: 2270

  ||  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
  ||  smaddali added columns for ucfd203 - multiple cycles bug#2669208
  ||  (reverse chronological order - newest change first)
  */
    CURSOR c1 IS
      SELECT   rowid
      FROM     igs_uc_applicants
      WHERE    app_id                            = x_app_id;
Line: 2289

      insert_row (
        x_rowid,
        x_app_id,
        x_app_no,
        x_check_digit,
        x_enquiry_no,
        x_oss_person_id,
        x_application_source,
        x_name_change_date,
        x_student_support,
        x_address_area,
        x_application_date,
        x_application_sent_date,
        x_application_sent_run,
        x_lea_code,
        x_fee_payer_code,
        x_fee_text,
        x_domicile_apr,
        x_code_changed_date,
        x_school,
        x_withdrawn,
        x_withdrawn_date,
        x_rel_to_clear_reason,
        x_route_b,
        x_exam_change_date,
        x_a_levels,
        x_as_levels,
        x_highers,
        x_csys,
        x_winter,
        x_previous,
        x_gnvq,
        x_btec,
        x_ilc,
        x_ailc,
        x_ib,
        x_manual,
        x_reg_num,
        x_oeq,
        x_eas,
        x_roa,
        x_status,
        x_firm_now,
        x_firm_reply,
        x_insurance_reply,
        x_conf_hist_firm_reply,
        x_conf_hist_ins_reply,
        x_residential_category,
        x_personal_statement,
        x_match_prev,
        x_match_prev_date,
        x_match_winter,
        x_match_summer,
        x_gnvq_date,
        x_ib_date,
        x_ilc_date,
        x_ailc_date,
        x_gcseqa_date,
        x_uk_entry_date,
        x_prev_surname,
        x_criminal_convictions,
        x_sent_to_hesa,
        x_sent_to_oss,
        x_batch_identifier,
        x_mode,
        x_gce,
        x_vce,
        x_sqa,
        x_previousas,
        x_keyskills,
        x_vocational,
        x_scn,
        x_prevoeq,
        x_choices_transparent_ind,
        x_extra_status,
        x_extra_passport_no,
        x_request_app_dets_ind,
        x_request_copy_app_frm_ind,
        x_cef_no,
        x_system_code           ,
        x_gcse_eng                    ,
        x_gcse_math                   ,
        x_degree_subject                ,
        x_degree_status     ,
        x_degree_class            ,
        x_gcse_sci                    ,
        x_welshspeaker            ,
        x_ni_number                   ,
        x_earliest_start          ,
        x_near_inst             ,
        x_pref_reg              ,
        x_qual_eng              ,
        x_qual_math                   ,
        x_qual_sci                    ,
        x_main_qual             ,
        x_qual_5                        ,
        x_future_serv               ,
        x_future_set                ,
        x_present_serv          ,
        x_present_set               ,
        x_curr_employment         ,
        x_edu_qualification	,
	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	x_ad_batch_id		,
	x_ad_interface_id	,
	x_nationality		,
	x_dual_nationality	,
	x_special_needs		,
	x_country_birth		,
	x_personal_id
      );
Line: 2404

    update_row (
      x_rowid,
      x_app_id,
      x_app_no,
      x_check_digit,
      x_enquiry_no,
      x_oss_person_id,
      x_application_source,
      x_name_change_date,
      x_student_support,
      x_address_area,
      x_application_date,
      x_application_sent_date,
      x_application_sent_run,
      x_lea_code,
      x_fee_payer_code,
      x_fee_text,
      x_domicile_apr,
      x_code_changed_date,
      x_school,
      x_withdrawn,
      x_withdrawn_date,
      x_rel_to_clear_reason,
      x_route_b,
      x_exam_change_date,
      x_a_levels,
      x_as_levels,
      x_highers,
      x_csys,
      x_winter,
      x_previous,
      x_gnvq,
      x_btec,
      x_ilc,
      x_ailc,
      x_ib,
      x_manual,
      x_reg_num,
      x_oeq,
      x_eas,
      x_roa,
      x_status,
      x_firm_now,
      x_firm_reply,
      x_insurance_reply,
      x_conf_hist_firm_reply,
      x_conf_hist_ins_reply,
      x_residential_category,
      x_personal_statement,
      x_match_prev,
      x_match_prev_date,
      x_match_winter,
      x_match_summer,
      x_gnvq_date,
      x_ib_date,
      x_ilc_date,
      x_ailc_date,
      x_gcseqa_date,
      x_uk_entry_date,
      x_prev_surname,
      x_criminal_convictions,
      x_sent_to_hesa,
      x_sent_to_oss,
      x_batch_identifier,
      x_mode,
      x_gce,
      x_vce,
      x_sqa,
      x_previousas,
      x_keyskills,
      x_vocational,
      x_scn,
      x_prevoeq ,
      x_choices_transparent_ind,
      x_extra_status,
      x_extra_passport_no,
      x_request_app_dets_ind,
      x_request_copy_app_frm_ind,
      x_cef_no,
        x_system_code           ,
        x_gcse_eng                    ,
        x_gcse_math                   ,
        x_degree_subject                ,
        x_degree_status     ,
        x_degree_class            ,
        x_gcse_sci                    ,
        x_welshspeaker            ,
        x_ni_number                   ,
        x_earliest_start          ,
        x_near_inst             ,
        x_pref_reg              ,
        x_qual_eng              ,
        x_qual_math                   ,
        x_qual_sci                    ,
        x_main_qual             ,
        x_qual_5                        ,
        x_future_serv               ,
        x_future_set                ,
        x_present_serv          ,
        x_present_set               ,
        x_curr_employment         ,
        x_edu_qualification	,
	-- smaddali added these columns for ucfd203 - multiple cycles bug#2669208
	x_ad_batch_id		,
	x_ad_interface_id	,
	x_nationality		,
	x_dual_nationality	,
	x_special_needs		,
	x_country_birth		,
	x_personal_id
    );
Line: 2519

  PROCEDURE delete_row (
    x_rowid IN VARCHAR2,
  x_mode IN VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 21-FEB-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)
  ||  dsridhar        27-AUG-2003      Bug No: 3087784. Resetting the value of l_rowid to NULL.
  */
  BEGIN

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

 DELETE FROM igs_uc_applicants
    WHERE rowid = x_rowid;
Line: 2560

  END delete_row;