Aggiunto controllo su refMtbColt

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

View File

@ -1217,15 +1217,17 @@ public class SpedizioneViewModel {
.setMtbAart(pickingObjectDTO.getMtbAart()); .setMtbAart(pickingObjectDTO.getMtbAart());
mtbColr.setRefMtbColr(new MtbColr() if(mEnableGiacenza) {
.setCodMart(mtbColr.getCodMart()) mtbColr.setRefMtbColr(new MtbColr()
.setPartitaMag(mtbColr.getPartitaMag()) .setCodMart(mtbColr.getCodMart())
.setCodTagl(mtbColr.getCodTagl()) .setPartitaMag(mtbColr.getPartitaMag())
.setCodCol(mtbColr.getCodCol()) .setCodTagl(mtbColr.getCodTagl())
.setNumCollo(refMtbColt.getNumCollo()) .setCodCol(mtbColr.getCodCol())
.setDataCollo(refMtbColt.getDataColloS()) .setNumCollo(refMtbColt.getNumCollo())
.setSerCollo(refMtbColt.getSerCollo()) .setDataCollo(refMtbColt.getDataColloS())
.setGestione(refMtbColt.getGestione())); .setSerCollo(refMtbColt.getSerCollo())
.setGestione(refMtbColt.getGestione()));
}
pickingObjectDTO.getWithdrawMtbColrs().add(mtbColr); pickingObjectDTO.getWithdrawMtbColrs().add(mtbColr);
mCurrentMtbColt.getMtbColr().add(mtbColr); mCurrentMtbColt.getMtbColr().add(mtbColr);