marcenuc/boutique — Issue #3: Record last processed MovimentoMagazzino in Inventario
Author: marcenuc
Created: 2011-10-17 17:30:39+00:00
State: open

While processing MovimentoMagazzino for a given Inventario, the last used one should be recorded in Inventario.
This makes updates to Inventario atomic and idempotent, because eliminates the need to update a different document (e.g. MovimentoMagazzino) and then the need for a transaction (troublesome to get right in CouchDB).