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 |
Phase Overview
Section titled βPhase OverviewβWeek 1-2 β Week 3-4 β Week 5-6 β Week 7-8 β Week 9-10βββββββββββββΌββββββββββββββΌββββββββββββββΌββββββββββββββΌββββββββββββFramework β WMS Core β F&A App β P&A App β IntegrationFoundation β + Modules β β β & TestingDev 1: Framework M Track
Section titled βDev 1: Framework M Trackβ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.
Dev 2: Legacy ERP Apps Track
Section titled βDev 2: Legacy ERP Apps Trackβ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-mbase app using the Bounded Contexts pattern. No domain-specific fields (e.g., credit limits, lead scores) should ever leak into the basem-coreidentities.
WMS App (~15 days)
Section titled βWMS App (~15 days)β| 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 |
Finance App (~21 days)
Section titled βFinance App (~21 days)β| 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 |
People App (~24 days)
Section titled βPeople App (~24 days)β| 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 |
Combined Timeline (10 Weeks)
Section titled βCombined Timeline (10 Weeks)β Dev 1 (Framework) Dev 2 (Legacy ERP Apps) βββββββββββββββββ βββββββββββββββββWeek 1 ββββ DocType/Repo ββββ Setup/PrepWeek 2 ββββ m-ledger + Events ββββ WMS Master DataWeek 3 ββββ m-hr-core + Auth ββββ WMS Inventory/SCWeek 4 ββββ File/Excel/Jobs ββββ WMS Data/PRGOWeek 5 ββββ Stock-Keeper start ββββ Finance FoundationWeek 6 ββββ Stock-Keeper ββββ Finance Imprest/BankWeek 7 ββββ Stock-Keeper complete ββββ Finance Budget/Bills/GLWeek 8 ββββ Integration support ββββ People Employee/RecruitWeek 9 ββββ Performance tuning ββββ People Leave/MedicalWeek 10 ββββ Polish + docs ββββ People Pension/ReportsDirectory Index
Section titled βDirectory Indexβ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 docsKey Dependencies
Section titled βKey Dependenciesβ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
Milestones
Section titled βMilestonesβ| 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 |
Testing Strategy
Section titled βTesting Strategyβ- Unit Tests: Every DocType, service, controller
- Integration Tests: API endpoints, workflows
- E2E Tests: Playwright for critical flows
- Load Tests: k6 for Stock-Keeper throughput
Success Criteria
Section titled βSuccess Criteriaβ- 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