The production system you built in FoxPro knows things your new ERP doesn’t
For twenty or thirty years a homegrown FoxPro, Clipper or DBF system has run the plant: routings, lots, yield, standard cost and the entry screen at every station. Now a new ERP is coming, JobBOSS², E2, Odoo or whichever product won the demo, and its implementation team will load items, BOMs and open orders. The routing rules buried in code, and the lot history your auditor asks about, are usually outside that scope. That gap is the work I do.
Sound familiar?
I have run DBF production systems in manufacturing for twenty years, and most of this list I could write from memory.
- Routing rules live in code. Which operations a part visits, which step a product family skips, what sends a lot back for rework: it’s a
CASEstatement from 1998, and the comment above it names someone who left a decade ago. - Lot history has to survive the move. Splits at one operation, merges at packing, material lots consumed, test results, the shift that ran it. When a customer complaint arrives about a shipment from five years back, that history is the whole answer.
- The ERP vendor’s migration covers master data. Items, customers, BOMs and on-hand stock fit their import templates; closed lots, routing exceptions and the yield history behind your standard cost don’t, so they quietly drop off the project plan.
- Indexes break on the shared folder. A workstation crashes mid-write, a CDX tag stops agreeing with its table, and somebody runs the reindex before first shift. The mechanics of that are here.
- One person knows how it all fits together. If that person is you, you already know why you’re reading this.
What we usually find
The language varies from plant to plant. What the system does is remarkably similar everywhere:
- Production, routing and lot tables in DBF, written in FoxPro or Clipper (sometimes ported to Harbour along the way), often served by an Advantage Database Server that SAP no longer sells or develops; see Advantage after end of life.
- Keyboard-only entry screens at each station, with a barcode scanner that simply types into the field. Operators enter a lot and a good-piece count faster than any touchscreen allows, and they will tell you so.
- Yield, WIP and scrap reports that planning trusts more than anything else in the building. Somebody keeps last year’s printouts in a binder.
- A standard-cost rollup with scrap factors per operation, recalculated by a batch job at month end. Finance uses the number without knowing where the factors came from.
- Text or CSV exports to accounting and the warehouse, picked up by another program on a schedule nobody wrote down.
What we can do — pick the level you need
-
Stabilise what you have first
Before anyone says “migration”, the old system has to stop costing mornings: index definitions in a versioned list with a rebuild script that reads it, a plan for an Advantage server that will never get another patch, and the DBF files off a plain file share where one crashed PC corrupts them for everybody. A few days of work, and the ERP project runs without a fire in the background.
-
A web layer over the live data, replacing nothing
Some plants don’t need a new ERP yet; they need their data visible. I build read-only web screens and dashboards, such as lot genealogy on one page or weekly yield by product family, directly over the live tables or over a SQL mirror of them. The production system keeps running exactly as it does today. The manager who wanted WIP on a phone gets it, and nobody retrains the floor.
-
Carry the logic and the history into the new ERP
This is the part the ERP quote leaves out. I extract the routing rules from code into tables the new system can hold, convert closed lot history with its genealogy intact, and prove the result with parity testing. Yield, WIP and standard cost for a closed period, reported by the new ERP, must match the old reports to the cent, or each difference gets a written explanation that someone in finance has signed. Production stays on the old system until each area passes.
-
Keep a lot archive that answers the auditor
Not every closed lot belongs in the new ERP. The alternative is a read-only SQL archive with one search box: enter a lot number, get its genealogy, materials and test results. When an auditor asks about an old shipment the answer takes a minute, and the old system can finally be switched off.
Related services
Visual FoxPro to .NET
FoxPro 2.x and Visual FoxPro applications rebuilt on .NET + SQL, with the business rules intact.
Clipper / xBase
DOS-era Clipper and xBase systems — contained with Harbour first, then migrated calmly.
Advantage Database (ADS)
Post-EOL strategy for SAP Advantage: freeze, replace the server, or migrate off DBF.
dBase / DBF data
DBF tables moved to SQL with codepages, memo files and deleted rows handled correctly.
Frequently asked questions
We already picked an ERP. Why would we need you as well?
Because the ERP vendor migrates what fits their templates, and your plant’s logic doesn’t. Their consultants have no reason to read twenty-year-old FoxPro to learn why part family 40 skips final inspection and 41 doesn’t. I work next to their team: they get clean, mapped data and a written list of rules to configure, with the old system’s outputs as the reference they test against.
Can production keep running during the move?
It has to. The old system remains the system of record while the data is mirrored and checked. Areas cut over one at a time, usually reporting first and shop-floor entry last, because a bad day at the stations costs shipments. Each cutover keeps a way back until its parity checks have held for a full period.
What happens to lot history for ISO 9001 or IATF 16949 audits?
It stays retrievable with genealogy intact. ISO 9001:2015 (clause 8.5.2) requires you to retain the documented information needed for traceability where traceability is a requirement. IATF 16949 (clause 7.5.3.2.1) asks for records to be kept while the product is active for production and service requirements, plus one calendar year, unless a customer or regulator specifies otherwise, and automotive customers often do. Wherever the history lands, I test it by tracing real lots in both directions: from a shipped lot back to raw material, and from a raw-material lot forward to every customer that received it.
Our system runs on Advantage Database Server. Is that urgent?
It’s a deadline more than an emergency. SAP stopped selling Advantage and version 12 is the last one, so the server and its mostly 32-bit clients get harder to keep alive on new Windows builds every year. The realistic paths are in Advantage Database after EOL. No need to panic. You do need a plan with a date on it.
Have you actually run one of these systems?
Yes. For twenty years my day job has been running DBF production systems in manufacturing: routings, lot tracking, yield reports, and the reindex at six in the morning when a tag goes bad. I work alone, and every engagement starts with a fixed-price Legacy Assessment of one to two weeks, so you see what I find before committing to anything larger.
Start with an assessment, not a rewrite.
Send us the stack you are on and what hurts. You get a written read of your data and code, the realistic options — including the ones that cost you less — and what parity testing would cover. Fixed price, agreed before we start.