Package org.idempiere.fa.service.api
Class DepreciationDTO
- java.lang.Object
-
- org.idempiere.fa.service.api.DepreciationDTO
-
- All Implemented Interfaces:
Serializable
public class DepreciationDTO extends Object implements Serializable
parameter to calculate depreciation- Author:
- hieplq
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Timestamp
accountDate
date booking, at the momentinServiceDate
isn't mandatory, in case don't inputinServiceDate
, can use accountDate asinServiceDate
BigDecimal
accumulatedCost
accumulated when start calculate forstartPeriodDepreciation
int
depreciationId
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 infoTimestamp
inServiceDate
date start depreciationint
period
period calculate forBigDecimal
salvage
remain amount after full depreciationint
scale
int
startPeriodDepreciation
period start to calculate depreciateBigDecimal
totalAmount
asset costTimestamp
transferDay
date asset transfer to other org.String
trxName
name of current transactionBigDecimal
useFullLife
time to depreciationint
useFullLifeUnit
-
Constructor Summary
Constructors Constructor Description DepreciationDTO()
-
-
-
Field Detail
-
period
public int period
period calculate for
-
salvage
public BigDecimal salvage
remain amount after full depreciation
-
useFullLife
public BigDecimal useFullLife
time to depreciation
-
useFullLifeUnit
public int useFullLifeUnit
-
inServiceDate
public Timestamp inServiceDate
date start depreciation
-
accountDate
public Timestamp accountDate
date booking, at the momentinServiceDate
isn't mandatory, in case don't inputinServiceDate
, can use accountDate asinServiceDate
-
transferDay
public Timestamp 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 startPeriodDepreciation
period start to calculate depreciate
-
accumulatedCost
public BigDecimal accumulatedCost
accumulated when start calculate forstartPeriodDepreciation
-
totalAmount
public BigDecimal totalAmount
asset cost
-
scale
public int scale
-
depreciationId
public int depreciationId
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 info
-
trxName
public String trxName
name of current transaction
-
-