Package org.adempiere.webui.apps.form
Class WCreateFromRMAUI
java.lang.Object
org.compiere.grid.CreateFrom
org.compiere.grid.CreateFromRMA
org.adempiere.webui.apps.form.WCreateFromRMAUI
- All Implemented Interfaces:
ValueChangeListener
,ICreateFrom
Form to create RMA lines from shipment lines.
- Author:
- hengsin
-
Field Summary
Modifier and TypeFieldDescriptionprotected WEditor
Business partner parameter fieldprotected Label
Fields inherited from class org.compiere.grid.CreateFrom
isSOTrx, m_rma, p_order
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close dialogprotected boolean
dynInit()
dynamic initialization, usually for loading of dataprotected void
initBPartner
(boolean forInvoice) Load BPartner Fieldprotected void
loadRMA()
load RMA linesprotected void
loadTableOIS
(Vector<?> data) Load data into list boxprotected void
handle onClientInfo eventvoid
show dialogvoid
On value change eventprotected void
zkInit()
Layoutwindow
Methods inherited from class org.compiere.grid.CreateFromRMA
configureMiniTable, getOISColumnNames, getRMAData, info, 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
-
bPartnerLabel
-
bPartnerField
Business partner parameter field
-
-
Constructor Details
-
WCreateFromRMAUI
- Parameters:
tab
-
-
-
Method Details
-
dynInit
Description copied from class:CreateFrom
dynamic initialization, usually for loading of data- Overrides:
dynInit
in classCreateFromRMA
- Returns:
- true if initialization success
- Throws:
Exception
-
zkInit
Layoutwindow
- Throws:
Exception
-
valueChange
Description copied from interface:ValueChangeListener
On value change event- Specified by:
valueChange
in interfaceValueChangeListener
-
initBPartner
Load BPartner Field- Parameters:
forInvoice
- true if Invoices are to be created, false receipts- Throws:
Exception
- if Lookups cannot be initialized
-
loadRMA
protected void loadRMA()load RMA lines -
loadTableOIS
Load data into list box- 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
-
onClientInfo
protected void onClientInfo()handle onClientInfo event
-