DBA Data[Home] [Help]

APPS.IGS_FI_FIN_LT_PLAN_PKG SQL Statements

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

Line: 60

    x_last_update_date                  IN     DATE        ,
    x_last_updated_by                   IN     NUMBER      ,
    x_last_update_login                 IN     NUMBER      ,
    x_payment_plan_accrl_type_code      IN     VARCHAR2    ,
    x_payment_plan_chg_rate             IN     NUMBER      ,
    x_payment_plan_flat_amt             IN     NUMBER      ,
    x_payment_plan_max_charge_amt       IN     NUMBER      ,
    x_payment_plan_min_charge_amt       IN     NUMBER      ,
    x_payment_plan_minchgamt_nochg      IN     NUMBER      ,
    x_payment_plan_min_balance_amt      IN     NUMBER) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 28-NOV-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)
  ||  vvutukur     07-Sep-2003    Enh#3045007.Payment Plans Build.Addition of 7 columns related to
  ||                              payment plans.
  */

    CURSOR cur_old_ref_values IS
      SELECT   *
      FROM     IGS_FI_FIN_LT_PLAN
      WHERE    rowid = x_rowid;
Line: 95

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

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

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

    new_references.last_update_date                  := x_last_update_date;
Line: 157

    new_references.last_updated_by                   := x_last_updated_by;
Line: 158

    new_references.last_update_login                 := x_last_update_login;
Line: 216

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

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

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

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

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

  ||                          not to get updated if a charge is created using the fee type on which the plan is based.
  */
   CURSOR cur_chg IS
      SELECT   rowid
      FROM     igs_fi_inv_int
      WHERE    fee_type = x_fee_type
      AND      transaction_type IN ('INTEREST','LATE')
      FOR UPDATE NOWAIT;
Line: 297

        p_action = 'VALIDATE_UPDATE' AND
        (new_references.plan_type = old_references.plan_type) AND
        ((new_references.description = old_references.description) OR ((old_references.description IS NULL) AND (new_references.description IS NULL))) AND
        (new_references.balance_type = old_references.balance_type) AND
        (new_references.fee_type = old_references.fee_type) AND
        (new_references.accrual_type = old_references.accrual_type) AND
        ((new_references.offset_days = old_references.offset_days) OR ((old_references.offset_days IS NULL) AND (new_references.offset_days IS NULL))) AND
        ((new_references.chg_rate = old_references.chg_rate) OR ((old_references.chg_rate IS NULL) AND (new_references.chg_rate IS NULL))) AND
        ((new_references.flat_amount = old_references.flat_amount) OR ((old_references.flat_amount IS NULL) AND (new_references.flat_amount IS NULL))) AND
        ((new_references.min_balance_amount = old_references.min_balance_amount) OR ((old_references.min_balance_amount IS NULL) AND (new_references.min_balance_amount IS NULL))) AND
        ((new_references.min_charge_amount = old_references.min_charge_amount) OR ((old_references.min_charge_amount IS NULL) AND (new_references.min_charge_amount IS NULL))) AND
        ((new_references.max_charge_amount = old_references.max_charge_amount) OR ((old_references.max_charge_amount IS NULL) AND (new_references.max_charge_amount IS NULL))) AND
        ((new_references.min_charge_amount_no_charge = old_references.min_charge_amount_no_charge) OR ((old_references.min_charge_amount_no_charge IS NULL) AND (new_references.min_charge_amount_no_charge IS NULL))) AND
        ((new_references.payment_plan_accrl_type_code = old_references.payment_plan_accrl_type_code) OR ((old_references.payment_plan_accrl_type_code IS NULL) AND (new_references.payment_plan_accrl_type_code IS NULL))) AND
        ((new_references.payment_plan_chg_rate = old_references.payment_plan_chg_rate) OR ((old_references.payment_plan_chg_rate IS NULL) AND (new_references.payment_plan_chg_rate IS NULL))) AND
        ((new_references.payment_plan_flat_amt = old_references.payment_plan_flat_amt) OR ((old_references.payment_plan_flat_amt IS NULL) AND (new_references.payment_plan_flat_amt IS NULL))) AND
        ((new_references.payment_plan_min_balance_amt = old_references.payment_plan_min_balance_amt) OR ((old_references.payment_plan_min_balance_amt IS NULL) AND (new_references.payment_plan_min_balance_amt IS NULL))) AND
        ((new_references.payment_plan_min_charge_amt = old_references.payment_plan_min_charge_amt) OR ((old_references.payment_plan_min_charge_amt IS NULL) AND (new_references.payment_plan_min_charge_amt IS NULL))) AND
        ((new_references.payment_plan_max_charge_amt = old_references.payment_plan_max_charge_amt) OR ((old_references.payment_plan_max_charge_amt IS NULL) AND (new_references.payment_plan_max_charge_amt IS NULL))) AND
        ((new_references.payment_plan_minchgamt_nochg = old_references.payment_plan_minchgamt_nochg) OR ((old_references.payment_plan_minchgamt_nochg IS NULL) AND (new_references.payment_plan_minchgamt_nochg IS NULL)))
       ) THEN
      NULL;
