Skip to main content
erpteacher.
D04BeginnerGlobal (fictional rules)

Why a code must stay the same when a category changes

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

WHY — why does it matter?

Step 1 of 6

Only the group moved, so why does past sales history split?

Situation
Hanbit Stationery built item codes with the category in the first letter, such as S-001, where S means stationery. This year the stationery category is being split into paper and writing tools. The sticky notes (S-045) must move to paper.
Problem
If the category is part of the code, the code has to change whenever the category changes. But changing a code breaks the links to past orders and stock records.
If it goes wrong
When the sticky notes code changed from S-045 to P-045, two years of sales stayed under the old code, so the same sticky notes were counted as two items. If the category is a separate attribute, you can change the category and keep the code.