NOTE #0003 · ERP
Legacy isn't a technology problem
"Legacy system" usually describes an org chart, not a codebase.
The oldest, ugliest ERP system I’ve seen still running in production wasn’t held together by bad code. It was held together by three people who understood exactly why it worked, and a leadership team too afraid of the transition cost to ask them to write it down.
Replace the system and you still have to replace that knowledge. Most failed migrations skip that part.