DBA Data[Home] [Help]

APPS.IGF_SL_LOANS_PKG SQL Statements

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

Line: 30

    x_last_update_date                  IN     DATE     ,
    x_last_updated_by                   IN     NUMBER   ,
    x_last_update_login                 IN     NUMBER    ,
    x_external_loan_id_txt              IN     VARCHAR2
  ) AS
  /*
  ||  Created By : venagara
  ||  Created On : 02-DEC-2000
  ||  Purpose : Initialises the Old and New references for the columns of the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  smadathi        14-oct-2004     Bug 3416936.Added new column as per TD.
  ||  agairola        15-Mar-2002     Added the code for the new column
  ||                                  for the Borrower Determination
  ||  (reverse chronological order - newest change first)
  */

    CURSOR cur_old_ref_values IS
      SELECT   *
      FROM     IGF_SL_LOANS_ALL
      WHERE    rowid = x_rowid;
Line: 61

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

      FND_MESSAGE.SET_NAME ('FND', 'FORM_RECORD_DELETED');
Line: 88

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

    new_references.last_update_date                  := x_last_update_date;
Line: 97

    new_references.last_updated_by                   := x_last_updated_by;
Line: 98

    new_references.last_update_login                 := x_last_update_login;
Line: 150

      FND_MESSAGE.SET_NAME ('FND', 'FORM_RECORD_DELETED');
Line: 159

      FND_MESSAGE.SET_NAME ('FND', 'FORM_RECORD_DELETED');
Line: 212

       SELECT  rowid
       FROM    igf_sl_loans_all
       WHERE   loan_id = x_loan_id
       FOR UPDATE NOWAIT;
Line: 248

       SELECT rowid
       FROM   igf_sl_loans_all
       WHERE  loan_number = x_loan_number
       AND    ((l_rowid IS NULL) OR (rowid <> l_rowid));
Line: 285

       SELECT rowid
       FROM   igf_sl_loans_all
       WHERE  award_id = x_award_id
       AND    ((l_rowid IS NULL) OR (rowid <> l_rowid));
Line: 320

       SELECT rowid
       FROM   igf_sl_loans_all
       WHERE  ((award_id = x_award_id));
Line: 342

  PROCEDURE AfterRowInsertUpdateDelete1(
    p_inserting IN BOOLEAN ,
    p_updating  IN BOOLEAN ,
    p_deleting  IN BOOLEAN
    ) AS
   /*-----------------------------------------------------------------
  ||  Created By : Sanil Madathil
  ||  Created On : 14-Oct-2004
  ||  Purpose :
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  rajagupt        02-Mar-2006     FA 161 and FA 162 - Whenever the loan / loan change status goes to 'Ready to Send'
  ||                                  all the disbursements which are in 'Sent' status should move to 'Ready to Send'
  ||                                  FA 161 - Bug 5006587 - Also Update mode triggers loan updation, so it is necessary to include in g_v_called_from
  ||                                  g_v_called_from IN ('IGFSL005','UPDATE_MODE') is needed so that change records are created from both the form and update mode
  ||  (reverse chronological order - newest change first)
  --------------------------------------------------------------------*/
 -- Cursor to pick All disb change records in SENT status.
        CURSOR cur_sent_disb_chg_records(cp_award_id igf_aw_db_chg_dtls.award_id%TYPE) IS
      SELECT  dbchgdtls.ROWID,  dbchgdtls.*
        FROM  IGF_AW_DB_CHG_DTLS dbchgdtls
       WHERE  dbchgdtls.award_id = cp_award_id
        AND   dbchgdtls.disb_status = 'S';
Line: 369

      SELECT loan_chg_dtls.ROWID, loan_chg_dtls.*
        FROM igf_sl_clchsn_dtls loan_chg_dtls
      WHERE loan_chg_dtls.award_id = cp_award_id;
