Package org.idempiere.fa.service.api
Interface IDepreciationMethod
public interface IDepreciationMethod
Implement this interface to provide depreciation calculation method
- Author:
- hieplq
-
Method Summary
Modifier and TypeMethodDescriptioncaclulateDepreciation
(DepreciationDTO depreciationDTO) Calculate depreciation for each periodlong
getCountPeriod
(DepreciationDTO depreciationDTO) Get number of period to depreciateboolean
Support to move all rounding differences to end period
-
Method Details
-
caclulateDepreciation
Calculate depreciation for each period- Parameters:
depreciationDTO
-- Returns:
- amount depreciation for
DepreciationDTO.period
-
getCountPeriod
Get number of period to depreciate- Parameters:
depreciationDTO
-- Returns:
- number of period to depreciate
-
isPeriodAdjustment
boolean isPeriodAdjustment()Support to move all rounding differences to end period- Returns:
- true to adjust for all rounding difference in end period
-