Material Costs in reference to routings

SOLVED

I am stumped and need to find some answers, hopefully someone here can help?

On the routings, each material item has an associated "Material Cost", I am trying to determine where is cost is coming from. It doesn't matter to me if the material part if purchased or manufactured. What I am seeing in our system is a lot of inconsistency. For purchasing items, I have looked at the purchase orders/invoicing, but that doesn't match up (we do use 'average', but even then it's not close.) On manufacturing items, I looked at the Work Orders completed and tried to get the cost from there, but again, nothing is coming close. I've looked at "Inventory Transaction Distribution" and still not finding what I need.

Does anyone know how the "Material Cost" gets updated? (we are on SAGE MAS 500 2013). Thanks for any input/ideas!