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