get inventory value at date