issue #21986: sales order workflow

This is the postbooks portion. Inventory-specific stuff will be in a subsequent private-extensions pull