WHSWorkLine::cancelLinePartial Method
Partially cancels a pick workLine.
Syntax
client server private static void cancelLinePartial(
WHSWorkLine _cancelWorkLine,
ItemId _itemId,
boolean _unReserved,
Qty _inventQty,
boolean _decrementLoadLine,
UnitOfMeasureSymbol _inventUnitId,
WHSWorkLine _firstPutLine)
Run On
Called
Parameters
- _cancelWorkLine
Type: WHSWorkLine Table
The pick work line to partially cancel.
- _itemId
Type: ItemId Extended Data Type
The item Id of the item we are canceling work for.
- _unReserved
Type: boolean
A Boolean that determines if the work should be reserved or not.
- _inventQty
Type: Qty Extended Data Type
The Qty of work being cancelled.
- _decrementLoadLine
Type: boolean
A Boolean that determines if the qty of associated loadLines should also be reduced.
- _inventUnitId
Type: UnitOfMeasureSymbol Extended Data Type
The inventory unit of measuer for the item.
- _firstPutLine
Type: WHSWorkLine Table
The first put workLine of the work header.
Exceptions
Exception | Condition |
---|---|
Error | If a reserved workLine could not cancel the full qty to be cancelled then an error is thrown. |