Line: 389

        IF g_v_called_from IN ('IGFSL005','UPDATE_MODE') THEN
          IF ((new_references.loan_per_begin_date <> old_references.loan_per_begin_date) OR
              (new_references.loan_per_end_date   <> old_references.loan_per_end_date))
          THEN
            -- invoke the procedure to create change record in igf_sl_clchsn_dtls table
            igf_sl_cl_create_chg.create_loan_chg_rec
            (
              p_new_loan_rec    => new_references,
              p_b_return_status => l_b_return_status,
              p_v_message_name  => l_v_message_name
            );
Line: 421

         (l_v_fed_fund_code IN ('FLS','FLU','FLP','ALT','GPLUSFL') AND g_v_called_from IN ('IGFSL005','UPDATE_MODE')))
      THEN
          -- If either loan status or loan change status CHANGED to "Ready to Send"
          -- then update all disbursement change records in "Sent" status to "Ready to Send"
          IF (new_references.loan_status = 'G' AND old_references.loan_status <> 'G') OR
             (NVL(new_references.loan_chg_status, '*') = 'G' AND NVL(old_references.loan_chg_status,'*') <> 'G')
          THEN
            -- update disbursement change records(which are in "Sent" ONLY) status to "Ready to Send"
            FOR rec IN cur_sent_disb_chg_records(new_references.award_id) LOOP
              igf_aw_db_chg_dtls_pkg.update_row (
                x_rowid                 => rec.ROWID,
                x_award_id              => rec.award_id,
                x_disb_num              => rec.disb_num,
                x_disb_seq_num          => rec.disb_seq_num,
                x_disb_accepted_amt     => rec.disb_accepted_amt,
                x_orig_fee_amt          => rec.orig_fee_amt,
                x_disb_net_amt          => rec.disb_net_amt,
                x_disb_date             => rec.disb_date,
                x_disb_activity         => rec.disb_activity,
                x_disb_status           => 'G',
                x_disb_status_date      => TRUNC(SYSDATE),
                x_disb_rel_flag         => rec.disb_rel_flag,
                x_first_disb_flag       => rec.first_disb_flag,
                x_interest_rebate_amt   => rec.interest_rebate_amt,
                x_disb_conf_flag        => rec.disb_conf_flag,
                x_pymnt_prd_start_date  => rec.pymnt_prd_start_date,
                x_note_message          => rec.note_message,
                x_batch_id_txt          => rec.batch_id_txt,
                x_ack_date              => rec.ack_date,
                x_booking_id_txt        => rec.booking_id_txt,
                x_booking_date          => rec.booking_date,
                x_mode                  => 'R'
              );
