Module: Spree::Receivables::IncomingCounter
- Included in:
- PurchaseOrders::Cancel, PurchaseOrders::MarkDraft, PurchaseOrders::MarkOrdered, ClosingShort, StockTransfers::Cancel, StockTransfers::MarkInTransit
- Defined in:
- app/workflows/spree/receivables/incoming_counter.rb
Overview
The one path that moves a document's awaited units on and off the
destination's incoming_count. A purchase order or transfer counts
toward incoming exactly while it is incoming? — ordered,
in_transit, partially_received — so the workflow that takes it into
that set adds every line's units, and the one that takes it out
withdraws whatever is still awaited. Nothing else writes the counter.