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.
  • Constructor Details

    • WMerge

      public WMerge()
      Default constructor
  • Method Details

    • zkInit

      protected void zkInit() throws Exception
      Layout form
      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 interface org.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

      public ADForm getForm()
      Description copied from interface: IFormController
      Called by org.adempiere.webui.panel.ADForm.openForm(int)
      Specified by:
      getForm in interface IFormController
      Returns: