DBA Data[Home] [Help]

APPS.IGS_AS_DOC_DETAILS_PKG SQL Statements

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

Line: 9

  PROCEDURE update_fees_of_remaining_items (
    x_person_id                    IN     NUMBER,
    x_document_type                IN     VARCHAR2,
    x_document_sub_type            IN     VARCHAR2
  ) IS
    --
    -- Get the items whose document fee is to be re-calculated
    --
    CURSOR cur_items_to_be_processed IS
      SELECT   doc.ROWID,
               doc.*
      FROM     igs_as_doc_details doc
      WHERE    doc.person_id = x_person_id
      AND      doc.document_type = x_document_type
      AND      doc.document_sub_type = x_document_sub_type
      AND      doc.item_status = 'INCOMPLETE'
      ORDER BY creation_date;
Line: 32

      igs_as_doc_details_pkg.update_row (
        x_rowid                        => rec_items_to_be_processed.ROWID,
        x_order_number                 => rec_items_to_be_processed.order_number,
        x_document_type                => rec_items_to_be_processed.document_type,
        x_document_sub_type            => rec_items_to_be_processed.document_sub_type,
        x_item_number                  => rec_items_to_be_processed.item_number,
        x_item_status                  => rec_items_to_be_processed.item_status,
        x_date_produced                => rec_items_to_be_processed.date_produced,
        x_incl_curr_course             => rec_items_to_be_processed.incl_curr_course,
        x_num_of_copies                => rec_items_to_be_processed.num_of_copies,
        x_comments                     => rec_items_to_be_processed.comments,
        x_recip_pers_name              => rec_items_to_be_processed.recip_pers_name,
        x_recip_inst_name              => rec_items_to_be_processed.recip_inst_name,
        x_recip_addr_line_1            => rec_items_to_be_processed.recip_addr_line_1,
        x_recip_addr_line_2            => rec_items_to_be_processed.recip_addr_line_2,
        x_recip_addr_line_3            => rec_items_to_be_processed.recip_addr_line_3,
        x_recip_addr_line_4            => rec_items_to_be_processed.recip_addr_line_4,
        x_recip_city                   => rec_items_to_be_processed.recip_city,
        x_recip_postal_code            => rec_items_to_be_processed.recip_postal_code,
        x_recip_state                  => rec_items_to_be_processed.recip_state,
        x_recip_province               => rec_items_to_be_processed.recip_province,
        x_recip_county                 => rec_items_to_be_processed.recip_county,
        x_recip_country                => rec_items_to_be_processed.recip_country,
        x_recip_fax_area_code          => rec_items_to_be_processed.recip_fax_area_code,
        x_recip_fax_country_code       => rec_items_to_be_processed.recip_fax_country_code,
        x_recip_fax_number             => rec_items_to_be_processed.recip_fax_number,
        x_delivery_method_type         => rec_items_to_be_processed.delivery_method_type,
        x_programs_on_file             => rec_items_to_be_processed.programs_on_file,
        x_missing_acad_record_data_ind => rec_items_to_be_processed.missing_acad_record_data_ind,
        x_missing_academic_record_data => rec_items_to_be_processed.missing_academic_record_data,
        x_send_transcript_immediately  => rec_items_to_be_processed.send_transcript_immediately,
        x_hold_release_of_final_grades => rec_items_to_be_processed.hold_release_of_final_grades,
        x_fgrade_cal_type              => rec_items_to_be_processed.fgrade_cal_type,
        x_fgrade_seq_num               => rec_items_to_be_processed.fgrade_seq_num,
        x_hold_degree_expected         => rec_items_to_be_processed.hold_degree_expected,
        x_deghold_cal_type             => rec_items_to_be_processed.deghold_cal_type,
        x_deghold_seq_num              => rec_items_to_be_processed.deghold_seq_num,
        x_hold_for_grade_chg           => rec_items_to_be_processed.hold_for_grade_chg,
        x_special_instr                => rec_items_to_be_processed.special_instr,
        x_express_mail_type            => rec_items_to_be_processed.express_mail_type,
        x_express_mail_track_num       => rec_items_to_be_processed.express_mail_track_num,
        x_ge_certification             => rec_items_to_be_processed.ge_certification,
        x_external_comments            => rec_items_to_be_processed.external_comments,
        x_internal_comments            => rec_items_to_be_processed.internal_comments,
        x_dup_requested                => rec_items_to_be_processed.dup_requested,
        x_dup_req_date                 => rec_items_to_be_processed.dup_req_date,
        x_dup_sent_date                => rec_items_to_be_processed.dup_sent_date,
        x_enr_term_cal_type            => rec_items_to_be_processed.enr_term_cal_type,
        x_enr_ci_sequence_number       => rec_items_to_be_processed.enr_ci_sequence_number,
        x_incl_attempted_hours         => rec_items_to_be_processed.incl_attempted_hours,
        x_incl_class_rank              => rec_items_to_be_processed.incl_class_rank,
        x_incl_progresssion_status     => rec_items_to_be_processed.incl_progresssion_status,
        x_incl_class_standing          => rec_items_to_be_processed.incl_class_standing,
        x_incl_cum_hours_earned        => rec_items_to_be_processed.incl_cum_hours_earned,
        x_incl_gpa                     => rec_items_to_be_processed.incl_gpa,
        x_incl_date_of_graduation      => rec_items_to_be_processed.incl_date_of_graduation,
        x_incl_degree_dates            => rec_items_to_be_processed.incl_degree_dates,
        x_incl_degree_earned           => rec_items_to_be_processed.incl_degree_earned,
        x_incl_date_of_entry           => rec_items_to_be_processed.incl_date_of_entry,
        x_incl_drop_withdrawal_dates   => rec_items_to_be_processed.incl_drop_withdrawal_dates,
        x_incl_hrs_for_curr_term       => 'Y',
        x_incl_majors                  => rec_items_to_be_processed.incl_majors,
        x_incl_last_date_of_enrollment => rec_items_to_be_processed.incl_last_date_of_enrollment,
        x_incl_professional_licensure  => rec_items_to_be_processed.incl_professional_licensure,
        x_incl_college_affiliation     => rec_items_to_be_processed.incl_college_affiliation,
        x_incl_instruction_dates       => rec_items_to_be_processed.incl_instruction_dates,
        x_incl_usec_dates              => rec_items_to_be_processed.incl_usec_dates,
        x_incl_program_attempt         => rec_items_to_be_processed.incl_program_attempt,
        x_incl_attendence_type         => rec_items_to_be_processed.incl_attendence_type,
        x_incl_last_term_enrolled      => rec_items_to_be_processed.incl_last_term_enrolled,
        x_incl_ssn                     => rec_items_to_be_processed.incl_ssn,
        x_incl_date_of_birth           => rec_items_to_be_processed.incl_date_of_birth,
        x_incl_disciplin_standing      => rec_items_to_be_processed.incl_disciplin_standing,
        x_incl_no_future_term          => rec_items_to_be_processed.incl_no_future_term,
        x_incl_acurat_till_copmp_dt    => rec_items_to_be_processed.incl_acurat_till_copmp_dt,
        x_incl_cant_rel_without_sign   => rec_items_to_be_processed.incl_cant_rel_without_sign,
        x_mode                         => 'C',
        x_return_status                => l_return_status,
        x_msg_data                     => l_msg_data,
        x_msg_count                    => l_msg_count,
        x_doc_fee_per_copy             => rec_items_to_be_processed.doc_fee_per_copy,
        x_delivery_fee                 => rec_items_to_be_processed.delivery_fee,
        x_recip_email                  => rec_items_to_be_processed.recip_email,
        x_overridden_doc_delivery_fee  => rec_items_to_be_processed.overridden_doc_delivery_fee,
        x_overridden_document_fee      => rec_items_to_be_processed.overridden_document_fee,
        x_fee_overridden_by            => rec_items_to_be_processed.fee_overridden_by,
        x_fee_overridden_date          => rec_items_to_be_processed.fee_overridden_date,
        x_incl_department              => rec_items_to_be_processed.incl_department,
        x_incl_field_of_stdy           => rec_items_to_be_processed.incl_field_of_stdy,
        x_incl_attend_mode             => rec_items_to_be_processed.incl_attend_mode,
        x_incl_yop_acad_prd            => rec_items_to_be_processed.incl_yop_acad_prd,
        x_incl_intrmsn_st_end          => rec_items_to_be_processed.incl_intrmsn_st_end,
        x_incl_hnrs_lvl                => rec_items_to_be_processed.incl_hnrs_lvl,
        x_incl_awards                  => rec_items_to_be_processed.incl_awards,
        x_incl_award_aim               => rec_items_to_be_processed.incl_award_aim,
        x_incl_acad_sessions           => rec_items_to_be_processed.incl_acad_sessions,
        x_incl_st_end_acad_ses         => rec_items_to_be_processed.incl_st_end_acad_ses,
        x_incl_hesa_num                => rec_items_to_be_processed.incl_hesa_num,
        x_incl_location                => rec_items_to_be_processed.incl_location,
        x_incl_program_type            => rec_items_to_be_processed.incl_program_type,
        x_incl_program_name            => rec_items_to_be_processed.incl_program_name,
        x_incl_prog_atmpt_stat         => rec_items_to_be_processed.incl_prog_atmpt_stat,
        x_incl_prog_atmpt_end          => rec_items_to_be_processed.incl_prog_atmpt_end,
        x_incl_prog_atmpt_strt         => rec_items_to_be_processed.incl_prog_atmpt_strt,
        x_incl_req_cmplete             => rec_items_to_be_processed.incl_req_cmplete,
        x_incl_expected_compl_dt       => rec_items_to_be_processed.incl_expected_compl_dt,
        x_incl_conferral_dt            => rec_items_to_be_processed.incl_conferral_dt,
        x_incl_thesis_title            => rec_items_to_be_processed.incl_thesis_title,
        x_incl_program_code            => rec_items_to_be_processed.incl_program_code,
        x_incl_program_ver             => rec_items_to_be_processed.incl_program_ver,
        x_incl_stud_no                 => rec_items_to_be_processed.incl_stud_no,
        x_incl_surname                 => rec_items_to_be_processed.incl_surname,
        x_incl_fore_name               => rec_items_to_be_processed.incl_fore_name,
        x_incl_prev_names              => rec_items_to_be_processed.incl_prev_names,
        x_incl_initials                => rec_items_to_be_processed.incl_initials,
        x_doc_purpose_code             => rec_items_to_be_processed.doc_purpose_code,
        x_plan_id                      => rec_items_to_be_processed.plan_id,
        x_produced_by                  => rec_items_to_be_processed.produced_by,
        x_person_id                    => rec_items_to_be_processed.person_id
      );
