We're trying to put a report together to show historical inventory value on a weekly basis. Because we are in an actual costing environment, pulling from the standard costing is not an option. Our inventory team is currently running the inventory value report every Friday, exporting to excel and then totaling. This is something we would like to automate.
I've been able to replicate current costing from the INVENTORY_TRANS table by adjusting in/out QTY - COSTED_QTY. Then getting a weighted average of each cost category to determine the total.
Unfortunately this method only works for current costing and need to look back at historical cost for a given product in time.
In the future, we can simply take a snapshot of the current costing stored in a separate table for this purpose but I'm having a hard time looking back in time.