Good framing: SKU matching alone really can't tell you which supplier's stock reached which customer. One practical tip: capture the supplier lot or PO line number on the receiving record, and carry it through to the sales line, even if it's just a free-text column at first. Retrofitting that link later from CSV exports is far more painful than adding a column on day one. It also helps when a supplier changes the product slightly between shipments but keeps the same SKU. Curious how you handle partial receipts, where one PO line arrives in two deliveries at different costs? Do you split them into separate allocation layers, or average them?