Line: 459

            IF (l_v_fed_fund_code IN ('FLS','FLU','FLP','ALT','GPLUSFL') AND g_v_called_from IN ('IGFSL005','UPDATE_MODE')) THEN
              FOR rec_c_igf_sl_clchsn_dtls IN cur_loan_chg_records(new_references.award_id) LOOP
                igf_sl_clchsn_dtls_pkg.update_row (
                  x_rowid                      => rec_c_igf_sl_clchsn_dtls.ROWID                      ,
                  x_clchgsnd_id                => rec_c_igf_sl_clchsn_dtls.clchgsnd_id                ,
                  x_award_id                   => rec_c_igf_sl_clchsn_dtls.award_id                   ,
                  x_loan_number_txt            => rec_c_igf_sl_clchsn_dtls.loan_number_txt            ,
                  x_cl_version_code            => rec_c_igf_sl_clchsn_dtls.cl_version_code            ,
                  x_change_field_code          => rec_c_igf_sl_clchsn_dtls.change_field_code          ,
                  x_change_record_type_txt     => rec_c_igf_sl_clchsn_dtls.change_record_type_txt     ,
                  x_change_code_txt            => rec_c_igf_sl_clchsn_dtls.change_code_txt            ,
                  x_status_code                => 'R'                                                 ,
                  x_status_date                => rec_c_igf_sl_clchsn_dtls.status_date                ,
                  x_response_status_code       => rec_c_igf_sl_clchsn_dtls.response_status_code       ,
                  x_old_value_txt              => rec_c_igf_sl_clchsn_dtls.old_value_txt              ,
                  x_new_value_txt              => rec_c_igf_sl_clchsn_dtls.new_value_txt              ,
                  x_old_date                   => rec_c_igf_sl_clchsn_dtls.old_date                   ,
                  x_new_date                   =>  rec_c_igf_sl_clchsn_dtls.new_date                  ,
                  x_old_amt                    => rec_c_igf_sl_clchsn_dtls.old_amt                    ,
                  x_new_amt                    => rec_c_igf_sl_clchsn_dtls.new_amt                    ,
                  x_disbursement_number        => rec_c_igf_sl_clchsn_dtls.disbursement_number        ,
                  x_disbursement_date          => rec_c_igf_sl_clchsn_dtls.disbursement_date          ,
                  x_change_issue_code          => rec_c_igf_sl_clchsn_dtls.change_issue_code          ,
                  x_disbursement_cancel_date   => rec_c_igf_sl_clchsn_dtls.disbursement_cancel_date   ,
                  x_disbursement_cancel_amt    => rec_c_igf_sl_clchsn_dtls.disbursement_cancel_amt    ,
                  x_disbursement_revised_amt   => rec_c_igf_sl_clchsn_dtls.disbursement_revised_amt   ,
                  x_disbursement_revised_date  => rec_c_igf_sl_clchsn_dtls.disbursement_revised_date  ,
                  x_disbursement_reissue_code  => rec_c_igf_sl_clchsn_dtls.disbursement_reissue_code  ,
                  x_disbursement_reinst_code   => rec_c_igf_sl_clchsn_dtls.disbursement_reinst_code   ,
                  x_disbursement_return_amt    => rec_c_igf_sl_clchsn_dtls.disbursement_return_amt    ,
                  x_disbursement_return_date   => rec_c_igf_sl_clchsn_dtls.disbursement_return_date   ,
                  x_disbursement_return_code   => rec_c_igf_sl_clchsn_dtls.disbursement_return_code   ,
                  x_post_with_disb_return_amt  => rec_c_igf_sl_clchsn_dtls.post_with_disb_return_amt  ,
                  x_post_with_disb_return_date => rec_c_igf_sl_clchsn_dtls.post_with_disb_return_date ,
                  x_post_with_disb_return_code => rec_c_igf_sl_clchsn_dtls.post_with_disb_return_code ,
                  x_prev_with_disb_return_amt  => rec_c_igf_sl_clchsn_dtls.prev_with_disb_return_amt  ,
                  x_prev_with_disb_return_date => rec_c_igf_sl_clchsn_dtls.prev_with_disb_return_date ,
                  x_school_use_txt             => rec_c_igf_sl_clchsn_dtls.school_use_txt             ,
                  x_lender_use_txt             => rec_c_igf_sl_clchsn_dtls.lender_use_txt             ,
                  x_guarantor_use_txt          => rec_c_igf_sl_clchsn_dtls.guarantor_use_txt          ,
                  x_validation_edit_txt        => NULL                                                ,
                  x_send_record_txt            => rec_c_igf_sl_clchsn_dtls.send_record_txt            ,
                  x_mode                       => 'R'
                );
Line: 508

  END AfterRowInsertUpdateDelete1;
Line: 529

    x_last_update_date                  IN     DATE     ,
    x_last_updated_by                   IN     NUMBER   ,
    x_last_update_login                 IN     NUMBER   ,
    x_external_loan_id_txt              IN     VARCHAR2
  ) AS
  /*
  ||  Created By : venagara
  ||  Created On : 02-DEC-2000
  ||  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
  ||  (reverse chronological order - newest change first)
  ||  smadathi        14-oct-2004     Bug 3416936.Added new column as per TD.
  ||  agairola        15-Mar-2002     Added the code for the new column
  ||                                  for the Borrower Determination
  */
  BEGIN

    set_column_values (
      p_action,
      x_rowid,
      x_loan_id,
      x_award_id,
      x_seq_num,
      x_loan_number,
      x_loan_per_begin_date,
      x_loan_per_end_date,
      x_loan_status,
      x_loan_status_date,
      x_loan_chg_status,
      x_loan_chg_status_date,
      x_active,
      x_active_date,
      x_borw_detrm_code,
      x_legacy_record_flag,
      x_creation_date,
      x_created_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      x_external_loan_id_txt
    );
