艾默生Emerson是一家全球领先的工程技术和解决方案提供商。该公司总部位于美国,成立于1890年,经过多年的发展,已经发展成为一个多元化的跨国企业,业务遍及工业、商业和消费者市场。艾默生提供各种产品和服务,包括自动化解决方案、商业与工业自动化技术、控制技术、测量仪器、流体控制、电力系统、通信网络、加热、通风和空调系统等。
艾默生Emerson致力于帮助客户优化生产效率、提高能源效率、改善设备可靠性,并且致力于可持续发展。该公司的产品和解决方案广泛应用于各个领域,包括工业制造、化工、石油与天然气、电力、制药、食品与饮料等。
本文将为大家介绍艾默生Emerson EDI项目中需要传输的业务单据类型,了解如何通过知行之桥EDI系统与艾默生Emerson建立EDI连接。
艾默生Emerson EDI 需求分析
报文标准:X12
X12标准是由美国国家标准协会(ANSI)于1979年特许的认可标准委员会X12(也称为ASC X12)开发和维护的。供应商与艾默生Emerson之间传输的业务单据都需要遵循这个标准。
业务类型:
- EDI 810 Invoice发票(V1.0)
- EDI 850 Purchase Order 采购订单(V5.1)
- EDI 855 PO Acknowledgement采购订单确认 (V1.0)
- EDI 856 Advanced Ship Notice提前发货通知 (V3.0)
- EDI 860 Purchase Order Change采购订单变更 (V1.0)
- EDI 997 Functional Acknowledgement功能性确认 (V1.0)
以下是一个810发票示例报文:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
ISA|00| |00| |ZZ|EMR |ZZ|ABCCO |081202|1311|<|00502|230414746|0|T|>~ GS|PO|EMR1601000|ABCCO|20081201|1311170|249641407|X|005020~ ST|850|762443921~ BEG|00|BK|16011111666|25|20081101|EMR123456ABC|NA||||03~ CUR|BY|CAD|1.025||||AAY|20081115|112500~ REF|06||160~ REF|S3|EMR850V5.1~ FOB|DF|||01|EXW|ZZ|Freight Term Named Place|BY|INCO2000 EXM~ ITD||||||||||||NET30~ N9|L1|PO Header Instructions to Supplier~ MTX|OTH|HEADER INSTRUCTIONS TO SUPPLIER|HEADER INSTRUCTIONS TO SUPPLIER, CONTINUED IF NEEDED~ N1|VN|ABC SUPPLIER|93|160123456~ N2|SUPPLIER NAME CONTINUED~ N3|ADDRESS LINE 1|ADDRESS LINE 2~ N3|ADDRESS LINE 3|ADDRESS LINE 4~ N4|APODACA||66600|MX|93|X160S|NLE~ PER|SU|Supplier Contact Name|TE|314-555-2345|FX|314-555-1234|EM|contact.name@supplier.com~ N1|SO|EMERSON DIVISION NAME|93|160SO~ N2|SOLD-TO NAME CONTINUED~ N3|SO ADDRESS LINE 1|SO ADDRESS LINE 2~ N3|SO ADDRESS LINE 3|SO ADDRESS LINE 4~ N4|SAINT LOUIS||63136|US|93|X160SO|MO~ PER|BD|Sold-To Contact Name|TE|314-555-4567|FX|314-555-3456|EM|contact.name@soldto.com~ N1|BT|EMERSON DIVISION NAME|93|160BT~ N2|BILL-TO NAME CONTINUED~ N3|BT ADDRESS LINE 1|BT ADDRESS LINE 2~ N3|BT ADDRESS LINE 3|BT ADDRESS LINE 4~ N4|SAINT CHARLES||63104|US|93|X160BT|MO~ PER|BD|BillTo Contact Name|TE|314-555-6789|FX|314-555-5678|EM|contact.name@billto.com~ N1|CA|FED EX~ PO1|1|5|EA|3.15|UM|SW|EMR456789|VX|SUPP456789|BE|1.1~ PID|F||||EMERSON ITEM DESCRIPTION TEXT~ MEA|WT|U|50|LB~ TC2|A|HTS123~ TC2|Z|E122~ TD4|HAZ|||Hazardous Class Description Text~ MTX|ORI|DETAIL LINE INSTRUCTIONS TO SUPPLIER|DETAIL LINE INSTRUCTIONS TO SUPPLIER, CONTINUED IF NEEDED~ TXI|ZZ|||||1~ N1|ST|EMERSON DIVISION NAME|93|160ST~ N2|SHIP-TO NAME CONTINUED~ N3|ST ADDRESS LINE 1|ST ADDRESS LINE 2~ N3|ST ADDRESS LINE 3|ST ADDRESS LINE 4~ N4|SAINT PETERS||63376|US|93|X160ST|MO~ REF|4C|Location123~ REF|KE|Kanban456~ PER|BD|Ship-To Contact Name|TE|636-555-1234|FX|636-555-2345|EM|contact.name@shipto.com~ PER|RQ|Buyer Name~ SCH|5|EA|||112|20081210||010|20081209|||1S~ PO1|2|10|EA|5.25|UM|SW|EMR567890|VX|SUPP567890|BE|2.2~ PID|F||||EMERSON ITEM DESCRIPTION TEXT~ MEA|WT|U|12|LB~ TC2|A|HTS123~ TC2|Z|E122~ TD4|HAZ|||Hazardous Class Description Text~ MTX|ORI|DETAIL LINE INSTRUCTIONS TO SUPPLIER|DETAIL LINE INSTRUCTIONS TO SUPPLIER, CONTINUED IF NEEDED~ TXI|ZZ|||||1~ N1|ST|EMERSON DIVISION NAME|93|160ST~ N2|SHIP-TO NAME CONTINUED~ N3|ST ADDRESS LINE 1|ST ADDRESS LINE 2~ N3|ST ADDRESS LINE 3|ST ADDRESS LINE 4~ N4|SAINT PETERS||63376|US|93|X160ST|MO~ REF|4C|Location123~ REF|KE|Kanban456~ PER|BD|Ship-To Contact Name|TE|636-555-1234|FX|636-555-2345|EM|contact.name@shipto.com~ PER|RQ|Buyer Name~ SCH|7|EA|||112|20081215||||||2S1~ N1|ST|EMERSON DIVISION NAME|93|160ST~ N2|SHIP-TO NAME CONTINUED~ N3|ST ADDRESS LINE 1|ST ADDRESS LINE 2~ N3|ST ADDRESS LINE 3|ST ADDRESS LINE 4~ N4|SAINT PETERS||63376|US|93|X160ST|MO~ REF|4C|Location123~ REF|KE|Kanban456~ PER|BD|Ship-To Contact Name|TE|636-555-1234|FX|636-555-2345|EM|contact.name@shipto.com~ PER|RQ|Buyer Name~ SCH|3|EA|||112|20081220||||||2S2~ CTT|1~ SE|76|762443921~ GE|1|249641407~ IEA|1|230414746~ |
EDI报文每一行开头(2-3个字符组成)叫做segment节点,代表了特定的业务含义,例如BEG代表报文的开始以及一些主信息,DTM代表时间信息,N1代表实体信息(ship-to、ship-from、bill-to等等)。企业需要获取的业务数据被分门别类地存放在这些字符中,通过数据元素分隔符分隔开来。
对供应商而言,处理这样的文件并非易事,因此需要专业的EDI软件产品对这些数据进行格式转换,从而使数据更加清晰可读。
知行之桥EDI系统实现艾默生Emerson EDI 需求
建立EDI 连接通道
知行之桥EDI系统支持目前国际通用的大多数传输协议,如AS2、OFTP、SFTP等。用户可以通过相应的MFT(可控文件传输)端口,进行可视化的配置。
报文格式转换
由于艾默生Emerson使用的是X12报文标准,在知行之桥EDI系统中,只需要使用X12端口即可一键实现X12报文与XML文件的格式互换。
我们以上文提到的EDI 850采购订单为例,在实际的业务逻辑中,供应商需要接收来自艾默生Emerson的EDI 850,提取其中的业务数据以便进行后续处理。在知行之桥EDI系统中,处理流程如下:
1.创建一个X12端口
2.配置基本信息
将X12端口命名为EDI_To_XML,表示文件的转换是由EDI报文转换为XML,转换类型也需要按照如图所示的方式勾选。
需要注意的是,数据元素分隔符默认为星号,艾默生Emerson的EDI报文中使用管道符号作为其数据元素分隔符,因此需要在X12端口的高级设置选项卡下进行配置。
3.配置 00502 schemas
艾默生Emerson使用的X12报文标准的版本号为00502,用户需要在知行之桥EDI系统的安装目录下,找到 www->app_data->x12_schemas在这里配置00502的schemas。如果用户本地并没有这个文件,可以联系知行软件进行获取。
4.实现X12报文到XML的格式转换
在X12端口的输入选项卡下,点击更多上传文件,即可上传上文中提供的EDI 850报文。
在X12端口的输出选项卡下即可查看文件处理效果:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 |
<Interchange Delimiters=":|. ~" xmlns="http://www.rssbus.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Meta> <!--Authorization Information Qualifier--> <ISA01><!--No Authorization Information Present (No Meaningful Information in I02)-->00</ISA01> <!--Authorization Information--> <ISA02> </ISA02> <!--Security Information Qualifer--> <ISA03>00</ISA03> <!--Security Information--> <ISA04> </ISA04> <!--Interchange ID Qualifier--> <ISA05><!--Mutually Defined-->ZZ</ISA05> <!--Interchange Sender ID--> <ISA06>EMR </ISA06> <!--Interchange ID Qualifier--> <ISA07><!--Mutually Defined-->ZZ</ISA07> <!--Interchange Receiver ID--> <ISA08>ABCCO </ISA08> <!--Interchange Date--> <ISA09>081202</ISA09> <!--Interchange Time--> <ISA10>1311</ISA10> <!--Interchange Control Standards Identifier--> <ISA11><</ISA11> <!--Interchange Control Version Number Code--> <ISA12><!--Standards Approved for Publication by ASC X12 Procedures Review Board through October 2004-->00502</ISA12> <!--Inter Control Number--> <ISA13>230414746</ISA13> <!--Acknowlegment Requested Code--> <ISA14>0</ISA14> <!--Interchange Usage Indicator Code--> <ISA15><!--Test Data-->T</ISA15> <!--Component Element Separator--> <ISA16>></ISA16> </Meta> <FunctionalGroup> <Meta> <!--Functional Identifier Code--> <GS01><!--Purchase Order (850)-->PO</GS01> <!--Application Sender's Code--> <GS02>EMR1601000</GS02> <!--Application Receiver's Code--> <GS03>ABCCO</GS03> <!--Date--> <GS04>20081201</GS04> <!--Time--> <GS05>1311170</GS05> <!--Group Control Number--> <GS06>249641407</GS06> <!--Responsible Agency Code--> <GS07><!--Accredited Standards Committee X12-->X</GS07> <!--Version / Release / Industry Identifier Code--> <GS08><!--Standards Approved for Publication by ASC X12 Procedures Review Board through October 2004-->005020</GS08> </Meta> <TransactionSet> <TX-00502-850 type="TransactionSet"> <Meta> <!--Transaction Set Identifier Code--> <ST01><!--Purchase Order-->850</ST01> <!--Transaction Set Control Number--> <ST02>762443921</ST02> </Meta> <!--Beginning Segment for Purchase Order--> <BEG type="Segment"> <!--Transaction Set Purpose Code--> <BEG01><!--Original-->00</BEG01> <!--Purchase Order Type Code--> <BEG02><!--Blanket Order (Quantity Firm)-->BK</BEG02> <!--Purchase Order Number--> <BEG03>16011111666</BEG03> <!--Release Number--> <BEG04>25</BEG04> <!--Date--> <BEG05>20081101</BEG05> <!--Contract Number--> <BEG06>EMR123456ABC</BEG06> <!--Acknowledgment Type--> <BEG07>NA</BEG07> <!--Invoice Type Code--> <BEG08/> <!--Contract Type Code--> <BEG09/> <!--Purchase Category--> <BEG10/> <!--Security Level Code--> <BEG11><!--Company Confidential, Restricted (Need to Know)-->03</BEG11> </BEG> <!--Currency--> <CUR type="Segment"> <!--Entity Identifier Code--> <CUR01><!--Buying Party (Purchaser)-->BY</CUR01> <!--Currency Code--> <CUR02>CAD</CUR02> <!--Exchange Rate--> <CUR03>1.025</CUR03> <!--Entity Identifier Code--> <CUR04/> <!--Currency Code--> <CUR05 xsi:nil="true"/> <!--Currency Market/Exchange Code--> <CUR06/> <!--Date/Time Qualifier--> <CUR07><!--Rate Date-->AAY</CUR07> <!--Date--> <CUR08>20081115</CUR08> <!--Time--> <CUR09>112500</CUR09> </CUR> <!--Reference Information--> <REF type="Segment"> <!--Reference Identification Qualifier--> <REF01><!--System Number-->06</REF01> <!--Reference Identification--> <REF02 xsi:nil="true"/> <!--Description--> <REF03>160</REF03> </REF> <!--Reference Information--> <REF type="Segment"> <!--Reference Identification Qualifier--> <REF01><!--Specification Number-->S3</REF01> <!--Reference Identification--> <REF02>EMR850V5.1</REF02> </REF> <!--F.O.B. Related Instructions--> <FOB type="Segment"> <!--Shipment Method of Payment--> <FOB01>DF</FOB01> <!--Location Qualifier--> <FOB02/> <!--Description--> <FOB03 xsi:nil="true"/> <!--Transportation Terms Qualifier Code--> <FOB04><!--Incoterms-->01</FOB04> <!--Transportation Terms Code--> <FOB05><!--Ex Works-->EXW</FOB05> <!--Location Qualifier--> <FOB06><!--Mutually Defined-->ZZ</FOB06> <!--Description--> <FOB07>Freight Term Named Place</FOB07> <!--Risk of Loss Code--> <FOB08><!--Risk of Loss in Transit to Destination is Buyer's-->BY</FOB08> <!--Description--> <FOB09>INCO2000 EXM</FOB09> </FOB> <!--Terms of Sale/Deferred Terms of Sale--> <ITD type="Segment"> <!--Terms Type Code--> <ITD01/> <!--Terms Basis Date Code--> <ITD02/> <!--Terms Discount Percent--> <ITD03 xsi:nil="true"/> <!--Terms Discount Due Date--> <ITD04 xsi:nil="true"/> <!--Terms Discount Days Due--> <ITD05 xsi:nil="true"/> <!--Terms Net Due Date--> <ITD06 xsi:nil="true"/> <!--Terms Net Days--> <ITD07 xsi:nil="true"/> <!--Terms Discount Amount--> <ITD08 xsi:nil="true"/> <!--Terms Deferred Due Date--> <ITD09 xsi:nil="true"/> <!--Deferred Amount Due--> <ITD10 xsi:nil="true"/> <!--Percent of Invoice Payable--> <ITD11 xsi:nil="true"/> <!--Description--> <ITD12>NET30</ITD12> </ITD> <N9Loop1 type="Loop"> <!--Extended Reference Information--> <N9 type="Segment"> <!--Reference Identification Qualifier--> <N901><!--Letters or Notes-->L1</N901> <!--Reference Identification--> <N902>PO Header Instructions to Supplier</N902> </N9> <!--Text--> <MTX type="Segment"> <!--Note Reference Code--> <MTX01><!--Other Instructions-->OTH</MTX01> <!--Textual Data--> <MTX02>HEADER INSTRUCTIONS TO SUPPLIER</MTX02> <!--Textual Data--> <MTX03>HEADER INSTRUCTIONS TO SUPPLIER, CONTINUED IF NEEDED</MTX03> </MTX> </N9Loop1> <N1Loop1 type="Loop"> <!--Party Identification--> <N1 type="Segment"> <!--Entity Identifier Code--> <N101><!--Vendor-->VN</N101> <!--Name--> <N102>ABC SUPPLIER</N102> <!--Identification Code Qualifier--> <N103><!--Code assigned by the organization originating the transaction set-->93</N103> <!--Identification Code--> <N104>160123456</N104> </N1> <!--Additional Name Information--> <N2 type="Segment"> <!--Name--> <N201>SUPPLIER NAME CONTINUED</N201> </N2> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>ADDRESS LINE 1</N301> <!--Address Information--> <N302>ADDRESS LINE 2</N302> </N3> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>ADDRESS LINE 3</N301> <!--Address Information--> <N302>ADDRESS LINE 4</N302> </N3> <!--Geographic Location--> <N4 type="Segment"> <!--City Name--> <N401>APODACA</N401> <!--State or Province Code--> <N402 xsi:nil="true"/> <!--Postal Code--> <N403>66600</N403> <!--Country Code--> <N404>MX</N404> <!--Location Qualifier--> <N405><!--Sender's Location Code-->93</N405> <!--Location Identifier--> <N406>X160S</N406> <!--Country Subdivision Code--> <N407>NLE</N407> </N4> <!--Administrative Communications Contact--> <PER type="Segment"> <!--Contact Function Code--> <PER01><!--Supplier Contact-->SU</PER01> <!--Name--> <PER02>Supplier Contact Name</PER02> <!--Communication Number Qualifier--> <PER03><!--Telephone-->TE</PER03> <!--Communication Number--> <PER04>314-555-2345</PER04> <!--Communication Number Qualifier--> <PER05><!--Facsimile-->FX</PER05> <!--Communication Number--> <PER06>314-555-1234</PER06> <!--Communication Number Qualifier--> <PER07><!--Electronic Mail-->EM</PER07> <!--Communication Number--> <PER08>contact.name@supplier.com</PER08> </PER> </N1Loop1> <N1Loop1 type="Loop"> <!--Party Identification--> <N1 type="Segment"> <!--Entity Identifier Code--> <N101><!--Sold To If Different From Bill To-->SO</N101> <!--Name--> <N102>EMERSON DIVISION NAME</N102> <!--Identification Code Qualifier--> <N103><!--Code assigned by the organization originating the transaction set-->93</N103> <!--Identification Code--> <N104>160SO</N104> </N1> <!--Additional Name Information--> <N2 type="Segment"> <!--Name--> <N201>SOLD-TO NAME CONTINUED</N201> </N2> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>SO ADDRESS LINE 1</N301> <!--Address Information--> <N302>SO ADDRESS LINE 2</N302> </N3> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>SO ADDRESS LINE 3</N301> <!--Address Information--> <N302>SO ADDRESS LINE 4</N302> </N3> <!--Geographic Location--> <N4 type="Segment"> <!--City Name--> <N401>SAINT LOUIS</N401> <!--State or Province Code--> <N402 xsi:nil="true"/> <!--Postal Code--> <N403>63136</N403> <!--Country Code--> <N404>US</N404> <!--Location Qualifier--> <N405><!--Sender's Location Code-->93</N405> <!--Location Identifier--> <N406>X160SO</N406> <!--Country Subdivision Code--> <N407>MO</N407> </N4> <!--Administrative Communications Contact--> <PER type="Segment"> <!--Contact Function Code--> <PER01><!--Buyer Name or Department-->BD</PER01> <!--Name--> <PER02>Sold-To Contact Name</PER02> <!--Communication Number Qualifier--> <PER03><!--Telephone-->TE</PER03> <!--Communication Number--> <PER04>314-555-4567</PER04> <!--Communication Number Qualifier--> <PER05><!--Facsimile-->FX</PER05> <!--Communication Number--> <PER06>314-555-3456</PER06> <!--Communication Number Qualifier--> <PER07><!--Electronic Mail-->EM</PER07> <!--Communication Number--> <PER08>contact.name@soldto.com</PER08> </PER> </N1Loop1> <N1Loop1 type="Loop"> <!--Party Identification--> <N1 type="Segment"> <!--Entity Identifier Code--> <N101><!--Bill-to-Party-->BT</N101> <!--Name--> <N102>EMERSON DIVISION NAME</N102> <!--Identification Code Qualifier--> <N103><!--Code assigned by the organization originating the transaction set-->93</N103> <!--Identification Code--> <N104>160BT</N104> </N1> <!--Additional Name Information--> <N2 type="Segment"> <!--Name--> <N201>BILL-TO NAME CONTINUED</N201> </N2> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>BT ADDRESS LINE 1</N301> <!--Address Information--> <N302>BT ADDRESS LINE 2</N302> </N3> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>BT ADDRESS LINE 3</N301> <!--Address Information--> <N302>BT ADDRESS LINE 4</N302> </N3> <!--Geographic Location--> <N4 type="Segment"> <!--City Name--> <N401>SAINT CHARLES</N401> <!--State or Province Code--> <N402 xsi:nil="true"/> <!--Postal Code--> <N403>63104</N403> <!--Country Code--> <N404>US</N404> <!--Location Qualifier--> <N405><!--Sender's Location Code-->93</N405> <!--Location Identifier--> <N406>X160BT</N406> <!--Country Subdivision Code--> <N407>MO</N407> </N4> <!--Administrative Communications Contact--> <PER type="Segment"> <!--Contact Function Code--> <PER01><!--Buyer Name or Department-->BD</PER01> <!--Name--> <PER02>BillTo Contact Name</PER02> <!--Communication Number Qualifier--> <PER03><!--Telephone-->TE</PER03> <!--Communication Number--> <PER04>314-555-6789</PER04> <!--Communication Number Qualifier--> <PER05><!--Facsimile-->FX</PER05> <!--Communication Number--> <PER06>314-555-5678</PER06> <!--Communication Number Qualifier--> <PER07><!--Electronic Mail-->EM</PER07> <!--Communication Number--> <PER08>contact.name@billto.com</PER08> </PER> </N1Loop1> <N1Loop1 type="Loop"> <!--Party Identification--> <N1 type="Segment"> <!--Entity Identifier Code--> <N101><!--Carrier-->CA</N101> <!--Name--> <N102>FED EX</N102> </N1> </N1Loop1> <PO1Loop1 type="Loop"> <!--Baseline Item Data--> <PO1 type="Segment"> <!--Assigned Identification--> <PO101>1</PO101> <!--Quantity--> <PO102>5</PO102> <!--Unit or Basis for Measurement Code--> <PO103><!--Each-->EA</PO103> <!--Unit Price--> <PO104>3.15</PO104> <!--Basis of Unit Price Code--> <PO105><!--Price per Unit of Measure-->UM</PO105> <!--Product/Service ID Qualifier--> <PO106><!--Stock Number-->SW</PO106> <!--Product/Service ID--> <PO107>EMR456789</PO107> <!--Product/Service ID Qualifier--> <PO108><!--Vendor's Specification Number-->VX</PO108> <!--Product/Service ID--> <PO109>SUPP456789</PO109> <!--Product/Service ID Qualifier--> <PO110><!--Buyer's Engineering Change Level Number-->BE</PO110> <!--Product/Service ID--> <PO111>1.1</PO111> </PO1> <PIDLoop1 type="Loop"> <!--Product/Item Description--> <PID type="Segment"> <!--Item Description Type--> <PID01>F</PID01> <!--Product/Process Characteristic Code--> <PID02/> <!--Agency Qualifier Code--> <PID03/> <!--Product Description Code--> <PID04 xsi:nil="true"/> <!--Description--> <PID05>EMERSON ITEM DESCRIPTION TEXT</PID05> </PID> <!--Measurements--> <MEA type="Segment"> <!--Measurement Reference ID Code--> <MEA01><!--Weights-->WT</MEA01> <!--Measurement Qualifier--> <MEA02><!--Weight per Unit-->U</MEA02> <!--Measurement Value--> <MEA03>50</MEA03> <!--Composite Unit of Measure--> <MEA04 type="Composite"> <!--Unit or Basis for Measurement Code--> <MEA0401><!--Pound-->LB</MEA0401> </MEA04> </MEA> </PIDLoop1> <!--Commodity--> <TC2 type="Segment"> <!--Commodity Code Qualifier--> <TC201><!--Harmonized Tariff Schedule of the United States Annotated-->A</TC201> <!--Commodity Code--> <TC202>HTS123</TC202> </TC2> <!--Commodity--> <TC2 type="Segment"> <!--Commodity Code Qualifier--> <TC201><!--Mutually defined-->Z</TC201> <!--Commodity Code--> <TC202>E122</TC202> </TC2> <!--Carrier Details (Special Handling, or Hazardous Materials, or Both)--> <TD4 type="Segment"> <!--Special Handling Code--> <TD401><!--Hazardous Cargo-->HAZ</TD401> <!--Hazardous Material Code Qualifier--> <TD402/> <!--Hazardous Material Class Code--> <TD403 xsi:nil="true"/> <!--Description--> <TD404>Hazardous Class Description Text</TD404> </TD4> <!--Text--> <MTX type="Segment"> <!--Note Reference Code--> <MTX01><!--Order Instructions-->ORI</MTX01> <!--Textual Data--> <MTX02>DETAIL LINE INSTRUCTIONS TO SUPPLIER</MTX02> <!--Textual Data--> <MTX03>DETAIL LINE INSTRUCTIONS TO SUPPLIER, CONTINUED IF NEEDED</MTX03> </MTX> <!--Tax Information--> <TXI type="Segment"> <!--Tax Type Code--> <TXI01><!--Mutually Defined-->ZZ</TXI01> <!--Monetary Amount--> <TXI02 xsi:nil="true"/> <!--Percentage as Decimal--> <TXI03 xsi:nil="true"/> <!--Tax Jurisdiction Code Qualifier--> <TXI04/> <!--Tax Jurisdiction Code--> <TXI05 xsi:nil="true"/> <!--Tax Exempt Code--> <TXI06><!--Yes (Tax Exempt)-->1</TXI06> </TXI> <N1Loop3 type="Loop"> <!--Party Identification--> <N1 type="Segment"> <!--Entity Identifier Code--> <N101><!--Ship To-->ST</N101> <!--Name--> <N102>EMERSON DIVISION NAME</N102> <!--Identification Code Qualifier--> <N103><!--Code assigned by the organization originating the transaction set-->93</N103> <!--Identification Code--> <N104>160ST</N104> </N1> <!--Additional Name Information--> <N2 type="Segment"> <!--Name--> <N201>SHIP-TO NAME CONTINUED</N201> </N2> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>ST ADDRESS LINE 1</N301> <!--Address Information--> <N302>ST ADDRESS LINE 2</N302> </N3> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>ST ADDRESS LINE 3</N301> <!--Address Information--> <N302>ST ADDRESS LINE 4</N302> </N3> <!--Geographic Location--> <N4 type="Segment"> <!--City Name--> <N401>SAINT PETERS</N401> <!--State or Province Code--> <N402 xsi:nil="true"/> <!--Postal Code--> <N403>63376</N403> <!--Country Code--> <N404>US</N404> <!--Location Qualifier--> <N405><!--Sender's Location Code-->93</N405> <!--Location Identifier--> <N406>X160ST</N406> <!--Country Subdivision Code--> <N407>MO</N407> </N4> <!--Reference Information--> <REF type="Segment"> <!--Reference Identification Qualifier--> <REF01><!--Shipment Destination Code-->4C</REF01> <!--Reference Identification--> <REF02>Location123</REF02> </REF> <!--Reference Information--> <REF type="Segment"> <!--Reference Identification Qualifier--> <REF01><!--Ending Kanban Serial Number-->KE</REF01> <!--Reference Identification--> <REF02>Kanban456</REF02> </REF> <!--Administrative Communications Contact--> <PER type="Segment"> <!--Contact Function Code--> <PER01><!--Buyer Name or Department-->BD</PER01> <!--Name--> <PER02>Ship-To Contact Name</PER02> <!--Communication Number Qualifier--> <PER03><!--Telephone-->TE</PER03> <!--Communication Number--> <PER04>636-555-1234</PER04> <!--Communication Number Qualifier--> <PER05><!--Facsimile-->FX</PER05> <!--Communication Number--> <PER06>636-555-2345</PER06> <!--Communication Number Qualifier--> <PER07><!--Electronic Mail-->EM</PER07> <!--Communication Number--> <PER08>contact.name@shipto.com</PER08> </PER> <!--Administrative Communications Contact--> <PER type="Segment"> <!--Contact Function Code--> <PER01><!--Requestor-->RQ</PER01> <!--Name--> <PER02>Buyer Name</PER02> </PER> <!--Line Item Schedule--> <SCH type="Segment"> <!--Quantity--> <SCH01>5</SCH01> <!--Unit or Basis for Measurement Code--> <SCH02><!--Each-->EA</SCH02> <!--Entity Identifier Code--> <SCH03/> <!--Name--> <SCH04 xsi:nil="true"/> <!--Date/Time Qualifier--> <SCH05><!--Buyers Dock-->112</SCH05> <!--Date--> <SCH06>20081210</SCH06> <!--Time--> <SCH07 xsi:nil="true"/> <!--Date/Time Qualifier--> <SCH08><!--Requested Ship-->010</SCH08> <!--Date--> <SCH09>20081209</SCH09> <!--Time--> <SCH10 xsi:nil="true"/> <!--Request Reference Number--> <SCH11 xsi:nil="true"/> <!--Assigned Identification--> <SCH12>1S</SCH12> </SCH> </N1Loop3> </PO1Loop1> <PO1Loop1 type="Loop"> <!--Baseline Item Data--> <PO1 type="Segment"> <!--Assigned Identification--> <PO101>2</PO101> <!--Quantity--> <PO102>10</PO102> <!--Unit or Basis for Measurement Code--> <PO103><!--Each-->EA</PO103> <!--Unit Price--> <PO104>5.25</PO104> <!--Basis of Unit Price Code--> <PO105><!--Price per Unit of Measure-->UM</PO105> <!--Product/Service ID Qualifier--> <PO106><!--Stock Number-->SW</PO106> <!--Product/Service ID--> <PO107>EMR567890</PO107> <!--Product/Service ID Qualifier--> <PO108><!--Vendor's Specification Number-->VX</PO108> <!--Product/Service ID--> <PO109>SUPP567890</PO109> <!--Product/Service ID Qualifier--> <PO110><!--Buyer's Engineering Change Level Number-->BE</PO110> <!--Product/Service ID--> <PO111>2.2</PO111> </PO1> <PIDLoop1 type="Loop"> <!--Product/Item Description--> <PID type="Segment"> <!--Item Description Type--> <PID01>F</PID01> <!--Product/Process Characteristic Code--> <PID02/> <!--Agency Qualifier Code--> <PID03/> <!--Product Description Code--> <PID04 xsi:nil="true"/> <!--Description--> <PID05>EMERSON ITEM DESCRIPTION TEXT</PID05> </PID> <!--Measurements--> <MEA type="Segment"> <!--Measurement Reference ID Code--> <MEA01><!--Weights-->WT</MEA01> <!--Measurement Qualifier--> <MEA02><!--Weight per Unit-->U</MEA02> <!--Measurement Value--> <MEA03>12</MEA03> <!--Composite Unit of Measure--> <MEA04 type="Composite"> <!--Unit or Basis for Measurement Code--> <MEA0401><!--Pound-->LB</MEA0401> </MEA04> </MEA> </PIDLoop1> <!--Commodity--> <TC2 type="Segment"> <!--Commodity Code Qualifier--> <TC201><!--Harmonized Tariff Schedule of the United States Annotated-->A</TC201> <!--Commodity Code--> <TC202>HTS123</TC202> </TC2> <!--Commodity--> <TC2 type="Segment"> <!--Commodity Code Qualifier--> <TC201><!--Mutually defined-->Z</TC201> <!--Commodity Code--> <TC202>E122</TC202> </TC2> <!--Carrier Details (Special Handling, or Hazardous Materials, or Both)--> <TD4 type="Segment"> <!--Special Handling Code--> <TD401><!--Hazardous Cargo-->HAZ</TD401> <!--Hazardous Material Code Qualifier--> <TD402/> <!--Hazardous Material Class Code--> <TD403 xsi:nil="true"/> <!--Description--> <TD404>Hazardous Class Description Text</TD404> </TD4> <!--Text--> <MTX type="Segment"> <!--Note Reference Code--> <MTX01><!--Order Instructions-->ORI</MTX01> <!--Textual Data--> <MTX02>DETAIL LINE INSTRUCTIONS TO SUPPLIER</MTX02> <!--Textual Data--> <MTX03>DETAIL LINE INSTRUCTIONS TO SUPPLIER, CONTINUED IF NEEDED</MTX03> </MTX> <!--Tax Information--> <TXI type="Segment"> <!--Tax Type Code--> <TXI01><!--Mutually Defined-->ZZ</TXI01> <!--Monetary Amount--> <TXI02 xsi:nil="true"/> <!--Percentage as Decimal--> <TXI03 xsi:nil="true"/> <!--Tax Jurisdiction Code Qualifier--> <TXI04/> <!--Tax Jurisdiction Code--> <TXI05 xsi:nil="true"/> <!--Tax Exempt Code--> <TXI06><!--Yes (Tax Exempt)-->1</TXI06> </TXI> <N1Loop3 type="Loop"> <!--Party Identification--> <N1 type="Segment"> <!--Entity Identifier Code--> <N101><!--Ship To-->ST</N101> <!--Name--> <N102>EMERSON DIVISION NAME</N102> <!--Identification Code Qualifier--> <N103><!--Code assigned by the organization originating the transaction set-->93</N103> <!--Identification Code--> <N104>160ST</N104> </N1> <!--Additional Name Information--> <N2 type="Segment"> <!--Name--> <N201>SHIP-TO NAME CONTINUED</N201> </N2> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>ST ADDRESS LINE 1</N301> <!--Address Information--> <N302>ST ADDRESS LINE 2</N302> </N3> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>ST ADDRESS LINE 3</N301> <!--Address Information--> <N302>ST ADDRESS LINE 4</N302> </N3> <!--Geographic Location--> <N4 type="Segment"> <!--City Name--> <N401>SAINT PETERS</N401> <!--State or Province Code--> <N402 xsi:nil="true"/> <!--Postal Code--> <N403>63376</N403> <!--Country Code--> <N404>US</N404> <!--Location Qualifier--> <N405><!--Sender's Location Code-->93</N405> <!--Location Identifier--> <N406>X160ST</N406> <!--Country Subdivision Code--> <N407>MO</N407> </N4> <!--Reference Information--> <REF type="Segment"> <!--Reference Identification Qualifier--> <REF01><!--Shipment Destination Code-->4C</REF01> <!--Reference Identification--> <REF02>Location123</REF02> </REF> <!--Reference Information--> <REF type="Segment"> <!--Reference Identification Qualifier--> <REF01><!--Ending Kanban Serial Number-->KE</REF01> <!--Reference Identification--> <REF02>Kanban456</REF02> </REF> <!--Administrative Communications Contact--> <PER type="Segment"> <!--Contact Function Code--> <PER01><!--Buyer Name or Department-->BD</PER01> <!--Name--> <PER02>Ship-To Contact Name</PER02> <!--Communication Number Qualifier--> <PER03><!--Telephone-->TE</PER03> <!--Communication Number--> <PER04>636-555-1234</PER04> <!--Communication Number Qualifier--> <PER05><!--Facsimile-->FX</PER05> <!--Communication Number--> <PER06>636-555-2345</PER06> <!--Communication Number Qualifier--> <PER07><!--Electronic Mail-->EM</PER07> <!--Communication Number--> <PER08>contact.name@shipto.com</PER08> </PER> <!--Administrative Communications Contact--> <PER type="Segment"> <!--Contact Function Code--> <PER01><!--Requestor-->RQ</PER01> <!--Name--> <PER02>Buyer Name</PER02> </PER> <!--Line Item Schedule--> <SCH type="Segment"> <!--Quantity--> <SCH01>7</SCH01> <!--Unit or Basis for Measurement Code--> <SCH02><!--Each-->EA</SCH02> <!--Entity Identifier Code--> <SCH03/> <!--Name--> <SCH04 xsi:nil="true"/> <!--Date/Time Qualifier--> <SCH05><!--Buyers Dock-->112</SCH05> <!--Date--> <SCH06>20081215</SCH06> <!--Time--> <SCH07 xsi:nil="true"/> <!--Date/Time Qualifier--> <SCH08/> <!--Date--> <SCH09 xsi:nil="true"/> <!--Time--> <SCH10 xsi:nil="true"/> <!--Request Reference Number--> <SCH11 xsi:nil="true"/> <!--Assigned Identification--> <SCH12>2S1</SCH12> </SCH> </N1Loop3> <N1Loop3 type="Loop"> <!--Party Identification--> <N1 type="Segment"> <!--Entity Identifier Code--> <N101><!--Ship To-->ST</N101> <!--Name--> <N102>EMERSON DIVISION NAME</N102> <!--Identification Code Qualifier--> <N103><!--Code assigned by the organization originating the transaction set-->93</N103> <!--Identification Code--> <N104>160ST</N104> </N1> <!--Additional Name Information--> <N2 type="Segment"> <!--Name--> <N201>SHIP-TO NAME CONTINUED</N201> </N2> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>ST ADDRESS LINE 1</N301> <!--Address Information--> <N302>ST ADDRESS LINE 2</N302> </N3> <!--Party Location--> <N3 type="Segment"> <!--Address Information--> <N301>ST ADDRESS LINE 3</N301> <!--Address Information--> <N302>ST ADDRESS LINE 4</N302> </N3> <!--Geographic Location--> <N4 type="Segment"> <!--City Name--> <N401>SAINT PETERS</N401> <!--State or Province Code--> <N402 xsi:nil="true"/> <!--Postal Code--> <N403>63376</N403> <!--Country Code--> <N404>US</N404> <!--Location Qualifier--> <N405><!--Sender's Location Code-->93</N405> <!--Location Identifier--> <N406>X160ST</N406> <!--Country Subdivision Code--> <N407>MO</N407> </N4> <!--Reference Information--> <REF type="Segment"> <!--Reference Identification Qualifier--> <REF01><!--Shipment Destination Code-->4C</REF01> <!--Reference Identification--> <REF02>Location123</REF02> </REF> <!--Reference Information--> <REF type="Segment"> <!--Reference Identification Qualifier--> <REF01><!--Ending Kanban Serial Number-->KE</REF01> <!--Reference Identification--> <REF02>Kanban456</REF02> </REF> <!--Administrative Communications Contact--> <PER type="Segment"> <!--Contact Function Code--> <PER01><!--Buyer Name or Department-->BD</PER01> <!--Name--> <PER02>Ship-To Contact Name</PER02> <!--Communication Number Qualifier--> <PER03><!--Telephone-->TE</PER03> <!--Communication Number--> <PER04>636-555-1234</PER04> <!--Communication Number Qualifier--> <PER05><!--Facsimile-->FX</PER05> <!--Communication Number--> <PER06>636-555-2345</PER06> <!--Communication Number Qualifier--> <PER07><!--Electronic Mail-->EM</PER07> <!--Communication Number--> <PER08>contact.name@shipto.com</PER08> </PER> <!--Administrative Communications Contact--> <PER type="Segment"> <!--Contact Function Code--> <PER01><!--Requestor-->RQ</PER01> <!--Name--> <PER02>Buyer Name</PER02> </PER> <!--Line Item Schedule--> <SCH type="Segment"> <!--Quantity--> <SCH01>3</SCH01> <!--Unit or Basis for Measurement Code--> <SCH02><!--Each-->EA</SCH02> <!--Entity Identifier Code--> <SCH03/> <!--Name--> <SCH04 xsi:nil="true"/> <!--Date/Time Qualifier--> <SCH05><!--Buyers Dock-->112</SCH05> <!--Date--> <SCH06>20081220</SCH06> <!--Time--> <SCH07 xsi:nil="true"/> <!--Date/Time Qualifier--> <SCH08/> <!--Date--> <SCH09 xsi:nil="true"/> <!--Time--> <SCH10 xsi:nil="true"/> <!--Request Reference Number--> <SCH11 xsi:nil="true"/> <!--Assigned Identification--> <SCH12>2S2</SCH12> </SCH> </N1Loop3> </PO1Loop1> <CTTLoop1 type="Loop"> <!--Transaction Totals--> <CTT type="Segment"> <!--Number of Line Items--> <CTT01>1</CTT01> </CTT> </CTTLoop1> </TX-00502-850> </TransactionSet> </FunctionalGroup> </Interchange> |
转换后的XML文件中,可以直观的看到业务含义与业务数据的对应关系。至此我们成功实现了格式转换。知行之桥EDI系统还支持将上述XML文件进一步转换为 Excel、CSV、Json以及数据库XML等格式的文件,支持与企业内部业务系统集成,从而最大程度上实现数据的自动化处理。
扩展阅读:Emerson EDI官网获取EDI规范以及EDI示例报文
更多 EDI 信息,请参阅: EDI 是什么?
注:文案部分图片及内容来源于网络,版权归原创作者所有,如有侵犯到您的权益,请您联系我们进行删除,给您带来困扰,我们深感抱歉。