PurchLine::historyExistsOrLatestVersionNotArchived Method
This method checks if the line is versioned i.e. line is archived i.e. has historical records, or the last version of the purchase order and purchase line is not archived yet.
Syntax
server private static boolean historyExistsOrLatestVersionNotArchived(
TradeInventTransId _inventTransId,
PurchId _purchId,
DataAreaId _purchDataAreaId)
Run On
Server
Parameters
- _inventTransId
Type: TradeInventTransId Extended Data Type
The InventTransId value for the purchase order line.
- _purchId
Type: PurchId Extended Data Type
The PurchId value of the purchase order line.
- _purchDataAreaId
Type: DataAreaId Extended Data Type
The DataAreaId value of the purchase order line.
Return Value
Type: boolean
true if the line is archived or the last version has not yet been archived; otherwise false.