project QadFinancials > class BFixedAssetDepreciation > method GetCumulDeprAmountCC

function returns decimal


Internal usage


QadFinancials
method BFixedAssetDepreciation.DepreciationTypeCZTaxAccelerated


program code (program1/bfixedassetdepreciation.p)

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

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