Line: 347

      SELECT   rowid
      FROM     igs_fi_fin_lt_plan
      WHERE    plan_name = x_plan_name
      FOR UPDATE NOWAIT;
Line: 409

    x_last_update_date                  IN     DATE        ,
    x_last_updated_by                   IN     NUMBER      ,
    x_last_update_login                 IN     NUMBER      ,
    x_payment_plan_accrl_type_code      IN     VARCHAR2    ,
    x_payment_plan_chg_rate             IN     NUMBER      ,
    x_payment_plan_flat_amt             IN     NUMBER      ,
    x_payment_plan_max_charge_amt       IN     NUMBER      ,
    x_payment_plan_min_charge_amt       IN     NUMBER      ,
    x_payment_plan_minchgamt_nochg      IN     NUMBER      ,
    x_payment_plan_min_balance_amt      IN     NUMBER    ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 28-NOV-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
  ||  (reverse chronological order - newest change first)
  ||  vvutukur     07-Sep-2003    Enh#3045007.Payment Plans Build.Addition of 7 columns related to
  ||                              payment plans.
  */
  BEGIN

    set_column_values (
      p_action,
      x_rowid,
      x_plan_name,
      x_plan_type,
      x_description,
      x_closed_ind,
      x_balance_type,
      x_fee_type,
      x_accrual_type,
      x_offset_days,
      x_chg_rate,
      x_flat_amount,
      x_max_charge_amount,
      x_min_charge_amount,
      x_min_charge_amount_no_charge,
      x_min_balance_amount,
      x_attribute_category,
      x_attribute1,
      x_attribute2,
      x_attribute3,
      x_attribute4,
      x_attribute5,
      x_attribute6,
      x_attribute7,
      x_attribute8,
      x_attribute9,
      x_attribute10,
      x_attribute11,
      x_attribute12,
      x_attribute13,
      x_attribute14,
      x_attribute15,
      x_attribute16,
      x_attribute17,
      x_attribute18,
      x_attribute19,
      x_attribute20,
      x_creation_date,
      x_created_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      x_payment_plan_accrl_type_code,
      x_payment_plan_chg_rate,
      x_payment_plan_flat_amt,
      x_payment_plan_max_charge_amt,
      x_payment_plan_min_charge_amt,
      x_payment_plan_minchgamt_nochg,
      x_payment_plan_min_balance_amt
    );
Line: 485

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

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

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

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

    ELSIF (p_action = 'VALIDATE_DELETE') THEN
      check_charge_existance(p_action,
                             old_references.fee_type);
