Inventory Accounting in Ecommerce