Line: 153

  END update_fees_of_remaining_items;
Line: 236

    x_last_update_date             IN     DATE,
    x_last_updated_by              IN     NUMBER,
    x_last_update_login            IN     NUMBER,
    x_doc_fee_per_copy             IN     NUMBER,
    x_delivery_fee                 IN     NUMBER,
    x_recip_email                  IN     VARCHAR2,
    x_overridden_doc_delivery_fee  IN     NUMBER,
    x_overridden_document_fee      IN     NUMBER,
    x_fee_overridden_by            IN     NUMBER,
    x_fee_overridden_date          IN     DATE,
    x_incl_department              IN     VARCHAR2,
    x_incl_field_of_stdy           IN     VARCHAR2,
    x_incl_attend_mode             IN     VARCHAR2,
    x_incl_yop_acad_prd            IN     VARCHAR2,
    x_incl_intrmsn_st_end          IN     VARCHAR2,
    x_incl_hnrs_lvl                IN     VARCHAR2,
    x_incl_awards                  IN     VARCHAR2,
    x_incl_award_aim               IN     VARCHAR2,
    x_incl_acad_sessions           IN     VARCHAR2,
    x_incl_st_end_acad_ses         IN     VARCHAR2,
    x_incl_hesa_num                IN     VARCHAR2,
    x_incl_location                IN     VARCHAR2,
    x_incl_program_type            IN     VARCHAR2,
    x_incl_program_name            IN     VARCHAR2,
    x_incl_prog_atmpt_stat         IN     VARCHAR2,
    x_incl_prog_atmpt_end          IN     VARCHAR2,
    x_incl_prog_atmpt_strt         IN     VARCHAR2,
    x_incl_req_cmplete             IN     VARCHAR2,
    x_incl_expected_compl_dt       IN     VARCHAR2,
    x_incl_conferral_dt            IN     VARCHAR2,
    x_incl_thesis_title            IN     VARCHAR2,
    x_incl_program_code            IN     VARCHAR2,
    x_incl_program_ver             IN     VARCHAR2,
    x_incl_stud_no                 IN     VARCHAR2,
    x_incl_surname                 IN     VARCHAR2,
    x_incl_fore_name               IN     VARCHAR2,
    x_incl_prev_names              IN     VARCHAR2,
    x_incl_initials                IN     VARCHAR2,
    x_doc_purpose_code             IN     VARCHAR2,
    x_plan_id                      IN     NUMBER,
    x_produced_by                  IN     NUMBER,
    x_person_id                    IN     NUMBER
  ) AS
    /*
    ||  Created By : manu.srinivasan
    ||  Created On : 28-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
    ||  (reverse chronological order - newest change first)
    */
    CURSOR cur_old_ref_values IS
      SELECT *
      FROM   igs_as_doc_details
      WHERE  ROWID = x_rowid;
Line: 299

        AND (p_action NOT IN ('INSERT', 'VALIDATE_INSERT'))
       ) THEN
      CLOSE cur_old_ref_values;
Line: 302

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

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

    new_references.last_update_date := x_last_update_date;
Line: 390

    new_references.last_updated_by := x_last_updated_by;
Line: 391

    new_references.last_update_login := x_last_update_login;
Line: 453

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

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

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

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

      SELECT     ROWID
      FROM       igs_as_doc_details
      WHERE      item_number = x_item_number
      FOR UPDATE NOWAIT;
Line: 536

      SELECT ROWID
      FROM   igs_as_doc_details
      WHERE  ((delivery_method_type = x_delivery_method_type));
Line: 566

      SELECT ROWID
      FROM   igs_as_doc_details
      WHERE  ((fgrade_cal_type = x_cal_type)
              AND (fgrade_seq_num = x_sequence_number)
             )
OR           ((deghold_cal_type = x_cal_type)
              AND (deghold_seq_num = x_sequence_number)
             );
Line: 601

      SELECT ROWID
      FROM   igs_as_doc_details
      WHERE  ((order_number = x_order_number));
Line: 699

    x_last_update_date             IN     DATE,
    x_last_updated_by              IN     NUMBER,
    x_last_update_login            IN     NUMBER,
    x_doc_fee_per_copy             IN     NUMBER,
    x_delivery_fee                 IN     NUMBER,
    x_recip_email                  IN     VARCHAR2,
    x_overridden_doc_delivery_fee  IN     NUMBER,
    x_overridden_document_fee      IN     NUMBER,
    x_fee_overridden_by            IN     NUMBER,
    x_fee_overridden_date          IN     DATE,
    x_incl_department              IN     VARCHAR2,
    x_incl_field_of_stdy           IN     VARCHAR2,
    x_incl_attend_mode             IN     VARCHAR2,
    x_incl_yop_acad_prd            IN     VARCHAR2,
    x_incl_intrmsn_st_end          IN     VARCHAR2,
    x_incl_hnrs_lvl                IN     VARCHAR2,
    x_incl_awards                  IN     VARCHAR2,
    x_incl_award_aim               IN     VARCHAR2,
    x_incl_acad_sessions           IN     VARCHAR2,
    x_incl_st_end_acad_ses         IN     VARCHAR2,
    x_incl_hesa_num                IN     VARCHAR2,
    x_incl_location                IN     VARCHAR2,
    x_incl_program_type            IN     VARCHAR2,
    x_incl_program_name            IN     VARCHAR2,
    x_incl_prog_atmpt_stat         IN     VARCHAR2,
    x_incl_prog_atmpt_end          IN     VARCHAR2,
    x_incl_prog_atmpt_strt         IN     VARCHAR2,
    x_incl_req_cmplete             IN     VARCHAR2,
    x_incl_expected_compl_dt       IN     VARCHAR2,
    x_incl_conferral_dt            IN     VARCHAR2,
    x_incl_thesis_title            IN     VARCHAR2,
    x_incl_program_code            IN     VARCHAR2,
    x_incl_program_ver             IN     VARCHAR2,
    x_incl_stud_no                 IN     VARCHAR2,
    x_incl_surname                 IN     VARCHAR2,
    x_incl_fore_name               IN     VARCHAR2,
    x_incl_prev_names              IN     VARCHAR2,
    x_incl_initials                IN     VARCHAR2,
    x_doc_purpose_code             IN     VARCHAR2,
    x_plan_id                      IN     NUMBER,
    x_produced_by                  IN     NUMBER,
    x_person_id                    IN     NUMBER
  ) AS
    /*
    ||  Created By : manu.srinivasan
    ||  Created On : 28-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
    ||  (reverse chronological order - newest change first)
    */
    CURSOR c_pers IS
      SELECT person_id,
             request_type
      FROM   igs_as_order_hdr
      WHERE  order_number = x_order_number;
Line: 758

      SELECT COUNT (*)
      FROM   igs_as_doc_details
      WHERE  order_number = x_order_number
      AND    document_sub_type = 'LIFE_TIME_TRANS';
Line: 772

      SELECT num_of_copies
      FROM   igs_as_doc_details
      WHERE  item_number = NVL (x_item_number, -1);
Line: 785

    IF p_action <> 'DELETE' THEN
      igs_as_ss_doc_request.get_doc_and_delivery_fee (
        p_person_id                    => l_person_id,
        p_document_type                => x_document_type,
        p_document_sub_type            => x_document_sub_type,
        p_number_of_copies             => x_num_of_copies,
        p_delivery_method_type         => x_delivery_method_type,
        p_document_fee                 => l_doc_fee,
        p_delivery_fee                 => l_delivery_fee,
        p_program_on_file              => x_programs_on_file,
        p_plan_id                      => l_plan_id,
        p_item_number                  => x_item_number
      );
Line: 883

      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      l_doc_fee,
      l_delivery_fee,
      x_recip_email,
      x_overridden_doc_delivery_fee,
      x_overridden_document_fee,
      x_fee_overridden_by,
      x_fee_overridden_date,
      x_incl_department,
      x_incl_field_of_stdy,
      x_incl_attend_mode,
      x_incl_yop_acad_prd,
      x_incl_intrmsn_st_end,
      x_incl_hnrs_lvl,
      x_incl_awards,
      x_incl_award_aim,
      x_incl_acad_sessions,
      x_incl_st_end_acad_ses,
      x_incl_hesa_num,
      x_incl_location,
      x_incl_program_type,
      x_incl_program_name,
      x_incl_prog_atmpt_stat,
      x_incl_prog_atmpt_end,
      x_incl_prog_atmpt_strt,
      x_incl_req_cmplete,
      x_incl_expected_compl_dt,
      x_incl_conferral_dt,
      x_incl_thesis_title,
      x_incl_program_code,
      x_incl_program_ver,
      x_incl_stud_no,
      x_incl_surname,
      x_incl_fore_name,
      x_incl_prev_names,
      x_incl_initials,
      x_doc_purpose_code,
      l_plan_id,
      x_produced_by,
      x_person_id
    );
