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