Skip to content

Commit

Permalink
gestione reinvio esito a SdI
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed May 16, 2015
1 parent f73f319 commit e75272c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -191,7 +191,7 @@ public Forward doReinviaEsito(ActionContext context) throws FillException, Busin
DocumentoEleTestataBulk bulk = (DocumentoEleTestataBulk) fatturaPassivaElettronicaBP.getModel();
try {
fatturaPassivaElettronicaBP.reinviaEsito(context, bulk);
fatturaPassivaElettronicaBP.setMessage("Esito inviato correttamente al Sitema di Interscambio");
fatturaPassivaElettronicaBP.setMessage("Esito inviato correttamente, in attesa di risposta dal Sitema di Interscambio.");
return context.findDefaultForward();
} catch(Throwable e) {
return handleException(context,e);
Expand Down
Expand Up @@ -335,6 +335,10 @@ public void reinviaEsito(ActionContext actioncontext, DocumentoEleTestataBulk do
try {
((FatturaElettronicaPassivaComponentSession)createComponentSession()).
notificaEsito(actioncontext.getUserContext(), tipoIntegrazioneSDI, documentoEleTestata);
documentoEleTestata.setStatoNotificaEsito(null);
documentoEleTestata.setToBeUpdated();
setModel(actioncontext, documentoEleTestata);
save(actioncontext);
} catch (Exception e) {
throw handleException(e);
}
Expand Down

0 comments on commit e75272c

Please sign in to comment.