>I am processing 940 change orders and in the example both documents are for >the same order. I need to make sure that I have the >most recent change order.
If this "order of change" is really important to the application, you and your trading partner really should agree to include some kind of "application sequence" identifier, such as a DTM or DTP segment or even an AMT or QTY with a 'sequence number.' 940? Let me look at the standard real quick here.. ASC X12 Version 004010 RefDes Req Repeat EDI Standard Component ------ --- ------ ----------------------------------------------------------------- Set 940 "Warehouse Shipping Order" M Table 1 1/010 M 1 Segment ST "Transaction Set Header" 1/020 M 1 Segment W05 "Shipping Order Identification" W0501 M Element 473 [Identifier;1] "Order Status Code" W0502 M Element 285 [String;1..22] "Depositor Order Number" W0503 O Element 324 [String;1..22] "Purchase Order Number" W0504 X Element 472 [Integer Number;6] "Link Sequence Number" W0505 X Element 474 [String;1..22] "Master Reference (Link) Number" W0506 O Element 640 [Identifier;2] "Transaction Type Code" W0507 O Element 306 [Identifier;1..2] "Action Code" 1/040 O 10 Loop 0100 1/090 O 10 Segment N9 "Reference Identification" 1/100 O 3 Segment G61 "Contact" 1/110 O 10 Segment G62 "Date/Time" 1/120 O >1 Segment NTE "Note/Special Instruction" 1/130 O 1 Segment W09 "Equipment and Temperature" 1/140 O 1 Segment W66 "Warehouse Carrier Information" 1/150 O 1 Segment W6 "Special Handling Information" 1/153 O 13 Segment R2 "Route Information" 1/156 O 1 Segment BNX "Rail Shipment Information" 1/160 O 10 Loop 0200 O Table 2 2/005 O >1 Loop 0300 M Table 3 3/010 O 1 Segment W76 "Total Shipping Order" 3/020 M 1 Segment SE "Transaction Set Trailer" Wow, I see LOTS of opportunities to include the kind of info I am suggesting.. W504 looks particularly appropos. FWIW >> I am using Trustedlink... TLW offers lots of opportunities to "change the order" of things. That is, for these purposes I would not 'trust' it to provide info in any particular order. Michael C. Mattias Tal Systems Inc. Racine WI [email protected] ------------------------------------ ... Please use the following Message Identifiers as your subject prefix: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC> Job postings are welcome, but for job postings or requests for work: <JOBS> IS REQUIRED in the subject line as a prefix.Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/EDI-L/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/EDI-L/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
