Searches and returns the first occurrence from the asset depreciation book transaction table that matches the specified voucher and transaction date parameter values.
Syntax
client server public static AssetDepBookTrans findByVoucher(Voucher _voucher, TransDate _transDate)
Run On
Called
Parameters
- _voucher
Type: Voucher Extended Data Type
The voucher number of the asset depreciation book transaction record.
- _transDate
Type: TransDate Extended Data Type
The transaction date of the asset depreciation book transaction record.
Return Value
Type: AssetDepBookTrans Table
An AssetDepBookTrans table buffer with the record found.