Plenty of mid-size distributors, manufacturers and service companies never bought an ERP. They built one. It often started as an order-entry screen and a customer file. Then came invoicing, purchasing, a general ledger and inventory, and later rebates, a warehouse module and an EDI log. A small IT team, sometimes one developer, kept it running for years on Microsoft SQL Server, with a Visual Basic or .NET front end and a shelf of Crystal Reports and SSRS reports.

Eventually the company moves to a packaged or cloud ERP. Open orders, open invoices and balances are converted. The rest stays behind: years of orders, shipments, invoices, rebates, commissions and ledger lines that customers, auditors, tax authorities and lawyers will still ask about.

A packaged ERP may offer vendor documentation and familiar report definitions. With a home-grown system, the retirement team often has to reconstruct that knowledge from source code, database objects, report files and the people who use them. This guide explains how to keep that history usable.

The example below is a fictional SQL Server distribution system. Its table names, 31-report catalogue and screenshots illustrate the approach; your application needs its own discovery, mapping and acceptance checks.

Why keeping the old in-house system can become a burden

  • Application support sits with you. Your own team or service provider maintains the custom code. Check support for SQL Server, Windows and the application runtime separately; a supported database does not provide an upgrade path for the custom application.
  • The people who built it have moved on. The knowledge of what UDF3 means, why one table stores dates as text, or which status letter means "closed but re-opened" walked out with them. What's left is a few people who know which menu to click.
  • The front end ages badly. Old .NET or VB runtimes, a Crystal Reports runtime on every desktop, Windows versions the security team wants gone.
  • Documentation may be incomplete. Answering "what does this column mean?" can require reading the code, tracing a report calculation or asking a business owner.
  • Audit-access workarounds. Someone with database rights runs ad-hoc SQL and pastes results into a spreadsheet, which can leave evidence of access and exports fragmented.

Retirement can reduce dedicated operating costs once dependencies are closed. Assess shared infrastructure, remaining licences, support obligations and ongoing archive operation before estimating savings.

Preserve your tables, field meanings and business context

ArchiveHub preserves the agreed historical database scope with the source table and column names, alongside documented mappings and business descriptions. In-house systems carry their history in their naming. Our demo archive of a typical in-house distribution ERP shows three eras side by side:

  • The original tables in upper-case abbreviations: CUST_MST, ITEM_MST, VEND_MST, GL_ACCT, GL_BATCH, GL_TRAN, INV_TRAN, FA_MST, PR_JOURNAL_IMPORT.
  • The rewrite tables with a tbl prefix: tblOrderHeader and tblOrderLine, tblShipment, tblInvoiceHdr and tblInvoiceDtl, tblPayment and tblPaymentApply, tblPOHeader, tblReceipt, tblAPInvoice, tblAPPayment, tblRma, tblCommission.
  • The newest modules: Rebate_Agreement and Rebate_Accrual, Vendor_Chargeback, Wms_CycleCount, Landed_Cost, Ic_Document, Edi_Log, Tax_Remittance.

The quirks that make in-house data hard to read are kept and explained, not "cleaned" away:

  • dates stored as char(8) text in one table and as integers in another;
  • single-letter status codes, decoded from the system's own tblStatusCode table;
  • soft-deleted rows, hidden in reports by default but still there for an auditor who asks;
  • user-defined fields UDF1 to UDF5, labelled from tblUdfLabels;
  • the customer name as printed on old invoices next to the current name in the master, because customers get renamed;
  • the change history the database triggers wrote into AuditLog;
  • tblReportCatalog, the list of in-house screens and reports, which gives every ArchiveHub report its original name.

Build a data dictionary for the agreed scope: field meaning, source type, keys where present, relationships, status values and report usage. Validate inferred meanings with business owners and record unresolved gaps. These descriptions can then guide historical queries without relying on one person's memory.

Explore the demonstration

These ArchiveHub screenshots use fictional data. They illustrate historical inquiries rather than a named customer implementation. Select any screenshot to enlarge it.

Customer Master Inquiry list in ArchiveHub Customer Master Inquiry: the customer file with the in-house class, terms, salesperson, price level and credit limit, and UDF1 shown under its real meaning.

Customer detail with user-defined fields resolved Customer detail: UDF1 to UDF5 with their meanings from tblUdfLabels, and tabs for invoices (printed name vs current name), audit-log changes, contract pricing and rebates.

Month-End Subledger Reconciliation Month-End Subledger Reconciliation: each subledger against its GL control account for both companies, showing an illustrative period-close comparison.

