Legacy ERP integration patterns should be chosen according to the business requirement, available interfaces, and acceptable consistency delay. APIs, middleware, files, and events solve different coordination problems.
Choose the simplest pattern that can preserve ownership, controls, and recoverability for the workflow.
Compare the patterns
| Pattern | Useful when | Design concern |
|---|---|---|
| API request | A caller needs a defined response | Timeout and duplicate handling |
| File exchange | Batch transfer is acceptable | Validation and batch reconciliation |
| Event message | Consumers react to business changes | Ordering, replay, and delivery semantics |
| Middleware | Several transformations or routes need coordination | Operational ownership and hidden logic |
Actual ERP support may limit the options. Verify the product's interfaces and permitted use before selecting an architecture.
Start with consistency requirements
Determine how quickly the receiving system needs the data and what happens when it is late. A management report may tolerate a scheduled refresh; a reservation decision may require a stricter boundary.
Document the authoritative source. Copying data into another system does not transfer ownership of the business record automatically.
Plan uncertain outcomes
An illustrative API call can time out after the ERP accepts an order. A file can be loaded twice. An event can arrive later than a subsequent change.
Use stable references, explicit status handling, and reconciliation appropriate to the selected pattern. Do not assume one transport removes all duplicate or ordering concerns.
Make support practical
Provide correlation references, error records, queue visibility, replay rules, and an owner for unresolved exceptions. Monitor completed business transactions as well as infrastructure health.
Test normal processing, partial failure, duplicate delivery, and recovery before approving the connection.
Use the legacy API integration guide to define a clear contract before implementing an ERP integration pattern.
Talk through your software challenge.
Share your existing system, the constraints and what needs to change.
Discuss your project ↗