A Quick Introduction to EDI

Download Report

Transcript A Quick Introduction to EDI

A Quick
Introduction
to EDI
Created 3/5/2002
American Electric Power
What Is EDI?
Electronic Data Interchange
An internationally recognized
standard for formatting and
exchanging information
Simple text files that use delimiter
characters to separate the fields
and records
ANSI (American National Standards Institute)
continues to define and revise the standards
and versions which valid EDI data must
conform to…
Standards and Versions Used By AEP
ANSI X12
Common Standard
Version 3010
Version 4010
Version 4030
(older format)
(current format)
(newer format)
CCD+ payments for DIPR
Purchase Orders
Invoices
Not yet used by AEP
An example of raw EDI data
ISA*00*
*00*
*01*026007906
*01*006979868
*020124*0650*U*00401*000000590*1*P*~
GS*IN*026007906*006979868*20020124*0650*590*X*004010
ST*810*5900001
BIG*20020123*367498**PX02-0000000081**00*DI
N1*RE*Airgas-Mid America*1*026007906
N3*PO BOX 1117
N4*Bowling Green*KY*421021117
ITD*08**0**0**30*00**00**Net 30 Days
IT1*001*24*CF*40.1953************VP*AC 5
M02
PID*F****ACETYLENE SIZE 5
TDS*97749*00*00*00
CAD*****OUR TRUCK;Y
SAC*C*C040***850*******06
SE*12*5900001
GE*1*590
IEA*1*000000590
Envelope Segments
EDI transactions are surrounded by
6 envelope segments. These
segments contain important
routing information, such as ids,
version, and transaction type.
ISA/IEA – Interchange Envelope
Contains an entire transmission
GS/GE – Group Envelope
Contains one group of similar
transactions (e.g., multiple purchase
orders)
ST/SE – Transaction Set Envelope
Contains data that describes one single
transaction (e.g., one pay order)
 ISA
 GS
 ST
 Data
 SE
 GE
 IEA
Reading a segment of data
BIG*20020123*367498**PX02-0000000081**00*DI
Segment Identifer
First few characters of each segment
BIG
Element Delimiter
Separates each field in a segment
*
Empty Field
Field in which no data was sent; results **
in an error when that field is required
Qualifier
Often a two or three digit code that is
meant to describe another field
DI
Other key pieces of information found in this specific example are purchase
order number, invoice number, and invoice date.