Support › Orders

EJD files the app couldn't use

Short answer

Now and then a reply file from EJD can't be read or can't be matched to one of your orders. Check that order in EJD's portal, and fulfill it in Shopify by hand if it shipped.

EJD answers your orders with files over EDI (the standard way businesses swap order files): an acknowledgement (855) that it got the order, a ship notice (856) with tracking, and an invoice (810). The app reads them from your EDI account about once an hour and updates each order. See the glossary for these terms.

Each file is read on its own, so one bad file never stops the ones after it. When one can't be used, you get one of the alerts below.

EDI_FILE_UNREADABLE

A file from EJD couldn't be read or applied. The alert names the file and what went wrong. The app keeps trying it on every check, and the alert closes on its own once it reads.

  1. Note the file name in the alert. The number in it is usually the PO number or EJD's order number.
  2. Check that order in EJD's portal: acknowledged, shipped, or invoiced.
  3. If it shipped, fulfill the order in Shopify with the tracking from EJD's portal, so the customer is told.
  4. If the alert stays open, contact support with the file name.

EDI_FILE_PROBLEM

The app read the file, but something in it needs a person:

  • No PO number. A ship notice or invoice that doesn't say which purchase order it's for can't be matched to an order. The alert gives the shipment or invoice number, the items and the tracking. Find the order and fulfill it in Shopify, or match the invoice by hand.
  • Format problems. Something in the file doesn't follow the EDI format. What could be read was applied. Check the orders the file covers.

EDI_INVOICE_UNMATCHED

EJD invoiced a PO the app didn't send. That's expected for orders sent before you switched to the app (from another tool, or by hand). The invoice is kept with your EDI documents and nothing in the app changes. This one notice shows the latest such invoice. If the PO looks like one of the app's (your Shopify order number without the #), ask EJD about it.

A ship notice for a PO the app didn't send raises EDI_UNMATCHED_SHIPMENT instead, since the customer still needs to hear it shipped.

Technical details

Show the exact rules, for the technically minded
  • When files are read: an hourly check (a few minutes past each hour) for each store whose EDI login is connected, oldest file first. The setting Read EJD's order replies in Settings > EJD EDI login must be on; order sending can't be turned on without it.
  • Incomplete files: an empty file, or one that stops before its closing IEA segment, is usually still being written. The app waits and tries again on every check, and raises EDI_FILE_UNREADABLE only when it's still incomplete 30 minutes after EJD last wrote it.
  • Padding after the end of a file (blank lines, NUL or Ctrl-Z characters) is ignored.
  • Retries: a file that fails is never marked read. The app tries it on every check and closes the alert once it reads, or once the file is gone from your EDI account (another tool read it, for example).
  • Lost connection: if the connection to EJD drops partway through a check, the app stops that check and reads the rest on the next one. That doesn't raise an alert.
  • No PO number: a ship notice with no PRF segment, or an invoice with a blank PO.
  • Format problems: counts or control numbers in the file's envelope don't add up, or a segment is out of place.
  • Another tool's files: files another tool already read and renamed (starting read_ or ending .read) are skipped, so old replies aren't replayed.

Related

Still stuck? Open Help and support inside the app to ask about your own store or write to a person.