Line: 574

    IF (p_action = 'INSERT') THEN
      -- Call all the procedures related to Before Insert.
      IF ( get_pk_for_validation( new_references.loan_id ) ) THEN
        FND_MESSAGE.SET_NAME('IGS','IGS_GE_RECORD_ALREADY_EXISTS');
Line: 583

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

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

    ELSIF (p_action = 'VALIDATE_INSERT') THEN
      -- Call all the procedures related to Before Insert.
      IF ( get_pk_for_validation ( new_references.loan_id ) ) THEN
        FND_MESSAGE.SET_NAME('IGS','IGS_GE_RECORD_ALREADY_EXISTS');
Line: 598

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

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

  ||  Purpose : Invoke the proceduers related to after update
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  (reverse chronological order - newest change first)
  --------------------------------------------------------------------*/
  BEGIN
    l_rowid := x_rowid;
Line: 622

    IF (p_action = 'UPDATE') THEN
     -- Call all the procedures related to After Update.
      AfterRowInsertUpdateDelete1
      (
        p_inserting => FALSE,
        p_updating  => TRUE ,
        p_deleting  => FALSE
      );
Line: 633

  PROCEDURE insert_row (
    x_rowid                             IN OUT NOCOPY VARCHAR2,
    x_loan_id                           IN OUT NOCOPY NUMBER,
    x_award_id                          IN     NUMBER,
    x_seq_num                           IN     NUMBER,
    x_loan_number                       IN     VARCHAR2,
    x_loan_per_begin_date               IN     DATE,
    x_loan_per_end_date                 IN     DATE,
    x_loan_status                       IN     VARCHAR2,
    x_loan_status_date                  IN     DATE,
    x_loan_chg_status                   IN     VARCHAR2,
    x_loan_chg_status_date              IN     DATE,
    x_active                            IN     VARCHAR2,
    x_active_date                       IN     DATE,
    x_borw_detrm_code                   IN     VARCHAR2 ,
    x_mode                              IN     VARCHAR2 ,
    x_legacy_record_flag                IN     VARCHAR2 ,
    x_external_loan_id_txt              IN     VARCHAR2
  ) AS
  /*
  ||  Created By : venagara
  ||  Created On : 02-DEC-2000
  ||  Purpose : Handles the INSERT DML logic for the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  (reverse chronological order - newest change first)
  ||  smadathi        14-oct-2004     Bug 3416936.Added new column as per TD.
  ||  agairola        15-Mar-2002     Added the code for the new column
  ||                                  for the Borrower Determination
  */
    CURSOR c IS
       SELECT   rowid
       FROM     igf_sl_loans_all
       WHERE    loan_id = x_loan_id;
Line: 669

    x_last_update_date           DATE;
Line: 670

    x_last_updated_by            NUMBER;
Line: 671

    x_last_update_login          NUMBER;
Line: 675

    x_program_update_date        DATE;
Line: 680

    x_last_update_date := SYSDATE;
Line: 682

      x_last_updated_by := 1;
Line: 683

      x_last_update_login := 0;
Line: 685

      x_last_updated_by := fnd_global.user_id;
Line: 686

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

      x_last_update_login := fnd_global.login_id;
Line: 690

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

        x_program_update_date    := NULL;
Line: 703

        x_program_update_date    := SYSDATE;
Line: 711

    SELECT igf_sl_loans_s.nextval INTO x_loan_id FROM DUAL;
Line: 714

      p_action                            => 'INSERT',
      x_rowid                             => x_rowid,
      x_loan_id                           => x_loan_id,
      x_award_id                          => x_award_id,
      x_seq_num                           => x_seq_num,
      x_loan_number                       => x_loan_number,
      x_loan_per_begin_date               => x_loan_per_begin_date,
      x_loan_per_end_date                 => x_loan_per_end_date,
      x_loan_status                       => x_loan_status,
      x_loan_status_date                  => x_loan_status_date,
      x_loan_chg_status                   => x_loan_chg_status,
      x_loan_chg_status_date              => x_loan_chg_status_date,
      x_active                            => x_active,
      x_active_date                       => x_active_date,
      x_borw_detrm_code                   => x_borw_detrm_code,
      x_legacy_record_flag                => x_legacy_record_flag,
      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_external_loan_id_txt              => x_external_loan_id_txt
    );
