Smooks的EDI协议映射文件,谁有现成的贡献一下(销售订单、采购订单、仓库以及配送方面的)

13-01-23 clonalman
网上找了半天都没有发现Smooks (V1.5.1)的EDI转化的文件,研究了EDI214与EDI945的协议,先发两个配送的,抛砖引玉,谁手上有现成的能贡献一下吗?(订单数据交换、仓库数据交换的)

    

clonalman
2013-01-23 22:35
<?xml version="1.0" encoding="UTF-8"?>

<medi:edimap xmlns:medi="http://www.milyn.org/schema/edi-message-mapping-1.3.xsd">

<medi:description name="EDI214 mapping" version="1.0" />

<medi:delimiters segment=" " field="*" component="^" sub-component="~" />

<medi:segments xmltag="EDI">

<medi:segment segcode="ISA" xmltag="ISA">

<medi:field xmltag="ISA01" minLength="2" maxLength="2" />

<medi:field xmltag="ISA02" minLength="10" maxLength="10" />

<medi:field xmltag="ISA03" minLength="2" maxLength="2" />

<medi:field xmltag="ISA04" minLength="10" maxLength="10" />

<medi:field xmltag="ISA05" minLength="2" maxLength="2" />

<medi:field xmltag="ISA06" minLength="15" maxLength="15" />

<medi:field xmltag="ISA07" minLength="2" maxLength="2" />

<medi:field xmltag="ISA08" minLength="15" maxLength="15" />

<medi:field xmltag="ISA09" minLength="6" maxLength="6" />

<medi:field xmltag="ISA10" minLength="4" maxLength="4" />

<medi:field xmltag="ISA11" minLength="1" maxLength="1" />

<medi:field xmltag="ISA12" minLength="5" maxLength="5" />

<medi:field xmltag="ISA13" minLength="9" maxLength="9" />

<medi:field xmltag="ISA14" minLength="1" maxLength="1" />

<medi:field xmltag="ISA15" minLength="1" maxLength="1" />

<medi:field xmltag="ISA16" minLength="1" maxLength="1" />

</medi:segment>

<medi:segmentGroup xmltag="GS-GE" minOccurs="1" maxOccurs="1">

<medi:segment segcode="GS" xmltag="GS" minOccurs="1" maxOccurs="1">

<medi:field xmltag="GS01" minLength="2" maxLength="2" />

<medi:field xmltag="GS02" minLength="2" maxLength="15" />

<medi:field xmltag="GS03" minLength="2" maxLength="15" />

<medi:field xmltag="GS04" minLength="8" maxLength="8" />

<medi:field xmltag="GS05" minLength="4" maxLength="8" />

<medi:field xmltag="GS06" minLength="1" maxLength="9" />

<medi:field xmltag="GS07" minLength="1" maxLength="2" />

<medi:field xmltag="GS08" minLength="1" maxLength="12" />

</medi:segment>

<medi:segmentGroup xmltag="ST-SE" minOccurs="0" maxOccurs="9999">

<medi:segment segcode="ST" xmltag="ST">

<medi:field xmltag="ST01" minLength="3" maxLength="3" />

<medi:field xmltag="ST02" minLength="4" maxLength="9" />

</medi:segment>

<medi:segment segcode="B10" xmltag="B10" truncatable="true">

<medi:field xmltag="B1001" minLength="1" maxLength="30" />

<medi:field xmltag="B1002" minLength="1" maxLength="30" />

<medi:field xmltag="B1003" minLength="2" maxLength="4" />

<medi:field xmltag="B1004" minLength="1" maxLength="3" truncatable="true" />

<medi:field xmltag="B1005" minLength="2" maxLength="3" truncatable="true" />

<medi:field xmltag="B1006" minLength="1" maxLength="30" truncatable="true" />

<medi:field xmltag="B1007" minLength="1" maxLength="1" truncatable="true" />

</medi:segment>

<medi:segment segcode="L11" xmltag="L11" truncatable="true">

<medi:field xmltag="L1101" minLength="1" maxLength="30" />

<medi:field xmltag="L1102" minLength="2" maxLength="3" />

