How to Define Material Codes So They Stay Clean: Building Material Master Data

2026-10-26 06:29:56

"One material, three names" is the most typical disease of material management: the drawing calls it by a drawing number, the warehouse calls it by a nickname, and the purchase order carries the supplier's product name -- when you look up inventory, nothing matches anything. Using the material record in Moges PMS5 as a reference, this article explains how to build material master data so it stays clean.

How to Define Material Codes So They Stay Clean: Building Material Master Data

1. The Core Fields of a Material Record

Every material has one record in the system, with these core fields:

  • Material code: the unique identity card across the whole system
  • Name and category: what it is called and which class it belongs to (raw material / standard part / auxiliary material / cutting tool ...)
  • Specification, model, and unit: precise down to the model, with a unified unit (piece / set / kilogram -- one material, one unit, never mixed)
  • Safety stock: the level below which replenishment is needed (this field gets its own explanation later)
  • Default bound warehouse: the warehouse where this material normally resides
  • Reference unit price and latest transaction purchase unit price: one is a manually maintained reference price, the other is written back automatically by the system

There are not many fields, but each one matters.

2. Coding Rules: Set Once, Benefit for Ten Years

Messy coding is a disaster area of legacy problems. The recommended segmented rule:

  • Segment by major category: raw materials, standard parts, auxiliary materials, and cutting tools each get their own number range
  • Sequence numbers within the segment: no fancy "meaningful coding" (packing specification and material into the code itself) -- meaningful codes sound professional until you meet "one material with two suppliers," and then they collapse
  • One item, one code, never reused: the code of a discontinued material is sealed and never given to a new material

The purpose of a code is uniqueness, not information density -- information density belongs in the category and specification fields; the code is only responsible for "there is exactly one of this across the whole plant."

3. Binding a Default Warehouse: One Less Step, One More Constraint

In the material record each material is bound to a default warehouse, and inbound and outbound orders then derive that warehouse automatically. The design serves two purposes at once:

  • Easier document entry: no need to pick a warehouse every time, because the material knows where it belongs
  • Unified storage: the same material is not recorded against different warehouses because different people entered it -- unless the warehouse is deliberately changed, and a change is recorded too

For plants with multiple sites stored separately, either build material records by warehouse or distinguish them by category; the principle in both cases is "one material, one primary storage location."

4. Two Price Fields: Reference Price and Latest Transaction Price

  • Reference unit price: a manually maintained estimate -- used for budgeting and quotations
  • Latest transaction purchase unit price: the system writes it back automatically when a purchase order is confirmed -- what was actually paid last time is always current in the record

The practical uses of these two fields: before placing a purchase order, glance at the latest transaction price and spot abnormal price swings on the spot; when planning estimates costs, use the reference price instead of asking purchasing every time. Price history lives on the material record, far more reliable than keeping it in a spreadsheet.

5. Record-Keeping Discipline

  • One item, one code: check for duplicates before coding a new material (search by name and specification first)
  • Deactivate, do not delete: unused materials are deactivated, while historical inbound, outbound, and reconciliation records still point to them
  • Review categories periodically: categories are dimensions for reporting, so review every six months whether any need to be added

Material master data is the shared foundation of warehousing, purchasing, and production. Build it well and every module downstream runs smoothly; leave it messy and every module pays for it.

For how safety stock on the material record is used, see Inventory Inquiry and Safety Stock (F17); for the purchasing-side linkage, see Supplier Records. To learn about the product, see Moges PMS5.

---

« Back to News list