Package org.adempiere.webui.apps.form
Class WPayPrint
- java.lang.Object
-
- org.compiere.apps.form.PayPrint
-
- org.adempiere.webui.apps.form.WPayPrint
-
- All Implemented Interfaces:
ValueChangeListener
,IFormController
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WPayPrint extends PayPrint implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>, ValueChangeListener
Payment Print and Export- Version:
- $Id: VPayPrint.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $ Contributors: Carlos Ruiz - GlobalQSS - FR 3132033 - Make payment export class configurable per bank Markus Bozem: IDEMPIERE-1546 / IDEMPIERE-3286
- Author:
- Jorg Janke
-
-
Field Summary
Fields Modifier and Type Field Description protected Button
bCancel
protected Button
bExport
protected Button
bPrint
protected Button
bProcess
protected Grid
centerLayout
protected Panel
centerPanel
protected WNumberEditor
fBalance
protected Label
fBank
protected Label
fCurrency
protected WYesNoEditor
fDepositBatch
protected WNumberEditor
fDocumentNo
protected Label
fNoPayments
protected Listbox
fPaymentRule
protected WNumberEditor
fSumPayments
protected Label
lBalance
protected Label
lBank
protected Label
lCurrency
protected Label
lDepositBatch
protected Label
lDocumentNo
protected Label
lNoPayments
protected Label
lPaymentRule
protected Label
lPaySelect
protected Label
lSumPayments
protected WSearchEditor
paySelectSearch
protected ConfirmPanel
southPanel
-
Fields inherited from class org.compiere.apps.form.PayPrint
balance, bank, currency, documentNo, log, m_batch, m_C_BankAccount_ID, m_C_PaySelection_ID, m_checks, m_PaymentExport, m_PaymentExportClass, m_WindowNo, noPayments, printFormatId, sumPayments
-
-
Constructor Summary
Constructors Constructor Description WPayPrint()
Initialize Panel
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cmd_EFT()
Create EFT paymentprotected void
cmd_export()
Export payments to fileprotected void
cmd_print()
Print Checks and/or Remittanceprotected void
confirm_cmd_print()
Confirm before printingvoid
dispose()
Disposeprotected void
dynInit()
Dynamic Initprotected boolean
getChecks(String PaymentRule)
Get ChecksADForm
getForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)protected void
getPluginFeatures()
protected void
loadPaymentRule()
Bank changed - load PaymentRuleprotected void
loadPaymentRuleInfo()
PaymentRule changed - load DocumentNo, NoPayments, enable/disable EFT, Printprotected void
loadPaySelectInfo()
PaySelect changed - load Bankvoid
onEvent(org.zkoss.zk.ui.event.Event e)
Action Listenervoid
setPaySelection(int C_PaySelection_ID)
Set Payment Selectionvoid
valueChange(ValueChangeEvent e)
Vetoable Change Listenerprotected void
zkInit()
Static Init-
Methods inherited from class org.compiere.apps.form.PayPrint
loadPaymentExportClass, loadPaymentRule, loadPaymentRuleInfo, loadPaySelectInfo
-
-
-
-
Field Detail
-
centerPanel
protected Panel centerPanel
-
southPanel
protected ConfirmPanel southPanel
-
centerLayout
protected Grid centerLayout
-
bPrint
protected Button bPrint
-
bExport
protected Button bExport
-
bCancel
protected Button bCancel
-
bProcess
protected Button bProcess
-
lPaySelect
protected Label lPaySelect
-
paySelectSearch
protected WSearchEditor paySelectSearch
-
lBank
protected Label lBank
-
fBank
protected Label fBank
-
lPaymentRule
protected Label lPaymentRule
-
fPaymentRule
protected Listbox fPaymentRule
-
lDocumentNo
protected Label lDocumentNo
-
fDocumentNo
protected WNumberEditor fDocumentNo
-
lNoPayments
protected Label lNoPayments
-
fNoPayments
protected Label fNoPayments
-
lBalance
protected Label lBalance
-
fBalance
protected WNumberEditor fBalance
-
lCurrency
protected Label lCurrency
-
fCurrency
protected Label fCurrency
-
lDepositBatch
protected Label lDepositBatch
-
fDepositBatch
protected WYesNoEditor fDepositBatch
-
lSumPayments
protected Label lSumPayments
-
fSumPayments
protected WNumberEditor fSumPayments
-
-
Method Detail
-
dynInit
protected void dynInit()
Dynamic Init
-
dispose
public void dispose()
Dispose
-
setPaySelection
public void setPaySelection(int C_PaySelection_ID)
Set Payment Selection- Parameters:
C_PaySelection_ID
- id
-
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event e)
Action Listener- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Parameters:
e
- event
-
loadPaySelectInfo
protected void loadPaySelectInfo()
PaySelect changed - load Bank
-
loadPaymentRule
protected void loadPaymentRule()
Bank changed - load PaymentRule
-
loadPaymentRuleInfo
protected void loadPaymentRuleInfo()
PaymentRule changed - load DocumentNo, NoPayments, enable/disable EFT, Print
-
getPluginFeatures
protected void getPluginFeatures()
-
cmd_export
protected void cmd_export()
Export payments to file
-
cmd_EFT
protected void cmd_EFT()
Create EFT payment
-
confirm_cmd_print
protected void confirm_cmd_print()
Confirm before printing
-
cmd_print
protected void cmd_print()
Print Checks and/or Remittance
-
getChecks
protected boolean getChecks(String PaymentRule)
Get Checks- Parameters:
PaymentRule
- Payment Rule- Returns:
- true if payments were created
-
getForm
public ADForm getForm()
Description copied from interface:IFormController
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getForm
in interfaceIFormController
- Returns:
-
valueChange
public void valueChange(ValueChangeEvent e)
Vetoable Change Listener. - Payment Selection- Specified by:
valueChange
in interfaceValueChangeListener
- Parameters:
e
- event
-
-