DBA Data[Home] [Help]

APPS.IGS_DA_FTR_VAL_MAP_PKG SQL Statements

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

Line: 21

    x_last_update_date                  IN     DATE,
    x_last_updated_by                   IN     NUMBER,
    x_last_update_login                 IN     NUMBER
  ) AS
  /*
  ||  Created By :
  ||  Created On : 19-MAR-2003
  ||  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_da_ftr_val_map
      WHERE    rowid = x_rowid;
Line: 48

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

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

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

    new_references.last_update_date                  := x_last_update_date;
Line: 76

    new_references.last_updated_by                   := x_last_updated_by;
Line: 77

    new_references.last_update_login                 := x_last_update_login;
Line: 117

      SELECT   rowid
      FROM     igs_da_ftr_val_map
      WHERE    feature_code = x_feature_code
      FOR UPDATE NOWAIT;
Line: 152

    x_last_update_date                  IN     DATE,
    x_last_updated_by                   IN     NUMBER,
    x_last_update_login                 IN     NUMBER
  ) AS
  /*
  ||  Created By :
  ||  Created On : 19-MAR-2003
  ||  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)
  */
  BEGIN

    set_column_values (
      p_action,
      x_rowid,
      x_feature_code,
      x_feature_val_type,
      x_configure_checked,
      x_third_party_ftr_code,
      x_allow_disp_chk_flag,
      x_single_allowed,
      x_batch_allowed,
      x_transfer_evaluation_ind,
      x_creation_date,
      x_created_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login
    );
Line: 186

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

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

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

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

  PROCEDURE insert_row (
    x_rowid                             IN OUT NOCOPY VARCHAR2,
    x_feature_code                      IN OUT NOCOPY VARCHAR2,
    x_feature_val_type                  IN     VARCHAR2,
    x_configure_checked                 IN     VARCHAR2,
    x_third_party_ftr_code              IN     VARCHAR2,
    x_allow_disp_chk_flag               IN     VARCHAR2,
    x_single_allowed                    IN     VARCHAR2,
    x_batch_allowed                     IN     VARCHAR2,
    x_transfer_evaluation_ind           IN     VARCHAR2,
    x_mode                              IN     VARCHAR2
  ) AS
  /*
  ||  Created By :
  ||  Created On : 19-MAR-2003
  ||  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)
  */

    x_last_update_date           DATE;
Line: 239

    x_last_updated_by            NUMBER;
Line: 240

    x_last_update_login          NUMBER;
Line: 244

    x_last_update_date := SYSDATE;
Line: 246

      x_last_updated_by := 1;
Line: 247

      x_last_update_login := 0;
Line: 249

      x_last_updated_by := fnd_global.user_id;
Line: 250

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

      x_last_update_login := fnd_global.login_id;
Line: 254

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

      fnd_message.set_token ('ROUTINE', 'IGS_DA_FTR_VAL_MAP_PKG.INSERT_ROW');
Line: 267

      p_action                            => 'INSERT',
      x_rowid                             => x_rowid,
      x_feature_code                      => x_feature_code,
      x_feature_val_type                  => x_feature_val_type,
      x_configure_checked                 => x_configure_checked,
      x_third_party_ftr_code              => x_third_party_ftr_code,
      x_allow_disp_chk_flag               => x_allow_disp_chk_flag,
      x_single_allowed                    => x_single_allowed,
      x_batch_allowed                     => x_batch_allowed,
      x_transfer_evaluation_ind           => x_transfer_evaluation_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
    );
Line: 284

    INSERT INTO igs_da_ftr_val_map (
      feature_code,
      feature_val_type,
      configure_checked,
      third_party_ftr_code,
      allow_disp_chk_flag,
      single_allowed,
      batch_allowed,
      transfer_evaluation_ind,
      creation_date,
      created_by,
      last_update_date,
      last_updated_by,
      last_update_login
    ) VALUES (
      new_references.feature_code,  -- There was sequence here
      new_references.feature_val_type,
      new_references.configure_checked,
      new_references.third_party_ftr_code,
      new_references.allow_disp_chk_flag,
      new_references.single_allowed,
      new_references.batch_allowed,
      new_references.transfer_evaluation_ind,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login
    ) RETURNING ROWID, feature_code INTO x_rowid, x_feature_code;
