Gestione chiusura commessa MAGGIO
This commit is contained in:
@@ -24,7 +24,7 @@ public class DocumentiProdDaFabbDTO {
|
|||||||
|
|
||||||
private String generaScarico;
|
private String generaScarico;
|
||||||
|
|
||||||
private String generaCaricoMatricola;
|
private String chiudiCommessaSenzaMatricola;
|
||||||
|
|
||||||
public String getGestione() {
|
public String getGestione() {
|
||||||
return gestione;
|
return gestione;
|
||||||
@@ -97,11 +97,11 @@ public class DocumentiProdDaFabbDTO {
|
|||||||
this.generaScarico = generaScarico;
|
this.generaScarico = generaScarico;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getGeneraCaricoMatricola() {
|
public String getChiudiCommessaSenzaMatricola() {
|
||||||
return generaCaricoMatricola;
|
return chiudiCommessaSenzaMatricola;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setGeneraCaricoMatricola(String generaCaricoMatricola) {
|
public void setChiudiCommessaSenzaMatricola(String chiudiCommessaSenzaMatricola) {
|
||||||
this.generaCaricoMatricola = generaCaricoMatricola;
|
this.chiudiCommessaSenzaMatricola = chiudiCommessaSenzaMatricola;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -348,7 +348,7 @@ public class DocumentiProdDaFabb {
|
|||||||
/*Per il momento devono poter scegliere da WINGEST*/
|
/*Per il momento devono poter scegliere da WINGEST*/
|
||||||
/*String generaCaricProdPadre = setupGest.getImportSetup(connect, type, format, "GENERA_CARICO_PROD_PADRE");*/
|
/*String generaCaricProdPadre = setupGest.getImportSetup(connect, type, format, "GENERA_CARICO_PROD_PADRE");*/
|
||||||
|
|
||||||
String generaCaricProdPadre = ordini.get(0).getGeneraCaricoMatricola();
|
/*String generaCaricProdPadre = ordini.get(0).getChiudiCommessaSenzaMatricola();*/
|
||||||
|
|
||||||
|
|
||||||
if (!ordini.isEmpty()) {
|
if (!ordini.isEmpty()) {
|
||||||
@@ -387,7 +387,7 @@ public class DocumentiProdDaFabb {
|
|||||||
|
|
||||||
if (index == 1) {
|
if (index == 1) {
|
||||||
// Creazione testata documento di carico
|
// Creazione testata documento di carico
|
||||||
if (generaCaricProdPadre.equals("S")){
|
/*if (generaCaricProdPadre.equals("S")){
|
||||||
docCar = new DtbDoct();
|
docCar = new DtbDoct();
|
||||||
docCar.setOperation(OperationType.INSERT);
|
docCar.setOperation(OperationType.INSERT);
|
||||||
docCar.setCodDtip(codDtipCar);
|
docCar.setCodDtip(codDtipCar);
|
||||||
@@ -412,7 +412,7 @@ public class DocumentiProdDaFabb {
|
|||||||
docRCar.setRigaOrd(0);
|
docRCar.setRigaOrd(0);
|
||||||
docRCar.setMatricola(riga.getMatricola());
|
docRCar.setMatricola(riga.getMatricola());
|
||||||
docCar.getDtbDocr().add(docRCar);
|
docCar.getDtbDocr().add(docRCar);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// ----------------------------
|
// ----------------------------
|
||||||
// Gestione giroconto
|
// Gestione giroconto
|
||||||
|
|||||||
Reference in New Issue
Block a user