No left at the company even knows how to work the erp properly. Because the person who set it up and customized it didn’t document or train anyone and then left…
That's not technical debt. That isn't even the definition of legacy code. That's a mess and a whole set of problems, but technical debt ain't one of it.