Line: 314

  END insert_row;
Line: 338

      SELECT
        feature_val_type,
        configure_checked,
        third_party_ftr_code,
        allow_disp_chk_flag,
        single_allowed,
        batch_allowed,
        transfer_evaluation_ind
      FROM  igs_da_ftr_val_map
      WHERE rowid = x_rowid
      FOR UPDATE NOWAIT;
Line: 357

      fnd_message.set_name('FND', 'FORM_RECORD_DELETED1');
Line: 386

  PROCEDURE update_row (
    x_rowid                             IN     VARCHAR2,
    x_feature_code                      IN     VARCHAR2,
    x_feature_val_type                  IN     VARCHAR2,
    x_configure_checked                 IN     VARCHAR2,
    x_third_party_ftr_code              IN     VARCHAR2,
    x_allow_disp_chk_flag               IN     VARCHAR2,
    x_single_allowed                    IN     VARCHAR2,
    x_batch_allowed                     IN     VARCHAR2,
    x_transfer_evaluation_ind           IN     VARCHAR2,
    x_mode                              IN     VARCHAR2
  ) AS
  /*
  ||  Created By :
  ||  Created On : 19-MAR-2003
  ||  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: 408

    x_last_updated_by            NUMBER;
Line: 409

    x_last_update_login          NUMBER;
Line: 413

    x_last_update_date := SYSDATE;
Line: 415

      x_last_updated_by := 1;
Line: 416

      x_last_update_login := 0;
Line: 418

      x_last_updated_by := fnd_global.user_id;
Line: 419

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

      x_last_update_login := fnd_global.login_id;
Line: 423

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

      fnd_message.set_token ('ROUTINE', 'IGS_DA_FTR_VAL_MAP_PKG.UPDATE_ROW');
Line: 436

      p_action                            => 'UPDATE',
      x_rowid                             => x_rowid,
      x_feature_code                      => x_feature_code,
      x_feature_val_type                  => x_feature_val_type,
      x_configure_checked                 => x_configure_checked,
      x_third_party_ftr_code              => x_third_party_ftr_code,
      x_allow_disp_chk_flag               => x_allow_disp_chk_flag,
      x_single_allowed                    => x_single_allowed,
      x_batch_allowed                     => x_batch_allowed,
      x_transfer_evaluation_ind           => x_transfer_evaluation_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
    );
Line: 453

    UPDATE igs_da_ftr_val_map
      SET
        feature_val_type                  = new_references.feature_val_type,
        configure_checked                 = new_references.configure_checked,
        third_party_ftr_code              = new_references.third_party_ftr_code,
        allow_disp_chk_flag               = new_references.allow_disp_chk_flag,
        single_allowed                    = new_references.single_allowed,
        batch_allowed                     = new_references.batch_allowed,
        transfer_evaluation_ind           = new_references.transfer_evaluation_ind,
        last_update_date                  = x_last_update_date,
        last_updated_by                   = x_last_updated_by,
        last_update_login                 = x_last_update_login
      WHERE rowid = x_rowid;
Line: 471

  END update_row;
Line: 489

  ||  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_da_ftr_val_map
      WHERE    feature_code                      = x_feature_code;
Line: 507

      insert_row (
        x_rowid,
        x_feature_code,
        x_feature_val_type,
        x_configure_checked,
        x_third_party_ftr_code,
        x_allow_disp_chk_flag,
        x_single_allowed,
        x_batch_allowed,
        x_transfer_evaluation_ind,
        x_mode
      );
Line: 523

    update_row (
      x_rowid,
      x_feature_code,
      x_feature_val_type,
      x_configure_checked,
      x_third_party_ftr_code,
      x_allow_disp_chk_flag,
      x_single_allowed,
      x_batch_allowed,
      x_transfer_evaluation_ind,
      x_mode
    );
Line: 539

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

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

    DELETE FROM igs_da_ftr_val_map
    WHERE rowid = x_rowid;
Line: 565

  END delete_row;