Line: 738

    INSERT INTO igf_sl_loans_all(
      loan_id,
      award_id,
      seq_num,
      loan_number,
      loan_per_begin_date,
      loan_per_end_date,
      loan_status,
      loan_status_date,
      loan_chg_status,
      loan_chg_status_date,
      active,
      active_date,
      borw_detrm_code,
      legacy_record_flag,
      creation_date,
      created_by,
      last_update_date,
      last_updated_by,
      last_update_login,
      request_id,
      program_id,
      program_application_id,
      program_update_date ,
      org_id,
      external_loan_id_txt
    ) VALUES (
      new_references.loan_id,
      new_references.award_id,
      new_references.seq_num,
      new_references.loan_number,
      new_references.loan_per_begin_date,
      new_references.loan_per_end_date,
      new_references.loan_status,
      new_references.loan_status_date,
      new_references.loan_chg_status,
      new_references.loan_chg_status_date,
      new_references.active,
      new_references.active_date,
      new_references.borw_detrm_code,
      new_references.legacy_record_flag,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login ,
      x_request_id,
      x_program_id,
      x_program_application_id,
      x_program_update_date,
      l_org_id ,
      new_references.external_loan_id_txt
    );
Line: 800

  END insert_row;
Line: 835

      SELECT award_id,
             seq_num,
             loan_number,
             loan_per_begin_date,
             loan_per_end_date,
             loan_status,
             loan_status_date,
             loan_chg_status,
             loan_chg_status_date,
             active,
             active_date,
             borw_detrm_code,
             legacy_record_flag,
             org_id,
             external_loan_id_txt
      FROM   igf_sl_loans_all
      WHERE  rowid = x_rowid
      FOR UPDATE NOWAIT;
Line: 861

      FND_MESSAGE.SET_NAME('FND', 'FORM_RECORD_DELETED');
Line: 899

  PROCEDURE update_row (
    x_rowid                             IN     VARCHAR2,
    x_loan_id                           IN     NUMBER,
    x_award_id                          IN     NUMBER,
    x_seq_num                           IN     NUMBER,
    x_loan_number                       IN     VARCHAR2,
    x_loan_per_begin_date               IN     DATE,
    x_loan_per_end_date                 IN     DATE,
    x_loan_status                       IN     VARCHAR2,
    x_loan_status_date                  IN     DATE,
    x_loan_chg_status                   IN     VARCHAR2,
    x_loan_chg_status_date              IN     DATE,
    x_active                            IN     VARCHAR2,
    x_active_date                       IN     DATE,
    x_borw_detrm_code                   IN     VARCHAR2 ,
    x_mode                              IN     VARCHAR2 ,
    x_legacy_record_flag                IN     VARCHAR2 ,
    x_external_loan_id_txt              IN     VARCHAR2 ,
    x_called_from                       IN     VARCHAR2
  ) AS
  /*
  ||  Created By : venagara
  ||  Created On : 02-DEC-2000
  ||  Purpose : Handles the UPDATE DML logic for the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  (reverse chronological order - newest change first)
  ||  smadathi        14-oct-2004     Bug 3416936.Added new column as per TD.
  ||  agairola        15-Mar-2002     Added the code for the new column
  ||                                  for the Borrower Determination
  */
    x_last_update_date           DATE ;
Line: 932

    x_last_updated_by            NUMBER;
Line: 933

    x_last_update_login          NUMBER;
Line: 937

    x_program_update_date        DATE;
Line: 941

    x_last_update_date := SYSDATE;
Line: 943

      x_last_updated_by := 1;
Line: 944

      x_last_update_login := 0;
Line: 946

      x_last_updated_by := fnd_global.user_id;
Line: 947

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

      x_last_update_login := fnd_global.login_id;
