project QadFinancials > class BFixedAssetDepreciation > method GetCumulDeprAmountLC

function returns decimal


Internal usage


QadFinancials
method BFixedAssetDepreciation.DepreciationTypeCZTaxAccelerated
method BFixedAssetDepreciation.DepreciationTypeDB
method BFixedAssetDepreciation.DepreciationTypeDBRemainingPer
method BFixedAssetDepreciation.DepreciationTypeDBSL
method BFixedAssetDepreciation.DepreciationTypeSL1
method BFixedAssetDepreciation.DepreciationTypeSL1Zero


program code (program1/bfixedassetdepreciation.p)

/* Add what has been generated by the current instance */
for each btNewDepreciation:
    accumulate btNewDepreciation.tdNewDeprAmountLC (total).
end.

assign vdFADeprecByAssetBook = (accum total btNewDepreciation.tdNewDeprAmountLC).
    
return vdFADeprecByAssetBook.