Purchase order

This example purchase order show how the various line items are handled.

The following example shows one purchase order:

ISA*00*          *00*          *08*WALLY          *01*ME             *180820*0500*^*00704*000000002*0*T*:
   GS*PO*5012738712*18130529*20180920*0500*2*X*007040
   ST*850*0005*007040VICS
   BEG*00*SA*0037324913**20180820
   REF*DP*32
   REF*IA*181305320
   ITD*01*7*****30*****          N30
   TD5*O*ZZ*12345**UNITED PARCEL
A {
   PO1*001*150*EA*3.9*LE*UP*070135150611*CB*003234689*VC*1001
   PO4*25*6*EA
   SDQ*EA*92*0100*12*0131*6*0242*6*0548*12*0639*12*0686*6*0749*6*0802*6*1008*6*1027*30
   SDQ*EA*92*1041*6*1044*6*1294*6*1297*12*1800*6*1802*12
B {
   PO1*005*156*EA*3.25*LE*UP*070135160313*CB*003257128*VC*1006
   PO4*26*6*EA
   SDQ*EA*92*0100*12*0131*6*0639*6*0686*6*0749*6*0802*6*0824*6*0847*6*1008*6*1027*30
   SDQ*EA*92*1041*6*1044*6*1241*6*1294*6*1297*12*1392*12*1800*6*1802*12
C {
   PO1*003*144*EA*3.25*LE*UP*070135170312*CB*003257144*VC*1004
   PO4*24*6*EA
   SDQ*EA*92*0242*6*0639*12*0686*6*0749*6*0784*12*0824*6*0847*6*1008*6*1027*30*1041*6
   SDQ*EA*92*1044*6*1241*6*1294*6*1297*12*1800*6*1802*12
D {
   PO1*002*108*EA*3.9*LE*UP*070135152318*CB*003257169*VC*1002
   PO4*18*6*EA
   SDQ*EA*92*0158*6*0639*12*0686*6*0749*6*1008*6*1027*30*1044*6*1294*6*1297*12*1800*6
   SDQ*EA*92*1802*12
E {
   PO1*004*174*EA*3.25*LE*UP*070135140315*CB*003257185*VC*1005
   PO4*29*6*EA
   SDQ*EA*92*0158*6*0520*18*0639*12*0686*6*0749*6*0784*6*0802*6*0824*6*0847*6*1008*6
   SDQ*EA*92*1027*30*1044*6*1241*6*1294*6*1297*12*1305*6*1392*12*1800*6*1802*12
   CTT*5
   SE*28*0005
Reference
Remarks
A
Send this line item to the 16 stores that are referenced in the SDQ segments.
B
Send this line item to the 18 stores that are referenced in the SDQ segments.
C
Send this line item to the 16 stores that are referenced in the SDQ segments.
D
Send this line item to the 11 stores that are referenced in the SDQ segments.
E
Send this line item to the 19 stores that are referenced in the SDQ segments.