Line: 951

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

      p_action                            => 'UPDATE',
      x_rowid                             => x_rowid,
      x_loan_id                           => x_loan_id,
      x_award_id                          => x_award_id,
      x_seq_num                           => x_seq_num,
      x_loan_number                       => x_loan_number,
      x_loan_per_begin_date               => x_loan_per_begin_date,
      x_loan_per_end_date                 => x_loan_per_end_date,
      x_loan_status                       => x_loan_status,
      x_loan_status_date                  => x_loan_status_date,
      x_loan_chg_status                   => x_loan_chg_status,
      x_loan_chg_status_date              => x_loan_chg_status_date,
      x_active                            => x_active,
      x_active_date                       => x_active_date,
      x_borw_detrm_code                   => x_borw_detrm_code,
      x_legacy_record_flag                => x_legacy_record_flag,
      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_external_loan_id_txt              => x_external_loan_id_txt
    );
Line: 993

        x_program_update_date := old_references.program_update_date;
Line: 995

        x_program_update_date := SYSDATE;
Line: 999

    UPDATE igf_sl_loans_all
      SET
        award_id                          = new_references.award_id,
        seq_num                           = new_references.seq_num,
        loan_number                       = new_references.loan_number,
        loan_per_begin_date               = new_references.loan_per_begin_date,
        loan_per_end_date                 = new_references.loan_per_end_date,
        loan_status                       = new_references.loan_status,
        loan_status_date                  = new_references.loan_status_date,
        loan_chg_status                   = new_references.loan_chg_status,
        loan_chg_status_date              = new_references.loan_chg_status_date,
        active                            = new_references.active,
        active_date                       = new_references.active_date,
        borw_detrm_code                   = new_references.borw_detrm_code,
        legacy_record_flag                = new_references.legacy_record_flag,
        last_update_date                  = x_last_update_date,
        last_updated_by                   = x_last_updated_by,
        last_update_login                 = x_last_update_login ,
        request_id                        = x_request_id,
        program_id                        = x_program_id,
        program_application_id            = x_program_application_id,
        program_update_date               = x_program_update_date,
        external_loan_id_txt              = new_references.external_loan_id_txt
      WHERE rowid = x_rowid;
Line: 1029

            p_action =>'UPDATE',
            x_rowid => x_rowid
          );
Line: 1033

  END update_row;
Line: 1058

  ||  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
  ||  (reverse chronological order - newest change first)
  ||  smadathi        14-oct-2004     Bug 3416936.Added new column as per TD.
  ||  agairola        15-Mar-2002     Added the code for the new column
  ||                                  for the Borrower Determination
  */
    CURSOR c1 IS
       SELECT rowid
       FROM   igf_sl_loans_all
       WHERE  loan_id  = x_loan_id;
Line: 1079

      insert_row (
        x_rowid,
        x_loan_id,
        x_award_id,
        x_seq_num,
        x_loan_number,
        x_loan_per_begin_date,
        x_loan_per_end_date,
        x_loan_status,
        x_loan_status_date,
        x_loan_chg_status,
        x_loan_chg_status_date,
        x_active,
        x_active_date,
        x_borw_detrm_code,
        x_mode ,
        x_legacy_record_flag,
        x_external_loan_id_txt
      );
Line: 1102

    update_row (
      x_rowid,
      x_loan_id,
      x_award_id,
      x_seq_num,
      x_loan_number,
      x_loan_per_begin_date,
      x_loan_per_end_date,
      x_loan_status,
      x_loan_status_date,
      x_loan_chg_status,
      x_loan_chg_status_date,
      x_active,
      x_active_date,
      x_borw_detrm_code,
      x_mode ,
      x_legacy_record_flag,
      x_external_loan_id_txt
    );
Line: 1125

  PROCEDURE delete_row (
    x_rowid IN VARCHAR2
  ) AS
  /*
  ||  Created By : venagara
  ||  Created On : 02-DEC-2000
  ||  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: 1141

    DELETE FROM igf_sl_loans_all
    WHERE rowid = x_rowid;
Line: 1148

  END delete_row;