Merge branch 'master' into develop

This commit is contained in:
2024-02-21 11:36:37 +01:00
2 changed files with 7 additions and 2 deletions

View File

@@ -150,7 +150,9 @@ public class WMSAccettazioneService {
}
if (createUDCRequestDTO.getOrders() == null) {
if (UtilityString.isNullOrEmpty(createUDCRequestDTO.getCodAnag())) {
boolean useCodAnagAziendale = setupGest.getSetupBoolean("PICKING", "SETUP", "FLAG_USE_COD_ANAG_AZIENDALE");
if (UtilityString.isNullOrEmpty(createUDCRequestDTO.getCodAnag()) && useCodAnagAziendale) {
String defaultCodAnag = wmsGenericService.retrieveInternalCodAnagFornitore();
udcMtbColt.setCodAnag(defaultCodAnag);
} else

View File

@@ -524,7 +524,9 @@ public class WMSLavorazioneService {
if (createUDCRequestDTO.getOrders() == null) {
if (UtilityString.isNullOrEmpty(createUDCRequestDTO.getCodAnag())) {
boolean useCodAnagAziendale = setupGest.getSetupBoolean("PICKING", "SETUP", "FLAG_USE_COD_ANAG_AZIENDALE");
if (UtilityString.isNullOrEmpty(createUDCRequestDTO.getCodAnag()) && useCodAnagAziendale) {
String defaultCodAnag = wmsGenericService.retrieveInternalCodAnagFornitore();
udcMtbColt.setCodAnag(defaultCodAnag);
} else
@@ -535,6 +537,7 @@ public class WMSLavorazioneService {
entityProcessor.processEntity(udcMtbColt, true, multiDBTransactionManager);
udcMtbColt.setOnlyPkMaster(false);
udcMtbColt.setOperation(OperationType.SELECT);
return udcMtbColt;
}