CSV process map template (order to delivery)
Turn an ERP order export into an end-to-end process map: six stage columns, five lanes, a credit hold, a part-shipment split, a pick discrepancy loop, a delivery claim and an invoice chased until it is paid.
The CSV that produces this diagram
One row per step. The numbers in Line to are row numbers — that is what draws the connectors, and it is the column most files are missing.
| # | Shape | Box text | Line to | Line text | Horizontal lane | Vertical lane |
|---|---|---|---|---|---|---|
| 1 | Start | Customer sends a purchase order | 2 | Order capture | Customer | |
| 2 | Process | Enter the order lines in the ERP | 3 | Order capture | Sales | |
| 3 | Decision | Do the ordered lines match the quotation? | 6, 4 | Matches, Price or quantity differs | Order capture | Sales |
| 4 | Decision | Does the customer accept the corrected lines? | 6, 5 | Corrected lines accepted, Order withdrawn | Order capture | Customer |
| 5 | Reject | Order cancelled before dispatch | Order capture | Sales | ||
| 6 | Process | Acknowledge the order and confirm the requested date | 7 | Order capture | Sales | |
| 7 | Process | Check the account balance against the credit limit | 8 | Credit check | Finance | |
| 8 | Decision | Is the order within the credit limit? | 11, 9 | Within limit, Over limit | Credit check | Finance |
| 9 | Decision | Is prepayment received or the limit raised? | 11, 10 | Cleared, Neither | Credit check | Finance |
| 10 | End | Order closed as a credit refusal | Credit check | Finance | ||
| 11 | Process | Release the order to the warehouse | 12 | Credit check | Sales | |
| 12 | Process | Allocate stock against each order line | 13 | Allocation | Warehouse | |
| 13 | Decision | Is every line in stock? | 15, 14 | All lines allocated, Short on one or more lines | Allocation | Warehouse |
| 14 | Decision | Ship the available lines now? | 15, 12 | Part-ship with backorder, Wait for the full order | Allocation | Sales |
| 15 | Process | Pick and pack against the pick list | 16 | Pick and pack | Warehouse | |
| 16 | Decision | Does the packed quantity match the pick list? | 18, 17 | Matches, Discrepancy | Pick and pack | Warehouse |
| 17 | Process | Recount and correct the stock record | 15 | Pick and pack | Warehouse | |
| 18 | Process | Hand the shipment over to the carrier | 19 | Dispatch and transit | Warehouse | |
| 19 | Process | Move the shipment and record the proof of delivery | 20 | Dispatch and transit | Carrier | |
| 20 | Decision | Was the delivery accepted in full? | 23, 21 | Accepted in full, Damaged or short | Dispatch and transit | Customer |
| 21 | Process | Raise a claim and issue a credit note | 22 | Invoice and close | Sales | |
| 22 | End | Delivery closed with a claim raised | Invoice and close | Sales | ||
| 23 | Process | Post the invoice against the delivered lines | 24 | Invoice and close | Finance | |
| 24 | Decision | Has the invoice been paid by the due date? | 26, 25 | Paid, Overdue | Invoice and close | Finance |
| 25 | Process | Chase the overdue invoice | 24 | Invoice and close | Finance | |
| 26 | Success | Order delivered and invoice paid | Invoice and close | Finance |
#,Shape,Box text,Line to,Line text,Horizontal lane,Vertical lane
1,Start,Customer sends a purchase order,2,,Order capture,Customer
2,Process,Enter the order lines in the ERP,3,,Order capture,Sales
3,Decision,Do the ordered lines match the quotation?,"6, 4","Matches, Price or quantity differs",Order capture,Sales
4,Decision,Does the customer accept the corrected lines?,"6, 5","Corrected lines accepted, Order withdrawn",Order capture,Customer
5,Reject,Order cancelled before dispatch,,,Order capture,Sales
6,Process,Acknowledge the order and confirm the requested date,7,,Order capture,Sales
7,Process,Check the account balance against the credit limit,8,,Credit check,Finance
8,Decision,Is the order within the credit limit?,"11, 9","Within limit, Over limit",Credit check,Finance
9,Decision,Is prepayment received or the limit raised?,"11, 10","Cleared, Neither",Credit check,Finance
10,End,Order closed as a credit refusal,,,Credit check,Finance
11,Process,Release the order to the warehouse,12,,Credit check,Sales
12,Process,Allocate stock against each order line,13,,Allocation,Warehouse
13,Decision,Is every line in stock?,"15, 14","All lines allocated, Short on one or more lines",Allocation,Warehouse
14,Decision,Ship the available lines now?,"15, 12","Part-ship with backorder, Wait for the full order",Allocation,Sales
15,Process,Pick and pack against the pick list,16,,Pick and pack,Warehouse
16,Decision,Does the packed quantity match the pick list?,"18, 17","Matches, Discrepancy",Pick and pack,Warehouse
17,Process,Recount and correct the stock record,15,,Pick and pack,Warehouse
18,Process,Hand the shipment over to the carrier,19,,Dispatch and transit,Warehouse
19,Process,Move the shipment and record the proof of delivery,20,,Dispatch and transit,Carrier
20,Decision,Was the delivery accepted in full?,"23, 21","Accepted in full, Damaged or short",Dispatch and transit,Customer
21,Process,Raise a claim and issue a credit note,22,,Invoice and close,Sales
22,End,Delivery closed with a claim raised,,,Invoice and close,Sales
23,Process,Post the invoice against the delivered lines,24,,Invoice and close,Finance
24,Decision,Has the invoice been paid by the due date?,"26, 25","Paid, Overdue",Invoice and close,Finance
25,Process,Chase the overdue invoice,24,,Invoice and close,Finance
26,Success,Order delivered and invoice paid,,,Invoice and close,FinanceHow it works
Open the file in a text editor before you open any editor
A CSV is text, so look at it as text first. Check three things on the first two lines: the delimiter, which is a semicolon rather than a comma in most European locales because the list separator follows the regional setting; whether the header row is genuinely the first line, since many exports prepend a report title and the filter criteria; and whether stray characters sit in front of the first column name, which is what a byte order mark looks like once something has failed to strip it. Delete any preamble and any totals row at the bottom, and save as plain UTF-8.
Collapse the order lines into process steps
The export has one row per order line. The map needs one row per step, and the two are unrelated: fifty rows of item codes describe one order passing through one stage. Work out your steps from the document numbers instead — order, credit hold, delivery note, invoice, credit note — because each of those is a moment the order changed hands. Keep the line-level detail as a count in the Notes column if you want it on the chart.
Renumber the Line to column, because your keys are not row numbers
Line to takes the row NUMBER a step connects to, comma-separated, and Line text takes the connector labels in matching order. Your export's keys are document numbers, and pasting those in produces a chart with no arrows at all — a target naming no row is dropped silently. Number your steps 1 to n in the order they appear, then write the targets against those numbers. Inserting a step later shifts every number below it, so import first and add steps in the editor.
Put the stage in Horizontal lane and the role in Vertical lane
This is the column that makes it a process map rather than a flowchart. Horizontal lane holds Order capture, Credit check, Allocation, Pick and pack, Dispatch and transit and Invoice and close, or whatever your six stages are; Vertical lane holds Customer, Sales, Warehouse, Finance and Carrier. Import matches header names, not column positions, so those two headers can sit anywhere in the file and any columns you do not recognise are carried along and ignored.
Write your two thresholds into the decisions
"Is the order within the credit limit?" and "Ship the available lines now?" are the two places this process bends, and both are currently judgement calls. Say what the credit test measures — total exposure including open invoices, or this order alone — and say who may authorise a part-shipment and above or below what value. A decision without a stated threshold gets answered differently by each person who reaches it.
Rename the Carrier lane to the party you actually use
The Carrier lane exists so that the one step nobody in your building performs is visible. Rename it to the carrier or third-party warehouse you use, and if you deliver on your own vehicles, merge it into Warehouse rather than leaving a lane that implies an external handoff you do not make. The same applies to the Customer lane: keep it, because the two customer decisions are where most delay in this process actually sits.
Frequently asked questions
What is the difference between a process map and a flowchart?
Stages, and what they let you see. A flowchart shows the sequence of steps and the decisions between them, and it is complete when every path ends somewhere. A process map keeps all of that and adds a second axis: each step also belongs to a stage of the work, so the diagram shows where the effort is concentrated and where the work changes hands. For order to delivery that matters, because the delay is almost never inside a stage. It is between them — an order sitting released but unallocated, or packed but not collected. Draw one order as a flowchart and you see the steps. Draw the process as a map and you see that it crosses four teams and that two of those crossings have no defined trigger at all.
What is actually in an ERP order export?
One row per order line, and a set of columns describing that line rather than the process. Typically: the order number, the line number, the customer, an item code and description, ordered and shipped quantities, a price, a requested and a confirmed date, a status code and often a delivery or invoice document number once those exist. Dates arrive as text in whatever format the export profile specified, which is why the same file read in two countries produces two different sets of dates. Long numeric references are worth watching: open a CSV in a spreadsheet and re-save it and leading zeros disappear, while a sufficiently long order number can come back in scientific notation. None of that is the export's fault, but all of it is in the file by the time it reaches you.
Why does my CSV import into the wrong columns?
Usually the delimiter or the header row. Import matches header names, so the file has to have a real header row as its first line, and an export that begins with a report title, a run date and the filter criteria has its header on line four. The other common cause is a semicolon-delimited file being read as comma-delimited, or the reverse, which lands every row in a single column. After that, look at quoting: a field containing the delimiter has to be wrapped in double quotes, and a double quote inside a quoted field is written twice. An address column with a comma in it, exported without quotes, shifts every column to its right by one for that row only.
Can I import the export straight in without editing it?
Not usefully, and not because of the importer. The columns QueryChart reads are Shape, Box text, Line to, Line text, Line style, Horizontal lane, Vertical lane, Parallel with, Notes and Link, and no ERP exports those. Extra columns are carried and ignored, so you can leave the item codes and prices in the file, but the two columns that make a chart — Box text and Line to — have to be written by you. There is no connector and no import wizard: you drop the .csv onto the spreadsheet area or paste the CSV text into it, and what you get is whatever the header names matched. The export is the source of the facts, not the source of the diagram.
Should the map show one order or the whole process?
The process. One order is a case, and a case only ever takes one route, so a diagram of it shows the branches that particular order happened to take and none of the ones it avoided. That is why the chart above has nine decisions and four endings: an order can be cancelled at capture, refused on credit, closed with a claim, or delivered and paid, and a real process has to admit all four. Use your export to work out which branches carry real volume — how many orders were credit-held, how many were part-shipped, how many produced a credit note — and put those counts in the Notes column against the decision they belong to. That is the honest use of the data: the file tells you how often each route is taken, and the map tells you what the routes are.