Discuss a project

Blog / Technologies

ERP: an investment or technical debt?

In the IT industry, it is common to think of rolling out a large system as a finite project with a clear deadline. In reality, buying or building an ERP is closer to acquiring a living organism. From that moment on, you either keep feeding it resources and get nothing in return, or it becomes the foundation on which your business gains 20–30% in speed every year. The difference between these scenarios comes down to a single concept: architectural debt.

When we at AnvilCode step into projects where an old system is "on its last legs", we see the same picture every time. It is not bad code in itself, but a business held hostage by its own decisions from three years ago. We covered the line between a new product and years of supporting an old one in the article MVP or legacy. The technical debt tax is what you pay every day for being unable to adapt quickly to changes in the market. For example, at some point a company decided to save money and rigidly "sewed" the discount calculation logic straight into the core of the system. A year later the market has changed, marketers want to launch a new promotion, but the developers just shrug: to change one number, they have to rebuild the whole application and pray that the integration with the warehouse does not fall over. That is the technical debt tax that you pay every day.

"The main trap is trying to stretch old business processes over a new system. It is like putting a Ferrari engine into a cart: plenty of noise, but no speed."

A truly investment-grade architecture is built differently. It is always "open-ended". We believe in the API-first principle: a system must not be a thing in itself. Why the API schema should appear before the code, we wrote in the piece API schema before code. Any module, whether warehouse, finance or CRM, must be able to talk to the outside world without intermediaries. This gives the business that very agility, where in a week you connect a new courier service or put your goods on a marketplace, simply by "plugging" the right connector into a ready-made socket.

But architecture is only half of the story. The second part of the investment is data quality. An ERP is useless if it is not a "single source of truth". We often see systems that automate chaos: purchase data lives in one table, real stock levels in another, and the report for the director is put together by hand. The investment begins where the system itself blocks human-factor errors at the input. If a manager cannot close a deal without a correct item number, then a year from now your analytics will show real profit rather than fortune-telling from coffee grounds.

Ultimately, the choice between debt and investment is a question of honesty. You can pick an "off-the-shelf" solution that plugs the holes today but becomes a concrete wall tomorrow. Or you can spend the time designing a custom solution that will grow together with you. At AnvilCode, we choose the second path, because code should work for the business, not the other way around.

Shall we discuss your project?

Tell us about your task and we will come back with an estimate of the time and the cost within two working days.