DBA Data[Home] [Help]

APPS.IGS_AD_SS_APPL_TYP_PKG SQL Statements

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

Line: 24

    x_last_update_date                  IN     DATE,
    x_last_updated_by                   IN     NUMBER,
    x_last_update_login                 IN     NUMBER,
    x_system_default                    IN     VARCHAR2,
    x_enroll_deposit_amount             IN     NUMBER,
    x_enroll_deposit_level              IN     VARCHAR2,
    x_use_in_appl_self_srvc             IN     VARCHAR2,
    x_crt_rev_instr                     IN     VARCHAR2,
    x_submit_instr                      IN     VARCHAR2,
    x_submit_err_instr                  IN     VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 10-DEC-2001
  ||  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_ad_ss_appl_typ
      WHERE    rowid = x_rowid;
Line: 58

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

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

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

    new_references.last_update_date                  := x_last_update_date;
Line: 92

    new_references.last_updated_by                   := x_last_updated_by;
Line: 93

    new_references.last_update_login                 := x_last_update_login;
Line: 122

	     Fnd_Message.Set_Name ('FND', 'FORM_RECORD_DELETED');
Line: 189

      SELECT   rowid
      FROM     igs_ad_ss_appl_typ
      WHERE    UPPER(admission_application_type) = UPPER(x_admission_application_type) AND
               closed_ind = NVL(x_closed_ind,closed_ind);
Line: 218

  Purpose :checks for the presence of child record when parent record is deleted
  Know limitations, enhancements or remarks
  Change History
  Who             When            What
  (reverse chronological order - newest change first)
  ***************************************************************/
    CURSOR cur_rowid IS
      SELECT   rowid
      FROM     igs_ad_ss_appl_typ
      WHERE    admission_cat = x_admission_cat
      AND      s_admission_process_type = x_s_admission_process_type ;
Line: 290

    x_last_update_date                  IN     DATE,
    x_last_updated_by                   IN     NUMBER,
    x_last_update_login                 IN     NUMBER,
    x_system_default			IN     VARCHAR2,
    x_enroll_deposit_amount             IN     NUMBER,
    x_enroll_deposit_level              IN     VARCHAR2,
    x_use_in_appl_self_srvc             IN     VARCHAR2,
    x_crt_rev_instr                     IN     VARCHAR2,
    x_submit_instr                      IN     VARCHAR2,
    x_submit_err_instr                  IN     VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 10-DEC-2001
  ||  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
  ||  rghosh         04-oct-2002      added the PROCEDURE GET_FK_IGS_AD_PRCS_CAT
  ||                                  and added the column system default for
  ||                                  Bug # 2599457
  ||  rghosh         17-oct-2002      added the columns enroll_deposit_amount and
  ||                                  enroll_deposit_level columns for Bug
  ||                                  #2602077
  ||  (reverse chronological order - newest change first)
  */
  BEGIN

    set_column_values (
      p_action,
      x_rowid,
      x_admission_application_type,
      x_description,
      x_admission_cat,
      x_s_admission_process_type,
      x_configurability_func_name,
      x_application_fee_amount,
      x_gl_rev_acct_ccid,
      x_gl_cash_acct_ccid,
      x_rev_account_code,
      x_cash_account_code,
      x_closed_ind,
      x_creation_date,
      x_created_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      x_system_default,
      x_enroll_deposit_amount,
      x_enroll_deposit_level,
      x_use_in_appl_self_srvc,
      x_crt_rev_instr,
      x_submit_instr,
      x_submit_err_instr
    );
