WHSWorkTrans::createFromWorkInventTrans Method
Inserts a work transaction record based of a work inventory transaction record
Syntax
server public static WHSWorkTrans createFromWorkInventTrans(
WHSWorkInventTrans _workInventTrans,
Qty _qty,
WHSUserId _userId)
Run On
Server
Parameters
- _workInventTrans
Type: WHSWorkInventTrans Table
The WHSWorkInventTrans used to fill work transaction values.
- _qty
Type: Qty Extended Data Type
The quantity to be specified on the work transaction
- _userId
Type: WHSUserId Extended Data Type
The warehouse worker executing the work
Return Value
Type: WHSWorkTrans Table
A WHSWorkTrans record created using the work inventory transaction data