Line: 926

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

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

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

  PROCEDURE insert_row (
    x_rowid                        IN OUT NOCOPY VARCHAR2,
    x_order_number                 IN     NUMBER,
    x_document_type                IN     VARCHAR2,
    x_document_sub_type            IN     VARCHAR2,
    x_item_number                  IN OUT NOCOPY NUMBER,
    x_item_status                  IN     VARCHAR2,
    x_date_produced                IN     DATE,
    x_incl_curr_course             IN     VARCHAR2,
    x_num_of_copies                IN     NUMBER,
    x_comments                     IN     VARCHAR2,
    x_recip_pers_name              IN     VARCHAR2,
    x_recip_inst_name              IN     VARCHAR2,
    x_recip_addr_line_1            IN     VARCHAR2,
    x_recip_addr_line_2            IN     VARCHAR2,
    x_recip_addr_line_3            IN     VARCHAR2,
    x_recip_addr_line_4            IN     VARCHAR2,
    x_recip_city                   IN     VARCHAR2,
    x_recip_postal_code            IN     VARCHAR2,
    x_recip_state                  IN     VARCHAR2,
    x_recip_province               IN     VARCHAR2,
    x_recip_county                 IN     VARCHAR2,
    x_recip_country                IN     VARCHAR2,
    x_recip_fax_area_code          IN     VARCHAR2,
    x_recip_fax_country_code       IN     VARCHAR2,
    x_recip_fax_number             IN     VARCHAR2,
    x_delivery_method_type         IN     VARCHAR2,
    x_programs_on_file             IN     VARCHAR2,
    x_missing_acad_record_data_ind IN     VARCHAR2,
    x_missing_academic_record_data IN     VARCHAR2,
    x_send_transcript_immediately  IN     VARCHAR2,
    x_hold_release_of_final_grades IN     VARCHAR2,
    x_fgrade_cal_type              IN     VARCHAR2,
    x_fgrade_seq_num               IN     NUMBER,
    x_hold_degree_expected         IN     VARCHAR2,
    x_deghold_cal_type             IN     VARCHAR2,
    x_deghold_seq_num              IN     NUMBER,
    x_hold_for_grade_chg           IN     VARCHAR2,
    x_special_instr                IN     VARCHAR2,
    x_express_mail_type            IN     VARCHAR2,
    x_express_mail_track_num       IN     VARCHAR2,
    x_ge_certification             IN     VARCHAR2,
    x_external_comments            IN     VARCHAR2,
    x_internal_comments            IN     VARCHAR2,
    x_dup_requested                IN     VARCHAR2,
    x_dup_req_date                 IN     DATE,
    x_dup_sent_date                IN     DATE,
    x_enr_term_cal_type            IN     VARCHAR2,
    x_enr_ci_sequence_number       IN     NUMBER,
    x_incl_attempted_hours         IN     VARCHAR2,
    x_incl_class_rank              IN     VARCHAR2,
    x_incl_progresssion_status     IN     VARCHAR2,
    x_incl_class_standing          IN     VARCHAR2,
    x_incl_cum_hours_earned        IN     VARCHAR2,
    x_incl_gpa                     IN     VARCHAR2,
    x_incl_date_of_graduation      IN     VARCHAR2,
    x_incl_degree_dates            IN     VARCHAR2,
    x_incl_degree_earned           IN     VARCHAR2,
    x_incl_date_of_entry           IN     VARCHAR2,
    x_incl_drop_withdrawal_dates   IN     VARCHAR2,
    x_incl_hrs_for_curr_term       IN     VARCHAR2,
    x_incl_majors                  IN     VARCHAR2,
    x_incl_last_date_of_enrollment IN     VARCHAR2,
    x_incl_professional_licensure  IN     VARCHAR2,
    x_incl_college_affiliation     IN     VARCHAR2,
    x_incl_instruction_dates       IN     VARCHAR2,
    x_incl_usec_dates              IN     VARCHAR2,
    x_incl_program_attempt         IN     VARCHAR2,
    x_incl_attendence_type         IN     VARCHAR2,
    x_incl_last_term_enrolled      IN     VARCHAR2,
    x_incl_ssn                     IN     VARCHAR2,
    x_incl_date_of_birth           IN     VARCHAR2,
    x_incl_disciplin_standing      IN     VARCHAR2,
    x_incl_no_future_term          IN     VARCHAR2,
    x_incl_acurat_till_copmp_dt    IN     VARCHAR2,
    x_incl_cant_rel_without_sign   IN     VARCHAR2,
    x_mode                         IN     VARCHAR2,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_doc_fee_per_copy             IN     NUMBER,
    x_delivery_fee                 IN     NUMBER,
    x_recip_email                  IN     VARCHAR2,
    x_overridden_doc_delivery_fee  IN     NUMBER,
    x_overridden_document_fee      IN     NUMBER,
    x_fee_overridden_by            IN     NUMBER,
    x_fee_overridden_date          IN     DATE,
    x_incl_department              IN     VARCHAR2,
    x_incl_field_of_stdy           IN     VARCHAR2,
    x_incl_attend_mode             IN     VARCHAR2,
    x_incl_yop_acad_prd            IN     VARCHAR2,
    x_incl_intrmsn_st_end          IN     VARCHAR2,
    x_incl_hnrs_lvl                IN     VARCHAR2,
    x_incl_awards                  IN     VARCHAR2,
    x_incl_award_aim               IN     VARCHAR2,
    x_incl_acad_sessions           IN     VARCHAR2,
    x_incl_st_end_acad_ses         IN     VARCHAR2,
    x_incl_hesa_num                IN     VARCHAR2,
    x_incl_location                IN     VARCHAR2,
    x_incl_program_type            IN     VARCHAR2,
    x_incl_program_name            IN     VARCHAR2,
    x_incl_prog_atmpt_stat         IN     VARCHAR2,
    x_incl_prog_atmpt_end          IN     VARCHAR2,
    x_incl_prog_atmpt_strt         IN     VARCHAR2,
    x_incl_req_cmplete             IN     VARCHAR2,
    x_incl_expected_compl_dt       IN     VARCHAR2,
    x_incl_conferral_dt            IN     VARCHAR2,
    x_incl_thesis_title            IN     VARCHAR2,
    x_incl_program_code            IN     VARCHAR2,
    x_incl_program_ver             IN     VARCHAR2,
    x_incl_stud_no                 IN     VARCHAR2,
    x_incl_surname                 IN     VARCHAR2,
    x_incl_fore_name               IN     VARCHAR2,
    x_incl_prev_names              IN     VARCHAR2,
    x_incl_initials                IN     VARCHAR2,
    x_doc_purpose_code             IN     VARCHAR2,
    x_plan_id                      IN     NUMBER,
    x_produced_by                  IN     NUMBER,
    x_person_id                    IN     NUMBER
  ) AS
    /*
    ||  Created By : manu.srinivasan
    ||  Created On : 28-JAN-2002
    ||  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)
    */
    CURSOR c IS
      SELECT ROWID
      FROM   igs_as_doc_details
      WHERE  item_number = x_item_number;
Line: 1083

      SELECT a.*,
             a.ROWID
      FROM   igs_as_doc_details a
      WHERE  order_number = x_order_number
      AND    item_number <> x_item_number
      AND    document_type = 'TRANSCRIPT';
Line: 1089

    x_last_update_date       DATE;
Line: 1090

    x_last_updated_by        NUMBER;
Line: 1091

    x_last_update_login      NUMBER;
Line: 1095

    x_program_update_date    DATE;
Line: 1098

    x_last_update_date := SYSDATE;
Line: 1100

      x_last_updated_by := 1;
Line: 1101

      x_last_update_login := 0;
Line: 1103

      x_last_updated_by := fnd_global.user_id;
Line: 1104

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

      x_last_update_login := fnd_global.login_id;
Line: 1108

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

        x_program_update_date := NULL;
Line: 1120

        x_program_update_date := SYSDATE;
Line: 1128

      SELECT igs_as_doc_details_s.NEXTVAL
      INTO   x_item_number
      FROM   DUAL;
