TaxReportDomesticTrans_IT::findByVoucher Method
Finds a TaxReportDomesticTrans_IT record for the specified invoice.
Syntax
client server public static TaxReportDomesticTrans_IT findByVoucher(
RecId _reportTableRecId,
ModuleSalesPurch _direction,
CustVendAC _accountNum,
Voucher _voucher,
TransDate _transDate,
[boolean _forUpdate])
Run On
Called
Parameters
- _reportTableRecId
Type: RecId Extended Data Type
The record ID of the report.
- _direction
Type: ModuleSalesPurch Enumeration
The direction: sales or purchase.
- _accountNum
Type: CustVendAC Extended Data Type
The account number.
- _voucher
Type: Voucher Extended Data Type
The voucher number.
- _transDate
Type: TransDate Extended Data Type
The invoice date.
- _forUpdate
Type: boolean
A Boolean value that indicates whether the TaxReportDomesticTrans_IT record should be selected for update.
Return Value
Type: TaxReportDomesticTrans_IT Table
The TaxReportDomesticTrans_IT record for the specified invoice.