PlSADInvoice::findPurchInvoice Method
Finds the SAD invoice setup for a purchase order invoice.
Syntax
server public static PlSADInvoice findPurchInvoice(
PurchId _purchId,
VendInvoiceId _invoiceId,
[boolean _forUpdate])
Run On
Server
Parameters
- _purchId
Type: PurchId Extended Data Type
The purchase order ID.
- _invoiceId
Type: VendInvoiceId Extended Data Type
The invoice ID.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to select the record for update.
Return Value
Type: PlSADInvoice Table
The selected record.