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
- _purchId
Type: PurchId Extended Data Type
The PurchID record for which to search.
- _tableRefId
Type: TradeLineRefId Extended Data Type
The table reference ID for which to search.
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.