Package org.compiere.grid
Class PaymentFormCheck
java.lang.Object
org.compiere.grid.PaymentForm
org.compiere.grid.PaymentFormCheck
- All Implemented Interfaces:
IPaymentForm
- Direct Known Subclasses:
WPaymentFormCheck
Payment for Check tender type
- Author:
- Elaine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intStart Bank Accountprotected intStart Paymentprotected MPaymentprotected MPaymentprotected Stringprotected KeyNamePairFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterSave(boolean success) After save and transaction have been committed/rollbackSet default selected bank account and return list of active bank account recordsgetBankAccountProcessor(int C_Currency_ID, BigDecimal PayAmt) Get online payment processor configuration for tender type checkbooleanisBankAccountProcessorExist(int C_Currency_ID, BigDecimal PayAmt) Is online payment processor have been configured for tender type checkvoidloadData()Load payment and related transaction records.booleansave(int C_BankAccount_ID, String routing, String number, String check, BigDecimal amount, String trxName) Save changesbooleanSave ChangesMethods inherited from class org.compiere.grid.PaymentForm
dynInit, getBankAccountProcessor, getGridTab, getInvoiceID, getWindowNo, isApproved, isBankAccountProcessorExist, isOnlyRule, needSave, processOnline, setBankAccountProcessor, setCustomizeValuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.compiere.grid.IPaymentForm
checkMandatory, closeWindow, getWindow, saveChangesInTrx, showWindow
-
Field Details
-
m_C_Payment_ID
protected int m_C_Payment_IDStart Payment -
m_mPayment
-
m_mPaymentOriginal
-
m_C_BankAccount_ID
protected int m_C_BankAccount_IDStart Bank Account -
selectedBankAccount
-
processMsg
-
-
Constructor Details
-
PaymentFormCheck
- Parameters:
windowNo-mTab-
-
-
Method Details
-
loadData
public void loadData()Description copied from interface:IPaymentFormLoad payment and related transaction records. Usually call from dynInit() -
getBankAccountList
Set default selected bank account and return list of active bank account records- Returns:
- list of active bank account (C_BankAccount_ID, Name+AccountNo)
-
saveChanges
public boolean saveChanges()Description copied from interface:IPaymentFormSave Changes- Specified by:
saveChangesin interfaceIPaymentForm- Overrides:
saveChangesin classPaymentForm- Returns:
- true, if Window can exit
-
save
public boolean save(int C_BankAccount_ID, String routing, String number, String check, BigDecimal amount, String trxName) Save changes- Parameters:
C_BankAccount_ID-routing- routing numbernumber- account numbercheck- check numberamount-trxName-- Returns:
- true if save successfully
-
afterSave
protected void afterSave(boolean success) Description copied from class:PaymentFormAfter save and transaction have been committed/rollback- Specified by:
afterSavein classPaymentForm
-
isBankAccountProcessorExist
Is online payment processor have been configured for tender type check- Parameters:
C_Currency_ID-PayAmt-- Returns:
- if online payment processor have been configured for tender type check
-
getBankAccountProcessor
Get online payment processor configuration for tender type check- Parameters:
C_Currency_ID-PayAmt-- Returns:
MBankAccountProcessor
-