Class 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 Detail

      • centerPanel

        protected Panel centerPanel
      • centerLayout

        protected Grid centerLayout
      • bPrint

        protected Button bPrint
      • bExport

        protected Button bExport
      • bCancel

        protected Button bCancel
      • bProcess

        protected Button bProcess
      • lPaySelect

        protected Label lPaySelect
      • lBank

        protected Label lBank
      • fBank

        protected Label fBank
      • lPaymentRule

        protected Label lPaymentRule
      • fPaymentRule

        protected Listbox fPaymentRule
      • lDocumentNo

        protected Label lDocumentNo
      • lNoPayments

        protected Label lNoPayments
      • fNoPayments

        protected Label fNoPayments
      • lBalance

        protected Label lBalance
      • lCurrency

        protected Label lCurrency
      • fCurrency

        protected Label fCurrency
      • lDepositBatch

        protected Label lDepositBatch
      • lSumPayments

        protected Label lSumPayments
    • Constructor Detail

      • WPayPrint

        public WPayPrint()
        Initialize Panel
    • 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 interface org.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