How it is built
- Clean: accents are stripped and anything that is not a letter or digit is dropped, so “T-shirt” reads as “Tshirt” and spaces never reach the code.
- Short values stay: a value no longer than the letters per part (a size like M or 42) is kept as typed.
- Drop vowels: the first letter, then the consonants and digits in order, with a repeated letter counted once. Apparel → APR, Maroon → MRN, Cotton → CTN. A word with too few consonants (Aqua) is filled up with the skipped letters: AQU.
- First letters: the first letters of the value: Apparel → APP.
- Initials: the first letter of each word, then more letters of the last word if needed: Navy blue → NBL.
- Look-alikes: with the box ticked, O and I are left out of letter parts (and l too when upper case is off). The Built from column says when that changed a part.
- Serial: the start number plus the row, zero-padded to the digits you pick: 1 with 3 digits is 001.
- Checks: the tool warns when a code starts with 0, is only digits, is longer than 20 characters, or is the same as an earlier row.
The common mistake: building codes by hand, one person at a time. Two people shorten “Maroon” as MAR and MRN, and the same shirt ends up with two codes. Write the rule down once (this tool’s settings are a good start) and use it for every new item.
Worked example
Kaveri Garments, Visakhapatnam, adds a crew neck T-shirt in two colours and two sizes. It codes by category, product, colour, size and a 3-digit serial, dropping vowels, 3 letters per part, with hyphens.
| Part | Value | Rule | Code |
|---|---|---|---|
| Category | Apparel | vowels dropped | APR |
| Product | Crew neck T-shirt | vowels dropped | CRW |
| Colour | Navy blue | vowels dropped | NVY |
| Size | M | kept as typed | M |
| Serial | 1 | 3 digits | 001 |
| SKU | APR-CRW-NVY-M-001 |
The other three variants follow the same rule: APR-CRW-NVY-L-002, APR-CRW-MRN-M-003 and APR-CRW-MRN-L-004. Each code is 17 characters, with no spaces, and none starts with 0.
The same rule works anywhere. Nordlicht Tools GmbH, Munich, codes a cordless drill as category Tools, product Drill, size 18V: TLS-DRL-18V-001.
Good practice
- One SKU per sellable variant: every size, colour and pack you count separately.
- Short and fixed: 8 to 15 characters, the same parts in the same order, no spaces.
- Meaning that does not change: category, product, colour and size, never price, supplier or shelf.
- Never start with 0, and avoid O and I next to digits.
- Never reuse a code for a different product, even after the old one is sold out: old invoices and reports still point to it.
SKU or GTIN
An SKU is internal: you make it up and it only needs to be unique in your own books. A GTIN is the number under an EAN-13 or UPC-A barcode: the brand owner gets a company prefix through GS1 and numbers its products from it, so the product carries the same number in every shop and marketplace. Many shops keep both on an item: the GTIN that is printed on the pack, and their own SKU. To print either as a barcode, use the barcode and QR generator.
In MyRecords
Inventory in MyRecords gives every item its own item code, with its name, group, unit, prices and barcodes, so a scan at the till or in the warehouse finds the right item, and the point of sale searches by name, code or barcode. To add a range, Make item variants takes a template item and the attribute values you pick, with a code part for each new value, and lists one row per combination with its code, name, selling rate, barcode and opening stock; rows that already exist are skipped, and labels for the new items can be printed straight after. Items can also track batches, serial numbers or both.















