EDI troubleshooting

What to check when EDI goes wrong in standard Ross ERP 8.0, symptom by symptom, with the screens, tables and event codes involved. Every screen links to the Facility Explorer and every table to the Data Dictionary.

Orders stopped arriving · An order loaded but is held or has exceptions · An order came in as a test order, or a test order went live · A supplier's invoice (810) is held · Our invoices (810) are not going out · Our purchase orders (850) are not going out, or go out wrong · A partner rejected or charged back our document · A document has to be sent again, or must not be sent · The EDI tables keep growing · Where the rules and settings live

Orders stopped arriving

  1. Outside Ross ERP first. Ask the network (VAN) or your translator whether the partner's files reached your mailbox, and check the last 997 you sent the partner: if your 997s stopped, the 850s never reached you. A routing change at the partner's network is the most common cause of a sudden stop, so ask what changed and when.
  2. Is the file in the inbound folder the monitor reads? If it is there and not picked up, check that the monitor type is active (Activate Monitor Types (SYS_M_108)) and how it is set to run (Maintain Monitor Controls (SYS_M_109), stored in SYS_MONITOR_CONTROLS).
  3. Did the monitor run? EDI Audit Information (SYS_I_024) and EDI Monitor Audit (SYS_R_132) show each run; ISO Audit Report (SYS_R_134) lists what it loaded. Run it by hand with Monitor Processing (SYS_U_020).

An order loaded but is held or has exceptions

  1. Open ISO Exceptions (SYS_M_112), or print ISO Exception Report (SYS_R_133), to see each exception and its event code. Look the code up on the ISO event defaults page: it says whether the event holds the order, stops further checks, or only logs.
  2. Correct the value there, then run Inbound Sales Order Monitor (SYS_U_021) again: it reprocesses corrected orders.
  3. The usual causes, with their codes: a ship-to ID that matches no customer address (P_71106 (ISO default), matched on CUSTOMER_ADDRESSES.SYS_EDI_ENTITY_ID), no requested delivery date (P_11116 (ISO default)), a unit code with no Ross ERP unit (P_71116 (ISO default), mapped through UNITS_OF_MEASURE.SYS_EDI_UNIT_CODE), a price that does not match (P_71125 (ISO default)), and terms that match no row of SYS_EDI_CREDIT_TERMS_XREF exactly (P_71174 (ISO default), set up in EDI Credit Terms (SYS_M_113)).
  4. Next time, paste the 850 into Will Ross ERP hold this? before it is loaded.

An order came in as a test order, or a test order went live

  1. The interchange's test flag (ISA15: T or P) is loaded with the order, and the trading partner's own test flag for that transaction type (SYS_TRADING_PARTNER_DETAILS.SYS_EDI_TEST_FLAG, set in Maintain Trading Partners (SYS_M_110)) can turn a production document into a test one, never the other way.
  2. Test orders are listed in SOP Test Transactions (SOP_I_050) and purged with Purge SOP Test Transactions (SOP_A_050); test purchase invoices in EDI Test Invoice Inquiry (POP_I_022).

A supplier's invoice (810) is held

  1. Open IPI Exceptions Maintenance (POP_M_040), or print IPI Exceptions Report (POP_R_068), for the exceptions, correct them, and run EDI Inbound Purchase Invoice Processing (POP_U_021) again.
  2. The usual causes: the total does not equal the goods value (P_38707 (IPI default): the monitor compares the invoice total with quantity times cost only, so an 810 total that includes freight is held), no purchase order number or a line number that is not the PO line (P_06989 (IPI default)), a quantity that is not whole (P_00752 (IPI default)), and units that do not map (P_71338 (IPI default)).
  3. How invoice lines are matched to the order is set up in EDI Invoice Allocation (POP_M_039).

Our invoices (810) are not going out

  1. An invoice is written to the outbound file only when its customer's trading partner is set up to receive invoices by EDI (SYS_TRADING_PARTNER_DETAILS.SYS_EDI_FLAG for the OSI transaction type, in Maintain Trading Partners (SYS_M_110)). Check that first.
  2. Then look for exceptions in Exception Events (SOP_I_202) or the report Exception Events (SOP_R_202) and the audit trail in Audit Events (SOP_I_201).

Our purchase orders (850) are not going out, or go out wrong

  1. Run Outbound Purchase Order EDI Monitor (SYS_U_022); check its exceptions in Exception Events (POP_I_021) or the report OPO Exceptions Report (POP_R_071) and its audit trail in Audit events (POP_I_020) or the report OPO Audit Report (POP_R_070).
  2. Many outbound qualifiers come from the company's EDI settings, the vendor's discount group and the credit terms, and the monitor writes a blank and an exception when one is missing. A blank field in the file usually means one of those was never set up.
  3. Turn the file into X12 with the translator to see it the way the supplier will.

A partner rejected or charged back our document

  1. Paste their 997 into the translator: it reads each AK3, AK4 and AK5 code in plain words, so you can see which segment and element they rejected.
  2. An accepted 997 only means the file was valid X12. Ship notices are where most chargebacks come from: check one with the ASN checker (labels, the HL tree, dates, and the PO it ships).

A document has to be sent again, or must not be sent

  1. Where a document's EDI status is kept on the document itself (for example DESPATCH_HEADERS.SYS_EDI_STATUS_CODE on ship notes), changing it by hand marks the document as sent or unsent without sending anything. Fix the cause and let the monitor send it, and keep a record of any status you change, since nothing else will show that the partner never received it.

The EDI tables keep growing

  1. Processed documents stay in the intermediate tables until archived: EDI Sales Order Tables (SOP_A_006) and EDI Sales Invoice Tables (SOP_A_007) for sales orders and invoices, EDI Invoice Tables (POP_A_008) and EDI Purchase Order Tables (POP_A_009) for purchase invoices and orders, then the delete options (EDI Sales Orders (SOP_D_006), EDI Sales Invoices (SOP_D_007), EDI Inbound Invoices (POP_D_010), EDI Orders (POP_D_012)).

Where the rules and settings live

The checks themselves
Each monitor program decides what it checks and which event code it raises: the inbound sales order monitor (Inbound Sales Order Monitor (SYS_U_021)), the purchase invoice monitor (EDI Inbound Purchase Invoice Processing (POP_U_021)) and the outbound purchase order monitor (Outbound Purchase Order EDI Monitor (SYS_U_022)). The preflight check runs the ones that need no customer data.
What each event does
Ross ERP ships a default for every event in SYS_EVENT_TRANSACTION_XREFS: audit, exception, stop and hold, each marked D (a default the site can change) or F (fixed). Each division's live settings are in SYS_EVENT_CONTROLS, changed in Maintain Events (SYS_M_111). This site shows the shipped defaults, so if yours behave differently, look there.
How each monitor runs
SYS_MONITOR_CONTROLS, set in Maintain Monitor Controls (SYS_M_109); monitor types are switched on in Activate Monitor Types (SYS_M_108).
Who you trade with
SYS_TRADING_PARTNERS and SYS_TRADING_PARTNER_DETAILS (one row per partner and transaction type: EDI on or off, test or production), set in Maintain Trading Partners (SYS_M_110).
Translating codes
Customer addresses carry the EDI IDs partners send (CUSTOMER_ADDRESSES.SYS_EDI_ENTITY_ID); units carry their EDI unit code (UNITS_OF_MEASURE.SYS_EDI_UNIT_CODE); terms are cross-referenced in SYS_EDI_CREDIT_TERMS_XREF.