Line: 524

  PROCEDURE insert_row (
    x_rowid                             IN OUT NOCOPY VARCHAR2,
    x_plan_name                         IN     VARCHAR2,
    x_plan_type                         IN     VARCHAR2,
    x_description                       IN     VARCHAR2,
    x_closed_ind                        IN     VARCHAR2,
    x_balance_type                      IN     VARCHAR2,
    x_fee_type                          IN     VARCHAR2,
    x_accrual_type                      IN     VARCHAR2,
    x_offset_days                       IN     NUMBER,
    x_chg_rate                          IN     NUMBER,
    x_flat_amount                       IN     NUMBER,
    x_max_charge_amount                 IN     NUMBER,
    x_min_charge_amount                 IN     NUMBER,
    x_min_charge_amount_no_charge       IN     NUMBER,
    x_min_balance_amount                IN     NUMBER,
    x_attribute_category                IN     VARCHAR2,
    x_attribute1                        IN     VARCHAR2,
    x_attribute2                        IN     VARCHAR2,
    x_attribute3                        IN     VARCHAR2,
    x_attribute4                        IN     VARCHAR2,
    x_attribute5                        IN     VARCHAR2,
    x_attribute6                        IN     VARCHAR2,
    x_attribute7                        IN     VARCHAR2,
    x_attribute8                        IN     VARCHAR2,
    x_attribute9                        IN     VARCHAR2,
    x_attribute10                       IN     VARCHAR2,
    x_attribute11                       IN     VARCHAR2,
    x_attribute12                       IN     VARCHAR2,
    x_attribute13                       IN     VARCHAR2,
    x_attribute14                       IN     VARCHAR2,
    x_attribute15                       IN     VARCHAR2,
    x_attribute16                       IN     VARCHAR2,
    x_attribute17                       IN     VARCHAR2,
    x_attribute18                       IN     VARCHAR2,
    x_attribute19                       IN     VARCHAR2,
    x_attribute20                       IN     VARCHAR2,
    x_mode                              IN     VARCHAR2,
    x_payment_plan_accrl_type_code      IN     VARCHAR2,
    x_payment_plan_chg_rate             IN     NUMBER  ,
    x_payment_plan_flat_amt             IN     NUMBER  ,
    x_payment_plan_max_charge_amt       IN     NUMBER  ,
    x_payment_plan_min_charge_amt       IN     NUMBER  ,
    x_payment_plan_minchgamt_nochg      IN     NUMBER  ,
    x_payment_plan_min_balance_amt      IN     NUMBER
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 28-NOV-2001
  ||  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)
  ||  vvutukur     07-Sep-2003    Enh#3045007.Payment Plans Build.Addition of 7 columns related to
  ||                              payment plans.
  */
    CURSOR c IS
      SELECT   rowid
      FROM     igs_fi_fin_lt_plan
      WHERE    plan_name                         = x_plan_name;
Line: 586

    x_last_update_date           DATE;
Line: 587

    x_last_updated_by            NUMBER;
Line: 588

    x_last_update_login          NUMBER;
Line: 592

    x_last_update_date := SYSDATE;
Line: 594

      x_last_updated_by := 1;
Line: 595

      x_last_update_login := 0;
Line: 597

      x_last_updated_by := fnd_global.user_id;
Line: 598

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

      x_last_update_login := fnd_global.login_id;
