Class FinReportPeriod

java.lang.Object
org.compiere.report.FinReportPeriod

public class FinReportPeriod extends Object
Financial Report Periods
Version:
$Id: FinReportPeriod.java,v 1.3 2006/08/03 22:16:52 jjanke Exp $
Author:
Jorg Janke
  • Constructor Details

    • FinReportPeriod

      public FinReportPeriod(int C_Period_ID, String Name, Timestamp StartDate, Timestamp EndDate, Timestamp YearStartDate)
      Constructor
      Parameters:
      C_Period_ID - period
      Name - name
      StartDate - period start date
      EndDate - period end date
      YearStartDate - year start date
  • Method Details

    • getPeriodWhere

      public String getPeriodWhere()
      Get Period Info
      Returns:
      BETWEEN start AND end
    • getYearWhere

      public String getYearWhere()
      Get Year Info
      Returns:
      BETWEEN start AND end
    • getTotalWhere

      public String getTotalWhere()
      Get Total Info
      Returns:
      <= end
    • inPeriod

      public boolean inPeriod(Timestamp date)
      Is date in period
      Parameters:
      date - date
      Returns:
      true if in period
    • getName

      public String getName()
      Get Name
      Returns:
      name
    • getC_Period_ID

      public int getC_Period_ID()
      Get C_Period_ID
      Returns:
      period
    • getEndDate

      public Timestamp getEndDate()
      Get End Date
      Returns:
      end date
    • getStartDate

      public Timestamp getStartDate()
      Get Start Date
      Returns:
      start date
    • getYearStartDate

      public Timestamp getYearStartDate()
      Get Year Start Date
      Returns:
      year start date
    • getNaturalWhere

      public String getNaturalWhere(String alias)
      Get natural balance dateacct filter
      Parameters:
      alias - table name or alias name
      Returns:
      is balance sheet a/c and <= end or BETWEEN start AND end