This happened to me as well. If you aren't able to delete/recreate transactions, then you could check out the Inventory Cost Revaluation record type. Prerequisite: Standard Costing enabled. Then can be turned on in Enable Features. Another would be the Inventory Worksheet, but you lose LIFO/FIFO if you have that implemented.