InventoryDetail not yet defined. commenting out.