Skip to content

Commit

Permalink
BUG sui documenti 1210
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Jan 20, 2016
1 parent 7519b4f commit 21736b1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
Expand Up @@ -4778,12 +4778,12 @@ public OggettoBulk modificaConBulk(
prepareCarichiInventario(aUC, fatturaPassiva);

Lettera_pagam_esteroBulk lettera = fatturaPassiva.getLettera_pagamento_estero();
if (lettera != null && lettera.getCd_sospeso() != null) {
if (lettera != null) {
try {
Lettera_pagam_esteroBulk original1210 = (Lettera_pagam_esteroBulk)getHome(aUC, lettera).findByPrimaryKey(lettera);
aggiornaLetteraPagamentoEstero(aUC, lettera);
if (original1210 == null ||
lettera.getIm_pagamento().compareTo(original1210.getIm_pagamento()) != 0)
if ((original1210 == null ||
lettera.getIm_pagamento().compareTo(original1210.getIm_pagamento()) != 0) && lettera.getCd_sospeso() != null)
validaDisponibilitaDiCassaCDS(aUC, fatturaPassiva);
} catch (it.cnr.jada.persistency.PersistencyException e) {
throw handleException(lettera,e);
Expand Down
Expand Up @@ -227,9 +227,6 @@ public void validate() throws ValidationException {
throw new ValidationException("Valorizzare la Divisa!");
if (getBeneficiario() == null)
throw new ValidationException("Valorizzare il Beneficiario!");
if (getIban() == null)
throw new ValidationException("Valorizzare il campo IBAN!");

}

@Override
Expand Down
Expand Up @@ -505,7 +505,6 @@
name="iban"
property="lettera_pagamento_estero.iban"
readonlyProperty="ROStatoTrasmissioneLettera"
nullable="false"
maxLength="250"
inputSize="100"
inputType="TEXT"
Expand Down
Expand Up @@ -922,7 +922,6 @@
maxLength="250"
inputSize="100"
inputType="TEXT"
nullable="false"
label="IBAN"
enabledOnSearch="true"
enabledOnFreeSearch="false"
Expand Down

0 comments on commit 21736b1

Please sign in to comment.