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
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
    • 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 trx committed/rollback
      Specified by:
      afterSave in class PaymentForm