Purchase orders with a job number
A purchase order can carry a job number. The invoices matched to the order are offered it as their split, and what the order has not invoiced yet shows as committed cost on the job number's balance.
Set the job number when editing the order or on its page, under Details; it can be changed after the order has gone out.
Several invoices can be matched to one order, so partial invoicing can be followed. The order closes as invoiced when its matched invoices reach its net. An invoice belongs to one order at most.
Matching also works from the invoice side: on a cost invoice, the Purchase order card at the bottom of the Overview tab offers the same supplier's open orders that the invoice still fits. Once matched, the card shows the order's net, what is invoiced and what remains; Remove match reopens an order that had closed.
On the job number balance, committed cost is the net not yet invoiced on open orders, and expected result is the result once that is taken off. For an order in a foreign currency there is no exchange rate, so its committed cost is flagged rather than counted.