A system for tracking the quantity of an item comprising: a portable terminal placed inside a first container together with the quantity of the item, the portable terminal configured to provide an actuation indication in response to a change in the quantity of the item in the first container, and comprising: a unique identifier associated with the portable terminal; an input device configured to be actuated to indicate the change in the quantity of the item in the first container; and a transceiver configured to transmit the actuation indication to a client; the client, configured to receive the actuation indication from the portable terminal with a transceiver and to update the quantity of the item based on an association information stored in a memory of the client when the item is packaged for delivery, the association information comprising the unique identifier to associate the portable terminal with the item; and a cabinet comprising: the first container configured to store the item; and a controller configured to change a value indicating a quantity of the item based on the information transmitted from the client, wherein the controller is further configured to update a location record of the item associated with the portable terminal when the portable terminal is moved from the first container to a second container. a portable terminal placed inside a first container together with the quantity of the item, the portable terminal configured to provide an actuation indication in response to a change in the quantity of the item in the first container, and comprising: a unique identifier associated with the portable terminal; an input device configured to be actuated to indicate the change in the quantity of the item in the first container; and a transceiver configured to transmit the actuation indication to a client; a unique identifier associated with the portable terminal; an input device configured to be actuated to indicate the change in the quantity of the item in the first container; and a transceiver configured to transmit the actuation indication to a client; the client, configured to receive the actuation indication from the portable terminal with a transceiver and to update the quantity of the item based on an association information stored in a memory of the client when the item is packaged for delivery, the association information comprising the unique identifier to associate the portable terminal with the item; and a cabinet comprising: the first container configured to store the item; and a controller configured to change a value indicating a quantity of the item based on the information transmitted from the client, wherein the controller is further configured to update a location record of the item associated with the portable terminal when the portable terminal is moved from the first container to a second container. the first container configured to store the item; and a controller configured to change a value indicating a quantity of the item based on the information transmitted from the client, wherein the controller is further configured to update a location record of the item associated with the portable terminal when the portable terminal is moved from the first container to a second container.