Controllate qta > 0 in caso di missione per magazzino automatico
This commit is contained in:
parent
ef17e7a0c7
commit
4a7406fda1
@ -605,7 +605,9 @@ public class SpedizioneViewModel {
|
||||
final List<MagazzinoAutomaticoPickItemRequestDTO> magazzinoAutomaticoPickItemRequestDTOList = new ArrayList<>();
|
||||
for (MtbAart selectedArt : selectedArts) {
|
||||
final PickingObjectDTO pickingObjectDTO = Stream.of(magazzinoAutomaticoPickableArts)
|
||||
.filter(x -> x.getMtbAart().getCodMart().equalsIgnoreCase(selectedArt.getCodMart()))
|
||||
.filter(x -> x.getMtbAart().getCodMart().equalsIgnoreCase(selectedArt.getCodMart()) &&
|
||||
x.getSitArtOrdDTO() != null &&
|
||||
UtilityBigDecimal.greaterThan(x.getSitArtOrdDTO().getQtaOrd(), BigDecimal.ZERO))
|
||||
.findFirst()
|
||||
.orElse(null);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user