You may want to track down this Source Code - Item Balance, Age and Value by Warehouse(s) - Pivot Table