Class MReportCube

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_PA_ReportCube, I_Persistent, Evaluatee

public class MReportCube extends X_PA_ReportCube
See Also:
  • Constructor Details

    • MReportCube

      public MReportCube(Properties ctx, String PA_ReportCube_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      PA_ReportCube_UU - UUID key
      trxName - Transaction
    • MReportCube

      public MReportCube(Properties ctx, int PA_ReportCube_ID, String trxName)
      Parameters:
      ctx -
      PA_ReportCube_ID -
      trxName -
    • MReportCube

      public MReportCube(Properties ctx, ResultSet rs, String trxName)
      Parameters:
      ctx -
      rs -
      trxName -
  • Method Details

    • update

      public String update(boolean reset, boolean force)
      Update Fact_Acct_Summary base on this report cube configuration
      Parameters:
      reset - if false, will check whether update is needed since last update of Fact_Acct_Summary
      force - if false, throw exception if can't lock this report cube record by changing Processing to Y
      Returns:
      info message
    • getChangedPeriodKeyNamePairs

      public KeyNamePair[] getChangedPeriodKeyNamePairs()
      Get periods where there are fact_acct changes since last re-calculation of cube
      Returns:
      changed periods (C_Period_ID, Name)