CustRelatedInvoice::doesInvoiceExistForType Method
Validates that the invoice record exists against the association type in the CustRelatedInvoice table.
Syntax
client server public static boolean doesInvoiceExistForType(RecId _custInvoiceRecId, InvoiceAssociationType _invoiceAssociationType)
Run On
Called
Parameters
- _custInvoiceRecId
Type: RecId Extended Data Type
The record ID of the free text invoice.
- _invoiceAssociationType
Type: InvoiceAssociationType Enumeration
The association type of the invoice.
Return Value
Type: boolean
true if the invoice exists; otherwise, false.