货物移动信息.xsd 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- 被2013 sp1 () 使用XMLSpy v编辑的 (http://www.altova.com) by -->
  3. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  4. <xs:element name="GoodsMoveList" type="GoodsMoveList">
  5. <xs:annotation>
  6. <xs:documentation>货物移动信息集</xs:documentation>
  7. </xs:annotation>
  8. </xs:element>
  9. <!--报文头结构定义-->
  10. <xs:complexType name="GoodsMoveList">
  11. <xs:annotation>
  12. <xs:documentation>货物移动信息集</xs:documentation>
  13. </xs:annotation>
  14. <xs:sequence maxOccurs="unbounded">
  15. <xs:element name="GoodsMoveInfo" type="GoodsMoveInfo">
  16. <xs:annotation>
  17. <xs:documentation>货物移动信息</xs:documentation>
  18. </xs:annotation>
  19. </xs:element>
  20. </xs:sequence>
  21. </xs:complexType>
  22. <xs:complexType name="GoodsMoveInfo">
  23. <xs:annotation>
  24. <xs:documentation>货物移动信息</xs:documentation>
  25. </xs:annotation>
  26. <xs:all>
  27. <xs:element name="InRackDate" nillable="true" minOccurs="0">
  28. <xs:annotation>
  29. <xs:documentation>目标库位上架时间</xs:documentation>
  30. </xs:annotation>
  31. <xs:simpleType>
  32. <xs:restriction base="xs:dateTime">
  33. <xs:minInclusive value="1753-01-01T00:00:00.0"/>
  34. <xs:maxInclusive value="9999-12-31T23:59:59.999"/>
  35. <xs:pattern value="\p{Nd}{4}-\p{Nd}{2}-\p{Nd}{2}T\p{Nd}{2}:\p{Nd}{2}:\p{Nd}{2}(\.\p{Nd}{1,3})?"/>
  36. </xs:restriction>
  37. </xs:simpleType>
  38. </xs:element>
  39. <xs:element name="OutRackDate" nillable="true" minOccurs="0">
  40. <xs:annotation>
  41. <xs:documentation>源库位下架时间</xs:documentation>
  42. </xs:annotation>
  43. <xs:simpleType>
  44. <xs:restriction base="xs:dateTime">
  45. <xs:minInclusive value="1753-01-01T00:00:00.0"/>
  46. <xs:maxInclusive value="9999-12-31T23:59:59.999"/>
  47. <xs:pattern value="\p{Nd}{4}-\p{Nd}{2}-\p{Nd}{2}T\p{Nd}{2}:\p{Nd}{2}:\p{Nd}{2}(\.\p{Nd}{1,3})?"/>
  48. </xs:restriction>
  49. </xs:simpleType>
  50. </xs:element>
  51. <xs:element name="SourceLibCode">
  52. <xs:annotation>
  53. <xs:documentation>源库位代码</xs:documentation>
  54. </xs:annotation>
  55. <xs:simpleType>
  56. <xs:restriction base="xs:string">
  57. <xs:maxLength value="50"/>
  58. <xs:minLength value="0"/>
  59. </xs:restriction>
  60. </xs:simpleType>
  61. </xs:element>
  62. <xs:element name="NowLibCode">
  63. <xs:annotation>
  64. <xs:documentation>目标库位代码</xs:documentation>
  65. </xs:annotation>
  66. <xs:simpleType>
  67. <xs:restriction base="xs:string">
  68. <xs:maxLength value="50"/>
  69. <xs:minLength value="0"/>
  70. </xs:restriction>
  71. </xs:simpleType>
  72. </xs:element>
  73. <xs:element name="GOODSNAME">
  74. <xs:annotation>
  75. <xs:documentation>商品名称</xs:documentation>
  76. </xs:annotation>
  77. <xs:simpleType>
  78. <xs:restriction base="xs:string">
  79. <xs:maxLength value="255"/>
  80. <xs:minLength value="0"/>
  81. </xs:restriction>
  82. </xs:simpleType>
  83. </xs:element>
  84. <xs:element name="CODETS">
  85. <xs:annotation>
  86. <xs:documentation>商品编码</xs:documentation>
  87. </xs:annotation>
  88. <xs:simpleType>
  89. <xs:restriction base="xs:string">
  90. <xs:maxLength value="30"/>
  91. <xs:minLength value="0"/>
  92. </xs:restriction>
  93. </xs:simpleType>
  94. </xs:element>
  95. <xs:element name="SKU">
  96. <xs:annotation>
  97. <xs:documentation>货物SKU</xs:documentation>
  98. </xs:annotation>
  99. <xs:simpleType>
  100. <xs:restriction base="xs:string">
  101. <xs:maxLength value="225"/>
  102. <xs:minLength value="0"/>
  103. </xs:restriction>
  104. </xs:simpleType>
  105. </xs:element>
  106. <xs:element name="MaterialsCode">
  107. <xs:annotation>
  108. <xs:documentation>商品料件号</xs:documentation>
  109. </xs:annotation>
  110. <xs:simpleType>
  111. <xs:restriction base="xs:string">
  112. <xs:maxLength value="50"/>
  113. <xs:minLength value="0"/>
  114. </xs:restriction>
  115. </xs:simpleType>
  116. </xs:element>
  117. <xs:element name="Unit">
  118. <xs:annotation>
  119. <xs:documentation>Unit</xs:documentation>
  120. </xs:annotation>
  121. <xs:simpleType>
  122. <xs:restriction base="xs:string">
  123. <xs:maxLength value="10"/>
  124. <xs:minLength value="0"/>
  125. </xs:restriction>
  126. </xs:simpleType>
  127. </xs:element>
  128. <xs:element name="Quantity" minOccurs="0">
  129. <xs:annotation>
  130. <xs:documentation>数量</xs:documentation>
  131. </xs:annotation>
  132. <xs:simpleType>
  133. <xs:restriction base="xs:decimal">
  134. <xs:totalDigits value="19"/>
  135. <xs:fractionDigits value="5"/>
  136. <xs:maxExclusive value="10000000000"/>
  137. </xs:restriction>
  138. </xs:simpleType>
  139. </xs:element>
  140. <xs:element name="GOODSMODEL">
  141. <xs:annotation>
  142. <xs:documentation>规格型号</xs:documentation>
  143. </xs:annotation>
  144. <xs:simpleType>
  145. <xs:restriction base="xs:string">
  146. <xs:maxLength value="500"/>
  147. <xs:minLength value="0"/>
  148. </xs:restriction>
  149. </xs:simpleType>
  150. </xs:element>
  151. <xs:element name="LOCALEMSNO">
  152. <xs:annotation>
  153. <xs:documentation>园区账册号</xs:documentation>
  154. </xs:annotation>
  155. <xs:simpleType>
  156. <xs:restriction base="xs:string">
  157. <xs:maxLength value="20"/>
  158. <xs:minLength value="0"/>
  159. </xs:restriction>
  160. </xs:simpleType>
  161. </xs:element>
  162. <xs:element name="STORECOMPANYNAME">
  163. <xs:annotation>
  164. <xs:documentation>仓库使用企业名称</xs:documentation>
  165. </xs:annotation>
  166. <xs:simpleType>
  167. <xs:restriction base="xs:string">
  168. <xs:maxLength value="255"/>
  169. <xs:minLength value="0"/>
  170. </xs:restriction>
  171. </xs:simpleType>
  172. </xs:element>
  173. <xs:element name="STOREUSCCODE">
  174. <xs:annotation>
  175. <xs:documentation>仓库使用企业社会信用代码</xs:documentation>
  176. </xs:annotation>
  177. <xs:simpleType>
  178. <xs:restriction base="xs:string">
  179. <xs:maxLength value="18"/>
  180. <xs:minLength value="0"/>
  181. </xs:restriction>
  182. </xs:simpleType>
  183. </xs:element>
  184. <xs:element name="STORECUSTOMSCODE">
  185. <xs:annotation>
  186. <xs:documentation>仓库使用企业企业海关编码</xs:documentation>
  187. </xs:annotation>
  188. <xs:simpleType>
  189. <xs:restriction base="xs:string">
  190. <xs:maxLength value="10"/>
  191. <xs:minLength value="0"/>
  192. </xs:restriction>
  193. </xs:simpleType>
  194. </xs:element>
  195. <xs:element name="STORECODE">
  196. <xs:annotation>
  197. <xs:documentation>仓库编码</xs:documentation>
  198. </xs:annotation>
  199. <xs:simpleType>
  200. <xs:restriction base="xs:string">
  201. <xs:maxLength value="50"/>
  202. <xs:minLength value="0"/>
  203. </xs:restriction>
  204. </xs:simpleType>
  205. </xs:element>
  206. <xs:element name="CREATETIME" nillable="true" minOccurs="0">
  207. <xs:annotation>
  208. <xs:documentation>创建时间</xs:documentation>
  209. </xs:annotation>
  210. <xs:simpleType>
  211. <xs:restriction base="xs:dateTime">
  212. <xs:minInclusive value="1753-01-01T00:00:00.0"/>
  213. <xs:maxInclusive value="9999-12-31T23:59:59.999"/>
  214. <xs:pattern value="\p{Nd}{4}-\p{Nd}{2}-\p{Nd}{2}T\p{Nd}{2}:\p{Nd}{2}:\p{Nd}{2}(\.\p{Nd}{1,3})?"/>
  215. </xs:restriction>
  216. </xs:simpleType>
  217. </xs:element>
  218. <xs:element name="LEGALQYT" minOccurs="0">
  219. <xs:annotation>
  220. <xs:documentation>法定数量</xs:documentation>
  221. </xs:annotation>
  222. <xs:simpleType>
  223. <xs:restriction base="xs:decimal">
  224. <xs:totalDigits value="19"/>
  225. <xs:fractionDigits value="5"/>
  226. <xs:maxExclusive value="10000000000"/>
  227. </xs:restriction>
  228. </xs:simpleType>
  229. </xs:element>
  230. <xs:element name="LEGALUNIT">
  231. <xs:annotation>
  232. <xs:documentation>法定单位</xs:documentation>
  233. </xs:annotation>
  234. <xs:simpleType>
  235. <xs:restriction base="xs:string">
  236. <xs:maxLength value="10"/>
  237. <xs:minLength value="0"/>
  238. </xs:restriction>
  239. </xs:simpleType>
  240. </xs:element>
  241. </xs:all>
  242. </xs:complexType>
  243. </xs:schema>