Familiar reports, rebuilt from your own catalogue

For a home-grown system, historical reports must reflect its custom screens and Crystal or SSRS report logic. Scope the reports people need, retain familiar names and validate calculations, filters and outputs against the source. The demonstration catalogue contains 31 examples:

Explore the 31-report demonstration catalogue

Sales and customers

  • Customer Master Inquiry: demonstration reference: Customer Inquiry (frmCustInquiry) and the Customer Master Listing (rptCustomerMaster.rpt), with UDF meanings, contract pricing, invoices and name changes
  • Item Master & Price Lists: demonstration reference: Item Inquiry (frmItemInquiry) and Price List by Level (rptPriceList.rpt): ITEM_MST, ITEM_PRC, contract prices and stock by warehouse
  • Sales Order Inquiry & Backorders: demonstration reference: Order Inquiry (frmOrderInquiry) and SSRS /Sales/Open Orders and Backorders, with shipments, invoices, quotes and the EDI log
  • RMA & Credit Memo Inquiry: demonstration reference: RMA Inquiry (frmRmaInquiry), the RMA Authorization Form (rptRMAForm.rpt) and SSRS /Sales/Credit Memo Register
  • Customer Rebate Accrual: demonstration reference: SSRS /Sales/Customer Rebate Accrual (Rebate_Agreement, Rebate_Accrual, Rebate_Payment)
  • Commission Statement: demonstration reference: the Commission Statement (rptCommission.rpt) per salesperson and month

Warehouse and inventory

  • Shipment History & Fill Rate: demonstration reference: Shipment History (frmShipHistory), SSRS /Operations/Fill Rate by Warehouse and the Packing Slip / BOL (rptPackingSlip.rpt)
  • Inventory Valuation by Warehouse: demonstration reference: Inventory Valuation by Warehouse (rptInvValuation.rpt), valued from the perpetual ledger
  • Item Movement History: demonstration reference: Item Movement History (frmItemHistory) and the Item Activity Report (rptItemActivity.rpt): the INV_TRAN stock ledger
  • Cycle Count Variance: demonstration reference: SSRS /Operations/Cycle Count Variance (Wms_CycleCount with the posted adjustment)

Receivables and cash

  • Invoice Register: demonstration reference: the Invoice Register (rptInvoiceRegister.rpt) and invoice form (rptInvoice.rpt)
  • Cash Receipts & Deductions: demonstration reference: the Cash Receipts Journal (rptCashReceipts.rpt) and SSRS /Finance/Deduction Tracking
  • Aged Trial Balance (Receivables): demonstration reference: the Aged Trial Balance (rptARAging.rpt) as printed at each quarter end
  • Bank Reconciliation: demonstration reference: Bank Reconciliation (frmBankRec, rptBankRec.rpt) with outstanding checks and deposits in transit

Purchasing and payables

  • Vendor Master Inquiry: demonstration reference: Vendor Inquiry (frmVendInquiry) and the Vendor Master / 1099 Listing (rptVendorList.rpt), with bank-account change history
  • Purchase Order Inquiry & Receiving: demonstration reference: PO Inquiry (frmPOInquiry), the Purchase Order form (rptPurchaseOrder.rpt), SSRS /Purchasing/Receiving Log and /Purchasing/Landed Cost by Receipt
  • Voucher Inquiry (Three-Way Match): demonstration reference: Voucher Entry / Inquiry (frmVoucher) and SSRS /Finance/AP Three-Way Match Exceptions
  • Check Register: demonstration reference: the Check Register (rptCheckRegister.rpt), including ACH, voids, reissues and rebate checks
  • Aged Payables: demonstration reference: Aged Payables (rptAPAging.rpt) as printed each June and December
  • Vendor Rebate & Chargeback Claims: demonstration reference: SSRS /Purchasing/Vendor Rebate and Chargeback Claims

General ledger and finance

  • GL Transaction Inquiry: demonstration reference: GL Inquiry (frmGLInquiry) and the GL Detail Report (rptGLDetail.rpt): GL_BATCH and GL_TRAN
  • Trial Balance & Chart of Accounts: demonstration reference: the Trial Balance (rptTrialBal.rpt) and Chart of Accounts maintenance, with period 13 as the year-end close
  • Budget vs Actual by Department: demonstration reference: SSRS /Finance/Budget vs Actual by Department (GL_BUDGET against GL_TRAN)
  • Month-End Subledger Reconciliation: demonstration reference: SSRS /Finance/Month-End Subledger Reconciliation: every subledger against its GL control account
  • Intercompany Reconciliation US-CA: demonstration reference: SSRS /Finance/Intercompany Reconciliation, with USD and CAD amounts
  • Asset Register & Depreciation: demonstration reference: the Asset Register (rptAssetRegister.rpt) and Depreciation Schedule (rptDeprSchedule.rpt)
  • Payroll Journal by Department: demonstration reference: Payroll Import (frmPRImport) and the Payroll Journal by Department (rptPRJournal.rpt): the outsourced payroll file against the GL
  • Sales Tax by Jurisdiction: demonstration reference: Sales Tax by Jurisdiction (rptSalesTax.rpt) and SSRS /Finance/GST-HST Return Worksheet

