Controlling applications with the inventory data