About Item codification ​

Item codification means giving each Item a short, structured code in which each character means something. For example, in the code WM304 the letters and digits tell you the material, the type, and the size of the Item. In ERPNext, the code goes in the Item Code field, which is the unique ID of the Item.

If your business already codes its Items, keep your codes in ERPNext. If it does not, you can choose:

  • Few Items with short names: make the Item Code the same as the Item Name. New users recognize the Items at once.
  • Many Items, or long and complex names: give the Items codes. Past a certain number of Items, work without codes becomes hard.

Why codes help ​

  • One standard way to name things. When several people create Items, each person names them in a different style. Even one person can forget the old style and create a duplicate: "Wooden Sheet 3mm" or "3mm Sheet of Wood"?
  • Fewer duplicates. A code scheme puts similar Items next to each other, so you see quickly if an Item already exists.
  • An explicit definition. The code states the properties of the Item.
  • Short codes. Names grow longer as you add more types of Item. Codes stay short.
  • Fewer varieties. When you plan a new product, codes show quickly if you already buy a similar part for another product. Fewer varieties mean less stock and simpler housekeeping.

What codes cost ​

  • Users must learn and remember the codes.
  • New team members take longer to pick them up.
  • Someone must assign new codes all the time, by the rules of the scheme.

Design a code scheme ​

Do not number the Items only in sequence. Write a short cheat sheet in which each position of the code has a meaning. For example, a wooden furniture business can use this scheme:

PositionMeaningValues
1st letterMaterialW = Wood, H = Hardware, G = Glass, U = Upholstery, P = Plastic
2nd letterType (for Wood)S = Sheet, B = Bar, L = L-section, M = Molded, R = Round
2nd letterType (for Hardware)S = Screw, N = Nut, W = Washer, B = Bracket
3rd characterSize0 = less than 1 mm, 1 = 1–5 mm, 2 = 5–10 mm, 3 = 10 mm–10 cm
Last charactersSequence01, 02, 03, …

With this scheme, WM304 is a molded wooden part between 10 mm and 10 cm in size, number 04.

How codification relates to other ERPNext features ​

  • Item Name and Description still hold the readable name. Users can search Items by name, description, Item Group, and customer code, so codes do not make Items harder to find.
  • Naming series: if you do not need meaningful codes, set Item Naming By to Naming Series in Stock Settings. ERPNext then numbers new Items for you.
  • Item Groups classify Items in a tree. Many businesses match the first letters of the code to the Item Group. See Organize Items with Item Groups.
  • Item Variants get their codes from the template code and the abbreviations of their attribute values. See Create Item Variants.