Skip to main content
ERP Teacher
C01BeginnerGlobal (fictional rules)

How should a code be built to last?

Place code pieces and find flawed codes to learn why a code should be short and stable.

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

The company, items and quantities in this lesson are all fictional and for education only.

How we write and review lessons

WHY — why does it matter?

Step 1 of 6

Wouldn’t it be handy to pack lots of information into a code?

Situation
Hanbit Stationery decided to put colour, thickness and pack count into every new item code. A few months later the pack changed from 50 to 100. (Item details are made-up teaching data.)
Problem
A code’s job is to point to one item. Make it short, uniform and unchanging, and keep descriptions that may change in names and attributes.
If it goes wrong
A code carrying meaning must change whenever the description changes, and a changed code breaks the link to past slips and stock or splits one item into two.