Share via


InventCostTrans::findCostTrans Method

Looks up an inventCostTrans record in memory or in the database.

Syntax

client server public static InventCostTrans findCostTrans(InventCostTrans _inventCostTrans, [boolean _forupdate])

Run On

Called

Parameters

  • _forupdate
    Type: boolean
    A Boolean value that determines whether the record should be selected for update; optional.

Return Value

Type: InventCostTrans Table
An inventCostTrans record.

Remarks

Use this method if it is not sure that the record has been written to the database.

This method will call the inventCostUpdate.getCostTrans method to check the memory structures of the inventCostUpdate class.

Because recordSortedLists are used, the record must be initialized with all necessary fields before you call this method.

See Also

Reference

InventCostTrans Table