Package org.adempiere.webui.apps.form
Class WMerge
java.lang.Object
org.compiere.apps.form.Merge
org.adempiere.webui.apps.form.WMerge
- All Implemented Interfaces:
IFormController
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WMerge
extends Merge
implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Form to Merge source/from record to target/to record (support Organization, User, Business Partner and Product).
Restriction - fails for Accounting.
-
Field Summary
Fields inherited from class org.compiere.apps.form.Merge
AD_ORG_ID, AD_USER_ID, C_BPARTNER_ID, log, m_columnName, m_deleteTables, m_errorLog, M_PRODUCT_ID, m_totalCount, m_WindowNo, s_delete_BPartner, s_delete_Org, s_delete_Product, s_delete_User
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Close windowgetForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)void
After execution of merge.void
onEvent
(org.zkoss.zk.ui.event.Event e) Event Listenervoid
Handle runProcess event echo from onEvent.protected void
zkInit()
Layoutform
Methods inherited from class org.compiere.apps.form.Merge
merge, mergeTable, postMerge, updateDeleteTable
-
Constructor Details
-
WMerge
public WMerge()Default constructor
-
-
Method Details
-
zkInit
Layoutform
- Throws:
Exception
-
dispose
public void dispose()Close window -
onEvent
public void onEvent(org.zkoss.zk.ui.event.Event e) Event Listener- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Parameters:
e
- event
-
runProcess
public void runProcess()Handle runProcess event echo from onEvent. Call runnable.run() to execute merge. -
onAfterProcess
public void onAfterProcess()After execution of merge. Show info/error message and close form (if merge is success). -
getForm
Description copied from interface:IFormController
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getForm
in interfaceIFormController
- Returns:
-