When is custom development better than off-the-shelf software?
When the company's processes differ a lot from the standard ones, the ready-made tool has to be worked around constantly, deep integration with other systems is needed or the product itself is a competitive advantage. If the task is standard, a ready-made service is usually faster and simpler.
More in the guide to custom vs off-the-shelf software.