Consignment stock of inventories in presence of obsolescence