Package org.adempiere.webui.apps.form
Class WPaymentFormCash
java.lang.Object
org.compiere.grid.PaymentForm
org.compiere.grid.PaymentFormCash
org.adempiere.webui.apps.form.WPaymentFormCash
- All Implemented Interfaces:
IPaymentForm
Form for cash payment rule (
X_C_Order.PAYMENTRULE_Cash
).- Author:
- Elaine
-
Field Summary
Fields inherited from class org.compiere.grid.PaymentFormCash
m_C_BankAccount_ID, m_C_CashBook_ID, m_C_CashLine_ID, m_C_Payment_ID, m_cashLine, m_mPayment, m_mPaymentOriginal, processMsg, selectedBankAccount, selectedCashBook
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 TypeMethodDescriptionboolean
mandatory field validationsvoid
close formvoid
init()
Layoutwindow
void
loadData()
Load payment and related transaction records.boolean
saveChangesInTrx
(String trxName) Save changes to DBvoid
show formMethods inherited from class org.compiere.grid.PaymentFormCash
afterSave, getBankAccountList, getCashBookList, save, saveChanges
Methods inherited from class org.compiere.grid.PaymentForm
dynInit, getBankAccountProcessor, getGridTab, getInvoiceID, getWindowNo, isApproved, isBankAccountProcessorExist, isOnlyRule, needSave, processOnline, setBankAccountProcessor, setCustomizeValues
-
Constructor Details
-
WPaymentFormCash
- Parameters:
windowNo
-mTab
-
-
-
Method Details
-
init
public void init()Layoutwindow
-
loadData
public void loadData()Description copied from interface:IPaymentForm
Load payment and related transaction records. Usually call from dynInit()- Specified by:
loadData
in interfaceIPaymentForm
- Overrides:
loadData
in classPaymentFormCash
-
checkMandatory
public boolean checkMandatory()Description copied from interface:IPaymentForm
mandatory field validations- Returns:
- true if all mandatory field have been populated
-
saveChangesInTrx
Description copied from interface:IPaymentForm
Save changes to DB- Returns:
- true if save successfully
-
showWindow
public void showWindow()Description copied from interface:IPaymentForm
show form -
closeWindow
public void closeWindow()Description copied from interface:IPaymentForm
close form -
getWindow
- Returns:
- instance of UI form
-