A barcode doesn't have to have an Article Number - see EAN128 codes which can contain a whole raft full of stuff, with or without an A.N. If you are building a POS which will use product ANs, be aware there may be legal restrictions on some operations (including the order in which they are done). For example in the UK to change pricing you must: Raise price on shelf first. Wait till all customers who might have selected items at the lower price to leave the store. Raise price on the computer. Lowering price is simpler: Lower price on computer. Lower price on shelf. Failure to do it this way may result in serious fines for overcharging! You may have similar restrictions in your country.
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced. This message is made of fully recyclable Zeros and Ones