TaxReportDomesticThresholdBase_IT::findOrCreateByVoucher Method
Finds or creates the TaxReportDomesticThresholdBase_IT record for the specified voucher number.
Syntax
client server public static TaxReportDomesticThresholdBase_IT findOrCreateByVoucher(
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
A ModuleSalesPurch value that specifies the direction.
- _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 for the specified voucher number.