Stock against the ledger
Both sides are valued at weighted average, because that is what POS cost of goods posts at. Value the stock side at buying price instead and you report a variance that is only a difference of basis — a number that looks like a problem and is not.