PlSADInvoice::existsPurchInvoice Method
Validates whether an SAD invoice setup exists for a purchase order invoice.
Syntax
server public static boolean existsPurchInvoice(PurchId _purchId, VendInvoiceId _invoiceId)
Run On
Server
Parameters
- _purchId
Type: PurchId Extended Data Type
The purchase order ID.
- _invoiceId
Type: VendInvoiceId Extended Data Type
The invoice ID.
Return Value
Type: boolean
true if an SAD invoice setup exists for the purchase order invoice.