X12 examples

Example maps and schemas install within the imported project.

The examples and example files are defined in the following table:

Example and associated files Description
   
x12_examples/ansi/asntoedi/
Example files:
  • asn856.txt - input record oriented data
  • asn865.out - expected results X12 7040 856 transaction
  • shipnotice - input schema
  • sendasn - map source containing executable map sendasn
Creates an outbound EDI Advance Ship Notice (#856) with its nested hierarchical levels.
x12_examples/ansi/editobol/
Example files:
  • Editobol - input X12 7040 204 transaction
  • bolout.txt - expected results record oriented data
  • bol - input schema
  • editobol - map source containing executable map bolading
Creates an outbound application record oriented file based on an inbound EDI Motor Carrier Shipment Information (#204).
x12_examples/ansi/sdq/
Example files:
  • partner.txt - input partner file
  • wal850.new - input X12 850 (purchase orders).
  • Storeinfo.out - output temp file holding store information
  • wally.out - expected results of X12 810 invoices
  • profile - input schema for partner file
  • storeinfo - input schema for storeinfo file
  • sdq - map source containing executable map sqd
Creates an outbound EDI invoice (#810) from an inbound EDI Order (#850). The turn-around mapping produces an interchange for each store number found in the inbound 850 SQD segment.
x12_examples/ansi/xmlpo/
Example files:
  • x12_850.in - input X12 7040 850 (purchase order)
  • orders.xml - input XML orders
  • xml_po_output.xml - expected output EDI to XML map
  • x12_po.out - expected output XML to EDI map
  • po_file - XML schema
  • xmlpo - map source that contains executable maps x12toxml and xmltox12
Creates an outbound EDI 850 (purchase order) message, using XML input and an outbound XML Order using EDI 850 (purchase order) message input.