InventTrans::findByInventTransOrigin Method
Retrieves the random inventory transaction record for a specified InventTransOriginId value.
Syntax
client server public static InventTrans findByInventTransOrigin(InventTransOriginId _inventTransOriginId, [boolean _forUpdate])
Run On
Called
Parameters
- _inventTransOriginId
Type: InventTransOriginId Extended Data Type
The InventTransOriginId value of the inventory transaction originator.
- _forUpdate
Type: boolean
A Boolean value that indicates whether the buffer should be selected for update; optional.
Return Value
Type: InventTrans Table
An inventory transaction record for the specified InventTransId value if it exists; otherwise, an empty buffer.