Class DrillReportCtl

java.lang.Object
org.compiere.print.DrillReportCtl

public class DrillReportCtl extends Object
Drill Report Controller
Author:
Igor Pojzl, Cloudempiere
  • Constructor Details

    • DrillReportCtl

      public DrillReportCtl(String TableName, MQuery query, String ColumnName, Object Value, String displayValue, int WindowNo, int processID)
      Parameters:
      TableName -
      query -
      ColumnName -
      Value -
      displayValue -
      WindowNo -
      processID -
  • Method Details

    • getDrillTables

      public KeyNamePair[] getDrillTables()
      Get Drill Table KeyNamePairs
    • getDrillProcesRules

      public HashMap<Integer,KeyNamePair[]> getDrillProcesRules()
      Return Array of Drill Process Rules
      Returns:
    • getDrillProcessRulesPrintFormatMap

      public KeyNamePair[] getDrillProcessRulesPrintFormatMap(int AD_Process_DrillRule_ID)
      Parameters:
      AD_Process_DrillRule_ID -
      Returns:
    • getDisplayValue

      public String getDisplayValue()
      Get Display Value
      Returns:
    • getValue

      public Object getValue()
      Get Value
      Returns:
    • initDrillTableMap

      public void initDrillTableMap()
      Initialize Drill Table Map
    • launchTableDrillReport

      public void launchTableDrillReport(int ad_PrintFormat_ID, String tableName)
      Launch Report
      Parameters:
      ad_PrintFormat_ID - print format
      tableName -
    • getDrillProcessProcessInfo

      public ProcessInfo getDrillProcessProcessInfo(int AD_Process_DrillRule_ID, int AD_PrintFormat_ID) throws Exception
      Parameters:
      AD_Process_DrillRule_ID -
      AD_PrintFormat_ID -
      Returns:
      Throws:
      Exception
    • prepareProcessInfo

      protected ProcessInfo prepareProcessInfo(MProcess process, MProcessDrillRule processDrillRule, int ad_PrintFormat_ID) throws Exception
      Run Process or Report
      Parameters:
      process - process
      Returns:
      summary
      Throws:
      Exception
    • fillParameter

      protected void fillParameter(ProcessInfo pi, MProcessDrillRule processDrillRule)
      Fill Parameter
      Parameters:
      pi - process info
      processDrillRule -
    • getTableName

      public String getTableName()
      Get Table Name
      Returns:
    • getDrillProcessList

      public KeyNamePair[] getDrillProcessList()
      Get Drill Process List
      Returns:
    • getDrillProcessRulesPrintFormatMap

      public HashMap<Integer,KeyNamePair[]> getDrillProcessRulesPrintFormatMap()
      Get Drill Process Rules Print Format Map
      Returns: