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

Return Value

Type: boolean
true if the line is archived or the last version has not yet been archived; otherwise false.

See Also

Reference

PurchLine Table