Manufacturing
Before you purge old ERP data: what to check first
By SourceX Editorial · Reviewed by Noah Loul ·
Short answer
Before you purge old ERP data, check four things: retention requirements, legal holds, customer and supplier terms that require records to be kept, and whether the history has value for analysis or licensing. Decision rule: archive first, purge last. A purged record is usually gone for good, while an archived one can still be deleted later.
Key takeaways
- Purging is permanent; archiving moves records out of the live system and can be reversed.
- Retention obligations come from tax, payroll, safety, quality and customer requirements, and they differ by record type.
- A legal hold overrides any purge schedule, so confirm with counsel that none applies before deleting.
- Old quotes, jobs, NCRs and maintenance records can have analytical or licensing value even when nobody opens them.
- Document what was purged, the criteria used, who approved it and when.
Why do manufacturers purge old ERP data?#
Manufacturers purge old ERP data to speed up a slow system, cut storage or hosting costs, simplify a migration or reduce the personal data they hold. Each goal is legitimate, and each can usually be met by archiving rather than deleting.
The risk is that bulk data tools in many ERPs remove records as easily as they load them. A purge run against closed jobs or old transactions can take quote history, labor tickets and quality records with it, and those are the records that answer warranty claims, customer audits and questions nobody has thought to ask yet.
Archiving vs purging: which do you need?#
Archiving and purging both lighten the live ERP, but only archiving keeps the history available. Most manufacturers end up using both: archive aging history to a store that keeps keys and links intact, then purge from the archive only the records that have passed every check below.
| Question | Archive | Purge |
|---|---|---|
| What happens to the records | Moved out of the live database into a read-only store | Permanently deleted |
| Reversible | Yes; records can be restored or queried | No |
| Effect on the live system | Lighter database and faster screens | Lighter database and faster screens |
| Meets retention obligations | Yes, if records stay intact and retrievable | Only after retention ends and no hold applies |
| Keeps value for analysis or AI | Yes, if keys and links are preserved | No |
| Reduces personal data held | Partly, through access controls | Yes |
What should the pre-purge checklist cover?#
The pre-purge checklist covers retention, holds, contracts, dependencies, value and documentation. Work through it by record type rather than by year, because a single year holds records with very different obligations.
Retention periods vary by record type, jurisdiction and contract. The next section lists some federal baselines that commonly apply to US manufacturers; state rules, customer contracts and quality certifications can add more, and your accountant and counsel set the final schedule.
- Retention: confirm tax, payroll, employment, environmental and quality retention requirements for each record type with your accountant and counsel.
- Legal hold: confirm with counsel that no litigation, claim, investigation or audit requires the records to be preserved.
- Customer terms: check purchase terms, quality agreements and supply agreements for record retention and audit rights.
- Quality system: check what your quality manual and certifications, such as ISO 9001 or AS9100, commit you to keep.
- Warranty and product liability: keep traceability for parts still in service or under warranty.
- Open dependencies: confirm no open orders, balances, lots or serial numbers reference the records.
- Value: assess whether the history is useful for analysis, internal AI projects or licensing before it disappears.
- Backups: decide under the same policy whether backups that contain the purged data are kept.
- Documentation: record what was purged, the criteria, the approver and the date.
Which federal retention rules commonly apply to manufacturing records?#
Several federal rules commonly set minimum retention periods for records that sit in or next to a manufacturer's ERP. They are baselines rather than a complete schedule, and longer periods may apply in particular situations.
Rev. Proc. 98-25 matters most for a purge, because it treats records held in a taxpayer's automated data processing system as records that must be kept. It also lets a taxpayer ask the IRS for a Record Retention Limitation Agreement that narrows which electronic records must be retained, which is worth raising with your tax adviser before a large deletion.
OSHA logs and exposure records usually sit in safety files rather than the ERP, but a purge of HR or employee tables can reach them, so include them in the review.
| Record type | Federal baseline | Where it comes from |
|---|---|---|
| Records supporting income, deductions and credits | Until the return's period of limitations ends: generally 3 years; 6 years if unreported income exceeds 25% of gross income shown; 7 years for bad debt or worthless securities deductions; indefinitely if no return or a fraudulent return was filed | IRS record retention guidance |
| Electronic ERP records that support tax returns | As long as they may be material to tax administration, and at least until the assessment period, including extensions, expires | IRS Rev. Proc. 98-25 |
| Employment tax records | At least 4 years after the tax is due or paid, whichever is later | IRS record retention guidance |
| Property and fixed asset records | Until the limitation period expires for the year the property is disposed of | IRS record retention guidance |
| Payroll records | At least 3 years; time cards and wage computation records at least 2 years | Fair Labor Standards Act rules |
| OSHA 300 Log, annual summary and 301 forms | 5 years after the end of the calendar year covered | 29 CFR 1904.33 |
| Employee exposure and medical records for toxic substances or harmful agents | Exposure records at least 30 years; medical records for the length of employment plus 30 years, unless a specific standard differs | 29 CFR 1910.1020 |
Which record types need the most care?#
The record types that need the most care are the ones that link a plan to an outcome, because they are both the hardest to rebuild and the most useful later. Records that hold mostly personal data, such as payroll, HR and some contact tables, are the strongest candidates for deletion once retention ends.
| Record type | Why it may need keeping | Value if kept |
|---|---|---|
| Quotes and estimates | Pricing history and disputes | Estimating patterns and won or lost reasons |
| Sales orders and change history | Customer disputes and audits | Order change and expedite decisions |
| Work orders, routers and labor | Cost support and warranty traceability | Plan against actual production |
| Lot and serial traceability | Recalls, warranty and customer requirements | Links between material, process and failures |
| NCRs, CAPAs and 8Ds | Quality system and customer audits | Problem solving with root causes |
| Maintenance history | Equipment warranty and safety | Failure and repair patterns |
| AP, AR and general ledger | Tax and financial audit | Limited for AI, essential for compliance |
What makes an archive worth keeping?#
An archive is worth keeping when someone can still answer a question from it years later without the original ERP. That means preserving the database keys that tie quotes, orders, jobs and quality records together, plus a data dictionary that explains tables and fields in plain words.
Common formats include a read-only copy of the database, structured flat files such as CSV with a dictionary, or an archive module offered by the ERP vendor. Whichever you choose, index attached documents so they can be found by job or order number, restrict access to the people who need it, and test a restore before decommissioning anything.
Keep personal tables separate inside the archive. HR, payroll and contact records can then be deleted on their own schedule without touching production history.
Who should sign off on a purge?#
A purge should be signed off by the CFO or controller for financial records, the quality lead for quality records, counsel for holds and contracts, and IT for the technical method. A single IT ticket approving deletion by date range is a common gap in smaller companies, and it leaves nobody accountable for the decision.
Run the purge against a test copy first and compare record counts and key reports before and after. Confirm that the tool removes only the intended tables and does not cascade into linked records you meant to keep, such as lot history attached to a closed job.
Illustrative: an industrial pump maker pauses a purge#
Illustrative: a fictional maker of industrial pumps plans to purge closed jobs before a set cutoff year ahead of a hosting move. The IT director has the purge utility configured and the cutoff agreed with the controller.
During the checklist review, the quality manager points out that serial-number traceability on long-life pumps reaches back well past the cutoff, and counsel confirms that an open warranty dispute involves a pump built in one of the years marked for deletion. The company archives all closed jobs with their routers, labor and NCR links into a read-only database, places the disputed records under hold, and purges only payroll detail whose retention period has ended.
With the job history safe in the archive, the CFO asks for a metadata-only assessment of whether that history could support a licensing package.
How SourceX approaches pre-purge decisions#
SourceX does not advise on retention schedules or legal holds; those belong with your accountant and counsel. SourceX helps with the value line of the checklist through a metadata-only fit check on whether archived quotes, jobs, quality and maintenance records could form a licensable package, using the SourceX Enterprise Data Value Framework.
If a package proceeds, the SourceX five-step transaction (Supply, Rights, Preparation, Approval, Delivery) runs with your approval at each step, and large datasets stay in your own storage or ship on encrypted drives. Personal data you planned to delete is removed during preparation, not shipped.
Frequently asked questions
How long do we have to keep ERP records?
It depends on the record type and the rules that apply to your company. Federal baselines include the IRS limitation periods for tax records, at least four years for employment tax records and five years for OSHA injury logs, and state rules and customer contracts can add more. Your accountant and counsel should set the schedule; the checklist helps you apply it consistently.
Does purging help with privacy obligations?
It can. Deleting personal data you no longer need reduces exposure under state privacy laws that may apply to you. Separate personal tables, such as HR and contact records, from operational history, so you can delete personal details without destroying production records.
Will a purge make our ERP faster?
Sometimes, but archiving has the same effect on the live system. Slow performance also comes from indexes, customizations and hosting, so test any purge in a copy and measure the result before deleting anything in production.
Can records be licensed from an archive rather than the live ERP?
Yes. An archive that keeps internal keys and the links between quotes, orders, jobs and quality records is often easier to work with than a live system, because it no longer changes and extracts do not load production servers.
What if we already purged some history?
Check backups, old reports, data warehouse copies and migration extracts before assuming it is gone. Then update the purge policy so future decisions include the value check, and document what was lost so later assessments do not count it.
Sources
- Keep records supporting income, deductions or credits until the period of limitations runs out: generally 3 years, 6 years if unreported income exceeds 25% of gross income shown, 7 years for worthless securities or bad debt, indefinitely if no return or a fraudulent return; employment tax records at least 4 years; property records until the limitation period for the year of disposal. Source
- Rev. Proc. 98-25 treats machine-sensible records in a taxpayer's automatic data processing system as records that must be retained while material to tax administration, at least until the assessment period expires, and allows a Record Retention Limitation Agreement. Source
- FLSA: payroll records kept at least three years; records on which wage computations are based, such as time cards, kept at least two years. Source
- 29 CFR 1904.33 requires the OSHA 300 Log, annual summary and 301 forms to be saved for five years following the end of the calendar year covered. Source
- 29 CFR 1910.1020 requires medical records of employees exposed to toxic substances or harmful physical agents to be preserved for the duration of employment plus 30 years, unless a specific standard provides otherwise. Source
- Under 29 CFR 1910.1020, exposure records must be retained for at least 30 years. Source
Related resources
- InsightCan roofing contractors sell their data to AI companies?
- InsightCan a distributor license its pricing and quote history?
- InsightHow to design a data retention policy that keeps records licensable
- QuestionShould companies sell or license their data?
- QuestionTraining data vs evaluation data: what's the difference?
- SolutionEnterprise data: the records of how organizations actually work
See if your company qualifies
A short company assessment. No data uploads are needed.