Package org.brerp.ui.zk.apps.form
Class WCreateFromMovementUI
java.lang.Object
org.compiere.grid.CreateFrom
org.brerp.ui.grid.CreateFromMovement
org.brerp.ui.zk.apps.form.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 Summary
Modifier and TypeFieldDescriptionprotected WEditor
protected Label
protected Listbox
protected Label
Fields inherited from class org.brerp.ui.grid.CreateFromMovement
m_inout_id, m_locator_id, m_locator_to_id
Fields inherited from class org.compiere.grid.CreateFrom
isSOTrx, m_rma, p_order
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close dialogboolean
dynInit()
Dynamic Initprotected void
initInOutMovementDetails
(int M_InOut_ID) Load InOut dependent Movement fieldprotected void
loadMInOutLines
(int M_InOut_ID) protected void
loadMovementLines
(int M_Movement_ID) protected void
loadTableOIS
(Vector<?> data) Load Order/Invoice/Shipment data into Tablevoid
onEvent
(org.zkoss.zk.ui.event.Event e) Action Listenervoid
show dialogvoid
Change Listenerprotected void
zkInit()
Methods inherited from class org.brerp.ui.grid.CreateFromMovement
configureMiniTable, getMInOutLines, getMovementLines, getOISColumnNames, info, loadMInOutData, save
Methods inherited from class org.compiere.grid.CreateFrom
getGridTab, getM_Warehouse_ID, getOrderData, getOrderData, getTitle, getTrxName, isInitOK, loadOrderData, loadOrderData, setInitOK, setTitle, setTrxName
-
Field Details
-
inOutLabel
-
inOutField
-
movementLabel
-
movementField
-
-
Constructor Details
-
WCreateFromMovementUI
-
-
Method Details
-
dynInit
Dynamic Init- Overrides:
dynInit
in classCreateFromMovement
- Returns:
- true if initialized
- Throws:
Exception
- if Lookups cannot be initialized
-
zkInit
- Throws:
Exception
-
onEvent
Action Listener- Specified by:
onEvent
in interfaceorg.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
Change Listener- Specified by:
valueChange
in interfaceValueChangeListener
- Parameters:
e
- event
-
initInOutMovementDetails
protected void initInOutMovementDetails(int M_InOut_ID) Load InOut dependent Movement field- Parameters:
M_InOut_ID
- Shipment / Receipt
-
loadTableOIS
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 interfaceICreateFrom
- Overrides:
showWindow
in classCreateFrom
-
closeWindow
public void closeWindow()Description copied from interface:ICreateFrom
close dialog- Specified by:
closeWindow
in interfaceICreateFrom
- Overrides:
closeWindow
in classCreateFrom
-
getWindow
- Specified by:
getWindow
in interfaceICreateFrom
- Returns:
- dialog object
-