Class MPaySelectionLine

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

public class MPaySelectionLine extends X_C_PaySelectionLine
Payment Selection Line Model
Version:
$Id: MPaySelectionLine.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
See Also:
  • Constructor Details

    • MPaySelectionLine

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

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

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

      public MPaySelectionLine(MPaySelection ps, int Line, String PaymentRule)
      Parent Constructor
      Parameters:
      ps - parent
      Line - line
      PaymentRule - payment rule
  • Method Details

    • xsetInvoice

      @Deprecated(forRemoval=true, since="11") public void xsetInvoice(int C_Invoice_ID, boolean isSOTrx, BigDecimal OpenAmt, BigDecimal PayAmt, BigDecimal DiscountAmt)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set Invoice Info
      Parameters:
      C_Invoice_ID - invoice
      isSOTrx - sales trx
      PayAmt - payment
      OpenAmt - open
      DiscountAmt - discount
    • setInvoice

      public void setInvoice(int C_Invoice_ID, boolean isSOTrx, BigDecimal OpenAmt, BigDecimal PayAmt, BigDecimal DiscountAmt, BigDecimal WriteOffAmt)
      Set Invoice Info
      Parameters:
      C_Invoice_ID - invoice
      isSOTrx - sales trx flag
      PayAmt - payment amount
      OpenAmt - open amount
      DiscountAmt - discount amount
      WriteOffAmt - writeoff amount
    • getInvoice

      public MInvoice getInvoice()
      Get Invoice
      Returns:
      invoice
    • 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)
      After Delete
      Overrides:
      afterDelete in class PO
      Parameters:
      success - success
      Returns:
      success
    • toString

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