Line: 347

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

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

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

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

  PROCEDURE insert_row (
    x_rowid                             IN OUT NOCOPY VARCHAR2,
    x_admission_application_type               IN     VARCHAR2,
    x_description                       IN     VARCHAR2,
    x_admission_cat                     IN     VARCHAR2,
    x_s_admission_process_type          IN     VARCHAR2,
    x_configurability_func_name         IN     VARCHAR2,
    x_application_fee_amount            IN     NUMBER,
    x_gl_rev_acct_ccid                  IN     NUMBER,
    x_gl_cash_acct_ccid                 IN     NUMBER,
    x_rev_account_code                  IN     VARCHAR2,
    x_cash_account_code                 IN     VARCHAR2,
    x_closed_ind                        IN     VARCHAR2,
    x_mode                              IN     VARCHAR2,
    x_system_default			IN     VARCHAR2,
    x_enroll_deposit_amount             IN     NUMBER,
    x_enroll_deposit_level              IN     VARCHAR2,
    x_use_in_appl_self_srvc             IN     VARCHAR2,
    x_crt_rev_instr                     IN     VARCHAR2,
    x_submit_instr                      IN     VARCHAR2,
    x_submit_err_instr                  IN     VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 10-DEC-2001
  ||  Purpose : Handles the INSERT DML logic for the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  rghosh         04-oct-2002      added the PROCEDURE GET_FK_IGS_AD_PRCS_CAT
  ||                                  and added the column system default for
  ||                                  Bug # 2599457
  ||  rghosh         17-oct-2002      added the columns enroll_deposit_amount and
  ||                                  enroll_deposit_level columns for Bug
  ||                                  #2602077
  ||  (reverse chronological order - newest change first)
  */
    CURSOR c IS
      SELECT   rowid
      FROM     igs_ad_ss_appl_typ
      WHERE    admission_application_type               = x_admission_application_type;
Line: 419

    x_last_update_date           DATE;
Line: 420

    x_last_updated_by            NUMBER;
Line: 421

    x_last_update_login          NUMBER;
Line: 425

    x_last_update_date := SYSDATE;
Line: 427

      x_last_updated_by := 1;
Line: 428

      x_last_update_login := 0;
Line: 430

      x_last_updated_by := fnd_global.user_id;
Line: 431

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

      x_last_update_login := fnd_global.login_id;
Line: 435

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

      p_action                            => 'INSERT',
      x_rowid                             => x_rowid,
      x_admission_application_type        => x_admission_application_type,
      x_description                       => x_description,
      x_admission_cat                     => x_admission_cat,
      x_s_admission_process_type          => x_s_admission_process_type,
      x_configurability_func_name         => x_configurability_func_name,
      x_application_fee_amount            => x_application_fee_amount,
      x_gl_rev_acct_ccid                  => x_gl_rev_acct_ccid,
      x_gl_cash_acct_ccid                 => x_gl_cash_acct_ccid,
      x_rev_account_code                  => x_rev_account_code,
      x_cash_account_code                 => x_cash_account_code,
      x_closed_ind                        => x_closed_ind,
      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_system_default                    => x_system_default,
      x_enroll_deposit_amount             => x_enroll_deposit_amount,
      x_enroll_deposit_level              => x_enroll_deposit_level,
      x_use_in_appl_self_srvc             => x_use_in_appl_self_srvc,
      x_crt_rev_instr                     => x_crt_rev_instr,
      x_submit_instr                      => x_submit_instr,
      x_submit_err_instr                  => x_submit_err_instr
    );
Line: 472

    INSERT INTO igs_ad_ss_appl_typ (
      admission_application_type,
      description,
      admission_cat,
      s_admission_process_type,
      configurability_func_name,
      application_fee_amount,
      gl_rev_acct_ccid,
      gl_cash_acct_ccid,
      rev_account_code,
      cash_account_code,
      closed_ind,
      creation_date,
      created_by,
      last_update_date,
      last_updated_by,
      last_update_login,
      system_default,
      enroll_deposit_amount,
      enroll_deposit_level,
      use_in_appl_self_srvc,
      crt_rev_instr,
      submit_instr,
      submit_err_instr
    ) VALUES (
      new_references.admission_application_type,
      new_references.description,
      new_references.admission_cat,
      new_references.s_admission_process_type,
      new_references.configurability_func_name,
      new_references.application_fee_amount,
      new_references.gl_rev_acct_ccid,
      new_references.gl_cash_acct_ccid,
      new_references.rev_account_code,
      new_references.cash_account_code,
      new_references.closed_ind,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      new_references.system_default,
      new_references.enroll_deposit_amount,
      new_references.enroll_deposit_level,
      new_references.use_in_appl_self_srvc,
      new_references.crt_rev_instr,
      new_references.submit_instr,
      new_references.submit_err_instr
    );
