Package org.brerp.webui.apps.form
Class WAllocation
java.lang.Object
org.compiere.apps.form.Allocation
org.brerp.apps.form.BrERPAllocation
org.brerp.webui.apps.form.WAllocation
- All Implemented Interfaces:
ValueChangeListener,WTableModelListener,IFormController,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WAllocation
extends BrERPAllocation
implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, WTableModelListener, ValueChangeListener
Allocation Form
- Version:
- $Id: VAllocation.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $ Contributor : Fabian Aguilar - OFBConsulting - Multiallocation
- Author:
- Jorg Janke
-
Field Summary
Fields inherited from class org.brerp.apps.form.BrERPAllocation
allocDate, format, i_CDocTypeID, i_CheckAllocated, i_CNABGenerated, i_COFCCustodyID, i_dateInvoicedFrom, i_dateInvoicedTo, i_dueDateFrom, i_dueDateTo, log, m_AD_Org_ID, m_C_BPartner_ID, m_C_Charge_ID, m_C_Currency_ID, m_C_DocType_ID, m_cof_Processed, p_CDocTypeID, totalDiff, totalInv, totalPay, user2_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddynInit()Dynamic Init (prepare dynamic fields)getForm()Called by org.adempiere.webui.panel.ADForm.openForm(int)protected voidprotected voidvoidonEvent(org.zkoss.zk.ui.event.Event e) Action Listenerprotected voidvoidTable Model ListenervoidVetoable Change ListenerMethods inherited from class org.brerp.apps.form.BrERPAllocation
calculate, calculateInvoice, calculatePayment, checkBPartner, getI_interest, getI_penalty, getInvoiceColumnNames, getInvoiceData, getM_noPayments, getPaymentColumnNames, getPaymentData, saveData, setInvoiceColumnClass, setPaymentColumnClass, writeOffMethods inherited from class org.compiere.apps.form.Allocation
calculate, calculateDifference, getAD_Org_ID, getC_BPartner_ID, getC_Charge_ID, getC_Currency_ID, getC_DocType_ID, getInvoiceAppliedTotal, getInvoiceColumnNames, getInvoiceData, getInvoiceData, getInvoiceInfoText, getPaymentAppliedTotal, getPaymentData, getPaymentInfoText, getSelectedInvoiceCount, getSelectedPaymentCount, getTotalDifference, isOkToAllocate, prepareForCalculate, setAD_Org_ID, setC_BPartner_ID, setC_Charge_ID, setC_Currency_ID, setC_DocType_ID, setInvoiceColumnClass
-
Constructor Details
-
WAllocation
public WAllocation()Initialize Panel- Parameters:
WindowNo- windowframe- frame
-
-
Method Details
-
layoutParameterAndSummary
protected void layoutParameterAndSummary() -
setupParameterColumns
protected void setupParameterColumns() -
dynInit
Dynamic Init (prepare dynamic fields)- Overrides:
dynInitin classBrERPAllocation- Throws:
Exception- if Lookups cannot be initialized
-
onClientInfo
protected void onClientInfo() -
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event e) Action Listener. - MultiCurrency - Allocate- Specified by:
onEventin interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>- Parameters:
e- event
-
tableChanged
Table Model Listener. - Recalculate Totals- Specified by:
tableChangedin interfaceWTableModelListener- Parameters:
e- event
-
valueChange
Vetoable Change Listener. - Business Partner - Currency - Date- Specified by:
valueChangein interfaceValueChangeListener- Parameters:
e- event
-
calculate
public void calculate() -
getForm
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getFormin interfaceIFormController- Returns:
-