Supply Lens

The retail document flow

Lesson 2 of 22 8 min read

Follow one retailer purchase order from arrival to invoice, see where Supply Lens holds a document, and meet the other EDI document types you may come across.

Every retailer relationship follows the same basic rhythm: they order, you confirm, you despatch, you invoice. In this lesson you'll trace that rhythm through Supply Lens, so that when a retailer asks "where's our ASN?" you know which step to look at.

The flow at a glance

Once an EDI Integration is live, a typical retailer purchase order moves like this:

Rendering diagram...

The EDIFACT names in brackets are what you'll often hear retailers' EDI teams use. Tradacoms and X12 have their own names for the same documents, but the steps are the same.

Step by step

  1. The retailer sends a purchase order to Supply Lens over the agreed channel (VAN, SFTP or API).
  2. Supply Lens validates the order against the cross-reference tables for that retailer: their product codes, depot codes and your supplier code.
  3. If any retailer code can't be matched, Supply Lens holds the order and raises an alert. It will not create a partial order in your ERP.
  4. If all codes match, Supply Lens creates a Sales Order in your ERP.
  5. Supply Lens sends an order acknowledgement to the retailer, if the retailer expects one.
  6. When despatch is confirmed in your ERP, Supply Lens sends an ASN (advance shipping notice, also called a despatch advice), telling the retailer what is on its way.
  7. Supply Lens generates and sends the invoice in the retailer's required format.

No partial orders, ever

If a retailer adds a new product to your range and it isn't yet in the cross-reference table, every order containing that product is held until the mapping is added. Tell the Supply Lens team whenever the retailer's range changes, ideally before the first order arrives.

How this maps to Supply Lens Documents

Inside Supply Lens each message becomes a Document of a particular type, and each arrow in the flow is a Mapping between Integrations (the prerequisite course covers Mappings).

In the retailer's wordsSupply Lens Document typeDirection from Supply Lens
Purchase orderOrderReceived from the retailer, sent to your ERP
Order changeOrder ChangeReceived from the retailer
Order acknowledgement / order responseOrder AcknowledgementSent to the retailer
Despatch advice / ASNShipmentSent to the retailer
InvoiceInvoiceSent to the retailer
Credit noteCreditSent to the retailer

Other EDI documents you may meet

Not every retailer uses every message, but the EDI Integration supports more than the core four. You'll see each of these again in the settings module.

DocumentWhat it's for
Proof of DeliveryThe retailer's confirmation of what actually arrived against a despatch: an EDIFACT RECADV (receiving advice) or a Tradacoms delivery confirmation.
RemittanceThe retailer telling you what it is paying.
InventoryAn inventory advice you send so the retailer can order against your availability.
Inventory Report and Sales ReportPeriodic stock and sales figures, which some retailers send to suppliers.
Warehouse Order and PickInstructions to, and pick confirmations from, a warehouse that trades by EDI.
Functional AcknowledgementA technical "we received your message" reply. Only X12 has one.

Northfield Pantry's first Greenway order

Greenway Stores sends an order for 40 cases of Oat Bar Original and 20 cases of Honey Granola to its Leeds depot. Supply Lens looks up Greenway's code for each product and the Leeds depot code in Northfield's cross-reference tables. Both products match, so a Sales Order appears in Unleashed and an acknowledgement goes back to Greenway.

A month later Greenway orders a new Cocoa Granola that nobody told Supply Lens about. That order is held, and Northfield gets an alert. Once the Supply Lens team adds the product to the cross-reference table, the order flows through as normal.

Recap

  • The core flow is purchase order, acknowledgement, despatch advice (ASN), invoice.
  • Supply Lens validates every inbound order against the retailer's cross-reference tables first.
  • If any code can't be matched the whole order is held and an alert is raised: there are no partial orders.
  • Each message becomes a Supply Lens Document, and Mappings route it between the retailer and your ERP.
  • Proof of delivery, remittance, inventory and sales reports, warehouse messages and functional acknowledgements are also supported where a partner uses them.
Complete and continue

Your progress is saved in this browser. Create a free account to keep it everywhere, take quizzes and earn certificates.