Line: 602

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

      p_action                            => 'INSERT',
      x_rowid                             => x_rowid,
      x_plan_name                         => x_plan_name,
      x_plan_type                         => x_plan_type,
      x_description                       => x_description,
      x_closed_ind                        => x_closed_ind,
      x_balance_type                      => x_balance_type,
      x_fee_type                          => x_fee_type,
      x_accrual_type                      => x_accrual_type,
      x_offset_days                       => x_offset_days,
      x_chg_rate                          => x_chg_rate,
      x_flat_amount                       => x_flat_amount,
      x_max_charge_amount                 => x_max_charge_amount,
      x_min_charge_amount                 => x_min_charge_amount,
      x_min_charge_amount_no_charge       => x_min_charge_amount_no_charge,
      x_min_balance_amount                => x_min_balance_amount,
      x_attribute_category                => x_attribute_category,
      x_attribute1                        => x_attribute1,
      x_attribute2                        => x_attribute2,
      x_attribute3                        => x_attribute3,
      x_attribute4                        => x_attribute4,
      x_attribute5                        => x_attribute5,
      x_attribute6                        => x_attribute6,
      x_attribute7                        => x_attribute7,
      x_attribute8                        => x_attribute8,
      x_attribute9                        => x_attribute9,
      x_attribute10                       => x_attribute10,
      x_attribute11                       => x_attribute11,
      x_attribute12                       => x_attribute12,
      x_attribute13                       => x_attribute13,
      x_attribute14                       => x_attribute14,
      x_attribute15                       => x_attribute15,
      x_attribute16                       => x_attribute16,
      x_attribute17                       => x_attribute17,
      x_attribute18                       => x_attribute18,
      x_attribute19                       => x_attribute19,
      x_attribute20                       => x_attribute20,
      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_payment_plan_accrl_type_code      => x_payment_plan_accrl_type_code,
      x_payment_plan_chg_rate             => x_payment_plan_chg_rate,
      x_payment_plan_flat_amt             => x_payment_plan_flat_amt,
      x_payment_plan_max_charge_amt       => x_payment_plan_max_charge_amt,
      x_payment_plan_min_charge_amt       => x_payment_plan_min_charge_amt,
      x_payment_plan_minchgamt_nochg      => x_payment_plan_minchgamt_nochg,
      x_payment_plan_min_balance_amt      => x_payment_plan_min_balance_amt
    );
Line: 663

    INSERT INTO igs_fi_fin_lt_plan (
      plan_name,
      plan_type,
      description,
      closed_ind,
      balance_type,
      fee_type,
      accrual_type,
      offset_days,
      chg_rate,
      flat_amount,
      max_charge_amount,
      min_charge_amount,
      min_charge_amount_no_charge,
      min_balance_amount,
      attribute_category,
      attribute1,
      attribute2,
      attribute3,
      attribute4,
      attribute5,
      attribute6,
      attribute7,
      attribute8,
      attribute9,
      attribute10,
      attribute11,
      attribute12,
      attribute13,
      attribute14,
      attribute15,
      attribute16,
      attribute17,
      attribute18,
      attribute19,
      attribute20,
      creation_date,
      created_by,
      last_update_date,
      last_updated_by,
      last_update_login,
      payment_plan_accrl_type_code,
      payment_plan_chg_rate,
      payment_plan_flat_amt,
      payment_plan_max_charge_amt,
      payment_plan_min_charge_amt,
      payment_plan_minchgamt_nochg,
      payment_plan_min_balance_amt
      ) VALUES (
      new_references.plan_name,
      new_references.plan_type,
      new_references.description,
      new_references.closed_ind,
      new_references.balance_type,
      new_references.fee_type,
      new_references.accrual_type,
      new_references.offset_days,
      new_references.chg_rate,
      new_references.flat_amount,
      new_references.max_charge_amount,
      new_references.min_charge_amount,
      new_references.min_charge_amount_no_charge,
      new_references.min_balance_amount,
      new_references.attribute_category,
      new_references.attribute1,
      new_references.attribute2,
      new_references.attribute3,
      new_references.attribute4,
      new_references.attribute5,
      new_references.attribute6,
      new_references.attribute7,
      new_references.attribute8,
      new_references.attribute9,
      new_references.attribute10,
      new_references.attribute11,
      new_references.attribute12,
      new_references.attribute13,
      new_references.attribute14,
      new_references.attribute15,
      new_references.attribute16,
      new_references.attribute17,
      new_references.attribute18,
      new_references.attribute19,
      new_references.attribute20,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_date,
      x_last_updated_by,
      x_last_update_login,
      new_references.payment_plan_accrl_type_code,
      new_references.payment_plan_chg_rate,
      new_references.payment_plan_flat_amt,
      new_references.payment_plan_max_charge_amt,
      new_references.payment_plan_min_charge_amt,
      new_references.payment_plan_minchgamt_nochg,
      new_references.payment_plan_min_balance_amt
    );
Line: 769

  END insert_row;
