Routines for i_deprec.kb


DDBDeprec

File Name

i_deprec.kb

Syntax

DDBDeprec(REF asset: ValuationRec)

Parameters

asset - valuation record

Returns

New book value calculated using the double declining balance depreciation method

Side Effects

None

Description

This function calculates the book value based on the valuation record information using the double declining balance depreciation method.

Dialog Forms Called

None


SLDeprec

File Name

i_deprec.kb

Syntax

SLDeprec(REF asset: ValuationRec)

Parameters

asset - valuation record

Returns

New book value calculated using the straight line depreciation method

Side Effects

None

Description

This function calculates the book value based on the valuation record information using the straight line depreciation method.

Dialog Forms Called

None


UpdateDeprecPeriod

File Name

i_deprec.kb

Syntax

UpdateDeprecPeriod(REF asset: ValuationRec)

Parameters

asset - valuation record

Returns

elapsed periods

Side Effects

None

Description

This function calculates the elapsed periods between dates.

Dialog Forms Called

None