Skip to content

Legacy ERP System β€” Master Timeline

Complete ILegacy ERPS replacement with Framework M.

Team: 2Γ— 10x developers (LLM-assisted, TDD-focused)

Dev Focus Parallel Work
Dev 1 Framework M core Infrastructure, protocols, adapters
Dev 2 Legacy ERP apps & microservices WMS, Finance, People, Stock-Keeper

Week 1-2 β”‚ Week 3-4 β”‚ Week 5-6 β”‚ Week 7-8 β”‚ Week 9-10
────────────┼─────────────┼─────────────┼─────────────┼────────────
Framework β”‚ WMS Core β”‚ F&A App β”‚ P&A App β”‚ Integration
Foundation β”‚ + Modules β”‚ β”‚ β”‚ & Testing

Core framework + high-throughput services (TigerBeetle from day 1).

Week Task Duration Output
1 DocType system, Repository pattern 2d Base infrastructure
1 Workflow engine (SubmittableMixin) 1d State machine
1 Book-Keeper integration 2d Financial ledger ready
2 Stock-Keeper microservice 3d Inventory ledger (TigerBeetle)
2 m-ledger dual adapter 2d Finance + Stock adapters
3 Configure Framework M native CQRS 1d Real-time projections wired
3 m-hr-core implementation 2d Employee, Designation
4 Authentication (Citadel IAM) 2d Multi-tenant auth
4 File upload & Excel processing 2d Data import foundation
4 Background jobs (Taskiq) 1d Async processing
5+ Performance tuning, load testing ongoing 10K TPS validated

Deliverables: Framework M core, Book-Keeper integration, Stock-Keeper microservice

Architecture: Both financial and stock ledgers use TigerBeetle from day 1. No SQL fallback β€” we’re building for Legacy ERP scale.


Application development using Framework M.

Architecture Rule: Apps like WMS, finance, CRM, and people are built as independent Plugin Apps. They install over the business-m base app using the Bounded Contexts pattern. No domain-specific fields (e.g., credit limits, lead scores) should ever leak into the base m-core identities.

Week Phase Duration Output
1-2 01-master-data 2d Item, Depot, URC, Supplier
2 02-inventory 3d StockEntry, SLE, Bin
2-3 03-supply-chain 3d MaterialRequest, PO, GRN
3 10-data-collection 3d Excel uploads, variance
4 11-prgo 2d Demand forecasting
4 12-permits + 13-sdf + 14-bg 2d Legacy ERP-specific
Week Phase Duration Output
5 00-01 Foundation + Masters 3d Year, VoucherType, Account
5-6 02 Imprest (m-imprest) 3d Req, Remittance, Statement
6 03 Bank 2d Statement, Reconciliation
6-7 04-05 Budget + Bills 5d Allocation, Supplier bills
7 06 General Ledger 2d JV, Trial Balance
7-8 07-10 Claims + Reports 6d TA/DA, Dead Stock, EMD
Week Phase Duration Output
8 00-02 Foundation + Employee 4d Employee master, family
8-9 03-04 Recruitment + Attendance 5d SSC, Local Panel, Muster
9 05 Leave (m-leave) 3d Applications, Credits
9-10 06 Medical (m-medical) 3d Form 97 claims
10 07 Pension (m-pension) 4d PPPO β†’ FPPO
10+ 08-09 Deputationist + Reports 3d HR reports

