Logistics · flat EDI
Orders arrive as a flat file.
One line per item, each field at its place.
ISO-8859-1, fixed width
The problem
No separator.
- A field is a position and a width.
- A mapping tool is costly.
What is not changed
The ERP writes as before.
- The same file, the same folder.
- No format to negotiate.
The trap
Accents in a tiny file.
- One line, one é.
- Too little to guess the encoding.
What had to be written
lines: trueOne line.
- One file line, one table row.
- The fields cut at their place.
- A 47-line scenario, two manifests.
The result
Six order lines as columns.
- Customer, order, article, quantity.
- « Couverture à barres », accent included.
The limit
The widths are the file's.
- If the ERP changes its layout, the manifest changes with it.
Try it
The scenario replays locally.
Every step is published with its output.