Class WPaymentFormCheck

All Implemented Interfaces:
IPaymentForm, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>

public class WPaymentFormCheck extends PaymentFormCheck implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Form for check payment rule (X_C_Order.PAYMENTRULE_Check).
Author:
Elaine
  • Constructor Details

    • WPaymentFormCheck

      public WPaymentFormCheck(int windowNo, GridTab mTab)
      Parameters:
      windowNo -
      mTab -
  • Method Details

    • init

      protected void init()
      Layout window
    • loadData

      public void loadData()
      Description copied from interface: IPaymentForm
      Load payment and related transaction records. Usually call from dynInit()
      Specified by:
      loadData in interface IPaymentForm
      Overrides:
      loadData in class PaymentFormCheck
    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event e)
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
    • checkMandatory

      public boolean checkMandatory()
      Description copied from interface: IPaymentForm
      Mandatory field validations
      Specified by:
      checkMandatory in interface IPaymentForm
      Returns:
      true if all mandatory field have been populated
    • saveChangesInTrx

      public boolean saveChangesInTrx(String trxName)
      Description copied from interface: IPaymentForm
      Save changes to DB
      Specified by:
      saveChangesInTrx in interface IPaymentForm
      Returns:
      true if save successfully
    • showWindow

      public void showWindow()
      Description copied from interface: IPaymentForm
      Show form
      Specified by:
      showWindow in interface IPaymentForm
    • closeWindow

      public void closeWindow()
      Description copied from interface: IPaymentForm
      Close form
      Specified by:
      closeWindow in interface IPaymentForm
    • getWindow

      public Object getWindow()
      Description copied from interface: IPaymentForm
      Get instance of UI form
      Specified by:
      getWindow in interface IPaymentForm
      Returns:
      instance of UI form