Class WCreateFromMovementUI

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

public class WCreateFromMovementUI extends CreateFromMovement implements ValueChangeListener, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Criação de linhas de Movimentação de Estoque com base em um outro documento ou um Recebimento de Materiais ou outro documento
Version:
$Id: WCreateFromMovementUI.java, v1.0 Jan 16, 2013 5:44:27 PM, muriloht Exp $
Author:
muriloht (muriloht@devcoffee.com.br, http://www.devcoffee.com.br)
  • Field Details

    • inOutLabel

      protected Label inOutLabel
    • inOutField

      protected WEditor inOutField
    • movementLabel

      protected Label movementLabel
    • movementField

      protected Listbox movementField
  • Constructor Details

    • WCreateFromMovementUI

      public WCreateFromMovementUI(GridTab tab)
  • Method Details

    • dynInit

      public boolean dynInit() throws Exception
      Dynamic Init
      Overrides:
      dynInit in class CreateFromMovement
      Returns:
      true if initialized
      Throws:
      Exception - if Lookups cannot be initialized
    • zkInit

      protected void zkInit() throws Exception
      Throws:
      Exception
    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event e) throws Exception
      Action Listener
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
      Parameters:
      e - event
      Throws:
      Exception
    • loadMInOutLines

      protected void loadMInOutLines(int M_InOut_ID)
      Parameters:
      M_InOut_ID -
    • loadMovementLines

      protected void loadMovementLines(int M_Movement_ID)
      Parameters:
      M_Movement_ID -
    • valueChange

      public void valueChange(ValueChangeEvent e)
      Change Listener
      Specified by:
      valueChange in interface ValueChangeListener
      Parameters:
      e - event
    • initInOutMovementDetails

      protected void initInOutMovementDetails(int M_InOut_ID)
      Load InOut dependent Movement field
      Parameters:
      M_InOut_ID - Shipment / Receipt
    • loadTableOIS

      protected void loadTableOIS(Vector<?> data)
      Load Order/Invoice/Shipment data into Table
      Parameters:
      data - data
    • showWindow

      public void showWindow()
      Description copied from interface: ICreateFrom
      show dialog
      Specified by:
      showWindow in interface ICreateFrom
      Overrides:
      showWindow in class CreateFrom
    • closeWindow

      public void closeWindow()
      Description copied from interface: ICreateFrom
      close dialog
      Specified by:
      closeWindow in interface ICreateFrom
      Overrides:
      closeWindow in class CreateFrom
    • getWindow

      public Object getWindow()
      Specified by:
      getWindow in interface ICreateFrom
      Returns:
      dialog object