Package org.idempiere.fa.service.api
Interface IDepreciationMethod
-
public interface IDepreciationMethod
implement this interface to provide depreciate calculate method- Author:
- hieplq
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigDecimal
caclulateDepreciation(DepreciationDTO depreciationDTO)
calculate depreciation for each periodlong
getCountPeriod(DepreciationDTO depreciationDTO)
get num of period to depreciationboolean
isPeriodAdjustment()
support to move all difference by round to end period
-
-
-
Method Detail
-
caclulateDepreciation
BigDecimal caclulateDepreciation(DepreciationDTO depreciationDTO)
calculate depreciation for each period- Parameters:
depreciationDTO
-- Returns:
- amount depreciation for
DepreciationDTO.period
-
getCountPeriod
long getCountPeriod(DepreciationDTO depreciationDTO)
get num of period to depreciation- Parameters:
depreciationDTO
-- Returns:
-
isPeriodAdjustment
boolean isPeriodAdjustment()
support to move all difference by round to end period- Returns:
-
-