WMSLocation::whsGetInventBatchIdByStrategy Method
Returns valid InventBatchId for specific location, item, dimensions based on batch allocation strategy.
Syntax
client server public static InventBatchId whsGetInventBatchIdByStrategy(
WMSLocationId _locationId,
InventLocationId _inventLocationId,
InventDim _itemDims,
ItemId _itemId,
WHSBatchAllocationStrategy _strategy)
Run On
Called
Parameters
- _locationId
Type: WMSLocationId Extended Data Type
WHS Location ID.
- _inventLocationId
Type: InventLocationId Extended Data Type
Inventory Location ID.
- _itemDims
Type: InventDim Table
Item Dimensions.
- _itemId
Type: ItemId Extended Data Type
Item ID.
- _strategy
Type: WHSBatchAllocationStrategy Enumeration
Batch Allocation Strategy to consider.
Return Value
Type: InventBatchId Extended Data Type
Valid InventBatchId retrieved according the provided Batch Allocation Strategy.