Line: 1133

      p_action                       => 'INSERT',
      x_rowid                        => x_rowid,
      x_order_number                 => x_order_number,
      x_document_type                => x_document_type,
      x_document_sub_type            => x_document_sub_type,
      x_item_number                  => x_item_number,
      x_item_status                  => x_item_status,
      x_date_produced                => x_date_produced,
      x_incl_curr_course             => x_incl_curr_course,
      x_num_of_copies                => x_num_of_copies,
      x_comments                     => x_comments,
      x_recip_pers_name              => x_recip_pers_name,
      x_recip_inst_name              => x_recip_inst_name,
      x_recip_addr_line_1            => x_recip_addr_line_1,
      x_recip_addr_line_2            => x_recip_addr_line_2,
      x_recip_addr_line_3            => x_recip_addr_line_3,
      x_recip_addr_line_4            => x_recip_addr_line_4,
      x_recip_city                   => x_recip_city,
      x_recip_postal_code            => x_recip_postal_code,
      x_recip_state                  => x_recip_state,
      x_recip_province               => x_recip_province,
      x_recip_county                 => x_recip_county,
      x_recip_country                => x_recip_country,
      x_recip_fax_area_code          => x_recip_fax_area_code,
      x_recip_fax_country_code       => x_recip_fax_country_code,
      x_recip_fax_number             => x_recip_fax_number,
      x_delivery_method_type         => x_delivery_method_type,
      x_programs_on_file             => x_programs_on_file,
      x_missing_acad_record_data_ind => x_missing_acad_record_data_ind,
      x_missing_academic_record_data => x_missing_academic_record_data,
      x_send_transcript_immediately  => x_send_transcript_immediately,
      x_hold_release_of_final_grades => x_hold_release_of_final_grades,
      x_fgrade_cal_type              => x_fgrade_cal_type,
      x_fgrade_seq_num               => x_fgrade_seq_num,
      x_hold_degree_expected         => x_hold_degree_expected,
      x_deghold_cal_type             => x_deghold_cal_type,
      x_deghold_seq_num              => x_deghold_seq_num,
      x_hold_for_grade_chg           => x_hold_for_grade_chg,
      x_special_instr                => x_special_instr,
      x_express_mail_type            => x_express_mail_type,
      x_express_mail_track_num       => x_express_mail_track_num,
      x_ge_certification             => x_ge_certification,
      x_external_comments            => x_external_comments,
      x_internal_comments            => x_internal_comments,
      x_dup_requested                => x_dup_requested,
      x_dup_req_date                 => x_dup_req_date,
      x_dup_sent_date                => x_dup_sent_date,
      x_enr_term_cal_type            => x_enr_term_cal_type,
      x_enr_ci_sequence_number       => x_enr_ci_sequence_number,
      x_incl_attempted_hours         => x_incl_attempted_hours,
      x_incl_class_rank              => x_incl_class_rank,
      x_incl_progresssion_status     => x_incl_progresssion_status,
      x_incl_class_standing          => x_incl_class_standing,
      x_incl_cum_hours_earned        => x_incl_cum_hours_earned,
      x_incl_gpa                     => x_incl_gpa,
      x_incl_date_of_graduation      => x_incl_date_of_graduation,
      x_incl_degree_dates            => x_incl_degree_dates,
      x_incl_degree_earned           => x_incl_degree_earned,
      x_incl_date_of_entry           => x_incl_date_of_entry,
      x_incl_drop_withdrawal_dates   => x_incl_drop_withdrawal_dates,
      x_incl_hrs_for_curr_term       => x_incl_hrs_for_curr_term,
      x_incl_majors                  => x_incl_majors,
      x_incl_last_date_of_enrollment => x_incl_last_date_of_enrollment,
      x_incl_professional_licensure  => x_incl_professional_licensure,
      x_incl_college_affiliation     => x_incl_college_affiliation,
      x_incl_instruction_dates       => x_incl_instruction_dates,
      x_incl_usec_dates              => x_incl_usec_dates,
      x_incl_program_attempt         => x_incl_program_attempt,
      x_incl_attendence_type         => x_incl_attendence_type,
      x_incl_last_term_enrolled      => x_incl_last_term_enrolled,
      x_incl_ssn                     => x_incl_ssn,
      x_incl_date_of_birth           => x_incl_date_of_birth,
      x_incl_disciplin_standing      => x_incl_disciplin_standing,
      x_incl_no_future_term          => x_incl_no_future_term,
      x_incl_acurat_till_copmp_dt    => x_incl_acurat_till_copmp_dt,
      x_incl_cant_rel_without_sign   => x_incl_cant_rel_without_sign,
      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_doc_fee_per_copy             => x_doc_fee_per_copy,
      x_delivery_fee                 => x_delivery_fee,
      x_recip_email                  => x_recip_email,
      x_overridden_doc_delivery_fee  => x_overridden_doc_delivery_fee,
      x_overridden_document_fee      => x_overridden_document_fee,
      x_fee_overridden_by            => x_fee_overridden_by,
      x_fee_overridden_date          => x_fee_overridden_date,
      x_incl_department              => x_incl_department,
      x_incl_field_of_stdy           => x_incl_field_of_stdy,
      x_incl_attend_mode             => x_incl_attend_mode,
      x_incl_yop_acad_prd            => x_incl_yop_acad_prd,
      x_incl_intrmsn_st_end          => x_incl_intrmsn_st_end,
      x_incl_hnrs_lvl                => x_incl_hnrs_lvl,
      x_incl_awards                  => x_incl_awards,
      x_incl_award_aim               => x_incl_award_aim,
      x_incl_acad_sessions           => x_incl_acad_sessions,
      x_incl_st_end_acad_ses         => x_incl_st_end_acad_ses,
      x_incl_hesa_num                => x_incl_hesa_num,
      x_incl_location                => x_incl_location,
      x_incl_program_type            => x_incl_program_type,
      x_incl_program_name            => x_incl_program_name,
      x_incl_prog_atmpt_stat         => x_incl_prog_atmpt_stat,
      x_incl_prog_atmpt_end          => x_incl_prog_atmpt_end,
      x_incl_prog_atmpt_strt         => x_incl_prog_atmpt_strt,
      x_incl_req_cmplete             => x_incl_req_cmplete,
      x_incl_expected_compl_dt       => x_incl_expected_compl_dt,
      x_incl_conferral_dt            => x_incl_conferral_dt,
      x_incl_thesis_title            => x_incl_thesis_title,
      x_incl_program_code            => x_incl_program_code,
      x_incl_program_ver             => x_incl_program_ver,
      x_incl_stud_no                 => x_incl_stud_no,
      x_incl_surname                 => x_incl_surname,
      x_incl_fore_name               => x_incl_fore_name,
      x_incl_prev_names              => x_incl_prev_names,
      x_incl_initials                => x_incl_initials,
      x_doc_purpose_code             => x_doc_purpose_code,
      x_plan_id                      => x_plan_id,
      x_produced_by                  => x_produced_by,
      x_person_id                    => x_person_id
    );
Line: 1254

    INSERT INTO igs_as_doc_details
                (order_number, document_type, document_sub_type,
                 item_number, item_status, date_produced,
                 incl_curr_course, num_of_copies, comments,
                 recip_pers_name, recip_inst_name, recip_addr_line_1,
                 recip_addr_line_2, recip_addr_line_3, recip_addr_line_4,
                 recip_city, recip_postal_code, recip_state,
                 recip_province, recip_county, recip_country,
                 recip_fax_area_code, recip_fax_country_code,
                 recip_fax_number, delivery_method_type, programs_on_file,
                 missing_acad_record_data_ind, missing_academic_record_data,
                 send_transcript_immediately, hold_release_of_final_grades,
                 fgrade_cal_type, fgrade_seq_num, hold_degree_expected,
                 deghold_cal_type, deghold_seq_num, hold_for_grade_chg,
                 special_instr, express_mail_type, express_mail_track_num,
                 ge_certification, external_comments, internal_comments,
                 dup_requested, dup_req_date, dup_sent_date,
                 enr_term_cal_type, enr_ci_sequence_number,
                 incl_attempted_hours, incl_class_rank,
                 incl_progresssion_status, incl_class_standing,
                 incl_cum_hours_earned, incl_gpa, incl_date_of_graduation,
                 incl_degree_dates, incl_degree_earned, incl_date_of_entry,
                 incl_drop_withdrawal_dates, incl_hrs_earned_for_curr_term,
                 incl_majors, incl_last_date_of_enrollment,
                 incl_professional_licensure, incl_college_affiliation,
                 incl_instruction_dates, incl_usec_dates,
                 incl_program_attempt, incl_attendence_type,
                 incl_last_term_enrolled, incl_ssn, incl_date_of_birth,
                 incl_disciplin_standing, incl_no_future_term,
                 incl_acurat_till_copmp_dt, incl_cant_rel_without_sign,
                 creation_date, created_by, last_update_date, last_updated_by, last_update_login,
                 request_id, program_id, program_application_id, program_update_date,
                 doc_fee_per_copy, delivery_fee, recip_email,
                 overridden_doc_delivery_fee, overridden_document_fee,
                 fee_overridden_by, fee_overridden_date, incl_department,
                 incl_field_of_stdy, incl_attend_mode, incl_yop_acad_prd,
                 incl_intrmsn_st_end, incl_hnrs_lvl, incl_awards,
                 incl_award_aim, incl_acad_sessions, incl_st_end_acad_ses,
                 incl_hesa_num, incl_location, incl_program_type,
                 incl_program_name, incl_prog_atmpt_stat,
                 incl_prog_atmpt_end, incl_prog_atmpt_strt,
                 incl_req_cmplete, incl_expected_compl_dt,
                 incl_conferral_dt, incl_thesis_title, incl_program_code,
                 incl_program_ver, incl_stud_no, incl_surname,
                 incl_fore_name, incl_prev_names, incl_initials,
                 doc_purpose_code, plan_id, produced_by,
                 person_id)
         VALUES (new_references.order_number, new_references.document_type, new_references.document_sub_type,
                 new_references.item_number, new_references.item_status, new_references.date_produced,
                 new_references.incl_curr_course, new_references.num_of_copies, new_references.comments,
                 new_references.recip_pers_name, new_references.recip_inst_name, new_references.recip_addr_line_1,
                 new_references.recip_addr_line_2, new_references.recip_addr_line_3, new_references.recip_addr_line_4,
                 new_references.recip_city, new_references.recip_postal_code, new_references.recip_state,
                 new_references.recip_province, new_references.recip_county, new_references.recip_country,
                 new_references.recip_fax_area_code, new_references.recip_fax_country_code,
                 new_references.recip_fax_number, new_references.delivery_method_type, new_references.programs_on_file,
                 new_references.missing_acad_record_data_ind, new_references.missing_academic_record_data,
                 new_references.send_transcript_immediately, new_references.hold_release_of_final_grades,
                 new_references.fgrade_cal_type, new_references.fgrade_seq_num, new_references.hold_degree_expected,
                 new_references.deghold_cal_type, new_references.deghold_seq_num, new_references.hold_for_grade_chg,
                 new_references.special_instr, new_references.express_mail_type, new_references.express_mail_track_num,
                 new_references.ge_certification, new_references.external_comments, new_references.internal_comments,
                 new_references.dup_requested, new_references.dup_req_date, new_references.dup_sent_date,
                 new_references.enr_term_cal_type, new_references.enr_ci_sequence_number,
                 new_references.incl_attempted_hours, new_references.incl_class_rank,
                 new_references.incl_progresssion_status, new_references.incl_class_standing,
                 new_references.incl_cum_hours_earned, new_references.incl_gpa, new_references.incl_date_of_graduation,
                 new_references.incl_degree_dates, new_references.incl_degree_earned, new_references.incl_date_of_entry,
                 new_references.incl_drop_withdrawal_dates, new_references.incl_hrs_earned_for_curr_term,
                 new_references.incl_majors, new_references.incl_last_date_of_enrollment,
                 new_references.incl_professional_licensure, new_references.incl_college_affiliation,
                 new_references.incl_instruction_dates, new_references.incl_usec_dates,
                 new_references.incl_program_attempt, new_references.incl_attendence_type,
                 new_references.incl_last_term_enrolled, new_references.incl_ssn, new_references.incl_date_of_birth,
                 new_references.incl_disciplin_standing, new_references.incl_no_future_term,
                 new_references.incl_acurat_till_copmp_dt, new_references.incl_cant_rel_without_sign,
                 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,
                 new_references.doc_fee_per_copy, new_references.delivery_fee, new_references.recip_email,
                 new_references.overridden_doc_delivery_fee, new_references.overridden_document_fee,
                 new_references.fee_overridden_by, new_references.fee_overridden_date, new_references.incl_department,
                 new_references.incl_field_of_stdy, new_references.incl_attend_mode, new_references.incl_yop_acad_prd,
                 new_references.incl_intrmsn_st_end, new_references.incl_hnrs_lvl, new_references.incl_awards,
                 new_references.incl_award_aim, new_references.incl_acad_sessions, new_references.incl_st_end_acad_ses,
                 new_references.incl_hesa_num, new_references.incl_location, new_references.incl_program_type,
                 new_references.incl_program_name, new_references.incl_prog_atmpt_stat,
                 new_references.incl_prog_atmpt_end, new_references.incl_prog_atmpt_strt,
                 new_references.incl_req_cmplete, new_references.incl_expected_compl_dt,
                 new_references.incl_conferral_dt, new_references.incl_thesis_title, new_references.incl_program_code,
                 new_references.incl_program_ver, new_references.incl_stud_no, new_references.incl_surname,
                 new_references.incl_fore_name, new_references.incl_prev_names, new_references.incl_initials,
                 new_references.doc_purpose_code, new_references.plan_id, new_references.produced_by,
                 new_references.person_id);
