Ver código fonte

update

master
CANCERYS\kw093 2 semanas atrás
pai
commit
51920825ce
1 arquivos alterados com 8 adições e 3 exclusões
  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 Ver arquivo

@@ -99,8 +99,10 @@ open class SuggestedPickLotService(
val suggestedList: MutableList<SuggestedPickLot> = mutableListOf() val suggestedList: MutableList<SuggestedPickLot> = mutableListOf()
val holdQtyMap: MutableMap<Long?, BigDecimal?> = request.holdQtyMap 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 val availableInventoryLotLines = inventoryLotLineService
.allInventoryLotLinesByItemIdIn(itemIds) .allInventoryLotLinesByItemIdIn(itemIds)
.filter { it.status == InventoryLotLineStatus.AVAILABLE.value } .filter { it.status == InventoryLotLineStatus.AVAILABLE.value }
@@ -245,7 +247,10 @@ open class SuggestedPickLotService(
val suggestedList: MutableList<SuggestedPickLot> = mutableListOf() val suggestedList: MutableList<SuggestedPickLot> = mutableListOf()
val holdQtyMap: MutableMap<Long?, BigDecimal?> = request.holdQtyMap 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 // get current inventory lot line qty & grouped by item id
val availableInventoryLotLines = inventoryLotLineService val availableInventoryLotLines = inventoryLotLineService
.allInventoryLotLinesByItemIdIn(itemIds) .allInventoryLotLinesByItemIdIn(itemIds)


Carregando…
Cancelar
Salvar