<medi:field xmltag="L1103" minLength="1" maxLength="80" truncatable="true"/>

</medi:segment>

<medi:segment segcode="N1" xmltag="N1" minOccurs="0" truncatable="true">

<medi:field xmltag="N101" minLength="2" maxLength="3" />

<medi:field xmltag="N102" minLength="1" maxLength="60" />

<medi:field xmltag="N103" minLength="1" maxLength="2" />

<medi:field xmltag="N104" minLength="2" maxLength="80" />

<medi:field xmltag="N105" minLength="2" maxLength="2" truncatable="true" />

<medi:field xmltag="N106" minLength="2" maxLength="3" truncatable="true" />

</medi:segment>

<medi:segment segcode="N2" xmltag="N2" minOccurs="0">

<medi:field xmltag="N201" minLength="1" maxLength="60" />

<medi:field xmltag="N202" minLength="1" maxLength="60" />

</medi:segment>

<medi:segment segcode="N3" xmltag="N3" minOccurs="0">

<medi:field xmltag="N301" minLength="1" maxLength="55" />

<medi:field xmltag="N302" minLength="1" maxLength="55" />

</medi:segment>

<medi:segment segcode="N4" xmltag="N4" minOccurs="0">

<medi:field xmltag="N401" minLength="2" maxLength="30" />

<medi:field xmltag="N402" minLength="2" maxLength="2" />

<medi:field xmltag="N403" minLength="3" maxLength="15" />

<medi:field xmltag="N404" minLength="2" maxLength="3" />

<medi:field xmltag="N405" minLength="1" maxLength="2" />

<medi:field xmltag="N406" minLength="1" maxLength="30" />

</medi:segment>

<medi:segment segcode="G61" xmltag="G61" minOccurs="0">

<medi:field xmltag="G6101" minLength="2" maxLength="2" />

<medi:field xmltag="G6102" minLength="1" maxLength="60" />

<medi:field xmltag="G6103" minLength="2" maxLength="2" />

<medi:field xmltag="G6104" minLength="1" maxLength="80" />

<medi:field xmltag="G6105" minLength="1" maxLength="20" />

</medi:segment>

<medi:segment segcode="G62" xmltag="G62" minOccurs="0">

<medi:field xmltag="G6201" minLength="2" maxLength="2" />

<medi:field xmltag="G6202" minLength="8" maxLength="8" />

<medi:field xmltag="G6203" minLength="1" maxLength="2" />

<medi:field xmltag="G6204" minLength="4" maxLength="8" />

<medi:field xmltag="G6205" minLength="2" maxLength="2" />

</medi:segment>

<medi:segment segcode="LX" xmltag="LX" minOccurs="0">

<medi:field xmltag="LX01" minLength="1" maxLength="6" />

</medi:segment>

clonalman
2013-01-23 22:36

<medi:segment segcode="AT7" xmltag="AT7" minOccurs="0">

<medi:field xmltag="AT701" minLength="2" maxLength="2" />

<medi:field xmltag="AT702" minLength="2" maxLength="2" />

<medi:field xmltag="AT703" minLength="2" maxLength="2" />

<medi:field xmltag="AT704" minLength="2" maxLength="2" />

<medi:field xmltag="AT705" minLength="8" maxLength="8" />

<medi:field xmltag="AT706" minLength="4" maxLength="8" />

<medi:field xmltag="AT707" minLength="2" maxLength="2" />

</medi:segment>

<medi:segment segcode="MS1" xmltag="MS1" minOccurs="0" truncatable="true">

<medi:field xmltag="MS101" minLength="2" maxLength="30" />

<medi:field xmltag="MS102" minLength="2" maxLength="2" />

<medi:field xmltag="MS103" minLength="2" maxLength="3" />

<medi:field xmltag="MS104" minLength="7" maxLength="7" truncatable="true" />

<medi:field xmltag="MS105" minLength="7" maxLength="7" truncatable="true" />

<medi:field xmltag="MS106" minLength="1" maxLength="1" truncatable="true" />

<medi:field xmltag="MS107" minLength="1" maxLength="1" truncatable="true" />

</medi:segment>

<medi:segment segcode="MS2" xmltag="MS2" minOccurs="0">