Line: 1355

    igs_as_ss_doc_request.update_order_fee (
      p_order_number                 => x_order_number,
      p_item_number                  => x_item_number,
      p_old_sub_doc_type             => NULL,
      p_old_deliv_type               => NULL,
      p_old_num_copies               => NULL,
      p_new_sub_doc_type             => x_document_sub_type,
      p_new_deliv_type               => x_delivery_method_type,
      p_new_num_copies               => x_num_of_copies,
      p_return_status                => x_return_status,
      p_msg_data                     => x_msg_data,
      p_msg_count                    => x_msg_count
    );
Line: 1397

      fnd_message.set_token ('NAME', 'Insert_Row : ' || SQLERRM);
Line: 1401

  END insert_row;
Line: 1534

      SELECT     order_number,
                 document_type,
                 document_sub_type,
                 item_status,
                 date_produced,
                 incl_curr_course,
                 num_of_copies,
                 comments,
                 recip_pers_name,
                 recip_inst_name,
                 recip_addr_line_1,
                 recip_addr_line_2,
                 recip_addr_line_3,
                 recip_addr_line_4,
                 recip_city,
                 recip_postal_code,
                 recip_state,
                 recip_province,
                 recip_county,
                 recip_country,
                 recip_fax_area_code,
                 recip_fax_country_code,
                 recip_fax_number,
                 delivery_method_type,
                 programs_on_file,
                 missing_acad_record_data_ind,
                 missing_academic_record_data,
                 send_transcript_immediately,
                 hold_release_of_final_grades,
                 fgrade_cal_type,
                 fgrade_seq_num,
                 hold_degree_expected,
                 deghold_cal_type,
                 deghold_seq_num,
                 hold_for_grade_chg,
                 special_instr,
                 express_mail_type,
                 express_mail_track_num,
                 ge_certification,
                 external_comments,
                 internal_comments,
                 dup_requested,
                 dup_req_date,
                 dup_sent_date,
                 enr_term_cal_type,
                 enr_ci_sequence_number,
                 incl_attempted_hours,
                 incl_class_rank,
                 incl_progresssion_status,
                 incl_class_standing,
                 incl_cum_hours_earned,
                 incl_gpa,
                 incl_date_of_graduation,
                 incl_degree_dates,
                 incl_degree_earned,
                 incl_date_of_entry,
                 incl_drop_withdrawal_dates,
                 incl_hrs_earned_for_curr_term,
                 incl_majors,
                 incl_last_date_of_enrollment,
                 incl_professional_licensure,
                 incl_college_affiliation,
                 incl_instruction_dates,
                 incl_usec_dates,
                 incl_program_attempt,
                 incl_attendence_type,
                 incl_last_term_enrolled,
                 incl_ssn,
                 incl_date_of_birth,
                 incl_disciplin_standing,
                 incl_no_future_term,
                 incl_acurat_till_copmp_dt,
                 incl_cant_rel_without_sign,
                 doc_fee_per_copy,
                 delivery_fee,
                 recip_email,
                 overridden_doc_delivery_fee,
                 overridden_document_fee,
                 fee_overridden_by,
                 fee_overridden_date,
                 incl_department,
                 incl_field_of_stdy,
                 incl_attend_mode,
                 incl_yop_acad_prd,
                 incl_intrmsn_st_end,
                 incl_hnrs_lvl,
                 incl_awards,
                 incl_award_aim,
                 incl_acad_sessions,
                 incl_st_end_acad_ses,
                 incl_hesa_num,
                 incl_location,
                 incl_program_type,
                 incl_program_name,
                 incl_prog_atmpt_stat,
                 incl_prog_atmpt_end,
                 incl_prog_atmpt_strt,
                 incl_req_cmplete,
                 incl_expected_compl_dt,
                 incl_conferral_dt,
                 incl_thesis_title,
                 incl_program_code,
                 incl_program_ver,
                 incl_stud_no,
                 incl_surname,
                 incl_fore_name,
                 incl_prev_names,
                 incl_initials,
                 doc_purpose_code,
                 plan_id,
                 produced_by,
                 person_id
      FROM       igs_as_doc_details
      WHERE      ROWID = x_rowid
      FOR UPDATE NOWAIT;
Line: 1655

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

      fnd_message.set_token ('NAME', 'Insert_Row : ' || SQLERRM);
Line: 2225

  PROCEDURE update_row (
    x_rowid                        IN     VARCHAR2,
    x_order_number                 IN     NUMBER,
    x_document_type                IN     VARCHAR2,
    x_document_sub_type            IN     VARCHAR2,
    x_item_number                  IN     NUMBER,
    x_item_status                  IN     VARCHAR2,
    x_date_produced                IN     DATE,
    x_incl_curr_course             IN     VARCHAR2,
    x_num_of_copies                IN     NUMBER,
    x_comments                     IN     VARCHAR2,
    x_recip_pers_name              IN     VARCHAR2,
    x_recip_inst_name              IN     VARCHAR2,
    x_recip_addr_line_1            IN     VARCHAR2,
    x_recip_addr_line_2            IN     VARCHAR2,
    x_recip_addr_line_3            IN     VARCHAR2,
    x_recip_addr_line_4            IN     VARCHAR2,
    x_recip_city                   IN     VARCHAR2,
    x_recip_postal_code            IN     VARCHAR2,
    x_recip_state                  IN     VARCHAR2,
    x_recip_province               IN     VARCHAR2,
    x_recip_county                 IN     VARCHAR2,
    x_recip_country                IN     VARCHAR2,
    x_recip_fax_area_code          IN     VARCHAR2,
    x_recip_fax_country_code       IN     VARCHAR2,
    x_recip_fax_number             IN     VARCHAR2,
    x_delivery_method_type         IN     VARCHAR2,
    x_programs_on_file             IN     VARCHAR2,
    x_missing_acad_record_data_ind IN     VARCHAR2,
    x_missing_academic_record_data IN     VARCHAR2,
    x_send_transcript_immediately  IN     VARCHAR2,
    x_hold_release_of_final_grades IN     VARCHAR2,
    x_fgrade_cal_type              IN     VARCHAR2,
    x_fgrade_seq_num               IN     NUMBER,
    x_hold_degree_expected         IN     VARCHAR2,
    x_deghold_cal_type             IN     VARCHAR2,
    x_deghold_seq_num              IN     NUMBER,
    x_hold_for_grade_chg           IN     VARCHAR2,
    x_special_instr                IN     VARCHAR2,
    x_express_mail_type            IN     VARCHAR2,
    x_express_mail_track_num       IN     VARCHAR2,
    x_ge_certification             IN     VARCHAR2,
    x_external_comments            IN     VARCHAR2,
    x_internal_comments            IN     VARCHAR2,
    x_dup_requested                IN     VARCHAR2,
    x_dup_req_date                 IN     DATE,
    x_dup_sent_date                IN     DATE,
    x_enr_term_cal_type            IN     VARCHAR2,
    x_enr_ci_sequence_number       IN     NUMBER,
    x_incl_attempted_hours         IN     VARCHAR2,
    x_incl_class_rank              IN     VARCHAR2,
    x_incl_progresssion_status     IN     VARCHAR2,
    x_incl_class_standing          IN     VARCHAR2,
    x_incl_cum_hours_earned        IN     VARCHAR2,
    x_incl_gpa                     IN     VARCHAR2,
    x_incl_date_of_graduation      IN     VARCHAR2,
    x_incl_degree_dates            IN     VARCHAR2,
    x_incl_degree_earned           IN     VARCHAR2,
    x_incl_date_of_entry           IN     VARCHAR2,
    x_incl_drop_withdrawal_dates   IN     VARCHAR2,
    x_incl_hrs_for_curr_term       IN     VARCHAR2,
    x_incl_majors                  IN     VARCHAR2,
    x_incl_last_date_of_enrollment IN     VARCHAR2,
    x_incl_professional_licensure  IN     VARCHAR2,
    x_incl_college_affiliation     IN     VARCHAR2,
    x_incl_instruction_dates       IN     VARCHAR2,
    x_incl_usec_dates              IN     VARCHAR2,
    x_incl_program_attempt         IN     VARCHAR2,
    x_incl_attendence_type         IN     VARCHAR2,
    x_incl_last_term_enrolled      IN     VARCHAR2,
    x_incl_ssn                     IN     VARCHAR2,
    x_incl_date_of_birth           IN     VARCHAR2,
    x_incl_disciplin_standing      IN     VARCHAR2,
    x_incl_no_future_term          IN     VARCHAR2,
    x_incl_acurat_till_copmp_dt    IN     VARCHAR2,
    x_incl_cant_rel_without_sign   IN     VARCHAR2,
    x_mode                         IN     VARCHAR2,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER,
    x_doc_fee_per_copy             IN     NUMBER,
    x_delivery_fee                 IN     NUMBER,
    x_recip_email                  IN     VARCHAR2,
    x_overridden_doc_delivery_fee  IN     NUMBER,
    x_overridden_document_fee      IN     NUMBER,
    x_fee_overridden_by            IN     NUMBER,
    x_fee_overridden_date          IN     DATE,
    x_incl_department              IN     VARCHAR2,
    x_incl_field_of_stdy           IN     VARCHAR2,
    x_incl_attend_mode             IN     VARCHAR2,
    x_incl_yop_acad_prd            IN     VARCHAR2,
    x_incl_intrmsn_st_end          IN     VARCHAR2,
    x_incl_hnrs_lvl                IN     VARCHAR2,
    x_incl_awards                  IN     VARCHAR2,
    x_incl_award_aim               IN     VARCHAR2,
    x_incl_acad_sessions           IN     VARCHAR2,
    x_incl_st_end_acad_ses         IN     VARCHAR2,
    x_incl_hesa_num                IN     VARCHAR2,
    x_incl_location                IN     VARCHAR2,
    x_incl_program_type            IN     VARCHAR2,
    x_incl_program_name            IN     VARCHAR2,
    x_incl_prog_atmpt_stat         IN     VARCHAR2,
    x_incl_prog_atmpt_end          IN     VARCHAR2,
    x_incl_prog_atmpt_strt         IN     VARCHAR2,
    x_incl_req_cmplete             IN     VARCHAR2,
    x_incl_expected_compl_dt       IN     VARCHAR2,
    x_incl_conferral_dt            IN     VARCHAR2,
    x_incl_thesis_title            IN     VARCHAR2,
    x_incl_program_code            IN     VARCHAR2,
    x_incl_program_ver             IN     VARCHAR2,
    x_incl_stud_no                 IN     VARCHAR2,
    x_incl_surname                 IN     VARCHAR2,
    x_incl_fore_name               IN     VARCHAR2,
    x_incl_prev_names              IN     VARCHAR2,
    x_incl_initials                IN     VARCHAR2,
    x_doc_purpose_code             IN     VARCHAR2,
    x_plan_id                      IN     NUMBER,
    x_produced_by                  IN     NUMBER,
    x_person_id                    IN     NUMBER
  ) AS
    /*
    ||  Created By : manu.srinivasan
    ||  Created On : 28-JAN-2002
    ||  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)
    */
    x_last_update_date       DATE;
