In accettazione aggiunta proposta lotto se presente nell'ordine
This commit is contained in:
parent
09b984f5d0
commit
21af5fc0a9
@ -100,7 +100,7 @@ public class DBSettingsModel {
|
|||||||
private boolean flagAccettazioneBollaEditableQtaTot = true;
|
private boolean flagAccettazioneBollaEditableQtaTot = true;
|
||||||
private boolean flagViewSwitchDepoButton = true;
|
private boolean flagViewSwitchDepoButton = true;
|
||||||
private boolean flagProduzioneSkipAskVersamentoAutomatico;
|
private boolean flagProduzioneSkipAskVersamentoAutomatico;
|
||||||
|
private boolean flagAccettazioneViewLotto = false;
|
||||||
public boolean isFlagSpedizioneEnableFakeGiacenza() {
|
public boolean isFlagSpedizioneEnableFakeGiacenza() {
|
||||||
return flagSpedizioneEnableFakeGiacenza;
|
return flagSpedizioneEnableFakeGiacenza;
|
||||||
}
|
}
|
||||||
@ -843,4 +843,13 @@ public class DBSettingsModel {
|
|||||||
this.flagProduzioneSkipAskVersamentoAutomatico = flagProduzioneSkipAskVersamentoAutomatico;
|
this.flagProduzioneSkipAskVersamentoAutomatico = flagProduzioneSkipAskVersamentoAutomatico;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isFlagAccettazioneViewLotto() {
|
||||||
|
return flagAccettazioneViewLotto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public DBSettingsModel setFlagAccettazioneViewLotto(boolean flagAccettazioneViewLotto) {
|
||||||
|
this.flagAccettazioneViewLotto = flagAccettazioneViewLotto;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -254,6 +254,11 @@ public class SettingsManager {
|
|||||||
.setSection("ACCETTAZIONE")
|
.setSection("ACCETTAZIONE")
|
||||||
.setKeySection("FLAG_DELETE_ROW_ON_CLOSE")
|
.setKeySection("FLAG_DELETE_ROW_ON_CLOSE")
|
||||||
.setSetter(dbSettingsModelIstance::setFlagAccettazioneDeleteRowOnClose));
|
.setSetter(dbSettingsModelIstance::setFlagAccettazioneDeleteRowOnClose));
|
||||||
|
stbGestSetupReaderList.add(new StbGestSetupReader<>(Boolean.class)
|
||||||
|
.setGestName("PICKING")
|
||||||
|
.setSection("ACCETTAZIONE")
|
||||||
|
.setKeySection("FLAG_VIEW_LOTTO")
|
||||||
|
.setSetter(dbSettingsModelIstance::setFlagAccettazioneViewLotto));
|
||||||
stbGestSetupReaderList.add(new StbGestSetupReader<>(Boolean.class)
|
stbGestSetupReaderList.add(new StbGestSetupReader<>(Boolean.class)
|
||||||
.setGestName("PICKING")
|
.setGestName("PICKING")
|
||||||
.setSection("SPEDIZIONE")
|
.setSection("SPEDIZIONE")
|
||||||
|
|||||||
@ -36,6 +36,7 @@ public class SitArtOrdDTO {
|
|||||||
private String descrizioneEstesaArt;
|
private String descrizioneEstesaArt;
|
||||||
private String descrizioneEstesaOrd;
|
private String descrizioneEstesaOrd;
|
||||||
private Date dataCons;
|
private Date dataCons;
|
||||||
|
private String partitaMag;
|
||||||
|
|
||||||
public String getDescrizioneEstesaOrd() {
|
public String getDescrizioneEstesaOrd() {
|
||||||
return descrizioneEstesaOrd;
|
return descrizioneEstesaOrd;
|
||||||
@ -301,4 +302,13 @@ public class SitArtOrdDTO {
|
|||||||
this.dataCons = dataCons;
|
this.dataCons = dataCons;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getPartitaMag() {
|
||||||
|
return partitaMag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public SitArtOrdDTO setPartitaMag(String partitaMag) {
|
||||||
|
this.partitaMag = partitaMag;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -559,6 +559,9 @@ public class AccettazioneOrdiniPickingViewModel {
|
|||||||
dataScad = dataScad.plusDays(pickingObjectDTO.getMtbAart().getGgScadPartita());
|
dataScad = dataScad.plusDays(pickingObjectDTO.getMtbAart().getGgScadPartita());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (partitaMag == null && SettingsManager.iDB().isFlagAccettazioneViewLotto())
|
||||||
|
partitaMag = pickingObjectDTO.getSitArtOrdDTO().getPartitaMag();
|
||||||
|
|
||||||
if (partitaMag == null && dataScad == null) {
|
if (partitaMag == null && dataScad == null) {
|
||||||
HistoryMtbAartDTO historyMtbAartDTO = this.getHistoryItemIfExists(pickingObjectDTO.getMtbAart().getCodMart());
|
HistoryMtbAartDTO historyMtbAartDTO = this.getHistoryItemIfExists(pickingObjectDTO.getMtbAart().getCodMart());
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user