Dev 1 (Framework) Dev 2 (Legacy ERP Apps)
───────────────── ─────────────────
Week 1 β–“β–“β–“β–“ DocType/Repo β–‘β–‘β–‘β–‘ Setup/Prep
Week 2 β–“β–“β–“β–“ m-ledger + Events β–“β–“β–“β–“ WMS Master Data
Week 3 β–“β–“β–“β–“ m-hr-core + Auth β–“β–“β–“β–“ WMS Inventory/SC
Week 4 β–“β–“β–“β–“ File/Excel/Jobs β–“β–“β–“β–“ WMS Data/PRGO
Week 5 β–“β–“β–“β–“ Stock-Keeper start β–“β–“β–“β–“ Finance Foundation
Week 6 β–“β–“β–“β–“ Stock-Keeper β–“β–“β–“β–“ Finance Imprest/Bank
Week 7 β–“β–“β–“β–“ Stock-Keeper complete β–“β–“β–“β–“ Finance Budget/Bills/GL
Week 8 β–“β–“β–“β–“ Integration support β–“β–“β–“β–“ People Employee/Recruit
Week 9 β–“β–“β–“β–“ Performance tuning β–“β–“β–“β–“ People Leave/Medical
Week 10 β–“β–“β–“β–“ Polish + docs β–“β–“β–“β–“ People Pension/Reports

legacy_erp-phases/
β”œβ”€β”€ timeline.md ← You are here
β”œβ”€β”€ modules/
β”‚ β”œβ”€β”€ README.md
β”‚ β”œβ”€β”€ m-core.md # Party, Address, Item
β”‚ β”œβ”€β”€ m-invoice.md # Invoicing
β”‚ β”œβ”€β”€ m-india.md # GST
β”‚ β”œβ”€β”€ m-ledger.md # Book-Keeper adapter
β”‚ β”œβ”€β”€ m-hr-core.md # Employee, Designation
β”‚ β”œβ”€β”€ m-imprest.md # Cash/Imprest
β”‚ β”œβ”€β”€ m-leave.md # Leave management
β”‚ β”œβ”€β”€ m-medical.md # Medical claims
β”‚ └── m-pension.md # Pension lifecycle
β”œβ”€β”€ stock-keeper/ # NEW: Microservice
β”‚ └── README.md # TigerBeetle-backed stock ledger
β”œβ”€β”€ wms/
β”‚ β”œβ”€β”€ README.md
β”‚ β”œβ”€β”€ 00-foundation.md
β”‚ β”œβ”€β”€ 01-master-data.md
β”‚ β”œβ”€β”€ 02-inventory.md
β”‚ β”œβ”€β”€ 03-supply-chain.md
β”‚ β”œβ”€β”€ 04-deployment.md
β”‚ β”œβ”€β”€ 05-frontend.md
β”‚ β”œβ”€β”€ 06-product-onboarding.md
β”‚ β”œβ”€β”€ 07-outlet-lifecycle.md
β”‚ β”œβ”€β”€ 08-supplier-portal.md
β”‚ β”œβ”€β”€ 09-price-revision.md
β”‚ β”œβ”€β”€ 10-data-collection.md
β”‚ β”œβ”€β”€ 11-prgo.md
β”‚ β”œβ”€β”€ 12-permits.md
β”‚ β”œβ”€β”€ 13-substitute-denial.md
β”‚ └── 14-bank-guarantee.md
β”œβ”€β”€ finance/
β”‚ └── README.md # Finance App outline
β”œβ”€β”€ people/
β”‚ └── README.md # People App outline
└── reference/
└── ILegacy ERPS.txt # Legacy system docs

graph LR
    subgraph "Dev 1"
        FM[Framework M] --> ML[m-ledger]
        FM --> MH[m-hr-core]
        ML --> SK[Stock-Keeper]
    end

    subgraph "Dev 2"
        ML --> WMS
        MH --> People
        WMS --> Finance
        Finance --> People
    end

Week Milestone Demo
2 WMS MVP Stock receipt, balance query
4 WMS Complete PRGO, permits, variance detection
6 Finance MVP Imprest, bank reconciliation
8 Finance Complete Budget, bills, GL
10 People Complete Leave, medical, pension
10 Full System 100% ILegacy ERPS replacement

  • Unit Tests: Every DocType, service, controller
  • Integration Tests: API endpoints, workflows
  • E2E Tests: Playwright for critical flows
  • Load Tests: k6 for Stock-Keeper throughput

  • All ILegacy ERPS modules functional
  • Stock-Keeper handles 10K TPS
  • Real-time dashboards via CQRS
  • Zero data loss during migration
  • Production-ready in 10 weeks