Line: 829

      SELECT
        plan_type,
        description,
        closed_ind,
        balance_type,
        fee_type,
        accrual_type,
        offset_days,
        chg_rate,
        flat_amount,
        max_charge_amount,
        min_charge_amount,
        min_charge_amount_no_charge,
        min_balance_amount,
        attribute_category,
        attribute1,
        attribute2,
        attribute3,
        attribute4,
        attribute5,
        attribute6,
        attribute7,
        attribute8,
        attribute9,
        attribute10,
        attribute11,
        attribute12,
        attribute13,
        attribute14,
        attribute15,
        attribute16,
        attribute17,
        attribute18,
        attribute19,
        attribute20,
        payment_plan_accrl_type_code,
        payment_plan_chg_rate,
        payment_plan_flat_amt,
        payment_plan_max_charge_amt,
        payment_plan_min_charge_amt,
        payment_plan_minchgamt_nochg,
        payment_plan_min_balance_amt
      FROM  igs_fi_fin_lt_plan
      WHERE rowid = x_rowid
      FOR UPDATE NOWAIT;
Line: 882

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

  PROCEDURE update_row (
    x_rowid                             IN     VARCHAR2,
    x_plan_name                         IN     VARCHAR2,
    x_plan_type                         IN     VARCHAR2,
    x_description                       IN     VARCHAR2,
    x_closed_ind                        IN     VARCHAR2,
    x_balance_type                      IN     VARCHAR2,
    x_fee_type                          IN     VARCHAR2,
    x_accrual_type                      IN     VARCHAR2,
    x_offset_days                       IN     NUMBER,
    x_chg_rate                          IN     NUMBER,
    x_flat_amount                       IN     NUMBER,
    x_max_charge_amount                 IN     NUMBER,
    x_min_charge_amount                 IN     NUMBER,
    x_min_charge_amount_no_charge       IN     NUMBER,
    x_min_balance_amount                IN     NUMBER,
    x_attribute_category                IN     VARCHAR2,
    x_attribute1                        IN     VARCHAR2,
    x_attribute2                        IN     VARCHAR2,
    x_attribute3                        IN     VARCHAR2,
    x_attribute4                        IN     VARCHAR2,
    x_attribute5                        IN     VARCHAR2,
    x_attribute6                        IN     VARCHAR2,
    x_attribute7                        IN     VARCHAR2,
    x_attribute8                        IN     VARCHAR2,
    x_attribute9                        IN     VARCHAR2,
    x_attribute10                       IN     VARCHAR2,
    x_attribute11                       IN     VARCHAR2,
    x_attribute12                       IN     VARCHAR2,
    x_attribute13                       IN     VARCHAR2,
    x_attribute14                       IN     VARCHAR2,
    x_attribute15                       IN     VARCHAR2,
    x_attribute16                       IN     VARCHAR2,
    x_attribute17                       IN     VARCHAR2,
    x_attribute18                       IN     VARCHAR2,
    x_attribute19                       IN     VARCHAR2,
    x_attribute20                       IN     VARCHAR2,
    x_mode                              IN     VARCHAR2,
    x_payment_plan_accrl_type_code      IN     VARCHAR2,
    x_payment_plan_chg_rate             IN     NUMBER  ,
    x_payment_plan_flat_amt             IN     NUMBER  ,
    x_payment_plan_max_charge_amt       IN     NUMBER  ,
    x_payment_plan_min_charge_amt       IN     NUMBER  ,
    x_payment_plan_minchgamt_nochg      IN     NUMBER  ,
    x_payment_plan_min_balance_amt      IN     NUMBER
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 28-NOV-2001
  ||  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)
  ||  vvutukur     07-Sep-2003    Enh#3045007.Payment Plans Build.Addition of 7 columns related to
  ||                              payment plans.
  */
    x_last_update_date           DATE ;
Line: 1003

    x_last_updated_by            NUMBER;
Line: 1004

    x_last_update_login          NUMBER;
Line: 1008

    x_last_update_date := SYSDATE;
Line: 1010

      x_last_updated_by := 1;
Line: 1011

      x_last_update_login := 0;
Line: 1013

      x_last_updated_by := fnd_global.user_id;
Line: 1014

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

      x_last_update_login := fnd_global.login_id;