Line: 530

  END insert_row;
Line: 570

      SELECT
        description,
        admission_cat,
        s_admission_process_type,
        configurability_func_name,
        application_fee_amount,
        gl_rev_acct_ccid,
        gl_cash_acct_ccid,
        rev_account_code,
        cash_account_code,
	closed_ind,
	system_default,
	enroll_deposit_amount,
	enroll_deposit_level,
	use_in_appl_self_srvc,
        crt_rev_instr,
        submit_instr,
        submit_err_instr
      FROM  igs_ad_ss_appl_typ
      WHERE rowid = x_rowid
      FOR UPDATE NOWAIT;
Line: 599

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

  PROCEDURE update_row (
    x_rowid                             IN     VARCHAR2,
    x_admission_application_type        IN     VARCHAR2,
    x_description                       IN     VARCHAR2,
    x_admission_cat                     IN     VARCHAR2,
    x_s_admission_process_type          IN     VARCHAR2,
    x_configurability_func_name         IN     VARCHAR2,
    x_application_fee_amount            IN     NUMBER,
    x_gl_rev_acct_ccid                  IN     NUMBER,
    x_gl_cash_acct_ccid                 IN     NUMBER,
    x_rev_account_code                  IN     VARCHAR2,
    x_cash_account_code                 IN     VARCHAR2,
    x_closed_ind                        IN     VARCHAR2,
    x_mode                              IN     VARCHAR2,
    x_system_default                    IN     VARCHAR2,
    x_enroll_deposit_amount             IN     NUMBER,
    x_enroll_deposit_level              IN     VARCHAR2,
    x_use_in_appl_self_srvc		IN     VARCHAR2,
    x_crt_rev_instr                     IN     VARCHAR2,
    x_submit_instr                      IN     VARCHAR2,
    x_submit_err_instr                  IN     VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 10-DEC-2001
  ||  Purpose : Handles the UPDATE DML logic for the table.
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  rghosh         04-oct-2002      added the PROCEDURE GET_FK_IGS_AD_PRCS_CAT
  ||                                  and added the column system default for
  ||                                  Bug # 2599457
  ||  rghosh         17-oct-2002      added the columns enroll_deposit_amount and
  ||                                  enroll_deposit_level columns for Bug
  ||                                  #2602077
  ||  (reverse chronological order - newest change first)
  */
    x_last_update_date           DATE ;
Line: 676

    x_last_updated_by            NUMBER;
Line: 677

    x_last_update_login          NUMBER;
Line: 681

    x_last_update_date := SYSDATE;
Line: 683

      x_last_updated_by := 1;
Line: 684

      x_last_update_login := 0;
Line: 686

      x_last_updated_by := fnd_global.user_id;
Line: 687

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

      x_last_update_login := fnd_global.login_id;
Line: 691

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

      p_action                            => 'UPDATE',
      x_rowid                             => x_rowid,
      x_admission_application_type        => x_admission_application_type,
      x_description                       => x_description,
      x_admission_cat                     => x_admission_cat,
      x_s_admission_process_type          => x_s_admission_process_type,
      x_configurability_func_name         => x_configurability_func_name,
      x_application_fee_amount            => x_application_fee_amount,
      x_gl_rev_acct_ccid                  => x_gl_rev_acct_ccid,
      x_gl_cash_acct_ccid                 => x_gl_cash_acct_ccid,
      x_rev_account_code                  => x_rev_account_code,
      x_cash_account_code                 => x_cash_account_code,
      x_closed_ind                        => x_closed_ind,
      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_system_default                    => x_system_default,
      x_enroll_deposit_amount             => x_enroll_deposit_amount,
      x_enroll_deposit_level              => x_enroll_deposit_level,
      x_use_in_appl_self_srvc	          => x_use_in_appl_self_srvc,
      x_crt_rev_instr                     => x_crt_rev_instr,
      x_submit_instr                      => x_submit_instr,
      x_submit_err_instr	          => x_submit_err_instr
    );
