Working with dynamic inventories