Class MAging

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

public class MAging extends X_T_Aging
Aging Model
Version:
$Id: MAging.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MAging

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

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

      public MAging(Properties ctx, int AD_PInstance_ID, Timestamp StatementDate, int C_BPartner_ID, int C_Currency_ID, int C_Invoice_ID, int C_InvoicePaySchedule_ID, int C_BP_Group_ID, int AD_Org_ID, Timestamp DueDate, boolean IsSOTrx, String trxName)
      Parameters:
      ctx - context
      AD_PInstance_ID - instance
      StatementDate - statement date
      C_BPartner_ID - bpartner
      C_Currency_ID - currency
      C_Invoice_ID - invoice
      C_InvoicePaySchedule_ID - invoice schedule
      C_BP_Group_ID - group
      AD_Org_ID - organization
      DueDate - due date
      IsSOTrx - SO Trx
      trxName - transaction
    • MAging

      @Deprecated(forRemoval=true, since="11") public MAging(Properties ctx, int AD_PInstance_ID, Timestamp StatementDate, int C_BPartner_ID, int C_Currency_ID, int C_Invoice_ID, int C_InvoicePaySchedule_ID, int C_BP_Group_ID, Timestamp DueDate, boolean IsSOTrx, String trxName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      - better use the new constructor with organization included
      Partial Constructor - backward compatibility
      Parameters:
      ctx - context
      AD_PInstance_ID - instance
      StatementDate - statement date
      C_BPartner_ID - bpartner
      C_Currency_ID - currency
      C_Invoice_ID - invoice
      C_InvoicePaySchedule_ID - invoice schedule
      C_BP_Group_ID - group
      DueDate - due date
      IsSOTrx - SO Trx
      trxName - transaction
    • MAging

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

    • add

      public void add(Timestamp DueDate, int daysDue, BigDecimal invoicedAmt, BigDecimal openAmt)
      Add Amount to Buckets (by days due)
      Parameters:
      DueDate - due date
      daysDue - positive due - negative not due
      invoicedAmt - invoiced amount
      openAmt - open amount
    • toString

      public String toString()
      String Representation
      Overrides:
      toString in class X_T_Aging
      Returns:
      info