Class MDunningRun

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

public class MDunningRun extends X_C_DunningRun
Dunning Run Model
Version:
$Id: MDunningRun.java,v 1.2 2006/07/30 00:51:03 jjanke Exp $ FR 2872010 - Dunning Run for a complete Dunning (not just level) - Developer: Carlos Ruiz - globalqss - Sponsor: Metas
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MDunningRun

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

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

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

    • getLevels

      public MDunningLevel[] getLevels()
      Get Dunning Levels
      Returns:
      array of level
    • getEntries

      public MDunningRunEntry[] getEntries(boolean requery)
      Get Entries
      Parameters:
      requery - true to requery
      Returns:
      entries
    • getEntries

      public MDunningRunEntry[] getEntries(boolean requery, boolean onlyInvoices)
      Get Entries
      Parameters:
      requery - true to requery
      onlyInvoices - true for entries with invoice only
      Returns:
      entries
    • deleteEntries

      public boolean deleteEntries(boolean force)
      Delete all Entries
      Parameters:
      force - true to delete also processed records
      Returns:
      true if deleted
    • getEntry

      public MDunningRunEntry getEntry(int C_BPartner_ID, int C_Currency_ID, int SalesRep_ID, int C_DunningLevel_ID)
      Get/Create Entry for BPartner
      Parameters:
      C_BPartner_ID - business partner
      C_Currency_ID - currency
      SalesRep_ID - sales rep
      C_DunningLevel_ID - dunning level
      Returns:
      entry