Class WPaymentFormCash

All Implemented Interfaces:
IPaymentForm

public class WPaymentFormCash extends PaymentFormCash
Form for cash payment rule (X_C_Order.PAYMENTRULE_Cash).
Author:
Elaine
  • Constructor Details

    • WPaymentFormCash

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

    • init

      public 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 PaymentFormCash
    • checkMandatory

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

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

      public void showWindow()
      Description copied from interface: IPaymentForm
      show form
    • closeWindow

      public void closeWindow()
      Description copied from interface: IPaymentForm
      close form
    • getWindow

      public Object getWindow()
      Returns:
      instance of UI form