<medi:field xmltag="MS201" minLength="2" maxLength="4" />

<medi:field xmltag="MS202" minLength="1" maxLength="10" />

<medi:field xmltag="MS203" minLength="2" maxLength="2" />

<medi:field xmltag="MS204" minLength="1" maxLength="1" />

</medi:segment>

<medi:segment segcode="L11" xmltag="L11" minOccurs="0">

<medi:field xmltag="L1101" minLength="1" maxLength="30" />

<medi:field xmltag="L1102" minLength="2" maxLength="3" />

<medi:field xmltag="L1103" minLength="1" maxLength="80" />

</medi:segment>

<medi:segment segcode="Q7" xmltag="Q7" minOccurs="0">

<medi:field xmltag="Q701" minLength="1" maxLength="1" />

<medi:field xmltag="Q702" minLength="3" maxLength="3" />

<medi:field xmltag="Q703" minLength="1" maxLength="7" />

</medi:segment>

<medi:segment segcode="K1" xmltag="K1" minOccurs="0">

<medi:field xmltag="K101" minLength="1" maxLength="30" />

<medi:field xmltag="K102" minLength="1" maxLength="30" />

</medi:segment>

<medi:segment segcode="AT8" xmltag="AT8" minOccurs="0">

<medi:field xmltag="AT801" minLength="1" maxLength="2" />

<medi:field xmltag="AT802" minLength="1" maxLength="1" />

<medi:field xmltag="AT803" minLength="1" maxLength="10" />

<medi:field xmltag="AT804" minLength="1" maxLength="7" />

<medi:field xmltag="AT805" minLength="1" maxLength="7" />

<medi:field xmltag="AT806" minLength="1" maxLength="1" />

<medi:field xmltag="AT807" minLength="1" maxLength="8" />

</medi:segment>

<medi:segment segcode="CD3" xmltag="CD3" minOccurs="0" truncatable="true">

<medi:field xmltag="CD301" minLength="1" maxLength="2" />

<medi:field xmltag="CD302" minLength="1" maxLength="10" type="Double" />

<medi:field xmltag="CD303" minLength="2" maxLength="3" />

<medi:field xmltag="CD304" minLength="1" maxLength="4" type="Integer" />

<medi:field xmltag="CD305" minLength="2" maxLength="2" />

<medi:field xmltag="CD306" minLength="1" maxLength="2" truncatable="true"/>

<medi:field xmltag="CD307" minLength="2" maxLength="2" truncatable="true" />

<medi:field xmltag="CD308" minLength="1" maxLength="12" type="Integer" truncatable="true" />

<medi:field xmltag="CD309" minLength="2" maxLength="2" truncatable="true" />

<medi:field xmltag="CD310" minLength="1" maxLength="12" type="Integer" truncatable="true" />

<medi:field xmltag="CD311" minLength="2" maxLength="2" truncatable="true" />

<medi:field xmltag="CD312" minLength="2" maxLength="2" truncatable="true" />

<medi:field xmltag="CD313" minLength="3" maxLength="3" truncatable="true" />

<medi:field xmltag="CD314" minLength="2" maxLength="3" truncatable="true" />

</medi:segment>

<medi:segment segcode="NM1" xmltag="NM1" minOccurs="0" truncatable="true">

<medi:field xmltag="NM101" minLength="2" maxLength="3" />

<medi:field xmltag="NM102" minLength="1" maxLength="1" />

<medi:field xmltag="NM103" minLength="1" maxLength="35" />

<medi:field xmltag="NM104" minLength="1" maxLength="25" truncatable="true" />

<medi:field xmltag="NM105" minLength="1" maxLength="25" truncatable="true" />

<medi:field xmltag="NM106" minLength="1" maxLength="10" truncatable="true" />

<medi:field xmltag="NM107" minLength="1" maxLength="10" truncatable="true" />

<medi:field xmltag="NM108" minLength="1" maxLength="2" truncatable="true" />

<medi:field xmltag="NM109" minLength="2" maxLength="80" truncatable="true" />

<medi:field xmltag="NM110" minLength="2" maxLength="2" truncatable="true" />

