Skip to content

Commit

Permalink
BugID: 1253 Flusso ordinativi BNL - Modifiche per generare xml
Browse files Browse the repository at this point in the history
  • Loading branch information
rpucciarelli committed Mar 12, 2014
1 parent 06e8d3a commit 4ae9c51
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4064,7 +4064,7 @@ else if(docContabile.getTiDocumento().compareTo(MandatoBulk.TIPO_PAGAMENTO)==0 &
infoben.setBeneficiario(benef);
if (obb_iban){
sepa.setIban(docContabile.getNumeroConto());
if(docContabile.getBic()!=null && docContabile.getNumeroConto()!=null && (docContabile.getBic().length()>8 && docContabile.getBic().length()<11 ))// && docContabile.getNumeroConto().substring(0, 2).compareTo("IT")!=0 )
if(docContabile.getBic()!=null && docContabile.getNumeroConto()!=null && (docContabile.getBic().length()>=8 && docContabile.getBic().length()<=11 ))// && docContabile.getNumeroConto().substring(0, 2).compareTo("IT")!=0 )
sepa.setBic(docContabile.getBic());
else
throw new ApplicationException("Formato del codice bic non valido.");
Expand Down

0 comments on commit 4ae9c51

Please sign in to comment.