CANCERYS\kw093 2 tygodni temu
rodzic
commit
51920825ce
1 zmienionych plików z 8 dodań i 3 usunięć
  1. +8
    -3
      src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt

+ 8
- 3
src/main/java/com/ffii/fpsms/modules/stock/service/SuggestedPickLotService.kt Wyświetl plik

@@ -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)


Ładowanie…
Anuluj
Zapisz