Line: 2355

    x_last_updated_by        NUMBER;
Line: 2356

    x_last_update_login      NUMBER;
Line: 2360

    x_program_update_date    DATE;
Line: 2363

    x_last_update_date := SYSDATE;
Line: 2365

      x_last_updated_by := 1;
Line: 2366

      x_last_update_login := 0;
Line: 2368

      x_last_updated_by := fnd_global.user_id;
Line: 2369

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

      x_last_update_login := fnd_global.login_id;
Line: 2373

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

      p_action                       => 'UPDATE',
      x_rowid                        => x_rowid,
      x_order_number                 => x_order_number,
      x_document_type                => x_document_type,
      x_document_sub_type            => x_document_sub_type,
      x_item_number                  => x_item_number,
      x_item_status                  => x_item_status,
      x_date_produced                => x_date_produced,
      x_incl_curr_course             => x_incl_curr_course,
      x_num_of_copies                => x_num_of_copies,
      x_comments                     => x_comments,
      x_recip_pers_name              => x_recip_pers_name,
      x_recip_inst_name              => x_recip_inst_name,
      x_recip_addr_line_1            => x_recip_addr_line_1,
      x_recip_addr_line_2            => x_recip_addr_line_2,
      x_recip_addr_line_3            => x_recip_addr_line_3,
      x_recip_addr_line_4            => x_recip_addr_line_4,
      x_recip_city                   => x_recip_city,
      x_recip_postal_code            => x_recip_postal_code,
      x_recip_state                  => x_recip_state,
      x_recip_province               => x_recip_province,
      x_recip_county                 => x_recip_county,
      x_recip_country                => x_recip_country,
      x_recip_fax_area_code          => x_recip_fax_area_code,
      x_recip_fax_country_code       => x_recip_fax_country_code,
      x_recip_fax_number             => x_recip_fax_number,
      x_delivery_method_type         => x_delivery_method_type,
      x_programs_on_file             => x_programs_on_file,
      x_missing_acad_record_data_ind => x_missing_acad_record_data_ind,
      x_missing_academic_record_data => x_missing_academic_record_data,
      x_send_transcript_immediately  => x_send_transcript_immediately,
      x_hold_release_of_final_grades => x_hold_release_of_final_grades,
      x_fgrade_cal_type              => x_fgrade_cal_type,
      x_fgrade_seq_num               => x_fgrade_seq_num,
      x_hold_degree_expected         => x_hold_degree_expected,
      x_deghold_cal_type             => x_deghold_cal_type,
      x_deghold_seq_num              => x_deghold_seq_num,
      x_hold_for_grade_chg           => x_hold_for_grade_chg,
      x_special_instr                => x_special_instr,
      x_express_mail_type            => x_express_mail_type,
      x_express_mail_track_num       => x_express_mail_track_num,
      x_ge_certification             => x_ge_certification,
      x_external_comments            => x_external_comments,
      x_internal_comments            => x_internal_comments,
      x_dup_requested                => x_dup_requested,
      x_dup_req_date                 => x_dup_req_date,
      x_dup_sent_date                => x_dup_sent_date,
      x_enr_term_cal_type            => x_enr_term_cal_type,
      x_enr_ci_sequence_number       => x_enr_ci_sequence_number,
      x_incl_attempted_hours         => x_incl_attempted_hours,
      x_incl_class_rank              => x_incl_class_rank,
      x_incl_progresssion_status     => x_incl_progresssion_status,
      x_incl_class_standing          => x_incl_class_standing,
      x_incl_cum_hours_earned        => x_incl_cum_hours_earned,
      x_incl_gpa                     => x_incl_gpa,
      x_incl_date_of_graduation      => x_incl_date_of_graduation,
      x_incl_degree_dates            => x_incl_degree_dates,
      x_incl_degree_earned           => x_incl_degree_earned,
      x_incl_date_of_entry           => x_incl_date_of_entry,
      x_incl_drop_withdrawal_dates   => x_incl_drop_withdrawal_dates,
      x_incl_hrs_for_curr_term       => x_incl_hrs_for_curr_term,
      x_incl_majors                  => x_incl_majors,
      x_incl_last_date_of_enrollment => x_incl_last_date_of_enrollment,
      x_incl_professional_licensure  => x_incl_professional_licensure,
      x_incl_college_affiliation     => x_incl_college_affiliation,
      x_incl_instruction_dates       => x_incl_instruction_dates,
      x_incl_usec_dates              => x_incl_usec_dates,
      x_incl_program_attempt         => x_incl_program_attempt,
      x_incl_attendence_type         => x_incl_attendence_type,
      x_incl_last_term_enrolled      => x_incl_last_term_enrolled,
      x_incl_ssn                     => x_incl_ssn,
      x_incl_date_of_birth           => x_incl_date_of_birth,
      x_incl_disciplin_standing      => x_incl_disciplin_standing,
      x_incl_no_future_term          => x_incl_no_future_term,
      x_incl_acurat_till_copmp_dt    => x_incl_acurat_till_copmp_dt,
      x_incl_cant_rel_without_sign   => x_incl_cant_rel_without_sign,
      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_doc_fee_per_copy             => x_doc_fee_per_copy,
      x_delivery_fee                 => x_delivery_fee,
      x_recip_email                  => x_recip_email,
      x_overridden_doc_delivery_fee  => x_overridden_doc_delivery_fee,
      x_overridden_document_fee      => x_overridden_document_fee,
      x_fee_overridden_by            => x_fee_overridden_by,
      x_fee_overridden_date          => x_fee_overridden_date,
      x_incl_department              => x_incl_department,
      x_incl_field_of_stdy           => x_incl_field_of_stdy,
      x_incl_attend_mode             => x_incl_attend_mode,
      x_incl_yop_acad_prd            => x_incl_yop_acad_prd,
      x_incl_intrmsn_st_end          => x_incl_intrmsn_st_end,
      x_incl_hnrs_lvl                => x_incl_hnrs_lvl,
      x_incl_awards                  => x_incl_awards,
      x_incl_award_aim               => x_incl_award_aim,
      x_incl_acad_sessions           => x_incl_acad_sessions,
      x_incl_st_end_acad_ses         => x_incl_st_end_acad_ses,
      x_incl_hesa_num                => x_incl_hesa_num,
      x_incl_location                => x_incl_location,
      x_incl_program_type            => x_incl_program_type,
      x_incl_program_name            => x_incl_program_name,
      x_incl_prog_atmpt_stat         => x_incl_prog_atmpt_stat,
      x_incl_prog_atmpt_end          => x_incl_prog_atmpt_end,
      x_incl_prog_atmpt_strt         => x_incl_prog_atmpt_strt,
      x_incl_req_cmplete             => x_incl_req_cmplete,
      x_incl_expected_compl_dt       => x_incl_expected_compl_dt,
      x_incl_conferral_dt            => x_incl_conferral_dt,
      x_incl_thesis_title            => x_incl_thesis_title,
      x_incl_program_code            => x_incl_program_code,
      x_incl_program_ver             => x_incl_program_ver,
      x_incl_stud_no                 => x_incl_stud_no,
      x_incl_surname                 => x_incl_surname,
      x_incl_fore_name               => x_incl_fore_name,
      x_incl_prev_names              => x_incl_prev_names,
      x_incl_initials                => x_incl_initials,
      x_doc_purpose_code             => x_doc_purpose_code,
      x_plan_id                      => x_plan_id,
      x_produced_by                  => x_produced_by,
      x_person_id                    => x_person_id
    );
