Class MInvoicePaySchedule

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_C_InvoicePaySchedule, I_Persistent, Evaluatee

public class MInvoicePaySchedule extends X_C_InvoicePaySchedule
Invoice Payment Schedule Model
Version:
$Id: MInvoicePaySchedule.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MInvoicePaySchedule

      public MInvoicePaySchedule(Properties ctx, String C_InvoicePaySchedule_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      C_InvoicePaySchedule_UU - UUID key
      trxName - Transaction
    • MInvoicePaySchedule

      public MInvoicePaySchedule(Properties ctx, int C_InvoicePaySchedule_ID, String trxName)
      Standard Constructor
      Parameters:
      ctx - context
      C_InvoicePaySchedule_ID - id
      trxName - transaction
    • MInvoicePaySchedule

      public MInvoicePaySchedule(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
    • MInvoicePaySchedule

      public MInvoicePaySchedule(MInvoice invoice, MPaySchedule paySchedule)
      Parent Constructor
      Parameters:
      invoice - invoice
      paySchedule - payment schedule
  • Method Details

    • getInvoicePaySchedule

      public static MInvoicePaySchedule[] getInvoicePaySchedule(Properties ctx, int C_Invoice_ID, int C_InvoicePaySchedule_ID, String trxName)
      Get Payment Schedule of invoice
      Parameters:
      ctx - context
      C_Invoice_ID - invoice id (direct)
      C_InvoicePaySchedule_ID - id (indirect)
      trxName - transaction
      Returns:
      array of schedule
    • getParent

      public MInvoice getParent()
      Returns:
      parent invoice
    • setParent

      public void setParent(MInvoice parent)
      Parameters:
      parent - The parent to set.
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_C_InvoicePaySchedule
      Returns:
      info
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Before Save
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new
      Returns:
      true
    • afterSave

      protected boolean afterSave(boolean newRecord, boolean success)
      After Save
      Overrides:
      afterSave in class PO
      Parameters:
      newRecord - new
      success - success
      Returns:
      success
    • afterDelete

      protected boolean afterDelete(boolean success)
      Description copied from class: PO
      Executed after Delete operation.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success