Line: 1018

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

      p_action                            => 'UPDATE',
      x_rowid                             => x_rowid,
      x_plan_name                         => x_plan_name,
      x_plan_type                         => x_plan_type,
      x_description                       => x_description,
      x_closed_ind                        => x_closed_ind,
      x_balance_type                      => x_balance_type,
      x_fee_type                          => x_fee_type,
      x_accrual_type                      => x_accrual_type,
      x_offset_days                       => x_offset_days,
      x_chg_rate                          => x_chg_rate,
      x_flat_amount                       => x_flat_amount,
      x_max_charge_amount                 => x_max_charge_amount,
      x_min_charge_amount                 => x_min_charge_amount,
      x_min_charge_amount_no_charge       => x_min_charge_amount_no_charge,
      x_min_balance_amount                => x_min_balance_amount,
      x_attribute_category                => x_attribute_category,
      x_attribute1                        => x_attribute1,
      x_attribute2                        => x_attribute2,
      x_attribute3                        => x_attribute3,
      x_attribute4                        => x_attribute4,
      x_attribute5                        => x_attribute5,
      x_attribute6                        => x_attribute6,
      x_attribute7                        => x_attribute7,
      x_attribute8                        => x_attribute8,
      x_attribute9                        => x_attribute9,
      x_attribute10                       => x_attribute10,
      x_attribute11                       => x_attribute11,
      x_attribute12                       => x_attribute12,
      x_attribute13                       => x_attribute13,
      x_attribute14                       => x_attribute14,
      x_attribute15                       => x_attribute15,
      x_attribute16                       => x_attribute16,
      x_attribute17                       => x_attribute17,
      x_attribute18                       => x_attribute18,
      x_attribute19                       => x_attribute19,
      x_attribute20                       => x_attribute20,
      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_payment_plan_accrl_type_code      => x_payment_plan_accrl_type_code,
      x_payment_plan_chg_rate             => x_payment_plan_chg_rate,
      x_payment_plan_flat_amt             => x_payment_plan_flat_amt,
      x_payment_plan_max_charge_amt       => x_payment_plan_max_charge_amt,
      x_payment_plan_min_charge_amt       => x_payment_plan_min_charge_amt,
      x_payment_plan_minchgamt_nochg      => x_payment_plan_minchgamt_nochg,
      x_payment_plan_min_balance_amt      => x_payment_plan_min_balance_amt
    );
Line: 1079

    UPDATE igs_fi_fin_lt_plan
      SET
        plan_type                         = new_references.plan_type,
        description                       = new_references.description,
        closed_ind                        = new_references.closed_ind,
        balance_type                      = new_references.balance_type,
        fee_type                          = new_references.fee_type,
        accrual_type                      = new_references.accrual_type,
        offset_days                       = new_references.offset_days,
        chg_rate                          = new_references.chg_rate,
        flat_amount                       = new_references.flat_amount,
        max_charge_amount                 = new_references.max_charge_amount,
        min_charge_amount                 = new_references.min_charge_amount,
        min_charge_amount_no_charge       = new_references.min_charge_amount_no_charge,
        min_balance_amount                = new_references.min_balance_amount,
        attribute_category                = new_references.attribute_category,
        attribute1                        = new_references.attribute1,
        attribute2                        = new_references.attribute2,
        attribute3                        = new_references.attribute3,
        attribute4                        = new_references.attribute4,
        attribute5                        = new_references.attribute5,
        attribute6                        = new_references.attribute6,
        attribute7                        = new_references.attribute7,
        attribute8                        = new_references.attribute8,
        attribute9                        = new_references.attribute9,
        attribute10                       = new_references.attribute10,
        attribute11                       = new_references.attribute11,
        attribute12                       = new_references.attribute12,
        attribute13                       = new_references.attribute13,
        attribute14                       = new_references.attribute14,
        attribute15                       = new_references.attribute15,
        attribute16                       = new_references.attribute16,
        attribute17                       = new_references.attribute17,
        attribute18                       = new_references.attribute18,
        attribute19                       = new_references.attribute19,
        attribute20                       = new_references.attribute20,
        last_update_date                  = x_last_update_date,
        last_updated_by                   = x_last_updated_by,
        last_update_login                 = x_last_update_login,
        payment_plan_accrl_type_code      = new_references.payment_plan_accrl_type_code,
        payment_plan_chg_rate             = new_references.payment_plan_chg_rate,
        payment_plan_flat_amt             = new_references.payment_plan_flat_amt,
        payment_plan_max_charge_amt       = new_references.payment_plan_max_charge_amt,
        payment_plan_min_charge_amt       = new_references.payment_plan_min_charge_amt,
        payment_plan_minchgamt_nochg      = new_references.payment_plan_minchgamt_nochg,
        payment_plan_min_balance_amt      = new_references.payment_plan_min_balance_amt
      WHERE rowid = x_rowid;
