Merge branch 'master' into develop
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -155,7 +155,8 @@ public class WMSAccettazioneService {
|
||||
}
|
||||
|
||||
//Check temporaneo per evitare problemi sui dati
|
||||
if(udcMtbColt.getSerCollo().equalsIgnoreCase("UL") && !udcMtbColt.getBarcodeUl().startsWith("U"))
|
||||
if(udcMtbColt.getSerCollo() != null && udcMtbColt.getSerCollo().equalsIgnoreCase("UL") &&
|
||||
(udcMtbColt.getBarcodeUl() == null || !udcMtbColt.getBarcodeUl().startsWith("U")))
|
||||
throw new Exception("Errore interno durante il salvataggio dell'UDC: il barcode dell'UDC non è valido per la serie UL.");
|
||||
|
||||
udcMtbColt.setOperation(OperationType.INSERT);
|
||||
|
||||
Reference in New Issue
Block a user