Package org.compiere.grid
Class PaymentFormOnCredit
java.lang.Object
org.compiere.grid.PaymentForm
org.compiere.grid.PaymentFormOnCredit
- All Implemented Interfaces:
IPaymentForm
- Direct Known Subclasses:
WPaymentFormOnCredit
- Author:
- Elaine
-
Field Summary
Fields inherited from class org.compiere.grid.PaymentForm
log, m_AD_Client_ID, m_AD_Org_ID, m_Amount, m_C_BPartner_ID, m_C_Currency_ID, m_Cash_As_Payment, m_DateAcct, m_DocStatus, m_isSOTrx, m_needSave, m_onlyRule, m_PaymentRule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterSave
(boolean success) after save and trx committed/rollbackset selected payment term and return list of payment term recordsvoid
loadData()
Load payment and related transaction records.boolean
save
(int C_PaymentTerm_ID) Update payment term of parent grid tab, doesn't create payment recordMethods inherited from class org.compiere.grid.PaymentForm
dynInit, getBankAccountProcessor, getGridTab, getInvoiceID, getWindowNo, isApproved, isBankAccountProcessorExist, isOnlyRule, needSave, processOnline, saveChanges, setBankAccountProcessor, setCustomizeValues
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.compiere.grid.IPaymentForm
checkMandatory, closeWindow, getWindow, saveChangesInTrx, showWindow
-
Field Details
-
m_C_PaymentTerm_ID
protected int m_C_PaymentTerm_IDStart Payment Term -
selectedPaymentTerm
-
-
Constructor Details
-
PaymentFormOnCredit
- 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
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 classPaymentForm
-