Skip to content

Commit

Permalink
BUGS vari
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Apr 7, 2015
1 parent 7ceb198 commit aff0a36
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -386,6 +386,9 @@ public Fattura_passivaBulk cercaFatturaPassivaForNota(UserContext usercontext, D
break;
}
}
if (numeroFatturaFornitore == null || dataFatturaFornitore == null) {
throw new ApplicationException("Fattura collegata alla nota non trovata! Informazioni mancanti!");
}
SQLBuilder sqlFatturaPassiva = fatturaPassivaHome.createSQLBuilder();
sqlFatturaPassiva.addClause(FindClause.AND, "fornitore", SQLBuilder.EQUALS, oggettobulk.getDocumentoEleTrasmissione().getPrestatore());
sqlFatturaPassiva.addClause(FindClause.AND, "nr_fattura_fornitore", SQLBuilder.EQUALS, numeroFatturaFornitore);
Expand Down

0 comments on commit aff0a36

Please sign in to comment.