Minor - javadoc

This commit is contained in:
Heng Sin Low 2008-12-03 09:56:46 +00:00
parent 4022504df5
commit 0914636b35
2 changed files with 16 additions and 8 deletions

View File

@ -147,6 +147,11 @@ public class FinReportPeriod
return m_YearStartDate;
}
/**
* Get natural balance dateacct filter
* @param alias table name or alias name
* @return is balance sheet a/c and <= end or BETWEEN start AND end
*/
public String getNaturalWhere(String alias) {
String yearWhere = getYearWhere();
String totalWhere = getTotalWhere();

View File

@ -134,6 +134,17 @@ public class MReportColumn extends X_PA_ReportColumn
|| AMOUNTTYPE_TotalQuantity.equals(at);
} // isTotalBalance
/**
* Is it natural balance ?
* Natural balance means year balance for profit and loss a/c, total balance for balance sheet account
* @return true if Natural Balance Amount Type
*/
public boolean isNatural() {
String at = getAmountType();
if (at == null)
return false;
return AMOUNTTYPE_NaturalBalance.equals(at);
}
/**
* Get Segment Value Where Clause
@ -500,12 +511,4 @@ public class MReportColumn extends X_PA_ReportColumn
retValue.setOper_2_ID(0);
return retValue;
} // copy
public boolean isNatural() {
String at = getAmountType();
if (at == null)
return false;
return AMOUNTTYPE_NaturalBalance.equals(at);
}
} // MReportColumn