To run a successful EDI integration project, choose an initial workflow with a pilot partner. Agree on the format and business rules, connect the workflow to your ERP and test it end to end. Before going live, decide who monitors exchanges and who responds to rejected messages.
If you are new to the subject, start with our guide to how EDI works. This guide takes you from defining the requirements to setting up your first exchange.
1. Choose an EDI workflow and a pilot partner
Start with a recurring exchange that involves re-entering data or causes errors. For a sales team, that might be receiving customer orders. For a warehouse, it could be sending despatch advice. Choose a workflow whose rules your teams understand and a partner who can test real scenarios.
Describe the starting point, expected result and person responsible for each action. For an inbound order, the result might be an order that the team can process in the ERP with the right customer reference, items and delivery site. Decide how to handle orders that still require manual approval.
2. Agree on exchange rules with your partner
Ask your partner for specifications and sample messages. Confirm the document type, format and version, transmission channel, frequency and expected responses. The format describes the data structure. The channel determines how the two systems pass the message to each other.
Clarify what counts as receiving a message and what counts as processing the document successfully. A technical acknowledgement can confirm delivery even when a business rule still prevents the ERP from creating the order.
The GS1 EANCOM standard is a subset of UN/EDIFACT. Partners choose the messages and rules that fit their exchange. If you use this family of formats, record the version and your partner’s rules in the specifications.
3. Map EDI data to ERP fields
For each important piece of data, record its source field, conversion rule and destination field. For example, the trading partner’s order reference should remain identifiable in the ERP so teams can find the document and match it to later exchanges.
- Source field
Product reference sent by the customer. - Conversion rule
Look up the corresponding reference in the internal catalogue. - Target field
Item code on the order line in the ERP. - Exception
If the reference is unknown, route the order for the agreed handling.
Review the mapping with the business teams. A quantity expressed in cartons in one system may correspond to a quantity in individual units in another. Check the unit of measure and how it is converted as well as whether the message contains a value.
4. Test the EDI workflow end to end
Check the message structure, business rules and links between successive documents. For example, the correct order reference must carry through to dependent messages. GS1 distinguishes these three levels in its EDI message validation guidance.
- Expected case. A valid order is imported with the expected quantities and identifiers.
- Invalid data. An unknown reference or missing required field triggers the agreed exception handling.
- Duplicate and retry. A message sent twice or retried after a correction does not create a second order.
- Interruption. Teams can find a stuck message, identify where it failed and resume the exchange.
For each test, record the expected result, what happened and a log or trace that explains it. Have the partner and the people who will work with the order, despatch advice or invoice validate the workflow.
5. Go live and organise monitoring
Prepare the cutover and assign clear responsibilities. Set the start date, decide which documents to check first and name a contact on each side. If a fallback channel remains available, agree when to use it and how to prevent both channels from processing the same document.
After cutover, reconcile the exchanges you expected with the documents actually imported. Track rejections, pending messages and how long exceptions take to resolve. Specify who fixes data, contacts the partner and decides whether to retry. You can then adapt the rules and tests to other workflows.
Acceptance test example: an inbound customer order
A supplier wants to import a distributor’s orders into its ERP. The partners prepare an ORDERS message in the agreed EANCOM format. They test an order containing a known item, then repeat the scenario with an unknown item code. They correct the mapping, retry the message and check that the order exists only once in the ERP. ORDERS is the purchase order message in the GS1 EANCOM message mappings.
Checklist before launching your first EDI workflow
- The workflow, pilot partner and expected ERP outcome are defined.
- Both partners have agreed on the format, channel and expected responses.
- Data mappings and exception rules are documented.
- Tests cover routine cases, rejections, duplicates and retries.
- The people handling cutover and monitoring know where to find messages and alerts.
In summary
Start with a workflow whose business outcome you can verify. Validate the exchange with your partner, test exceptions and agree how to handle them before expanding the scope.
