Skip to main content
ERP Teacher
Knowledge guideGlobal (fictional rules)

What Is an Item Code? Why Businesses Need One

An item code is a unique identifier attached to each item a company handles. People spell a product name in different ways, but an item has exactly one code, so orders, stock and journal entries add up the same item together no matter how its name was typed.

Author
Seung-joo Park
Reviewer
Seung-joo Park
Last updated

The companies, items and codes in this article are fictional examples for teaching.

How we write and review

Why are names not enough?

"A4 paper 80g" and "A4 copy paper (80g)" are the same product to a person, but two different products to a system that compares text. When each order spells the name differently, stock appears split in two and people order goods they already have.

An item code is an agreement that points at "this item" however its name was written. If the name is the description people read and the code is the marker the system points at, history and stock stay connected even when the name changes.

Case: four order lines, one product spelled two ways

Situation
A fictional stationery wholesaler receives four order lines: "A4 paper 80g" x 10, "A4 copy paper (80g)" x 20, "Black pen 0.5" x 30 and "Pen (black) 0.5mm" x 15.
Result
Counted by name, that is four items, and A4 paper shows up as 10 and 20 separately. Link the four lines to item code P-0001 (A4 paper 80g) and P-0002 (black pen 0.5) and you get two items: 30 units of A4 paper and 45 pens. The codes are examples for explanation only.

What makes a good item code

  • Give each item one code, and let each code point at one item only.
  • Do not change the code when the item name changes. Past journal entries still point at that code.
  • Do not change the code when the classification changes. Keep the classification as a separate field.
  • Do not reuse the code of a discontinued item for another item. Mark it as no longer in use instead.
  • Do not pack too much meaning into the code. The moment that meaning changes, the code and the real item disagree.

Sequential codes and meaningful codes

Two common ways to build item codes. These are general tendencies; a company's own rules may differ.
AspectSequentialMeaningful
ExamplePlain numbers handed out in order, such as 000123 and 000124.Pieces joined together to carry classification and specification, such as PA-A4-80.
StrengthDuplicates are hard to create, and the code never needs touching when a name or classification changes.People can roughly tell the item from the code alone, so it is easy to read.
WeaknessThe code alone says nothing about the item, so it has to be looked up together with the item name.When a classification or specification written into the code changes, code and reality drift apart, and more pieces make the code long and complicated.
Fits best whenThere are many items and the classification scheme changes often.There are few items and the classification scheme is stable.

Frequently asked questions

What is the difference between an item code and an item name?

The item name is a description people read; the item code is the identifier the system uses to point at the item exactly. A name can change or be spelled differently, but a code should stay the same for as long as it points at that item.

Must an item code be numeric?

No. Digits, letters and hyphens can be mixed. What matters is not the type of character but that an item has exactly one code and that the code does not change. Check which characters and lengths your system allows first.

What if an item code that is already in use has to change?

Past journal entries and stock still point at the old code, so editing it in place or reusing it for another item is risky. A common approach is to mark the old code as no longer in use, create a new code and keep a record of how the two relate. The exact procedure follows your company's internal rules and the system you use.

Are an item code, a SKU and a barcode the same thing?

They are different concepts. An item code identifies an item in a company's master data, a SKU is the code of the smallest unit for which stock is managed, and a barcode is a way of presenting a number so a machine can read it. The comparison articles below explain the differences.

Keep going