Line: 1131

  END update_row;
Line: 1183

  ||  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)
  ||  vvutukur     07-Sep-2003    Enh#3045007.Payment Plans Build.Addition of 7 columns related to
  ||                              payment plans.
  */
    CURSOR c1 IS
      SELECT   rowid
      FROM     igs_fi_fin_lt_plan
      WHERE    plan_name                         = x_plan_name;
Line: 1203

      insert_row (
        x_rowid,
        x_plan_name,
        x_plan_type,
        x_description,
        x_closed_ind,
        x_balance_type,
        x_fee_type,
        x_accrual_type,
        x_offset_days,
        x_chg_rate,
        x_flat_amount,
        x_max_charge_amount,
        x_min_charge_amount,
        x_min_charge_amount_no_charge,
        x_min_balance_amount,
        x_attribute_category,
        x_attribute1,
        x_attribute2,
        x_attribute3,
        x_attribute4,
        x_attribute5,
        x_attribute6,
        x_attribute7,
        x_attribute8,
        x_attribute9,
        x_attribute10,
        x_attribute11,
        x_attribute12,
        x_attribute13,
        x_attribute14,
        x_attribute15,
        x_attribute16,
        x_attribute17,
        x_attribute18,
        x_attribute19,
        x_attribute20,
        x_mode,
        x_payment_plan_accrl_type_code,
        x_payment_plan_chg_rate,
        x_payment_plan_flat_amt,
        x_payment_plan_max_charge_amt,
        x_payment_plan_min_charge_amt,
        x_payment_plan_minchgamt_nochg,
        x_payment_plan_min_balance_amt
      );
Line: 1253

    update_row (
      x_rowid,
      x_plan_name,
      x_plan_type,
      x_description,
      x_closed_ind,
      x_balance_type,
      x_fee_type,
      x_accrual_type,
      x_offset_days,
      x_chg_rate,
      x_flat_amount,
      x_max_charge_amount,
      x_min_charge_amount,
      x_min_charge_amount_no_charge,
      x_min_balance_amount,
      x_attribute_category,
      x_attribute1,
      x_attribute2,
      x_attribute3,
      x_attribute4,
      x_attribute5,
      x_attribute6,
      x_attribute7,
      x_attribute8,
      x_attribute9,
      x_attribute10,
      x_attribute11,
      x_attribute12,
      x_attribute13,
      x_attribute14,
      x_attribute15,
      x_attribute16,
      x_attribute17,
      x_attribute18,
      x_attribute19,
      x_attribute20,
      x_mode,
      x_payment_plan_accrl_type_code,
      x_payment_plan_chg_rate,
      x_payment_plan_flat_amt,
      x_payment_plan_max_charge_amt,
      x_payment_plan_min_charge_amt,
      x_payment_plan_minchgamt_nochg,
      x_payment_plan_min_balance_amt
    );
Line: 1303

  PROCEDURE delete_row (
    x_rowid IN VARCHAR2
  ) AS
  /*
  ||  Created By : [email protected]
  ||  Created On : 28-NOV-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)
  */
  BEGIN

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

    DELETE FROM igs_fi_fin_lt_plan
    WHERE rowid = x_rowid;
Line: 1329

  END delete_row;