Patent ID: 7083091

Claim:
A commodity information management program for users to retrieve information of their various commodities, said program controlling a computer to be operated as equipment comprising: first storage that stores a database for defining various attributes, which form a hierarchical structure, of respective commodities, said database including records each of which has fields of a commodity classification code containing the current attribute, a level number containing a level of the current attribute in said hierarchical structure and a parent code containing a commodity classification code showing the parent attribute in the immediately higher level defining a broader sense than the current attribute; a first accepting portion that accepts information designating said commodity classification code and said parent code through an input device; an adding portion that adds a record having the commodity classification code and the parent code accepted by said first accepting portion to said first storage as an addition record; a second accepting portion that accepts information designating one of the other records in said first storage whose parent codes are identical to that of said addition record as a moving-back target record through said input device; and a moving-back portion that replaces the parent code in said moving-back target record with the commodity classification code in said addition record, increments the level number in said moving-back target record by one, and increments the level numbers in the records that define attributes in lower level defining a narrower sense than that in said moving-back target record by one, respectively.