Class WReport

java.lang.Object
org.adempiere.webui.apps.WReport
All Implemented Interfaces:
org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>

public class WReport extends Object implements org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Launch report for table (immediate or through popup menu, depends on number of print format discover for AD_Table_ID and AD_Window_ID).
Author:
Low Heng Sin
  • Field Details

    • parent

      protected org.zkoss.zk.ui.Component parent
      The invoking parent component
    • WindowNo

      protected int WindowNo
      The parent window number
  • Constructor Details

    • WReport

      public WReport(int AD_Table_ID, MQuery query)
      Parameters:
      AD_Table_ID - table
      query - query
    • WReport

      public WReport(int AD_Table_ID, MQuery query, org.zkoss.zk.ui.Component parent, int WindowNo)
      Parameters:
      AD_Table_ID - table
      query - query
      parent - The invoking parent component
      WindowNo - The invoking parent window number
    • WReport

      public WReport(int AD_Table_ID, MQuery query, org.zkoss.zk.ui.Component parent, int WindowNo, String whereExtended)
      Launch report immediately (if only one print format found) or show menu popup for the list of print formats discover for AD_Table_ID and AD_Window_ID (from WindowNo).
      Parameters:
      AD_Table_ID - table
      query - query
      parent - The invoking parent window
      WindowNo - The invoking parent window number
      whereExtended -
  • Method Details

    • getAD_Table_ID

      public static int getAD_Table_ID(String tableName)
      Get AD_Table_ID for Table Name
      Parameters:
      tableName - table name
      Returns:
      AD_Table_ID or 0
    • onEvent

      public void onEvent(org.zkoss.zk.ui.event.Event event)
      Specified by:
      onEvent in interface org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>