العربية

How to integrate your ERP with the systems you already use

If your purchasing team rekeys an approved request into your ERP, start by connecting that handoff. This guide helps Saudi businesses choose an integration method, decide what ERP should exchange with procurement, sales and inventory systems, and test the rollout before adding branches or legal entities.

1. Decide which system owns each record

Map one request from submission to execution. In this example, the approvals system owns the approved version of the request and the decision trail, while the ERP owns supplier records and purchase orders. Your own split depends on the systems and processes in use.

Link the systems using stable identifiers. Use the ERP’s approved supplier and cost centre codes, and carry the original request ID into the purchase order. Send unmatched records for review before creating an order.

Apply the same rule when connecting ERP to a CRM or warehouse management system. Sales may own the opportunity and quote while the ERP owns the financial account and confirmed order. A warehouse system may record physical receipt while the ERP owns accounting. For each update, write down its direction, which fields can be edited, and who resolves disagreements.

Example split of data ownership
RecordSource of truthData passed between systems
Purchase request and approvalApprovals systemRequest ID, approved version, and approval date.
Supplier and cost centreERPApproved codes used to validate the request.
Purchase orderERPPurchase order number and status after creation.
Goods receiptWarehouse system in this examplePurchase order line ID, actual quantity, and receiving location.

2. Separate approval from purchase order creation

Send the approved version after all required decisions are recorded. Validate the supplier, cost centre, line items, and currency before sending it. Keep the request in a pending-creation state until the ERP confirms the order and returns its number.

Agree whether the integration creates a final order or a draft for Purchasing to review. The purchase order itself may require separate approval, depending on ERP settings and company policy. If the approved request changes, follow a controlled amendment path and preserve the earlier version.

3. Choose an API, scheduled files, or middleware

Start with the longest delay the business can accept and what your current systems support. Procurement may need an immediate result, while slowly changing reference data can arrive in a scheduled batch. Middleware can use both APIs and files when several systems are involved.

ERP integration methods compared
MethodWhen it fitsWhat to test
APIWhen users need to validate a supplier or see a purchase-order result quickly.Timeouts, request limits, permissions, and how you look up the result if the response is lost.
Scheduled filesWhen a batch is sufficient or an older ERP supports file imports.Secure transfer, field formats, duplicate file delivery, and a report that identifies rejected rows.
MiddlewareWhen several systems share mappings or messages need to wait while one system is down.Who monitors stuck messages, how to replay them, and who owns the mappings and documentation.

4. Test transfer failures and retries

  • The request timed out. The ERP may already have created the order. Before retrying, look it up by external request ID or operation key.
  • The same request arrived twice. Reuse an operation key for the same revision and agree on duplicate protection that also works when two attempts arrive together.
  • The ERP rejected invalid data. Show the responsible team the reason. Correct an invalid supplier or cost centre before trying again.
  • The request changed after order creation. Use an amendment or cancellation workflow consistent with procurement policy. Keep the new revision linked to the existing order.

5. Run a launch test with an interruption

In this illustrative example, PR-104 is approved and sent, but the connection drops before the ERP responds. Looking up PR-104 finds purchase order PO-827. The integration returns that number to the request. The test passes if there is one linked order and staff can see how the interruption was resolved.

Pilot with one branch and one request type. Compare approved requests with created orders daily and assign a clear owner for exceptions. Expand once the team can handle failures as reliably as routine transfers.

6. What Saudi buyers should check before connecting ERP

  • Branches, legal entities and currency. Test a supplier that serves more than one entity and cost centres with the same name across branches. Pass entity, receiving location and currency codes explicitly. Show timestamps in the time zone your operations team uses and test supplier and item names in Arabic and English.
  • E-invoicing and Fatoora. If the scope extends to issuing sales invoices for an entity covered by ZATCA’s integration phase, identify which system issues the invoice, handles Fatoora, and owns rejected submissions. Ask Finance to check the entity’s notification against ZATCA’s official rollout guidance.
  • Personal data and support access. Map the fields the integration reads or transfers, where logs and backups are stored, and who can see them. If the design passes personal data to or makes it accessible by a party outside Saudi Arabia, ask your privacy and security teams to review the flow before you choose a hosting provider or connector.

7. Plan a phased rollout and a safe rollback

  • Before launch. Use a test environment and records that represent your branches and units of measure. Agree acceptance criteria with Procurement and Finance, who signs off, and what will trigger a pause in purchase-order creation.
  • At launch. Enable the integration for a small scope. Compare approved requests with created orders, track how long requests have been pending, and review rejection reasons. Assign someone to monitor these figures and agree a window for clearing exceptions.
  • If you need to roll back. Pause new order creation through the integration and keep pending requests and transfer logs. Reconcile what the ERP actually created before resuming manual entry or replaying anything. Record orders entered manually so a replay cannot create them again.

8. Questions to ask an ERP integration partner

  • Can you demonstrate the handoff on our ERP version with representative data, from approval to the returned order number?
  • How do we detect a lost response or duplicate request? Who gets the alert and who can safely replay the work?
  • Which connector licences, testing, data preparation, and post-launch support are included? Ask for implementation and recurring costs separately.
  • What do we receive at handover? Ask for field mappings, acceptance results, a rollback procedure, support responsibilities, and access to integration logs.

Official ERP, procurement, and Saudi requirements references

Common questions

Do we have to replace our ERP?

Check its supported APIs or import options first. If it can accept the required data and expose the result, you may be able to keep it and integrate the existing workflow.

Should we use an API or a scheduled file?

Use what the ERP supports and what fits the acceptable delay. Test monitoring, retries, and reconciliation with either method.

How do we know the integration is ready?

Test realistic requests, including a duplicate, an invalid supplier, and a cancellation. Staff should be able to trace each request to a purchase order or see a clear reason it was not created.

What drives ERP integration cost?

The number of systems, entities, and data flows matter, as do data quality and support needs. Ask for a priced pilot with a clear scope, and separate recurring connector and support fees before comparing offers.

What do you want to improve?

Select all that apply.

A sentence or two about what’s happening today is enough.