<medi:field xmltag="NM111" minLength="2" maxLength="3" truncatable="true" />

</medi:segment>

<medi:segment segcode="SE" xmltag="SE">

<medi:field xmltag="SE01" minLength="1" maxLength="10" />

<medi:field xmltag="SE02" minLength="4" maxLength="9" />

</medi:segment>

</medi:segmentGroup>

<medi:segment segcode="GE" xmltag="GE" minOccurs="1" maxOccurs="1">

<medi:field xmltag="GE01" minLength="1" maxLength="6" type="Integer" />

<medi:field xmltag="GE02" minLength="1" maxLength="9" type="Long" />

</medi:segment>

</medi:segmentGroup>

<medi:segment segcode="IEA" xmltag="IEA">

<medi:field xmltag="IEA01" minLength="1" maxLength="5" />

<medi:field xmltag="IEA02" minLength="9" maxLength="9" />

</medi:segment>

</medi:segments>

</medi:edimap>

clonalman
2013-01-23 22:37
<?xml version="1.0" encoding="UTF-8"?>

<medi:edimap xmlns:medi="http://www.milyn.org/schema/edi-message-mapping-1.3.xsd">

<medi:description name="EDI945 mapping" version="1.0" />

<medi:delimiters segment=" " field="*" component="^" sub-component="~" />

<medi:segments xmltag="Edi945">

<medi:segment segcode="ISA" xmltag="ISA">

<medi:field xmltag="ISA01" minLength="2" maxLength="2" />

<medi:field xmltag="ISA02" minLength="10" maxLength="10" />

<medi:field xmltag="ISA03" minLength="2" maxLength="2" />

<medi:field xmltag="ISA04" minLength="10" maxLength="10" />

<medi:field xmltag="ISA05" minLength="2" maxLength="2" />

<medi:field xmltag="ISA06" minLength="15" maxLength="15" />

<medi:field xmltag="ISA07" minLength="2" maxLength="2" />

<medi:field xmltag="ISA08" minLength="15" maxLength="15" />

<medi:field xmltag="ISA09" minLength="8" maxLength="8" />

<medi:field xmltag="ISA10" minLength="6" maxLength="6" />

<medi:field xmltag="ISA11" minLength="1" maxLength="1" />

<medi:field xmltag="ISA12" minLength="5" maxLength="5" />

<medi:field xmltag="ISA13" minLength="9" maxLength="9" />

<medi:field xmltag="ISA14" minLength="1" maxLength="1" />

<medi:field xmltag="ISA15" minLength="1" maxLength="1" />

<medi:field xmltag="ISA16" minLength="1" maxLength="1" />

</medi:segment>

<medi:segmentGroup xmltag="GS-GE" minOccurs="1" maxOccurs="1">

<medi:segment segcode="GS" xmltag="GS" minOccurs="1" maxOccurs="1">

<medi:field xmltag="GS01" minLength="2" maxLength="2" />

<medi:field xmltag="GS02" minLength="2" maxLength="15" />

<medi:field xmltag="GS03" minLength="2" maxLength="15" />

<medi:field xmltag="GS04" minLength="8" maxLength="8" />

<medi:field xmltag="GS05" minLength="4" maxLength="8" />

<medi:field xmltag="GS06" minLength="1" maxLength="9" />

<medi:field xmltag="GS07" minLength="1" maxLength="2" />

<medi:field xmltag="GS08" minLength="1" maxLength="12" />

</medi:segment>

<medi:segmentGroup xmltag="ST-SE" minOccurs="0" maxOccurs="9999">

<medi:segment segcode="ST" xmltag="ST">

<medi:field xmltag="ST01" minLength="3" maxLength="3" />

<medi:field xmltag="ST02" minLength="4" maxLength="9" />

</medi:segment>

<medi:segment segcode="W06" xmltag="W06">

<medi:field xmltag="W0601" minLength="1" maxLength="1" />

<medi:field xmltag="W0602" minLength="1" maxLength="22" />

<medi:field xmltag="W0603" minLength="8" maxLength="8" />

<medi:field xmltag="W0604" minLength="1" maxLength="30" />

