|
|
|
@@ -99,8 +99,10 @@ open class SuggestedPickLotService( |
|
|
|
|
|
|
|
val suggestedList: MutableList<SuggestedPickLot> = mutableListOf() |
|
|
|
val holdQtyMap: MutableMap<Long?, BigDecimal?> = request.holdQtyMap |
|
|
|
val excludedWarehouseCodes = listOf("2F-W202-01-00") |
|
|
|
|
|
|
|
val excludedWarehouseCodes = setOf<String>( |
|
|
|
"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<SuggestedPickLot> = mutableListOf() |
|
|
|
val holdQtyMap: MutableMap<Long?, BigDecimal?> = request.holdQtyMap |
|
|
|
|
|
|
|
val excludedWarehouseCodes = setOf<String>( |
|
|
|
"2F-W202-01-00", |
|
|
|
// "4F-W401-#C-00", |
|
|
|
) |
|
|
|
// get current inventory lot line qty & grouped by item id |
|
|
|
val availableInventoryLotLines = inventoryLotLineService |
|
|
|
.allInventoryLotLinesByItemIdIn(itemIds) |
|
|
|
|