aggiunto controllo in spedizione in caso di uscita senza collo riferimento
This commit is contained in:
parent
8fe0a1fd07
commit
a49ee430e2
@ -138,7 +138,6 @@ public class PVOrdineAcquistoEditViewModel {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
this.sendError(e);
|
this.sendError(e);
|
||||||
BarcodeManager.enable();
|
BarcodeManager.enable();
|
||||||
} finally {
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1240,9 +1240,12 @@ public class SpedizioneViewModel {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var clonedSourceMtbColr = (MtbColr) mtbColrToDispatch.clone();
|
MtbColr clonedSourceMtbColr = null;
|
||||||
clonedSourceMtbColr.setMtbPartitaMag(null)
|
if (mtbColrToDispatch != null) {
|
||||||
.setMtbAart(null);
|
clonedSourceMtbColr = (MtbColr) mtbColrToDispatch.clone();
|
||||||
|
clonedSourceMtbColr.setMtbPartitaMag(null)
|
||||||
|
.setMtbAart(null);
|
||||||
|
}
|
||||||
|
|
||||||
var clonedTargetMtbColt = (MtbColt) mCurrentMtbColt.clone();
|
var clonedTargetMtbColt = (MtbColt) mCurrentMtbColt.clone();
|
||||||
clonedTargetMtbColt.setMtbColr(null);
|
clonedTargetMtbColt.setMtbColr(null);
|
||||||
@ -1341,7 +1344,6 @@ public class SpedizioneViewModel {
|
|||||||
}, this::sendError);
|
}, this::sendError);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// MtbColt mtbColt = new MtbColt()
|
// MtbColt mtbColt = new MtbColt()
|
||||||
// .setNumCollo(mtbColrToUpdate.getNumCollo())
|
// .setNumCollo(mtbColrToUpdate.getNumCollo())
|
||||||
// .setDataCollo(mtbColrToUpdate.getDataColloS())
|
// .setDataCollo(mtbColrToUpdate.getDataColloS())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user