TaxReportDomesticThresholdBase_IT::findByVoucher Method
Finds the TaxReportDomesticThresholdBase_IT record for the specified voucher number.
Syntax
client server public static TaxReportDomesticThresholdBase_IT findByVoucher(
RecId _reportTableRecId,
ModuleSalesPurch _direction,
CustVendAC _accountNum,
Voucher _voucher,
InvoiceDate _invoiceDate,
[boolean _forUpdate])
Run On
Called
Parameters
- _reportTableRecId
Type: RecId Extended Data Type
The record ID of the TaxReportDomesticTable_IT record.
- _direction
Type: ModuleSalesPurch Enumeration
The direction value.
- _accountNum
Type: CustVendAC Extended Data Type
The account number.
- _voucher
Type: Voucher Extended Data Type
The voucher number.
- _invoiceDate
Type: InvoiceDate Extended Data Type
The invoice date.
- _forUpdate
Type: boolean
A Boolean value that indicates whether the record should be selected for update.
Return Value
Type: TaxReportDomesticThresholdBase_IT Table
The TaxReportDomesticThresholdBase_IT record if it is found; otherwise, a nullNothingnullptrunita null reference (Nothing in Visual Basic) record.