DBA Data[Home] [Help]

APPS.IGS_SS_ADMAPPL_SETUP_PKG SQL Statements

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

Line: 24

    x_last_update_date IN DATE, -- DEFAULT NULL,
    x_last_updated_by IN NUMBER, -- DEFAULT NULL,
    x_last_update_login IN NUMBER --DEFAULT NULL
  ) AS
  /*
  ||  Created By : tray
  ||  Date Created By : 2000/07/31
  ||  Purpose :
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  || kumma            16-NOV-2002     REMOVED igs_pe_alias_types_pkg.get_pk_for_validation
  ||  (reverse chronological order - newest change first)
  */
    CURSOR cur_old_ref_values IS
      SELECT   *
      FROM     IGS_SS_ADMAPPL_SETUP
      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: 71

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

    new_references.last_update_date := x_last_update_date;
Line: 79

    new_references.last_updated_by := x_last_updated_by;
Line: 80

    new_references.last_update_login := x_last_update_login;
Line: 121

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

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

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

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

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

      SELECT   rowid
      FROM     igs_ss_admappl_setup
      WHERE    admappl_setup_id = x_admappl_setup_id
      FOR UPDATE NOWAIT;
Line: 228

      SELECT   rowid
      FROM     igs_ss_admappl_setup
      WHERE    we_note_type_id = x_notes_type_id ;
Line: 259

      SELECT   rowid
      FROM     igs_ss_admappl_setup
      WHERE    alias_type = x_alias_type ;
Line: 291

      SELECT   rowid
      FROM     igs_ss_admappl_setup
      WHERE    permanent_addr_type = x_addr_type ;
Line: 321

      SELECT   rowid
      FROM     igs_ss_admappl_setup
      WHERE    act_note_type_id = x_notes_type_id ;
Line: 352

      SELECT   rowid
      FROM     igs_ss_admappl_setup
      WHERE    mailing_addr_type = x_addr_type ;
Line: 382

      SELECT   rowid
      FROM     igs_ss_admappl_setup
      WHERE    person_id_type = x_person_id_type ;
Line: 411

      SELECT   rowid
      FROM     igs_ss_admappl_setup
      WHERE    ps_note_type_id = x_notes_type_id ;
Line: 443

    x_last_update_date IN DATE , --DEFAULT NULL,
    x_last_updated_by IN NUMBER , --DEFAULT NULL,
    x_last_update_login IN NUMBER --DEFAULT NULL
  ) AS
  /*
  ||  Created By : tray
  ||  Date Created By : 2000/07/31
  ||  Purpose :
  ||  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_admappl_setup_id,
      x_alias_type,
      x_permanent_addr_type,
      x_mailing_addr_type,
      x_person_id_type,
      x_ps_note_type_id,
      x_we_note_type_id,
      x_act_note_type_id,
      x_dependent_of_veteran,
      x_app_source_id ,
      x_creation_date,
      x_created_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login
    );
Line: 476

    IF (p_action = 'INSERT') THEN
      -- Call all the procedures related to Before Insert.
      Null;
Line: 487

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

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

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

    ELSIF (p_action = 'VALIDATE_UPDATE') THEN
      check_constraints;
Line: 506

    ELSIF (p_action = 'VALIDATE_DELETE') THEN
      NULL;
Line: 525

    IF (p_action = 'INSERT') THEN
      -- Call all the procedures related to After Insert.
      Null;
Line: 528

    ELSIF (p_action = 'UPDATE') THEN
      -- Call all the procedures related to After Update.
      Null;
Line: 531

    ELSIF (p_action = 'DELETE') THEN
      -- Call all the procedures related to After Delete.
      Null;
Line: 559

    CURSOR c1 IS SELECT
      alias_type
,      permanent_addr_type
,      mailing_addr_type
,      person_id_type
,      ps_note_type_id
,      we_note_type_id
,      act_note_type_id
,     dependent_of_veteran
,     app_source_id
    FROM igs_ss_admappl_setup
    WHERE ROWID = x_rowid
    FOR UPDATE NOWAIT;
Line: 577

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

  PROCEDURE update_row (
    x_rowid IN  VARCHAR2,
    x_ADMAPPL_SETUP_ID IN NUMBER,
    x_ALIAS_TYPE IN VARCHAR2,
    x_PERMANENT_ADDR_TYPE IN VARCHAR2,
    x_MAILING_ADDR_TYPE IN VARCHAR2,
    x_PERSON_ID_TYPE IN VARCHAR2,
    x_PS_NOTE_TYPE_ID IN NUMBER,
    x_WE_NOTE_TYPE_ID IN NUMBER,
    x_ACT_NOTE_TYPE_ID IN NUMBER,
    x_dependent_of_veteran  IN NUMBER ,
    x_app_source_id  IN NUMBER ,
    x_mode IN VARCHAR2 --DEFAULT 'R'
  ) AS
  /*
  ||  Created By : tray
  ||  Date Created By : 2000/07/31
  ||  Purpose :
  ||  Known limitations, enhancements or remarks :
  ||  Change History :
  ||  Who             When            What
  ||  (reverse chronological order - newest change first)
  */
    x_last_update_date DATE ;
Line: 648

    x_last_updated_by NUMBER ;
Line: 649

    x_last_update_login NUMBER ;
Line: 651

    x_last_update_date := SYSDATE;
Line: 653

      x_last_updated_by := 1;
Line: 654

      x_last_update_login := 0;
Line: 656

      x_last_updated_by := fnd_global.user_id;
Line: 657

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

      x_last_update_login := fnd_global.login_id;
Line: 661

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

      p_action=>'UPDATE',
      x_rowid=>X_ROWID,
      x_admappl_setup_id => x_ADMAPPL_SETUP_ID,
      x_alias_type => x_ALIAS_TYPE,
      x_permanent_addr_type => x_PERMANENT_ADDR_TYPE,
      x_mailing_addr_type => x_MAILING_ADDR_TYPE,
      x_person_id_type => x_PERSON_ID_TYPE,
      x_ps_note_type_id => x_PS_NOTE_TYPE_ID,
      x_we_note_type_id => x_WE_NOTE_TYPE_ID,
      x_act_note_type_id => x_ACT_NOTE_TYPE_ID,
      x_dependent_of_veteran => X_DEPENDENT_OF_VETERAN ,
      x_app_source_id  => X_APP_SOURCE_ID,
      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: 688

    UPDATE igs_ss_admappl_setup SET
      alias_type =  new_references.alias_type,
      permanent_addr_type =  new_references.permanent_addr_type,
      mailing_addr_type =  new_references.mailing_addr_type,
      person_id_type =  new_references.person_id_type,
      ps_note_type_id =  new_references.ps_note_type_id,
      we_note_type_id =  new_references.we_note_type_id,
      act_note_type_id =  new_references.act_note_type_id,
      dependent_of_veteran  = new_references.dependent_of_veteran ,
      app_source_id  = new_references.app_source_id,
      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: 706

      p_action => 'UPDATE',
      x_rowid => X_ROWID
    );
Line: 709

  END update_row;