While I haven’t solved a way to trace the difference on Stock Entry for our inventory, I have been investigating what may have cause it.
Here there is a previous posts about it. I understand there is an argument about ERPNext not updating the valuation on Purchase / Receipt / Stock Entry: