Fix sitArt null in spedizione

This commit is contained in:
2025-11-19 10:57:55 +01:00
parent 95adc4bdc9
commit f245bb5d1e

View File

@@ -1571,6 +1571,11 @@ public class SpedizioneViewModel {
.setMtbAart(null);
}
String codJcom = null;
if (pickingObjectDTO.getSitArtOrdDTO() != null)
codJcom = pickingObjectDTO.getSitArtOrdDTO().getCodJcom();
var insertUDSRowRequestDto = new InsertUDSRowRequestDTO()
.setSourceMtbColr(clonedSourceMtbColr)
.setCodMart(pickingObjectDTO.getMtbAart().getCodMart())
@@ -1578,7 +1583,7 @@ public class SpedizioneViewModel {
.setQtaCnf(qtaCnf)
.setNumCnf(numCnf)
.setPartitaMag(partitaMag)
.setCodJcom(pickingObjectDTO.getSitArtOrdDTO().getCodJcom())
.setCodJcom(codJcom)
.setTargetMtbColt(mCurrentMtbColt.clone(false));
if (dataScad != null)