Line: 2511

        x_program_update_date := old_references.program_update_date;
Line: 2513

        x_program_update_date := SYSDATE;
Line: 2516

    UPDATE igs_as_doc_details
       SET order_number = new_references.order_number,
           document_type = new_references.document_type,
           document_sub_type = new_references.document_sub_type,
           item_status = new_references.item_status,
           date_produced = new_references.date_produced,
           incl_curr_course = new_references.incl_curr_course,
           num_of_copies = new_references.num_of_copies,
           comments = new_references.comments,
           recip_pers_name = new_references.recip_pers_name,
           recip_inst_name = new_references.recip_inst_name,
           recip_addr_line_1 = new_references.recip_addr_line_1,
           recip_addr_line_2 = new_references.recip_addr_line_2,
           recip_addr_line_3 = new_references.recip_addr_line_3,
           recip_addr_line_4 = new_references.recip_addr_line_4,
           recip_city = new_references.recip_city,
           recip_postal_code = new_references.recip_postal_code,
           recip_state = new_references.recip_state,
           recip_province = new_references.recip_province,
           recip_county = new_references.recip_county,
           recip_country = new_references.recip_country,
           recip_fax_area_code = new_references.recip_fax_area_code,
           recip_fax_country_code = new_references.recip_fax_country_code,
           recip_fax_number = new_references.recip_fax_number,
           delivery_method_type = new_references.delivery_method_type,
           programs_on_file = new_references.programs_on_file,
           missing_acad_record_data_ind = new_references.missing_acad_record_data_ind,
           missing_academic_record_data = new_references.missing_academic_record_data,
           send_transcript_immediately = new_references.send_transcript_immediately,
           hold_release_of_final_grades = new_references.hold_release_of_final_grades,
           fgrade_cal_type = new_references.fgrade_cal_type,
           fgrade_seq_num = new_references.fgrade_seq_num,
           hold_degree_expected = new_references.hold_degree_expected,
           deghold_cal_type = new_references.deghold_cal_type,
           deghold_seq_num = new_references.deghold_seq_num,
           hold_for_grade_chg = new_references.hold_for_grade_chg,
           special_instr = new_references.special_instr,
           express_mail_type = new_references.express_mail_type,
           express_mail_track_num = new_references.express_mail_track_num,
           ge_certification = new_references.ge_certification,
           external_comments = new_references.external_comments,
           internal_comments = new_references.internal_comments,
           dup_requested = new_references.dup_requested,
           dup_req_date = new_references.dup_req_date,
           dup_sent_date = new_references.dup_sent_date,
           enr_term_cal_type = new_references.enr_term_cal_type,
           enr_ci_sequence_number = new_references.enr_ci_sequence_number,
           incl_attempted_hours = new_references.incl_attempted_hours,
           incl_class_rank = new_references.incl_class_rank,
           incl_progresssion_status = new_references.incl_progresssion_status,
           incl_class_standing = new_references.incl_class_standing,
           incl_cum_hours_earned = new_references.incl_cum_hours_earned,
           incl_gpa = new_references.incl_gpa,
           incl_date_of_graduation = new_references.incl_date_of_graduation,
           incl_degree_dates = new_references.incl_degree_dates,
           incl_degree_earned = new_references.incl_degree_earned,
           incl_date_of_entry = new_references.incl_date_of_entry,
           incl_drop_withdrawal_dates = new_references.incl_drop_withdrawal_dates,
           incl_hrs_earned_for_curr_term = new_references.incl_hrs_earned_for_curr_term,
           incl_majors = new_references.incl_majors,
           incl_last_date_of_enrollment = new_references.incl_last_date_of_enrollment,
           incl_professional_licensure = new_references.incl_professional_licensure,
           incl_college_affiliation = new_references.incl_college_affiliation,
           incl_instruction_dates = new_references.incl_instruction_dates,
           incl_usec_dates = new_references.incl_usec_dates,
           incl_program_attempt = new_references.incl_program_attempt,
           incl_attendence_type = new_references.incl_attendence_type,
           incl_last_term_enrolled = new_references.incl_last_term_enrolled,
           incl_ssn = new_references.incl_ssn,
           incl_date_of_birth = new_references.incl_date_of_birth,
           incl_disciplin_standing = new_references.incl_disciplin_standing,
           incl_no_future_term = new_references.incl_no_future_term,
           incl_acurat_till_copmp_dt = new_references.incl_acurat_till_copmp_dt,
           incl_cant_rel_without_sign = new_references.incl_cant_rel_without_sign,
           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,
           doc_fee_per_copy = new_references.doc_fee_per_copy,
           delivery_fee = new_references.delivery_fee,
           recip_email = new_references.recip_email,
           overridden_doc_delivery_fee = new_references.overridden_doc_delivery_fee,
           overridden_document_fee = new_references.overridden_document_fee,
           fee_overridden_by = new_references.fee_overridden_by,
           fee_overridden_date = new_references.fee_overridden_date,
           incl_department = new_references.incl_department,
           incl_field_of_stdy = new_references.incl_field_of_stdy,
           incl_attend_mode = new_references.incl_attend_mode,
           incl_yop_acad_prd = new_references.incl_yop_acad_prd,
           incl_intrmsn_st_end = new_references.incl_intrmsn_st_end,
           incl_hnrs_lvl = new_references.incl_hnrs_lvl,
           incl_awards = new_references.incl_awards,
           incl_award_aim = new_references.incl_award_aim,
           incl_acad_sessions = new_references.incl_acad_sessions,
           incl_st_end_acad_ses = new_references.incl_st_end_acad_ses,
           incl_hesa_num = new_references.incl_hesa_num,
           incl_location = new_references.incl_location,
           incl_program_type = new_references.incl_program_type,
           incl_program_name = new_references.incl_program_name,
           incl_prog_atmpt_stat = new_references.incl_prog_atmpt_stat,
           incl_prog_atmpt_end = new_references.incl_prog_atmpt_end,
           incl_prog_atmpt_strt = new_references.incl_prog_atmpt_strt,
           incl_req_cmplete = new_references.incl_req_cmplete,
           incl_expected_compl_dt = new_references.incl_expected_compl_dt,
           incl_conferral_dt = new_references.incl_conferral_dt,
           incl_thesis_title = new_references.incl_thesis_title,
           incl_program_code = new_references.incl_program_code,
           incl_program_ver = new_references.incl_program_ver,
           incl_stud_no = new_references.incl_stud_no,
           incl_surname = new_references.incl_surname,
           incl_fore_name = new_references.incl_fore_name,
           incl_prev_names = new_references.incl_prev_names,
           incl_initials = new_references.incl_initials,
           doc_purpose_code = new_references.doc_purpose_code,
           plan_id = new_references.plan_id,
           produced_by = new_references.produced_by,
           person_id = new_references.person_id
     WHERE ROWID = x_rowid;
Line: 2641

      update_fees_of_remaining_items (
        x_person_id                    => old_references.person_id,
        x_document_type                => old_references.document_type,
        x_document_sub_type            => old_references.document_sub_type
      );
Line: 2657

          SELECT lkup.meaning
          FROM   igs_lookups_view lkup
          WHERE  lkup.lookup_type = 'IGS_AS_DOCUMENT_TYPE'
          AND    lkup.lookup_code = cp_document_type;
Line: 2662

          SELECT lkup.meaning
          FROM   igs_lookups_view lkup
          WHERE  lkup.lookup_type = 'IGS_AS_DOCUMENT_SUB_TYPE'
          AND    lkup.lookup_code = cp_document_sub_type;
Line: 2667

          SELECT description
          FROM   igs_as_doc_dlvy_typ
          WHERE  delivery_method_type = cp_delivery_method_type;
Line: 2696

    igs_as_ss_doc_request.update_order_fee (
      p_order_number                 => x_order_number,
      p_item_number                  => x_item_number,
      p_old_sub_doc_type             => old_references.document_sub_type,
      p_old_deliv_type               => old_references.delivery_method_type,
      p_old_num_copies               => old_references.num_of_copies,
      p_new_sub_doc_type             => x_document_sub_type,
      p_new_deliv_type               => x_delivery_method_type,
      p_new_num_copies               => x_num_of_copies,
      p_return_status                => x_return_status,
      p_msg_data                     => x_msg_data,
      p_msg_count                    => x_msg_count
    );
Line: 2731

            SELECT administrator_id
            FROM   igs_as_docproc_stup;
Line: 2734

            SELECT party_number,
                   party_name
            FROM   hz_parties
            WHERE  party_id = cp_party_id;
Line: 2767

        CURSOR cur_hist_update_needed (cp_order_number IN NUMBER, cp_item_number IN NUMBER) IS
          SELECT dd.ROWID,
                 dd.*
          FROM   igs_as_dup_docs dd
          WHERE  dd.order_number = cp_order_number
          AND    dd.item_number = cp_item_number
          AND    dd.fulfilled_by IS NULL;
Line: 2775

        FOR rec_hist_update_needed IN cur_hist_update_needed (new_references.order_number, new_references.item_number) LOOP
          igs_as_dup_docs_pkg.update_row (
            x_rowid                        => rec_hist_update_needed.ROWID,
            x_order_number                 => rec_hist_update_needed.order_number,
            x_item_number                  => rec_hist_update_needed.item_number,
            x_requested_by                 => rec_hist_update_needed.requested_by,
            x_requested_date               => rec_hist_update_needed.requested_date,
            x_fulfilled_by                 => new_references.produced_by,
            x_fulfilled_date               => new_references.date_produced,
            x_return_status                => x_return_status,
            x_msg_data                     => x_msg_data,
            x_msg_count                    => x_msg_count
          );
