Compare commits
14 Commits
v1.13.21(1
...
v1.13.24(1
| Author | SHA1 | Date | |
|---|---|---|---|
| 856a807e3e | |||
| 770f014a70 | |||
| f6ff7aa80d | |||
| 4cd3e7e102 | |||
| 69bf5e319e | |||
| 88fe4d82cd | |||
| c8cd794cfc | |||
| 5dcc567eab | |||
| 89eafaf6ca | |||
| 6fc7f80ed4 | |||
| 2464d44222 | |||
| 96d544f2ad | |||
| e85ddc6580 | |||
| 89f6b9ce71 |
@@ -7,8 +7,8 @@ apply plugin: 'com.google.gms.google-services'
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
||||||
def appVersionCode = 167
|
def appVersionCode = 170
|
||||||
def appVersionName = '1.13.21'
|
def appVersionName = '1.13.24'
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ public class PickingResiRESTConsumer {
|
|||||||
" ,dtb_docr.[qta_doc2]" +
|
" ,dtb_docr.[qta_doc2]" +
|
||||||
" ,dtb_docr.[unt_doc3]" +
|
" ,dtb_docr.[unt_doc3]" +
|
||||||
" ,dtb_docr.[qta_doc3]" +
|
" ,dtb_docr.[qta_doc3]" +
|
||||||
" ,dtb_docr.[num_cnf]" +
|
" ,dtb_docr.[num_cnf] - ISNULL(mtb_colr.num_cnf, 0) AS num_cnf" +
|
||||||
" ,dtb_docr.[peso_lordo]" +
|
" ,dtb_docr.[peso_lordo]" +
|
||||||
" ,dtb_docr.[posizione]" +
|
" ,dtb_docr.[posizione]" +
|
||||||
" ,dtb_docr.[cod_anag_comp]" +
|
" ,dtb_docr.[cod_anag_comp]" +
|
||||||
|
|||||||
@@ -648,7 +648,23 @@ public class SpedizioneViewModel {
|
|||||||
if (matchedRows == null || matchedRows.size() == 0) {
|
if (matchedRows == null || matchedRows.size() == 0) {
|
||||||
this.sendError(new NoArtsFoundException());
|
this.sendError(new NoArtsFoundException());
|
||||||
} else if (matchedRows.size() == 1) {
|
} else if (matchedRows.size() == 1) {
|
||||||
this.dispatchOrdineRow(matchedRows.get(0), matchedRows.get(0).getRefMtbColt());
|
PickingObjectDTO matchedItem = matchedRows.get(0);
|
||||||
|
|
||||||
|
|
||||||
|
if (matchedItem.getMtbColts() != null && matchedItem.getMtbColts().size() > 1) {
|
||||||
|
|
||||||
|
List<PickingObjectDTO> pickingList = mPickingList.getValue();
|
||||||
|
|
||||||
|
Stream.of(pickingList)
|
||||||
|
.filter(x -> x != matchedItem)
|
||||||
|
.forEach(x -> x.setHidden(true));
|
||||||
|
|
||||||
|
this.sendFilterApplied(null);
|
||||||
|
this.getPickingList().postValue(pickingList);
|
||||||
|
} else {
|
||||||
|
this.dispatchOrdineRow(matchedItem, matchedItem.getRefMtbColt());
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
List<PickingObjectDTO> pickingList = mPickingList.getValue();
|
List<PickingObjectDTO> pickingList = mPickingList.getValue();
|
||||||
|
|
||||||
@@ -1201,15 +1217,17 @@ public class SpedizioneViewModel {
|
|||||||
.setMtbAart(pickingObjectDTO.getMtbAart());
|
.setMtbAart(pickingObjectDTO.getMtbAart());
|
||||||
|
|
||||||
|
|
||||||
mtbColr.setRefMtbColr(new MtbColr()
|
if(mEnableGiacenza) {
|
||||||
.setCodMart(mtbColr.getCodMart())
|
mtbColr.setRefMtbColr(new MtbColr()
|
||||||
.setPartitaMag(mtbColr.getPartitaMag())
|
.setCodMart(mtbColr.getCodMart())
|
||||||
.setCodTagl(mtbColr.getCodTagl())
|
.setPartitaMag(mtbColr.getPartitaMag())
|
||||||
.setCodCol(mtbColr.getCodCol())
|
.setCodTagl(mtbColr.getCodTagl())
|
||||||
.setNumCollo(refMtbColt.getNumCollo())
|
.setCodCol(mtbColr.getCodCol())
|
||||||
.setDataCollo(refMtbColt.getDataColloS())
|
.setNumCollo(refMtbColt.getNumCollo())
|
||||||
.setSerCollo(refMtbColt.getSerCollo())
|
.setDataCollo(refMtbColt.getDataColloS())
|
||||||
.setGestione(refMtbColt.getGestione()));
|
.setSerCollo(refMtbColt.getSerCollo())
|
||||||
|
.setGestione(refMtbColt.getGestione()));
|
||||||
|
}
|
||||||
|
|
||||||
pickingObjectDTO.getWithdrawMtbColrs().add(mtbColr);
|
pickingObjectDTO.getWithdrawMtbColrs().add(mtbColr);
|
||||||
mCurrentMtbColt.getMtbColr().add(mtbColr);
|
mCurrentMtbColt.getMtbColr().add(mtbColr);
|
||||||
|
|||||||
Reference in New Issue
Block a user