Administration

  • Audit Trail Viewer: demonstration reference: the Audit Trail Viewer (frmAuditLog): who changed credit limits, prices, bank accounts and permissions, and what was deleted
  • Users & Menu Permissions: demonstration reference: Users and Security (frmUserSecurity): tblUsers and tblMenuPermission, for the access review at shutdown
  • Report Catalog: demonstration reference: the Report Catalog (frmReportCatalog): every in-house screen and report with its menu path and owner

Your system will have different tables, calculations and report names. Agree the report scope and acceptance cases before implementation; the examples are not a universal out-of-the-box pack for every custom ERP.

Source documents stay attached

Preserve available source documents and link them to the related historical records. Record missing files and distinguish original documents from any archive-generated renditions. The agreed scope can include:

  • customer invoices and credit memos;
  • purchase orders;
  • packing slips and bills of lading;
  • vendor invoices;
  • customer credit applications;
  • RMA authorization forms.

Beyond the reports

  • Ad-hoc query builder over every archived table, with the new field descriptions and suggested joins, for example tblOrderHeader to tblShipment to tblInvoiceHdr to tblPaymentApply.
  • Retention rules with approved purge, so history leaves the archive when its retention period ends, and only with sign-off.
  • Legal hold on customers, vendors or periods under dispute or audit.
  • GDPR and personal-data handling for contacts, employees and user accounts.
  • Role-based access per system, so payroll and bank details stay with the people entitled to see them.
  • OData feeds for Excel, Power BI and SAP Analytics Cloud.

Preserve the report logic, not just the rows

Before retiring a report server, retain the report definitions you are authorized to preserve, their queries, parameters, calculations and relevant data-source definitions. Microsoft's SSRS documentation describes how these parts contribute to a report definition and how published data sources can be stored separately.

Use this inventory to plan the replacement inquiries. Compare the same period, company, currency, filters and cutoff in both systems. Historical aging and stock snapshots may require stored period-end evidence rather than recalculating from today's master data. Preserve known source discrepancies and their explanations instead of changing historical values to force a match.

How the decommissioning project runs

  1. Inventory. List the databases, tables, code tables, reports, stored procedures, file stores and remaining integrations. Identify business owners, retention requirements and the historical inquiries that must survive retirement.
  2. Extract. Capture the approved scope at a defined cutoff, preserving source keys, relationships, documents and provenance. Document text dates, status letters and deleted flags; handle credentials and other secrets separately under your security controls.
  3. Validate. Compare row counts, trial balances, subledger totals and representative reports against the same source cutoff. Investigate differences, preserve source exceptions and obtain business-owner acceptance for retrieval, calculations, permissions and exports.
  4. Parallel read access. Finance, sales and warehouse teams run agreed historical inquiries in ArchiveHub while the old system remains available. Include difficult cases such as renamed customers, deleted flags, amended transactions and period-end snapshots.
  5. Retire after acceptance. Confirm that active processes and integrations have moved, test required recovery and document sign-off for retrieval, retention, holds and access. Decommission only approved components after confirming that shared infrastructure and downstream applications no longer depend on them.

Give the system its retirement and its documentation

A home-grown ERP was built to run your business, not to be retired. ArchiveHub keeps its history readable and documented, with the reports your people know, so the last copy of that knowledge doesn't depend on one old server.

Plan your custom ERP retirement

Start with the historical questions your teams still need to answer. Request a historical-reporting demo or discuss your home-grown application to define the data, documents, reports and acceptance checks in scope.

Use the application shutdown evidence checklist and historical reporting acceptance template to structure the review. Explore application retirement for the wider delivery approach.


Microsoft SQL Server, SQL Server Reporting Services and Visual Basic are trademarks of Microsoft Corporation. Crystal Reports is a trademark of its respective owner. ArchiveHub is not affiliated with or endorsed by these owners. The table and report names shown are from a fictional demo system.