Discuss a project ↗

AMP · Data preparation

ERP data for forecasting: prepare a validated sample

The first useful deliverable is a sample with clear field definitions and reconciled totals. You do not need every ERP table at once. Define what one row represents, which sales events are included and how a confirmed zero differs from a missing record. These decisions make a forecast reproducible regardless of the accounting system.

Agree a schema and row key

Start an aggregated history with sku, date, quantity, unit: product identifier, period date, quantity and unit of measure. Add location for warehouse-level forecasts. Define a key, such as one row per SKU, location and day. It should be unique after aggregation.

Keep document and line identifiers in raw transactions for duplicate checks. Separate legitimate sales may share a product and date. Preserve leading zeros in SKU identifiers by treating them as text.

Align dates, granularity and units

Choose the business event represented by the date, such as order placement or shipment. Do not mix it with invoice dates. Specify time zone, week boundaries and handling of the unfinished current period. Daily history supports later aggregation; monthly totals cannot reconstruct daily timing.

Do not add cartons to individual units without a verified conversion. Document decimal separators and date formats. When packaging changes, check that historical quantities remain comparable.

Separate returns and stockout evidence

Supply returns as a separate returns_quantity with an agreed sign and date, or document how net sales are calculated. Do not subtract returns twice. Investigate negative quantities rather than deleting them automatically.

Stockouts require historical availability indicators or a separate table of unavailable periods. Today's stock snapshot cannot establish availability last month. A missing row is not zero demand until data completeness has been checked.

Validate before forecasting

Begin with an agreed SKU sample and completed periods. Record the extraction date and transformation rules. For a historical test, check which information was actually available at each forecast origin.

  1. Compare row counts, date range and SKU coverage with expectations.
  2. Find duplicate keys, missing units and invalid dates.
  3. Reconcile quantities with an ERP control report using identical conventions.
  4. Inspect several transactions manually and explain major spikes.
  5. Distinguish confirmed zeros, missing records, stockouts and incomplete periods.

Hand over context with the file

Include a field dictionary and expected validation totals. Inventory planning also needs dated stock and open purchase orders; keep these distinct from sales quantities.

Next, agree candidate forecasting methods and evaluation rules. Discuss the sample in an AMP demo; connection design is scoped through AMP services.

Frequently asked questions

Is there a ready connector for every ERP?+

This guide gives no such guarantee. Formats, fields and transfer options must be checked for the specific system.

Should all missing rows become zeros?+

No. First distinguish confirmed no-sale periods from extraction failures, stockouts and products outside the assortment.

Does a sales forecast always require stock data?+

Not always. Stock adds availability context; replenishment decisions require separate inventory and receipt information.

Explore further

About AMP Digital SolutionsAI planning for demand, sales and productionHow to forecast demand: from sales history to an informed decisionSales plan: formulas and a worked exampleDigital tools for sales and everyday operationsPricing for the AMP planner, websites and integrationsSales forecasting methods: how to compare eight approachesInventory planning: turn demand into a purchasing decisionForecast accuracy: interpret WAPE and bias togetherB2B sales: plan revenue across a long sales cycleSales funnel: from stage evidence to weighted revenueSales systems: assign ownership of process, data and resultsArticles on forecasting and planning
Discuss ERP data in an AMP demo ↗

AMP · DEMO

See AMP for your planning task

Leave your phone number or email to discuss a demo of demand, sales or production planning.

  • One required contact field. No registration.
  • Name and task description are optional.
  • ERP connections and included modules are agreed separately.

AI planner from $300/month. Setup $1,000 once. Scope agreed separately.

How we use your data

Your contact and description are available to the AMP team in private storage and a private Telegram work group. We do not send names, phone numbers, emails or task text to analytics. Contact us through Telegram to ask about or delete your request.

Add task details (optional)
Message on Telegram