Module: Spree::Receivables::IncomingCounter

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.