Every stock movement — added, moved, drawn, returned or adjusted — with the rate card and the revenue Cost Center it…
Every stock movement — added, moved, drawn, returned or adjusted — with the rate card and the revenue Cost Center it was held under and what a draw was billed.
One row per movement per rate card it touched. Where the organisation bills consumables, a draw that names no card is taken from the cards that have held stock longest and may be split across two, and each part is its own row; a movement that touched no card is one row with the card columns empty. quantity is signed — what came in positive, what went out negative — so its sum over any store and part is that store’s balance of the part.
movement is ADD for a receipt or opening balance, MOVE for either half of a move between stores (transfer_store_name is the other store), DRAW for an issue or consumption, RETURN, and ADJUST for an adjustment, a count, scrap or a reversal. transaction_type keeps the ledger’s own type.
revenue_cost_center is the Cost Center the stock is held for, which earns the charge; the Cost Center a draw was issued to is charged_cost_center. charge_amount is what the draw was billed on this card, empty for anything not billed.

