Interface PutawayApi
@FeignClient(name="wms-inventory",
qualifiers="putawayApi",
decode404=true)
public interface PutawayApi
A PutawayApi.
- Author:
- Heiko Scherrer
-
Method Summary
Modifier and TypeMethodDescriptionorg.openwms.common.location.api.LocationVO
findAndAssignNextInLocGroup
(String strategy, List<String> locationGroupNames, String transportUnitBK, int numberOfExpectedTransportUnits) Find the next available Location for Putaway in the givenLocationGroup
s .
-
Method Details
-
findAndAssignNextInLocGroup
@PostMapping(value="/v1/location-groups", params={"locationGroupNames","transportUnitBK","numberOfExpectedTransportUnits"}, produces="application/vnd.openwms.location.single-v1+json") org.openwms.common.location.api.LocationVO findAndAssignNextInLocGroup(@RequestParam("strategy") String strategy, @RequestParam("locationGroupNames") List<String> locationGroupNames, @RequestParam("transportUnitBK") String transportUnitBK, @RequestParam("numberOfExpectedTransportUnits") int numberOfExpectedTransportUnits) Find the next available Location for Putaway in the givenLocationGroup
s .- Parameters:
strategy
- An identifying attribute that is used in the Putaway to choose the correct strategylocationGroupNames
- Name of the LocationGroups to search a Location for. The ordering is relevant, LG first in the list are preferred to those later in the listtransportUnitBK
- The TransportUnit barcode to search a Location fornumberOfExpectedTransportUnits
- How many TU are expected- Returns:
- Assigned Location for Putaway
- Throws:
org.ameba.exception.NotFoundException
- May throw in case no TransportUnit exists
-