Class MDunningRunEntry

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

public class MDunningRunEntry extends X_C_DunningRunEntry
Dunning Run Entry Model
Version:
$Id: MDunningRunEntry.java,v 1.2 2006/07/30 00:51:05 jjanke Exp $
Author:
Jorg Janke, Teo Sarca - BF [ 1739022 ], BF [ 1739096 ] FR 2872010 - Dunning Run for a complete Dunning (not just level) - Developer: Carlos Ruiz - globalqss - Sponsor: Metas
See Also:
  • Constructor Details

    • MDunningRunEntry

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

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

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

      public MDunningRunEntry(MDunningRun parent)
      Parent Constructor
      Parameters:
      parent - parent
  • Method Details

    • setBPartner

      public void setBPartner(MBPartner bp, boolean isSOTrx)
      Set BPartner
      Parameters:
      bp - partner
      isSOTrx -
    • getLines

      public MDunningRunLine[] getLines()
      Get Lines
      Returns:
      Array of all lines for this Run
    • getLines

      public MDunningRunLine[] getLines(boolean onlyInvoices)
      Get Lines
      Parameters:
      onlyInvoices - true for entries with invoice only
      Returns:
      Array of all lines for this Run
    • hasInvoices

      public boolean hasInvoices()
      Check whether has Invoices
      Returns:
      true if C_Invoice_ID > 0
    • beforeSave

      protected boolean beforeSave(boolean newRecord)
      Description copied from class: PO
      Called before Save for Pre-Save Operation
      Overrides:
      beforeSave in class PO
      Parameters:
      newRecord - new record
      Returns:
      true if record can be saved