Line: 728

    UPDATE igs_ad_ss_appl_typ
      SET
        description                       = new_references.description,
        admission_cat                     = new_references.admission_cat,
        s_admission_process_type          = new_references.s_admission_process_type,
        configurability_func_name         = new_references.configurability_func_name,
        application_fee_amount            = new_references.application_fee_amount,
        gl_rev_acct_ccid                  = new_references.gl_rev_acct_ccid,
        gl_cash_acct_ccid                 = new_references.gl_cash_acct_ccid,
        rev_account_code                  = new_references.rev_account_code,
        cash_account_code                 = new_references.cash_account_code,
	closed_ind                        = new_references.closed_ind,
        last_update_date                  = x_last_update_date,
        last_updated_by                   = x_last_updated_by,
        last_update_login                 = x_last_update_login,
	system_default                    = new_references.system_default,
	enroll_deposit_amount             = new_references.enroll_deposit_amount,
        enroll_deposit_level              = new_references.enroll_deposit_level	,
	use_in_appl_self_srvc             = new_references.use_in_appl_self_srvc,
        crt_rev_instr                     = new_references.crt_rev_instr,
        submit_instr                      = new_references.submit_instr,
        submit_err_instr                  = new_references.submit_err_instr
      WHERE rowid = x_rowid;
Line: 756

  END update_row;
Line: 784

  ||  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
  ||  rghosh         04-oct-2002      added the PROCEDURE GET_FK_IGS_AD_PRCS_CAT
  ||                                  and added the column system default for
  ||                                  Bug # 2599457
  ||  rghosh         17-oct-2002      added the columns enroll_deposit_amount and
  ||                                  enroll_deposit_level columns for Bug
  ||                                  #2602077
  ||  (reverse chronological order - newest change first)
  */
    CURSOR c1 IS
      SELECT   rowid
      FROM     igs_ad_ss_appl_typ
      WHERE    admission_application_type               = x_admission_application_type;
Line: 808

      insert_row (
        x_rowid,
        x_admission_application_type,
        x_description,
        x_admission_cat,
        x_s_admission_process_type,
        x_configurability_func_name,
        x_application_fee_amount,
        x_gl_rev_acct_ccid,
        x_gl_cash_acct_ccid,
        x_rev_account_code,
        x_cash_account_code,
	x_closed_ind,
        x_mode,
	x_system_default,
	x_enroll_deposit_amount,
	x_enroll_deposit_level,
	x_use_in_appl_self_srvc,
        x_crt_rev_instr,
        x_submit_instr,
        x_submit_err_instr
      );
Line: 834

    update_row (
      x_rowid,
      x_admission_application_type,
      x_description,
      x_admission_cat,
      x_s_admission_process_type,
      x_configurability_func_name,
      x_application_fee_amount,
      x_gl_rev_acct_ccid,
      x_gl_cash_acct_ccid,
      x_rev_account_code,
      x_cash_account_code,
      x_closed_ind,
      x_mode,
      x_system_default,
      x_enroll_deposit_amount,
      x_enroll_deposit_level,
      x_use_in_appl_self_srvc,
      x_crt_rev_instr,
      x_submit_instr,
      x_submit_err_instr
    );
Line: 860

  PROCEDURE delete_row (
    x_rowid IN VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 10-DEC-2001
  ||  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_del_at_ss_pgs (v_rowid VARCHAR2) IS
  SELECT admission_application_type
  FROM igs_ad_ss_appl_typ
  WHERE rowid=v_rowid;
Line: 879

  SELECT ROWID
  FROM igs_ad_ss_appl_pgs
  WHERE admission_application_type=v_atyp;
Line: 889

      p_action => 'DELETE',
      x_rowid => x_rowid
    );
Line: 898

      igs_ad_ss_appl_pgs_pkg.delete_row(x_rowid => rec_c_del_sspgs.rowid);
Line: 902

    DELETE FROM igs_ad_ss_appl_typ
    WHERE rowid = x_rowid;
Line: 909

  END delete_row;