TaxReportDomesticTrans_IT::findByInvoice Method
Finds a TaxReportDomesticTrans_IT record for the specified invoice.
Syntax
client server public static TaxReportDomesticTrans_IT findByInvoice(
RecId _reportTableRecId,
ModuleSalesPurch _direction,
CustVendAC _accountNum,
InvoiceId _invoiceId,
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
- _invoiceId
Type: InvoiceId Extended Data Type
The invoice 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.