• Moges
  • 2026-10-26

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

"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.

---

Professional mold, automation parts manufacturing industry management software
Small and Medium-sized Enterprise ERP, MES, and MRP Solutions
Trade Inventory SaaS Management System, Linux Email Server Solution

Tel: 18625220688

Solutions

Mold Manufacturing Digitalization
Focused on mold shop production management, significantly shortening delivery cycles
ERP Systems for the Sheet Metal Industry
End-to-end management of laser cutting, bending, and welding
Custom Automation Equipment Management
Integrated quotes, production progress, and cost accounting
Tooling & Fixture Management Systems
Fully digital control of the inspection fixture production process

Resource Downloads

MES Whitepaper

In-depth Guide to Mold Manufacturing Execution Systems

Product Documentation

Moges PMS System Feature Guide

FAQ

Answers to all your questions

Contact Us

Now
Talk to Us

14 years of industry experience, focused on the digital transformation of mold, sheet metal, and custom automation equipment manufacturing

186 2522 0688

Headquartered in Kunshan, with on-site service within a 2-hour radius

Contact
Product & Service Inquiry

Free Online Consultation on Products & Solutions

Get a Quote

FAQ

Q: How do I create records in bulk for existing materials?
A: Create them in batches by category, starting with the high-frequency items in use. Define the coding rules first — better slow than messy: fast record creation with messy codes means higher rework cost six months later.

Q: Same material in different specifications — one item or multiple items?
A: Split by specification — specification is the smallest unit of inventory management. φ20 and φ25 round steel must be kept separate for inventory, issuance, and cost; combining them is the start of a muddled account.

Q: Do shop-floor workers need to memorize material codes?
A: No. Codes are the system's primary key; the shop floor searches by name and specification, and scanning (the barcode carries the work order number and material information) is faster.

Q: Will the latest transaction price overwrite the manual reference price?
A: They are separate fields — the reference price governs budgeting, the transaction price governs actuals. Neither overwrites the other; only by comparing them do you get useful information.

Latest News

Online Subscription