Aggiunto controllo su refMtbColt

This commit is contained in:
2020-11-17 18:29:15 +01:00
parent 4cd3e7e102
commit f6ff7aa80d

View File

@@ -1217,6 +1217,7 @@ public class SpedizioneViewModel {
.setMtbAart(pickingObjectDTO.getMtbAart()); .setMtbAart(pickingObjectDTO.getMtbAart());
if(mEnableGiacenza) {
mtbColr.setRefMtbColr(new MtbColr() mtbColr.setRefMtbColr(new MtbColr()
.setCodMart(mtbColr.getCodMart()) .setCodMart(mtbColr.getCodMart())
.setPartitaMag(mtbColr.getPartitaMag()) .setPartitaMag(mtbColr.getPartitaMag())
@@ -1226,6 +1227,7 @@ public class SpedizioneViewModel {
.setDataCollo(refMtbColt.getDataColloS()) .setDataCollo(refMtbColt.getDataColloS())
.setSerCollo(refMtbColt.getSerCollo()) .setSerCollo(refMtbColt.getSerCollo())
.setGestione(refMtbColt.getGestione())); .setGestione(refMtbColt.getGestione()));
}
pickingObjectDTO.getWithdrawMtbColrs().add(mtbColr); pickingObjectDTO.getWithdrawMtbColrs().add(mtbColr);
mCurrentMtbColt.getMtbColr().add(mtbColr); mCurrentMtbColt.getMtbColr().add(mtbColr);