<medi:field xmltag="W0605" minLength="1" maxLength="12" />

</medi:segment>

<medi:segment segcode="N1" xmltag="N1" maxOccurs="1">

<medi:field xmltag="N101" minLength="2" maxLength="3" />

<medi:field xmltag="N102" minLength="1" maxLength="60" />

<medi:field xmltag="N103" minLength="1" maxLength="2" />

<medi:field xmltag="N104" minLength="2" maxLength="80" />

</medi:segment>

<medi:segment segcode="N9" xmltag="N9" minOccurs="0" maxOccurs="10">

<medi:field xmltag="N901" minLength="2" maxLength="3" />

<medi:field xmltag="N902" minLength="1" maxLength="30" />

</medi:segment>

<medi:segment segcode="G62" xmltag="G62" minOccurs="0" maxOccurs="5">

<medi:field xmltag="G6201" minLength="2" maxLength="2" />

<medi:field xmltag="G6202" minLength="8" maxLength="8" />

</medi:segment>

<medi:segment segcode="NTE" xmltag="NTE" minOccurs="0" maxOccurs="20">

<medi:field xmltag="NTE01" minLength="3" maxLength="3" />

<medi:field xmltag="NTE02" minLength="1" maxLength="80" />

</medi:segment>

<medi:segment segcode="LX" xmltag="LX" minOccurs="0" maxOccurs="1">

<medi:field xmltag="LX01" minLength="1" maxLength="6" />

</medi:segment>

clonalman
2013-01-23 22:38

<medi:segment segcode="MAN" xmltag="MAN" minOccurs="1" maxOccurs="99">

<medi:field xmltag="MAN01" minLength="1" maxLength="2" />

<medi:field xmltag="MAN02" minLength="1" maxLength="48" />

<medi:field xmltag="MAN03" minLength="1" maxLength="48" />

<medi:field xmltag="MAN04" minLength="1" maxLength="2" />

<medi:field xmltag="MAN05" minLength="1" maxLength="48" />

<medi:field xmltag="MAN06" minLength="1" maxLength="48" />

</medi:segment>

<medi:segment segcode="W12" xmltag="W12" minOccurs="0" truncatable="true">

<medi:field xmltag="W1201" minLength="2" maxLength="2" />

<medi:field xmltag="W1202" minLength="1" maxLength="15" truncatable="true" />

<medi:field xmltag="W1203" minLength="1" maxLength="10" />

<medi:field xmltag="W1204" minLength="1" maxLength="15" truncatable="true" />

<medi:field xmltag="W1205" minLength="2" maxLength="2" />

<medi:field xmltag="W1206" minLength="1" maxLength="15" truncatable="true" />

<medi:field xmltag="W1207" minLength="2" maxLength="2" />

<medi:field xmltag="W1208" minLength="1" maxLength="48" />

<medi:field xmltag="W1210" minLength="1" maxLength="10" />

<medi:field xmltag="W1211" minLength="1" maxLength="2" />

<medi:field xmltag="W1212" minLength="1" maxLength="1" />

<medi:field xmltag="W1213" minLength="1" maxLength="10" />

<medi:field xmltag="W1214" minLength="1" maxLength="2" />

<medi:field xmltag="W1215" minLength="1" maxLength="1" />

<medi:field xmltag="W1217" minLength="2" maxLength="2" />

<medi:field xmltag="W1218" minLength="1" maxLength="48"/>

<medi:field xmltag="W1221" minLength="2" maxLength="2"/>

<medi:field xmltag="W1222" minLength="1" maxLength="48"/>

</medi:segment>

<medi:segment segcode="G69" xmltag="G69" minOccurs="0" maxOccurs="5">

<medi:field xmltag="G6901" minLength="1" maxLength="45" />

</medi:segment>

<medi:segment segcode="N9" xmltag="N9" minOccurs="0" maxOccurs="200" truncatable="true">

<medi:field xmltag="N901" minLength="2" maxLength="3" />

<medi:field xmltag="N902" minLength="1" maxLength="30" />

<medi:field xmltag="N903" minLength="1" maxLength="45" truncatable="true" />

<medi:field xmltag="N907" truncatable="true" />