Line: 2807

      fnd_message.set_token ('NAME', 'Insert_Row : ' || SQLERRM);
Line: 2811

  END update_row;
Line: 2935

    ||  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)
    */
    CURSOR c1 IS
      SELECT ROWID
      FROM   igs_as_doc_details
      WHERE  item_number = x_item_number;
Line: 2953

      insert_row (
        x_rowid,
        x_order_number,
        x_document_type,
        x_document_sub_type,
        x_item_number,
        x_item_status,
        x_date_produced,
        x_incl_curr_course,
        x_num_of_copies,
        x_comments,
        x_recip_pers_name,
        x_recip_inst_name,
        x_recip_addr_line_1,
        x_recip_addr_line_2,
        x_recip_addr_line_3,
        x_recip_addr_line_4,
        x_recip_city,
        x_recip_postal_code,
        x_recip_state,
        x_recip_province,
        x_recip_county,
        x_recip_country,
        x_recip_fax_area_code,
        x_recip_fax_country_code,
        x_recip_fax_number,
        x_delivery_method_type,
        x_programs_on_file,
        x_missing_acad_record_data_ind,
        x_missing_academic_record_data,
        x_send_transcript_immediately,
        x_hold_release_of_final_grades,
        x_fgrade_cal_type,
        x_fgrade_seq_num,
        x_hold_degree_expected,
        x_deghold_cal_type,
        x_deghold_seq_num,
        x_hold_for_grade_chg,
        x_special_instr,
        x_express_mail_type,
        x_express_mail_track_num,
        x_ge_certification,
        x_external_comments,
        x_internal_comments,
        x_dup_requested,
        x_dup_req_date,
        x_dup_sent_date,
        x_enr_term_cal_type,
        x_enr_ci_sequence_number,
        x_incl_attempted_hours,
        x_incl_class_rank,
        x_incl_progresssion_status,
        x_incl_class_standing,
        x_incl_cum_hours_earned,
        x_incl_gpa,
        x_incl_date_of_graduation,
        x_incl_degree_dates,
        x_incl_degree_earned,
        x_incl_date_of_entry,
        x_incl_drop_withdrawal_dates,
        x_incl_hrs_for_curr_term,
        x_incl_majors,
        x_incl_last_date_of_enrollment,
        x_incl_professional_licensure,
        x_incl_college_affiliation,
        x_incl_instruction_dates,
        x_incl_usec_dates,
        x_incl_program_attempt,
        x_incl_attendence_type,
        x_incl_last_term_enrolled,
        x_incl_ssn,
        x_incl_date_of_birth,
        x_incl_disciplin_standing,
        x_incl_no_future_term,
        x_incl_acurat_till_copmp_dt,
        x_incl_cant_rel_without_sign,
        x_mode,
        l_return_status,
        l_msg_data,
        l_msg_count,
        x_doc_fee_per_copy,
        x_delivery_fee,
        x_recip_email,
        x_overridden_doc_delivery_fee,
        x_overridden_document_fee,
        x_fee_overridden_by,
        x_fee_overridden_date,
        x_incl_department,
        x_incl_field_of_stdy,
        x_incl_attend_mode,
        x_incl_yop_acad_prd,
        x_incl_intrmsn_st_end,
        x_incl_hnrs_lvl,
        x_incl_awards,
        x_incl_award_aim,
        x_incl_acad_sessions,
        x_incl_st_end_acad_ses,
        x_incl_hesa_num,
        x_incl_location,
        x_incl_program_type,
        x_incl_program_name,
        x_incl_prog_atmpt_stat,
        x_incl_prog_atmpt_end,
        x_incl_prog_atmpt_strt,
        x_incl_req_cmplete,
        x_incl_expected_compl_dt,
        x_incl_conferral_dt,
        x_incl_thesis_title,
        x_incl_program_code,
        x_incl_program_ver,
        x_incl_stud_no,
        x_incl_surname,
        x_incl_fore_name,
        x_incl_prev_names,
        x_incl_initials,
        x_doc_purpose_code,
        x_plan_id,
        x_produced_by,
        x_person_id
      );
Line: 3076

    update_row (
      x_rowid,
      x_order_number,
      x_document_type,
      x_document_sub_type,
      x_item_number,
      x_item_status,
      x_date_produced,
      x_incl_curr_course,
      x_num_of_copies,
      x_comments,
      x_recip_pers_name,
      x_recip_inst_name,
      x_recip_addr_line_1,
      x_recip_addr_line_2,
      x_recip_addr_line_3,
      x_recip_addr_line_4,
      x_recip_city,
      x_recip_postal_code,
      x_recip_state,
      x_recip_province,
      x_recip_county,
      x_recip_country,
      x_recip_fax_area_code,
      x_recip_fax_country_code,
      x_recip_fax_number,
      x_delivery_method_type,
      x_programs_on_file,
      x_missing_acad_record_data_ind,
      x_missing_academic_record_data,
      x_send_transcript_immediately,
      x_hold_release_of_final_grades,
      x_fgrade_cal_type,
      x_fgrade_seq_num,
      x_hold_degree_expected,
      x_deghold_cal_type,
      x_deghold_seq_num,
      x_hold_for_grade_chg,
      x_special_instr,
      x_express_mail_type,
      x_express_mail_track_num,
      x_ge_certification,
      x_external_comments,
      x_internal_comments,
      x_dup_requested,
      x_dup_req_date,
      x_dup_sent_date,
      x_enr_term_cal_type,
      x_enr_ci_sequence_number,
      x_incl_attempted_hours,
      x_incl_class_rank,
      x_incl_progresssion_status,
      x_incl_class_standing,
      x_incl_cum_hours_earned,
      x_incl_gpa,
      x_incl_date_of_graduation,
      x_incl_degree_dates,
      x_incl_degree_earned,
      x_incl_date_of_entry,
      x_incl_drop_withdrawal_dates,
      x_incl_hrs_for_curr_term,
      x_incl_majors,
      x_incl_last_date_of_enrollment,
      x_incl_professional_licensure,
      x_incl_college_affiliation,
      x_incl_instruction_dates,
      x_incl_usec_dates,
      x_incl_program_attempt,
      x_incl_attendence_type,
      x_incl_last_term_enrolled,
      x_incl_ssn,
      x_incl_date_of_birth,
      x_incl_disciplin_standing,
      x_incl_no_future_term,
      x_incl_acurat_till_copmp_dt,
      x_incl_cant_rel_without_sign,
      x_mode,
      l_return_status,
      l_msg_data,
      l_msg_count,
      x_doc_fee_per_copy,
      x_delivery_fee,
      x_recip_email,
      x_overridden_doc_delivery_fee,
      x_overridden_document_fee,
      x_fee_overridden_by,
      x_fee_overridden_date,
      x_incl_department,
      x_incl_field_of_stdy,
      x_incl_attend_mode,
      x_incl_yop_acad_prd,
      x_incl_intrmsn_st_end,
      x_incl_hnrs_lvl,
      x_incl_awards,
      x_incl_award_aim,
      x_incl_acad_sessions,
      x_incl_st_end_acad_ses,
      x_incl_hesa_num,
      x_incl_location,
      x_incl_program_type,
      x_incl_program_name,
      x_incl_prog_atmpt_stat,
      x_incl_prog_atmpt_end,
      x_incl_prog_atmpt_strt,
      x_incl_req_cmplete,
      x_incl_expected_compl_dt,
      x_incl_conferral_dt,
      x_incl_thesis_title,
      x_incl_program_code,
      x_incl_program_ver,
      x_incl_stud_no,
      x_incl_surname,
      x_incl_fore_name,
      x_incl_prev_names,
      x_incl_initials,
      x_doc_purpose_code,
      x_plan_id,
      x_produced_by,
      x_person_id
    );
Line: 3200

  PROCEDURE delete_row (
    x_rowid                        IN     VARCHAR2,
    x_return_status                OUT NOCOPY VARCHAR2,
    x_msg_data                     OUT NOCOPY VARCHAR2,
    x_msg_count                    OUT NOCOPY NUMBER
  ) AS
    /*
    ||  Created By : manu.srinivasan
    ||  Created On : 28-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)
    */
    CURSOR c_items_for_this_order (
      p_order_number                        igs_as_doc_details.order_number%TYPE,
      p_item_number                         igs_as_doc_details.item_number%TYPE
    ) IS
      SELECT a.*,
             a.ROWID
      FROM   igs_as_doc_details a
      WHERE  order_number = p_order_number
      AND    item_number <> p_item_number;
Line: 3227

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

    DELETE FROM igs_as_doc_details
          WHERE ROWID = x_rowid;
Line: 3241

    update_fees_of_remaining_items (
      x_person_id                    => old_references.person_id,
      x_document_type                => old_references.document_type,
      x_document_sub_type            => old_references.document_sub_type
    );
Line: 3247

    igs_as_ss_doc_request.update_order_fee (
      p_order_number                 => old_references.order_number,
      p_item_number                  => old_references.item_number,
      p_old_sub_doc_type             => old_references.document_sub_type,
      p_old_deliv_type               => old_references.delivery_method_type,
      p_old_num_copies               => old_references.num_of_copies,
      p_new_sub_doc_type             => NULL,
      p_new_deliv_type               => NULL,
      p_new_num_copies               => NULL,
      p_return_status                => x_return_status,
      p_msg_data                     => x_msg_data,
      p_msg_count                    => x_msg_count
    );
Line: 3291

      fnd_message.set_token ('NAME', 'Insert_Row : ' || SQLERRM);
Line: 3295

  END delete_row;