diff --git a/src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt b/src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt index f33649b..b2b4ebe 100644 --- a/src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt +++ b/src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt @@ -99,8 +99,10 @@ open class SuggestedPickLotService( val suggestedList: MutableList = mutableListOf() val holdQtyMap: MutableMap = request.holdQtyMap - val excludedWarehouseCodes = listOf("2F-W202-01-00") - + val excludedWarehouseCodes = setOf( + "2F-W202-01-00", + // "4F-W401-#C-00", + ) val availableInventoryLotLines = inventoryLotLineService .allInventoryLotLinesByItemIdIn(itemIds) .filter { it.status == InventoryLotLineStatus.AVAILABLE.value } @@ -245,7 +247,10 @@ open class SuggestedPickLotService( val suggestedList: MutableList = mutableListOf() val holdQtyMap: MutableMap = request.holdQtyMap - + val excludedWarehouseCodes = setOf( + "2F-W202-01-00", + // "4F-W401-#C-00", + ) // get current inventory lot line qty & grouped by item id val availableInventoryLotLines = inventoryLotLineService .allInventoryLotLinesByItemIdIn(itemIds)