project QadFinancials > class BFixedAssetDepreciation > method RoundCZTaxDepreciationAmounts

Description

CZ Tax depreciation amounts are rounded up on CZK


Parameters


bdNewDeprAmountLCinput-outputdecimal
oiReturnStatusoutputintegerReturn status of the method.


Internal usage


QadFinancials
method BFixedAssetDepreciation.DepreciationTypeCZTaxAccelerated
method BFixedAssetDepreciation.DepreciationTypeCZTaxStraight


program code (program1/bfixedassetdepreciation.p)

if bdNewDeprAmountLC = ? or bdNewDeprAmountLC = 0 then return.

/* Round Up on CZK -> 2 decimals */
assign bdNewDeprAmountLC = round(bdNewDeprAmountLC + .49,0).