<medi:field xmltag="N907-01" minLength="2" maxLength="3" truncatable="true" />

<medi:field xmltag="N907-02" minLength="1" maxLength="30" truncatable="true" />

</medi:segment>

<medi:segment segcode="MEA" xmltag="MEA" minOccurs="0" maxOccurs="5">

<medi:field xmltag="MEA02" minLength="1" maxLength="3" />

<medi:field xmltag="MEA03" minLength="1" maxLength="20" />

<medi:field xmltag="MEA04" />

<medi:field xmltag="MEA04-01" minLength="2" maxLength="2" />

</medi:segment>

<medi:segment segcode="N1" xmltag="N1" minOccurs="0">

<medi:field xmltag="N101" minLength="2" maxLength="3" />

<medi:field xmltag="N102" minLength="1" maxLength="60" />

<medi:field xmltag="N103" minLength="1" maxLength="2" />

<medi:field xmltag="N104" minLength="2" maxLength="80" />

</medi:segment>

<medi:segment segcode="N2" xmltag="N2" minOccurs="0">

<medi:field xmltag="N201" minLength="1" maxLength="60" />

<medi:field xmltag="N202" minLength="1" maxLength="60" />

</medi:segment>

<medi:segment segcode="N3" xmltag="N3" minOccurs="0">

<medi:field xmltag="N301" minLength="1" maxLength="55" />

<medi:field xmltag="N302" minLength="1" maxLength="55" />

</medi:segment>

<medi:segment segcode="N4" xmltag="N4" minOccurs="0">

<medi:field xmltag="N401" minLength="2" maxLength="30" />

<medi:field xmltag="N402" minLength="2" maxLength="2" />

<medi:field xmltag="N403" minLength="3" maxLength="15" />

<medi:field xmltag="N404" minLength="2" maxLength="3" />

<medi:field xmltag="N405" minLength="1" maxLength="2" />

<medi:field xmltag="N406" minLength="1" maxLength="30" />

</medi:segment>

<medi:segment segcode="PER" xmltag="PER" minOccurs="0">

<medi:field xmltag="PER01" minLength="2" maxLength="2" />

<medi:field xmltag="PER02" minLength="1" maxLength="60" />

<medi:field xmltag="PER03" minLength="2" maxLength="2" />

<medi:field xmltag="PER04" minLength="1" maxLength="80" />

<medi:field xmltag="PER05" minLength="2" maxLength="2" />

<medi:field xmltag="PER06" minLength="1" maxLength="80" />

<medi:field xmltag="PER07" minLength="2" maxLength="2" />

<medi:field xmltag="PER08" minLength="1" maxLength="80" />

<medi:field xmltag="PER09" minLength="1" maxLength="20" />

</medi:segment>

<medi:segment segcode="W03" xmltag="W03" minOccurs="0">

<medi:field xmltag="W0301" minLength="1" maxLength="10" />

<medi:field xmltag="W0302" minLength="1" maxLength="10" />

<medi:field xmltag="W0303" minLength="2" maxLength="2" />

<medi:field xmltag="W0304" minLength="1" maxLength="8" />

<medi:field xmltag="W0305" minLength="2" maxLength="2" />

<medi:field xmltag="W0306" minLength="1" maxLength="7" />

<medi:field xmltag="W0307" minLength="2" maxLength="2" />

</medi:segment>

<medi:segment segcode="SE" xmltag="SE">

<medi:field xmltag="SE01" minLength="1" maxLength="10" />

<medi:field xmltag="SE02" minLength="4" maxLength="9" />

</medi:segment>

</medi:segmentGroup>

<medi:segment segcode="GE" xmltag="GE">

<medi:field xmltag="GE01" minLength="1" maxLength="6" />

<medi:field xmltag="GE02" minLength="1" maxLength="9" />

</medi:segment>

</medi:segmentGroup>

<medi:segment segcode="IEA" xmltag="IEA">

<medi:field xmltag="IEA01" minLength="1" maxLength="5" />

<medi:field xmltag="IEA02" minLength="9" maxLength="9" />

</medi:segment>

</medi:segments>

</medi:edimap>

猜你喜欢