WHSWorkCreateReplenishment.cleanUpFailedReplen Method [AX 2012]
If replenishment didn't allocated and failed to create work then we need to go back and update the demandLines so they don't point to locations not being replenished.
Syntax
public void cleanUpFailedReplen(
WMSLocationId _wmsLocationId,
InventQty _workCreatedQty,
ItemId _itemId,
InventDimId _inventDimId,
WHSWorkBuildId _workBuildid)
Run On
Server
Parameters
- _wmsLocationId
Type: WMSLocationId Extended Data Type
The warehouse location ID.
- _workCreatedQty
Type: InventQty Extended Data Type
The work created quantity
- _itemId
Type: ItemId Extended Data Type
The Item ID.
- _inventDimId
Type: InventDimId Extended Data Type
The inventory dimension ID.
- _workBuildid
Type: WHSWorkBuildId Extended Data Type
The work build ID.