AssetBookTaxCoefficient::findCoefficient Method
Finds the acquisition coefficient for the given time period.
Syntax
client server public static AssetTaxDepreciationCoefficient findCoefficient(
AssetBookId _categoryId,
TransDate _periodStartDate,
TransDate _periodEndDate)
Run On
Called
Parameters
- _categoryId
Type: AssetBookId Extended Data Type
The tax category.
- _periodStartDate
Type: TransDate Extended Data Type
The start date of the period.
- _periodEndDate
Type: TransDate Extended Data Type
The end date of the period.
Return Value
Type: AssetTaxDepreciationCoefficient Extended Data Type
The acquisition coefficient for the given period of time; otherwise, -1 to indicate an error.
Remarks
Since coefficients cannot be less than or equal to 0, a value of -1 is used to indicate an error condition.