aggiunto controllo su mtbColrRif null in picking libero

This commit is contained in:
Valerio Castellana 2022-05-03 10:31:38 +02:00
parent 1a0af47613
commit 0d021e6bad

View File

@ -213,7 +213,7 @@ public class PickingLiberoViewModel {
if (posizione != null && posizione.isFlagMonoCollo()) {
this.executePosizione(posizione, articolo, onComplete);
} else if(mDefaultGestione == GestioneEnum.VENDITA){
} else if (mDefaultGestione == GestioneEnum.VENDITA) {
this.dispatchArt(articolo, ean128Model);
onComplete.run();
} else {
@ -626,7 +626,7 @@ public class PickingLiberoViewModel {
UtilityString.equalsIgnoreCase(x.getCodCol(), mtbColrToUpdate.getCodCol()) &&
UtilityString.equalsIgnoreCase(x.getCodTagl(), mtbColrToUpdate.getCodTagl()) &&
UtilityString.equalsIgnoreCase(x.getPartitaMag(), mtbColrToUpdate.getPartitaMag()))
.single();
.findFirstOrElse(null);
}