Chap 09 MC
Chap 09 MC
Chap 09 MC
c
o
m
m
e
r
electronic
commerce
c strategy
technologies
e
and
applications
o Best
Bread
m
Super
Food
Freshest
Fruit
m
Save on
Food
Mighty
e
Meat
Sava
Store
r
Very
electronic Veg
commerce
c strategy
technologies
Three customers
Four suppliers
e
and
applications Twelve formats or one standard
E-Commerce ©David Whiteley/McGraw-Hill, 2000 2
EDI standards
e
c The need for a common format …
e
Independent of hardware and software;
Independent of special interest.
r
electronic
commerce
c strategy
technologies
EDI standards provide a common language for the
interchange of standard transactions.
e
and
applications
m
e
The international EDI standard
r
electronic
commerce
c strategy
technologies
e
and
applications
m conformed to it.
m Examples:
BACS:
e System of electronic payments (from user organisations).
LACES:
r
electronic
commerce Freight Clearance System (at LHR).
World Meteorological Office (WMO) System:
c strategy
technologies
System for exchange of weather information and weather
reports.
e
and
applications
o standards bodies.
m Examples:
m
ODETTE:
An EDI format developed for, and widely used in, the European
e
motor industry.
TRADACOMS:
r
electronic A UK EDI standard for general trade developed by the ANA
commerce (Article Numbering Association).
c strategy
ANSI X12:
technologies Developed as an American national standard by ANSI with the
aim of replacing the various sector standards.
e
and
applications
m EDIFACT:
e Electronic Data Interchange for Administration,
r
electronic Commerce and Transport
commerce
Started in Europe in mid 1980s
c strategy
technologies
Accepted by US (ANSI) to supersede X12
Promoted as the world EDI standard
e
and
applications
r
electronic
commerce Data items are codes, values and qualifiers.
c strategy
technologies
See next slide for diagram.
e
and
applications
o Interchange
m Header Trailer
e Message
Header
Data Data Data Message
r
electronic Segment Segment Segment Trailer
commerce
c strategy
technologies
Data Data Data
Element Element Element
e
and
applications
o BEN0273'
Header
m UNH+000001+ORDERS:2:932:UN' Message 1
Data segments
Header
m
BGM+220+AC6464' •
DTM+4:20000315:102' •
NAD+BY+6464326::91' •
e NAD+SU+1149646::91'
UNS+D'
•
•
r
electronic LIN+1++PT-1073-R:VP' •
commerce QTY+21:1600' •
LIN+2++PT-1073-S:VP' •
c strategy
technologies
QTY+21:1200'
UNT+13+000001'
•
Trailer
e
and UNH Message 2
applications . . .
. . .
UNT
E-Commerce ©David Whiteley/McGraw-Hill, 2000 10
The EDIFACT standard
e
c Interchange header:
m
UNB+UNOA:1+6464:xx+1141:xx+BEN0273
Control Agency UNOA i.e. UN Level
m A
Version 2
e Sender Code
Code Qualifier
6464
r
electronic
commerce Recipient Code 1141149
Code Qualifier
c strategy
technologies
Date of Transmission
Time of Transmission
20000305
1233
e
and
applications Control Reference BEN0273
E-Commerce ©David Whiteley/McGraw-Hill, 2000 11
The EDIFACT standard
e Order message:
c
o • UNH
UNH+000001+ORDERS:2:911:UN'
Message Header
m Message Type
Version
ORDERS
2
e Release
Control Agency
932
UN
r
electronic
commerce
• BGM Beginning of Message
c strategy
technologies
BGM+220+AC6464'
Message Name Code 220 i.e. order
e
and
applications Document Number AC6464 i.e. order
number
E-Commerce ©David Whiteley/McGraw-Hill, 2000 12
The EDIFACT standard
e Order message:
c • DTM
o
Date/Time/Period
DTM+4:20000305:102'
r
electronic NAD+BY+6464326::91'
commerce
NAD+SU+1149646::91'
c strategy
technologies
Party qualifier BY
SU
i.e. buyer
i.e. supplier
e
and
applications Address code 6464326 and 1149646
Code list agency 91 i.e. user defined
E-Commerce ©David Whiteley/McGraw-Hill, 2000 13
The EDIFACT standard
e Order message:
c
o • UNS
UNS+D'
Section control
m
segment
r
electronic
commerce
c strategy
technologies
e
and
applications
m
LIN+2++PT-1073-S:VP'
Line item number 1 and 2
m
Item number PT-1073-R and PT-1073-
S
r
electronic
commerce
QTY Quantity
c strategy
technologies
QTY+21:1600'
QTY+21:1200'
e
and
applications Quantity qualifier 21 i.e. ordered
• quantity
Line item and quantities in pairs
Quantity
E-Commerce ©David Whiteley/McGraw-Hill, 2000 1600 and 1200 15
The EDIFACT standard
e Order message:
c
o • UNT
UNT+11+000001'
Message trailer
r
electronic
commerce
c strategy
technologies
e
and
applications
r
electronic
commerce
c strategy
technologies
e
and
applications
m
Customer Address Code: 6464326
To Packaging Solutions:
r
electronic
commerce Qty Product
Line 1 (Red Cases) 1,600PT-1073-R
c strategy
technologies Line 1 (Silver Cases) 1,200PT-1073-S
e
and
applications
m
e
For EDI (and data processing), keys are to be used
in preference to text data/descriptions
r
electronic
commerce
Codes must be recognised and accepted by all
c strategy
technologies
parties to a trading exchange.
e
and
applications
c strategy
technologies Administered by National Article Numbering
Associations (ANA)
e
and
applications
o cc Country e.g.:
- UK = 50,
m mmmmm
- Netherlands = 67
manufacturer prefix no.
m xxxxx item reference
e
C check digit
r Examples:
electronic
commerce
Baked beans, 420g tin: 50 00157 00171 9
c strategy
technologies
Cream of tomato soup, 300g tin:
Baked beans, 250g tin:
50 00157 00207 5
50 00157 00023 1
e
and
applications
o Code: 500015700171
5 x 1 = 5
m 0
0
x
x
3
1
= 0
= 0
m 0
1
x
x
3
1
= 0
= 1
e 5 x 3 = 15
r
electronic 7 x 1 = 7
commerce 0 x 3 = 0
c strategy 0 x 1 = 0 Sum = 41
technologies 1 x 3 = 3 Checkdigit = 50 - 41 = 9
e
and EAN code =
applications
7 x 1 = 7
5000157001719
1 x 3 = 3
E-Commerce ©David Whiteley/McGraw-Hill, 2000 22
Coding standards
e
c EAN code – used in EDI
o LIN+1++5000157001719:EN'
m codes, eg:
r
electronic e.g. the goods are sent to a warehouse
commerce
c strategy
technologies
The invoice point:
e.g. the invoice is sent to head office.
e
and
applications
o by courier.
e
also known as a value added network (VAN).
r
electronic
commerce
The Internet.
c strategy
technologies
The VADS has tended to be the preferred option
(and the Internet, in this context, is another VADS)
e
and
applications
m The mailbox
e where incoming messages can be picked up.
r
electronic
commerce
c strategy
technologies
e
and
applications
m
postbox Best
mailbox Bread
postbox
Super mailbox
Food
e Save on postbox
postbox
mailbox
Freshest
Fruit
r
electronic Food mailbox
commerce postbox Mighty
mailbox Meat
c strategy
technologies
Sava
Store
postbox
mailbox
postbox Very
e
and
mailbox Veg
applications
m Customer VADS
postbox
Supplier
Best
m Super
Food
postbox
mailbox
mailbox Bread
e Save on postbox
postbox
mailbox
Freshest
Fruit
r
electronic Food mailbox
commerce postbox Mighty
mailbox Meat
c strategy
technologies
Sava
Store
postbox
mailbox
postbox Very
e
and mailbox Veg
applications
m
postbox Best
mailbox Bread
postbox
Super mailbox
e
Food
postbox Freshest
mailbox Fruit
r
electronic Save on postbox
Food mailbox
commerce
postbox Mighty
mailbox Meat
c strategy
technologies
Sava
Store
postbox
mailbox
postbox Very
e
and
mailbox Veg
applications
o
Customer VADS Supplier
postbox Best
m
mailbox Bread
postbox
Super mailbox
Food
m
postbox Freshest
mailbox Fruit
Save on postbox
e
Food mailbox
postbox Mighty
mailbox Meat
r
electronic Sava postbox
Store mailbox
commerce
postbox Very
mailbox Veg
c strategy
technologies
e
and
applications
m
Sava Store transmits at the end of its overnight
processing run.
e Protocol Independence
r
electronic Each user can use its own protocol
commerce
Say:
c strategy
technologies
Sava Store might have a fixed link using X400.
Best Bread could use a dial up link.
e
and
applications
m International Connections:
Privacy, Security and Reliability:
e
Message Validation:
Local Access:
r
electronic
commerce Charges:
Software and Consultancy:
c strategy
technologies
e
and
applications
o Pens and
Things
Packaging
Solutions
m
m Production
Control
Order
Processing
e System System
r
electronic
commerce
c strategy VADS
EDI Software EDI Software
technologies
e
and
applications
e Standard.
Fax or e-Mail transmission to non EDI users.
r
electronic
commerce Interfacing with a variety of EDI VADS.
Encryption the EDI Message.
c strategy
technologies
Automatic acknowledgement.
Message tracking and an audit trail.
e
and
applications Direct input and printed output of EDI transactions.
e
Order for EDI suppliers are not printed;
EDI orders are formatted onto a flat file;
r
electronic The flat file is input to the EDI software, formatted
commerce
into the required EDI standard and posted into the
c strategy
technologies
VADS.
e
and
applications The reverse process is used for incoming EDI messages
– arguably they need to be validated.
E-Commerce ©David Whiteley/McGraw-Hill, 2000 34
EDI implementation
e
c EDI operation:
m
and their paper equivalents is that with electronic
transactions there is no paperwork to fall back on
e
and
applications
m
small companies might:
r
electronic
commerce
• Post or Fax.
• Internet access.
c strategy
technologies
e
and
applications
c strategy
technologies The appropriate way to document these details is
e
and
applications an EDI Interchange Agreement.
m always clear.
c strategy
technologies
have been taken to secure and store the data.’
(EU-IA)
e
and
applications
e Technical aspects:
The coding systems for identifying entities.
r
electronic
commerce The EDI standard that is to be employed.
The network that is to be used.
c strategy
technologies
e
and Model agreements are available from various organisations.
applications
m
e
Protection against Tampering (e.g. digital signature)
r
electronic
commerce Privacy of Message (e.g. encryption).
c strategy
technologies Non-repudiation (e.g. message acknowledgement
e
and
applications or ‘trusted third party’).
o
Encryption
System on
EDI System
m
EDI Checks EDI
Soft- Soft-
Comms Protocol Comms
ware ware
m
Checks
EDI
e
Acknowledgement (phy.)
EDI
r
electronic Acknowledgement (logical)
commerce
c strategy
technologies
e
and
applications
o
Interchange Agreement
m Application
System
Application
System
m
e EDI Software
VADS
EDI Software
r
electronic EDI Standards EDI Standards
commerce
c strategy
technologies
e
and
applications
m EDI.
m
e
r
electronic
commerce
c strategy
technologies
e
and
applications
e
r
electronic
commerce
c strategy
technologies
e
and
applications
e
r
electronic
commerce
c strategy
technologies
e
and
applications
e
r
electronic
commerce
c strategy
technologies
e
and
applications