Finish v1.48.03(543)
All checks were successful
WMS - Android (New)/pipeline/head This commit looks good
All checks were successful
WMS - Android (New)/pipeline/head This commit looks good
This commit is contained in:
@@ -11,8 +11,8 @@ apply plugin: 'com.google.gms.google-services'
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
||||||
def appVersionCode = 539
|
def appVersionCode = 543
|
||||||
def appVersionName = '1.47.26'
|
def appVersionName = '1.48.03'
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
package it.integry.integrywmsnative.core.model;
|
package it.integry.integrywmsnative.core.model;
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.Date;
|
import java.time.LocalDate;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class DtbDoct {
|
public class DtbDoct {
|
||||||
@@ -10,7 +10,7 @@ public class DtbDoct {
|
|||||||
|
|
||||||
private String codAnag;
|
private String codAnag;
|
||||||
private String codDtip;
|
private String codDtip;
|
||||||
private Date dataDoc;
|
private LocalDate dataDoc;
|
||||||
private Integer numDoc;
|
private Integer numDoc;
|
||||||
private String serDoc;
|
private String serDoc;
|
||||||
private BigDecimal acconto;
|
private BigDecimal acconto;
|
||||||
@@ -41,14 +41,14 @@ public class DtbDoct {
|
|||||||
private String compilatoDa;
|
private String compilatoDa;
|
||||||
private String userName;
|
private String userName;
|
||||||
private String controllatoDa;
|
private String controllatoDa;
|
||||||
private Date dataChkDoc;
|
private LocalDate dataChkDoc;
|
||||||
private Date dataDocVal;
|
private LocalDate dataDocVal;
|
||||||
private Date dataInizTrasp;
|
private LocalDate dataInizTrasp;
|
||||||
private Date dataIns;
|
private LocalDate dataIns;
|
||||||
private Date dataOrd;
|
private LocalDate dataOrd;
|
||||||
private Date dataReg;
|
private LocalDate dataReg;
|
||||||
private Date dataRifScad;
|
private LocalDate dataRifScad;
|
||||||
private Date dataUltMod;
|
private LocalDate dataUltMod;
|
||||||
private String descrizionePaga;
|
private String descrizionePaga;
|
||||||
private String flagPrzScontati;
|
private String flagPrzScontati;
|
||||||
private String gestione;
|
private String gestione;
|
||||||
@@ -89,7 +89,7 @@ public class DtbDoct {
|
|||||||
private String targa;
|
private String targa;
|
||||||
private Integer postiPallet;
|
private Integer postiPallet;
|
||||||
private BigDecimal tempMedia;
|
private BigDecimal tempMedia;
|
||||||
private Date dataCons;
|
private LocalDate dataCons;
|
||||||
private BigDecimal nolo;
|
private BigDecimal nolo;
|
||||||
private BigDecimal nolo2;
|
private BigDecimal nolo2;
|
||||||
private String conducente;
|
private String conducente;
|
||||||
@@ -102,7 +102,7 @@ public class DtbDoct {
|
|||||||
private String setDataDecorrenza2DataRic;
|
private String setDataDecorrenza2DataRic;
|
||||||
private BigDecimal totSpese;
|
private BigDecimal totSpese;
|
||||||
private String chkArtListino;
|
private String chkArtListino;
|
||||||
private Date dataCmov;
|
private LocalDate dataCmov;
|
||||||
private String reso;
|
private String reso;
|
||||||
private Integer numCmovAutofattura;
|
private Integer numCmovAutofattura;
|
||||||
private Object dtbTipi;
|
private Object dtbTipi;
|
||||||
@@ -141,11 +141,11 @@ public class DtbDoct {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataDoc() {
|
public LocalDate getDataDoc() {
|
||||||
return dataDoc;
|
return dataDoc;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataDoc(Date dataDoc) {
|
public DtbDoct setDataDoc(LocalDate dataDoc) {
|
||||||
this.dataDoc = dataDoc;
|
this.dataDoc = dataDoc;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -420,74 +420,74 @@ public class DtbDoct {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataChkDoc() {
|
public LocalDate getDataChkDoc() {
|
||||||
return dataChkDoc;
|
return dataChkDoc;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataChkDoc(Date dataChkDoc) {
|
public DtbDoct setDataChkDoc(LocalDate dataChkDoc) {
|
||||||
this.dataChkDoc = dataChkDoc;
|
this.dataChkDoc = dataChkDoc;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataDocVal() {
|
public LocalDate getDataDocVal() {
|
||||||
return dataDocVal;
|
return dataDocVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataDocVal(Date dataDocVal) {
|
public DtbDoct setDataDocVal(LocalDate dataDocVal) {
|
||||||
this.dataDocVal = dataDocVal;
|
this.dataDocVal = dataDocVal;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataInizTrasp() {
|
public LocalDate getDataInizTrasp() {
|
||||||
return dataInizTrasp;
|
return dataInizTrasp;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataInizTrasp(Date dataInizTrasp) {
|
public DtbDoct setDataInizTrasp(LocalDate dataInizTrasp) {
|
||||||
this.dataInizTrasp = dataInizTrasp;
|
this.dataInizTrasp = dataInizTrasp;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataIns() {
|
public LocalDate getDataIns() {
|
||||||
return dataIns;
|
return dataIns;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataIns(Date dataIns) {
|
public DtbDoct setDataIns(LocalDate dataIns) {
|
||||||
this.dataIns = dataIns;
|
this.dataIns = dataIns;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataOrd() {
|
public LocalDate getDataOrd() {
|
||||||
return dataOrd;
|
return dataOrd;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataOrd(Date dataOrd) {
|
public DtbDoct setDataOrd(LocalDate dataOrd) {
|
||||||
this.dataOrd = dataOrd;
|
this.dataOrd = dataOrd;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataReg() {
|
public LocalDate getDataReg() {
|
||||||
return dataReg;
|
return dataReg;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataReg(Date dataReg) {
|
public DtbDoct setDataReg(LocalDate dataReg) {
|
||||||
this.dataReg = dataReg;
|
this.dataReg = dataReg;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataRifScad() {
|
public LocalDate getDataRifScad() {
|
||||||
return dataRifScad;
|
return dataRifScad;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataRifScad(Date dataRifScad) {
|
public DtbDoct setDataRifScad(LocalDate dataRifScad) {
|
||||||
this.dataRifScad = dataRifScad;
|
this.dataRifScad = dataRifScad;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataUltMod() {
|
public LocalDate getDataUltMod() {
|
||||||
return dataUltMod;
|
return dataUltMod;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataUltMod(Date dataUltMod) {
|
public DtbDoct setDataUltMod(LocalDate dataUltMod) {
|
||||||
this.dataUltMod = dataUltMod;
|
this.dataUltMod = dataUltMod;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -852,11 +852,11 @@ public class DtbDoct {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataCons() {
|
public LocalDate getDataCons() {
|
||||||
return dataCons;
|
return dataCons;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataCons(Date dataCons) {
|
public DtbDoct setDataCons(LocalDate dataCons) {
|
||||||
this.dataCons = dataCons;
|
this.dataCons = dataCons;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
@@ -969,11 +969,11 @@ public class DtbDoct {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getDataCmov() {
|
public LocalDate getDataCmov() {
|
||||||
return dataCmov;
|
return dataCmov;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DtbDoct setDataCmov(Date dataCmov) {
|
public DtbDoct setDataCmov(LocalDate dataCmov) {
|
||||||
this.dataCmov = dataCmov;
|
this.dataCmov = dataCmov;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -273,7 +273,7 @@ public class AccettazioneOrdiniPickingViewModel {
|
|||||||
try {
|
try {
|
||||||
numCollo = UtilityBarcode.getNumColloFromULAnonima(barcodeScanDTO.getStringValue());
|
numCollo = UtilityBarcode.getNumColloFromULAnonima(barcodeScanDTO.getStringValue());
|
||||||
this.createNewLU(
|
this.createNewLU(
|
||||||
null,
|
barcodeScanDTO.getStringValue(),
|
||||||
numCollo,
|
numCollo,
|
||||||
CommonConst.Config.DEFAULT_ANONYMOUS_UL_SERIE, true, onComplete);
|
CommonConst.Config.DEFAULT_ANONYMOUS_UL_SERIE, true, onComplete);
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
@@ -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());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user