Share via


VendInvoiceInfoTable::existActiveNoLines Method

Indicates whether there is an active invoice header for the specified TableRefId or PurchId records.

Syntax

client server public static boolean existActiveNoLines(PurchId _purchId, [TradeLineRefId _tableRefId])

Run On

Called

Parameters

Return Value

Type: boolean
true if an active invoice exists; otherwise, false.

Remarks

This method returns true if there is an active invoice header, regardless of whether there are lines that are associated with it. If an empty _tableRefId value is passed then the search is not constrained by the TableLineRefId record.

See Also

Reference

VendInvoiceInfoTable Table