Skip to content

Commit

Permalink
Risoluzioni anomalie controllo quadratura generico entrata - inventario
Browse files Browse the repository at this point in the history
  • Loading branch information
rpucciarelli committed Apr 4, 2012
1 parent f88849a commit de0a87a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -5240,7 +5240,7 @@ private void controllaQuadraturaInventario(UserContext auc, Documento_genericoBu
Buono_carico_scarico_dettBulk ass=(Buono_carico_scarico_dettBulk)i.next();
ass.setBene((Inventario_beniBulk)getHome(auc, Inventario_beniBulk.class).findByPrimaryKey(ass.getBene()));
// per gestire l'inventario anche per i generici di reintegro del fondo
if (documento.getTipo_documento().getTi_entrata_spesa().compareTo(documento.GENERICO_E)==0)
if (documento.getTipo_documento().getCd_tipo_documento_amm().compareTo(documento.GENERICO_E)==0)
totale_inv=totale_inv.add(ass.getBene().getValore_alienazione());
else
totale_inv=totale_inv.add(ass.getValore_unitario());
Expand Down

0 comments on commit de0a87a

Please sign in to comment.