WHSWorkInventTrans::moveToNewWorkLine Method
Moves all WHSWorkInventTrans records associated with a work line to a new work line.
Syntax
client server public static void moveToNewWorkLine(
WHSWorkId _currentWorkId,
LineNum _currentLineNum,
WHSWorkId _newWorkId,
LineNum _newLineNum)
Run On
Called
Parameters
- _currentWorkId
Type: WHSWorkId Extended Data Type
The Work ID the WHSWorkInventTrans records are currently associated with.
- _currentLineNum
Type: LineNum Extended Data Type
The line number the WHSWorkInventTrans records are currently associated with.
- _newWorkId
Type: WHSWorkId Extended Data Type
The new Work ID the WHSWorkInventTrans records must be associated with.
- _newLineNum
Type: LineNum Extended Data Type
The new line number the WHSWorkInventTrans records must be associated with.
Remarks
If the WHSWorkInventTrans are moved across work, then the reference on InventTransOrigin is also updated.