Package org.adempiere.webui.apps.form
Class WPaymentFormOnCredit
java.lang.Object
org.compiere.grid.PaymentForm
org.compiere.grid.PaymentFormOnCredit
org.adempiere.webui.apps.form.WPaymentFormOnCredit
- All Implemented Interfaces:
IPaymentForm
Form for on credit payment rule (
X_C_Order.PAYMENTRULE_OnCredit).- Author:
- Elaine
-
Field Summary
Fields inherited from class org.compiere.grid.PaymentFormOnCredit
m_C_PaymentTerm_ID, selectedPaymentTermFields 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 TypeMethodDescriptionbooleanMandatory field validationsvoidClose formGet instance of UI formprotected voidinit()LayoutwindowvoidloadData()Load payment and related transaction records.booleansaveChangesInTrx(String trxName) Save changes to DBvoidShow formMethods inherited from class org.compiere.grid.PaymentFormOnCredit
afterSave, getPaymentTermList, saveMethods inherited from class org.compiere.grid.PaymentForm
dynInit, getBankAccountProcessor, getGridTab, getInvoiceID, getWindowNo, isApproved, isBankAccountProcessorExist, isOnlyRule, needSave, processOnline, saveChanges, setBankAccountProcessor, setCustomizeValues
-
Constructor Details
-
WPaymentFormOnCredit
- Parameters:
windowNo-mTab-
-
-
Method Details
-
init
protected void init()Layoutwindow -
loadData
public void loadData()Description copied from interface:IPaymentFormLoad payment and related transaction records. Usually call from dynInit()- Specified by:
loadDatain interfaceIPaymentForm- Overrides:
loadDatain classPaymentFormOnCredit
-
checkMandatory
public boolean checkMandatory()Description copied from interface:IPaymentFormMandatory field validations- Returns:
- true if all mandatory field have been populated
-
saveChangesInTrx
Description copied from interface:IPaymentFormSave changes to DB- Returns:
- true if save successfully
-
showWindow
public void showWindow()Description copied from interface:IPaymentFormShow form -
closeWindow
public void closeWindow()Description copied from interface:IPaymentFormClose form -
getWindow
Description copied from interface:IPaymentFormGet instance of UI form- Returns:
- instance of UI form
-