Class PaymentFormOnCredit

java.lang.Object
org.compiere.grid.PaymentForm
org.compiere.grid.PaymentFormOnCredit
All Implemented Interfaces:
IPaymentForm
Direct Known Subclasses:
WPaymentFormOnCredit

public abstract class PaymentFormOnCredit extends PaymentForm
Payment form for on credit tender type
Author:
Elaine
  • Field Details

    • m_C_PaymentTerm_ID

      protected int m_C_PaymentTerm_ID
      Start Payment Term
    • selectedPaymentTerm

      protected KeyNamePair selectedPaymentTerm
  • Constructor Details

    • PaymentFormOnCredit

      public PaymentFormOnCredit(int windowNo, GridTab mTab)
      Parameters:
      windowNo -
      mTab -
  • Method Details

    • loadData

      public void loadData()
      Description copied from interface: IPaymentForm
      Load payment and related transaction records. Usually call from dynInit()
    • getPaymentTermList

      public ArrayList<KeyNamePair> getPaymentTermList()
      Set selected payment term and return list of payment term records
      Returns:
      list of active payment terms (C_PaymentTerm_ID, Name)
    • save

      public boolean save(int C_PaymentTerm_ID)
      Update payment term of parent grid tab, doesn't create payment record
      Parameters:
      C_PaymentTerm_ID -
      Returns:
      true if save successfully
    • afterSave

      protected void afterSave(boolean success)
      Description copied from class: PaymentForm
      After save and transaction have been committed/rollback
      Specified by:
      afterSave in class PaymentForm