Package org.idempiere.fa.service.api
Class DepreciationDTO
java.lang.Object
org.idempiere.fa.service.api.DepreciationDTO
- All Implemented Interfaces:
Serializable
Parameter to calculate depreciation
- Author:
- hieplq
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondate booking, at the momentinServiceDate
isn't mandatory, in case don't inputinServiceDate
, can use accountDate asinServiceDate
accumulated when start calculate forstartPeriodDepreciation
int
in case DTO isn't enough or not suitable for your method, use depreciationId to get X_A_Depreciation_Workfile so you can get more relate infodate start depreciationint
Period to calculate forSalvage amount after full depreciationint
int
period start to calculate depreciateasset costdate asset transfer to other org.name of current transactiontime to depreciationint
-
Constructor Summary
-
Method Summary
-
Field Details
-
period
public int periodPeriod to calculate for -
salvage
Salvage amount after full depreciation -
useFullLife
time to depreciation -
useFullLifeUnit
public int useFullLifeUnit -
inServiceDate
date start depreciation -
accountDate
date booking, at the momentinServiceDate
isn't mandatory, in case don't inputinServiceDate
, can use accountDate asinServiceDate
-
transferDay
date asset transfer to other org. so days to depreciate of last period of source org like end period of life, it can not full month days so days to depreciate of first period of destination org like start period of life, it can not full month days -
startPeriodDepreciation
public int startPeriodDepreciationperiod start to calculate depreciate -
accumulatedCost
accumulated when start calculate forstartPeriodDepreciation
-
totalAmount
asset cost -
scale
public int scale -
depreciationId
public int depreciationIdin case DTO isn't enough or not suitable for your method, use depreciationId to get X_A_Depreciation_Workfile so you can get more relate info -
trxName
name of current transaction
-
-
Constructor Details
-
DepreciationDTO
public DepreciationDTO()
-