Skip to content
AI-ERP

AI in ERP

What data an ERP needs before AI becomes useful

The data an ERP needs before AI features become useful: clean masters, timely transactions, reason codes and enough history, plus a checklist to get ready.

By the AI-ERP team 5 min read

AI features in an ERP are only as good as the data underneath. An assistant answering from duplicate items, late entries and missing links will give answers that look confident and are wrong. The good news is that the data AI needs is the same data that makes the ERP work well. This guide lists what matters and how to get it ready.

Clean masters

Masters are the lists everything else refers to: items, customers, suppliers, machines, employees. If one item exists under three names, every answer about that item is split three ways. If customers lack a region or category, questions by region cannot be answered.

Cleaning masters means merging duplicates, standardising names and units, and filling in the attributes people will ask about, such as category, region, salesperson and supplier.

  • No duplicates

    One record per item, customer and supplier.

  • Standard names and units

    Consistent naming and correct units of measure.

  • Useful attributes

    Categories, regions, owners and other fields people filter by.

Timely transactions

If goods received notes are entered days late, stock answers are wrong in the meantime. If production is recorded at the end of the week, questions about today's progress cannot be answered. AI makes the cost of late entry more visible, because people ask questions expecting current answers.

AI answers the question you ask about the business as it is recorded, not as it is.

Reason codes

Questions about why, such as why rejections rose or why orders were late, need reasons recorded in a structured way. Defect codes on rejections, delay reasons on late operations, and reasons for credit notes turn free text into data AI can analyse. A short list of codes, used consistently, is better than a long list used inconsistently.

Reason codes
WhereExample codes
RejectionsDimension, surface, crack, wrong material
DelaysWaiting material, machine breakdown, operator absent
Credit notesRate difference, return, short supply, quality
Stock adjustmentsCount difference, damage, expiry

Enough history

Some AI features need history. Answering questions about today needs only current data. Predicting supplier delays or customer payment dates needs several months of records. Forecasting demand benefits from a year or more, to see seasons. Plan which features to enable as history builds up.

A readiness checklist

  • Masters cleaned

    Duplicates merged, names standardised, attributes complete.

  • Entries same day

    Receipts, issues, production and dispatches recorded when they happen.

  • Records linked

    Orders, production, lots and payments connected.

  • Reason codes in use

    For rejections, delays, credit notes and adjustments.

  • History available

    Months of data for prediction features.

Using AI to improve data

AI can help with its own readiness. It can find likely duplicate items and customers, flag records with missing attributes, and show where entries are routinely late. Running these checks early in a project speeds up cleaning.

Starting before everything is perfect

Data never becomes perfect. Start with AI features that depend on the cleanest areas, such as sales and receivables, and use what users ask to decide which data to improve next. Questions that produce poor answers are a useful guide to where data needs attention.

An example of cleaning before AI

A distributor preparing to use AI finds 4,000 item records, of which several hundred are duplicates created over years by different staff. Customers lack region and salesperson fields, and credit notes have no reason codes. Over three weeks, a small team merges duplicates using a list of likely matches the system prepared, fills in regions and salespeople from existing knowledge, and adds a short list of credit note reasons. When the AI copilot goes live, questions about sales by region and returns by reason produce answers the team trusts from day one.

Keeping data clean afterwards

Cleaning once is not enough. Set rules that keep data clean: only certain people can create new items or customers, mandatory fields for key attributes, and a monthly check for duplicates. These habits keep AI answers reliable as the business grows.

Key takeaways

  • AI depends on clean masters, timely entries and linked records.
  • Reason codes make why questions answerable.
  • Prediction features need months of history.
  • Use AI itself to find duplicates and missing data.
  • Start where data is cleanest and improve the rest as you go.

Questions on this topic

Can AI work with messy data?

It can answer, but answers will reflect the mess. Cleaning masters gives the biggest improvement.

How long does data cleaning take?

Days to weeks, depending on the number of records and how messy they are.

Do we need a year of data before using AI?

No. Question answering works immediately; forecasting needs more history.

Who should clean the data?

People who know the items and customers, with tools to find duplicates.

What are reason codes?

Short standard codes recording why something happened, such as a rejection or delay.

Can migrated history be used by AI?

Yes, if it is migrated with enough detail and links.

Will AI tell us our data is wrong?

It can flag likely duplicates, gaps and late entries.

Free 30-minute consulting call

Want this working in your business?

Book a free consulting call. The AI-ERP team will show you how it would look with your own data.

Before you go

Get a free ERP plan for your business

Leave your number and one line about your business. We send you a plan on WhatsApp: the modules we would suggest, a rough timeline and an estimated cost.

We use your number only to reply about this request.

Free 30-minute call

Book a free consulting call

Tell us a little about your business. Next, you pick a time that suits you.

No obligation. You leave the call with a clear plan either way.

Live demo

See AI-ERP in action

Get instant access to a working AI-ERP built for a valve manufacturer. Three quick details and you are in.

We only use these details to follow up about AI-ERP.