If the last of an item was taken out and there were no reorders or active orders or suggested orders to refill then it would unallocated the item from the item location but it would still keep it assigned to the device so that if it came in again ...